Collecting Logs and Core Files

If checking the configuration yields no errors, then all useful log files should be collected for further investigation.

Related Topics
Java Activation Error on the ENOVIA Live Collaboration Server
mx_err_pid.log for Windows
Additional Live Collaboration Server Configuration Troubleshooting

The following is the minimum set of logs that you should gather:

Logs and Files to Collect
Stack traces
Cores
Application server logs
Any trace logs
Java stack trace logs (hs_err_pid*.log)
access.log (application server)
Rmireg.sh (Unix) or rmireg.bat (Windows) or the registry if rmid is running as a service
mxtrace.log
Custom logs (redirected stdout and stderr)

Use the following table as a quick reference for stack trace commands. Sometimes it's useful to generate a stack trace from a core and save it to a file.

Platform Stack Trace Command
Solaris pstack core > core.txt
AIX use dbx

Refer to the Tech Tip, "About Core Dumps", for using the pstack command. Also see the Tech Tip, "How To Analyze Core Dumps using GDB." For more information about the dbx command, contact ENOVIA Support.

The Live Collaboration server will log error messages to the mxtrace.log and other log files, as described in "Server Diagnostics".

The ENOVIA Live Collaboration Server uses a set of log files to maintain state information. These log files can be found by checking the rmireg.sh or rmireg.bat files, and locating the rmid daemon load line with the -log option, as shown below:

$JAVA_PATH/rmid $JAVA_OPTIONS $JAVA_LIB -J$JAVA_SECURITY -port
1099 -log /opt/eMatrixRMI9052/logs/RMI1099 &

These log files are not useful for diagnostic purposes, and you should delete all files from this directory. If multiple rmid processes have been started from the startup script (i.e., the RMI gateway is in use), then you should delete each set of logs.

If a shutdown occurs, a file called the Java stack dump log is created. It is named hs_err_pidxxxx.log, where xxxx is the Process ID number of the process that shut down. These logs can be found in the same directory from which the ENOVIA Live Collaboration kernel loads, usually the SERVER_INSTALL path under PLATFORM\code\bin\.

These logs are critical for reporting a shutdown-related problem to ENOVIA Live Collaboration, especially if no core is found. If the system has produced a core file for the shutdown (Unix-only, and the file is simply called core), this file will usually appear in the directory from which the ENOVIA Live Collaboration kernel was loaded.