Notes about Environment (macOS)
Folders
Given below is a list of important folders in your MobileTogether Server setup.
/usr/local/Altova/MobileTogetherServer/
|
/var/Altova/MobileTogetherServer
|
/Library/LaunchDaemons/com.altova.MobileTogetherServer.plist The environment settings file must be defined according to your specific environment. The example path above serves only as a general guide.
|
Filesystem triggers and permissions
In order for filesystem triggers to be fired, the user that started the MobileTogether Server service (altovamobiletogetherserver) must have the following permissions:
•For the triggered folder: Read and Execute
•For the triggered file: Read
•For ancestor folders of the triggered folder: Read and Execute
File-based databases
File-based databases (such as SQLite databases) must reside in the folder defined in the Settings tab of MobileTogether Server as the Server Side Solution's Working Directory. By default, this folder is:
/var/Altova/MobileTogetherServer/SolutionFiles
Database connections
On MacOS, the following database connections are supported:
•JDBC — You can use JDBC for all supported databases except Microsoft Access
•Native connections — Currently available for SQLite and PostgreSQL databases
If you are using JDBC, note the following points:
•The Java Runtime Environment or SDK must be installed.
•The JDBC-Connects for the target database must be installed.
•The following environment variables must be set correctly for your environment:
οCLASSPATH: to find the jar-files; the class path is set in the Plist file.
οPATH: to find the JRE, but might not be necessary depending on the installation
οJAVA_HOME: if necessary, depending on the installation
Listing of important files
The Plist file is installed in the /Library/LaunchDaemons folder. The parts highlighted in blue are environment-specific and will need to be adjusted to match your environment:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>com.altova.MobileTogetherServer</string> <key>ProgramArguments</key> <array> <string>/usr/local/Altova/MobileTogetherServer10.0/bin/MobileTogetherServer</string> <string>debug</string> </array> <key>KeepAlive</key> <true/> <key>UserName</key> <string>_altovamobiletogetherserver</string> <key>EnvironmentVariables</key> <dict> <key>CLASSPATH</key> <string>/usr/local/jdbc/oracle/ojdbc6.jar:/usr/local/jdbc/oracle/xdb.jar:/usr/local/jdbc/oracle/xmlparserv2.jar:/usr/local/jdbc/postgre/postgresql-9.0-801.jdbc4.jar:/usr/local/jdbc/mssql/sqljdbc4.jar:/usr/local/jdbc/iseries/lib/jt400.jar:/usr/local/jdbc/mysql/mysql-connector-java-5.1.16-bin.jar:/usr/local/jdbc/sqlite/sqlitejdbc-v056.jar:/usr/local/jdbc/Informix_JDBC_Driver/lib/ifxjdbc.jar:/usr/local/jdbc/sybase/jconn7/jconn4.jar:/usr/local/jdbc/db2/db2jcc.jar:/usr/local/jdbc/db2/db2jcc_license_cu.jar:./</string> </dict> </dict> </plist>
|