An effective first step when troubleshooting is to enable verbose logging. You can do this by setting the following java system property:
-Dparasoft.logging.config.file=<PATH_TO_LOG4J_CONF_FILE>
In this property, PATH_TO_LOG4J_CONF_FILE
must point to a valid log4j configuration file. There is a default configuration file (debug.logging.xml) located at <TOMCAT_INSTALLATION>/webapps/em/config/
.
How you set the java system property depends on your installation environment, but in a common apache tomcat installation you can set the property by using a shell or bat script called setenv and putting that in the tomcat bin
directory. Below are sample commands that can be added to either type of script.
Code Block | ||
---|---|---|
| ||
export JAVA_OPTS="$JAVA_OPTS -Dparasoft.logging.config.file=$CATALINA_BASE/webapps/em/config/debug.logging.xml" |
...