Below is an example of messages written to a sample mxAudit.log file. The log starts by listing header information, identifying the process ID (in this case, 1870) and the command line used to start the process being audited. 1870 10/2/2003 4:44:41 PM RMI server Process Id: 1870 1870 10/2/2003 4:44:41 PM ****Begin Kernel Audit check**** 1870 10/2/2003 4:44:41 PM /usr/java/jdk1.3.1_06/jre/bin/i386/native_threads/java -Djava.rmi.activation.port=1101 -Djava.security.policy=/app/rmi1010/java/security/ rmid.policy -Djava.rmi.server.codebase=file:/app/rmi1010/java/lib/ eMatrixServletRMI.jar -Xss512k -Xms256m -Xmx256m -Djava.library.path=/app/rmi1010/bin/ linux sun.rmi.server.ActivationGroupInit 1870 10/2/2003 4:44:41 PM ****CRIT**** JVM mode is not in server mode, add -Server to the java command line 1870 10/2/2003 4:44:41 PM ****CRIT**** eMatrix jar version is 10.0.1.0 current version is 10.0.1.0.CC.Linux 1870 10/2/2003 4:44:41 PM ****WARN**** Warning trace option set: MX_VERBOSE_TRACE=verbose.log 1870 10/2/2003 4:44:41 PM ****WARN**** MX_ABORT_DANGLING_TRANSACTION environment variable should set 1870 10/2/2003 4:44:41 PM ****WARN**** MX_MAX_THREAD environment variable should set to at least 200 1870 10/2/2003 4:44:41 PM ****WARN**** MX_BOS_FIND_LIMIT environment variable should set 1870 10/2/2003 4:44:41 PM ****WARN**** MX_BOS_EXPAND_LIMIT environment variable should set 1870 10/2/2003 4:44:41 PM ****WARN**** MX_TRANSACTION_TIMEOUT environment variable should set 1870 10/2/2003 4:44:41 PM ****WARN**** MX_PROGRAM_POOL_SIZE environment variable should not be less than 10 1870 10/2/2003 4:44:41 PM ****CRIT**** MX_CONNECTION_POOL_SIZE environment variable cannot be default (1) 1870 10/2/2003 4:44:41 PM ****WARN**** MX_CONNECTION_POOL_SIZE environment should be at least ten 1870 10/2/2003 4:44:41 PM ****WARN**** Class garbage collection should be enabled (remove -Xnoclassgc) The above log content shows several warning and critical messages to which you should respond. On the Sun Java System Application Server platform, mxAudit.log does not report the JVM command line that Sun Java System Application Server is running. When running the following platforms, MxAudit.log reports invalid output:
The workaround is, while configuring and testing, not to enable the service as the startup mechanism so that the process is started by a call to Java, allowing mxAudit to report the correct results. Once any problems are resolved, you can turn off the audit log and switch to the service startup. Disabling the Audit LogOnce you are up and running you may want to turn off the Audit log so it doesn't run every time you restart the server. To turn off the Live Collaboration Server Audit Add the following to the enovia.ini for the Live Collaboration Server (previously ematrix.ini) (Windows) or mxEnv.sh or startup script (UNIX): MX_DISABLE_AUDIT=true export MX_DISABLE_AUDIT You only need to export the setting on UNIX. In the web.xml file set the following to false, for example: <context-param id="ContextParam_12"> <param-name>ematrix.audit.log</param-name> <param-value>false</param-value> </context-param> |