Enable Tracing in the XML Applet
To enable the Web version of
ENOVIA Live Collaboration to generate a stack trace for all calls:
Uncomment the following line in the JSP that is used to start ENOVIA Matrix Web Navigator:
props.put("ADKTrace", "TRUE"); The default setting is "FALSE".
Enable the platform and web servers to print the stack traces in a log file.

Enable Tracing in Custom Studio Customization Toolkit Applications
To enable this level of tracing in the ENOVIA Studio Customization Toolkit client application:
Use one of the following methods in the matrix.db.Context class: - public static void setOriginTraceAll(boolean set)
- public static boolean getOriginTraceAll()
For tracing on a single Context object, JSP, or JPO, use: - public void setOriginTrace(boolean set)
- public boolean getOriginTrace()
Enable the platform and web servers to print the stack traces in a log file.

Enable the Web/Application Server
To trace all servlets and JSPs executed on the server:
- Uncomment the following line in your framework.properties file:
ematrix.origin.trace=true This enables tracing globally for all context objects created. Note:
Alternatively, you can add this setting to a web.xml.part file (either by modifying the file in a blown-out WAR file or by using the application server's administration console to modify an already deployed web application).
When tracing JSPs, it is helpful to configure the web servers to "keep generated" Java code for JSPs. Consult your web server documentation for instructions.

Enable the Live Collaboration Kernel
To enable the ENOVIA Live Collaboration Server or ENOVIA Studio Modeling Platform Rich Clients to print the stack traces into a file called matrixserver.log:
Add the following line to the .ini file or the emxEnv.sh script: MX_VERBOSE_TRACE=matrixserver.log
Also include the appropriate settings to indicate which ENOVIA Studio Customization Toolkit calls to trace:
- On Windows:
- A file named adkTrace.ini is installed in the ENOVIA_INSTALL directory when the ENOVIA Studio Modeling Platform Rich Clients or the ENOVIA Live Collaboration Server is installed. This file contains samples of all possible per-ENOVIA Studio Customization Toolkit-call trace settings. Administrators can use this file to copy settings to their enovia.ini files for the ENOVIA Studio Modeling Platform Rich Clients or ENOVIA Live Collaboration Server (previously matrix.ini or ematrix.ini, respectively) when they want to enable tracing on a particular ENOVIA Studio Customization Toolkit call.
- On UNIX/Linux:
- A file called adkTrace.sh is installed in the SERVERHOME directory when the ENOVIA Studio Modeling Platform Rich Clients or the ENOVIA Live Collaboration Server is installed. Both the ENOVIA Studio Modeling Platform Rich Clients and the ENOVIA Live Collaboration Server’s shell scripts call this auxiliary shell script, which contains commented-out/disabled samples of all possible per-ADK call trace settings (as well as the traceall setting). Administrators can uncomment those that they wish to have traced.
|