java.lang.ClassNotFoundException:org.apache.juli.logging.LogFactory bringing up Tomcat for CA Output Management Web Viewer

Document ID : KB000029511
Last Modified Date : 14/02/2018
Show Technical Document Details

PROBLEM:
Tomcat will not come and the following errors are displayed:

JVMJZBL1027I Using output encoding: IBM-1047  JVMJZBL1016I MVS commands are ENABLED JVMJZBL1023N Invoking org.apache.catalina.startup.Bootstrap.main()...
JVMJZBL1056I Arguments to main...
 JVMJZBL1057I start
 JVMJZBL2008E Could not find or load class: org.apache.catalina.startup.Bootstrap
 JVMJZBL2007E Stack trace follows:
 java.lang.NoClassDefFoundError: org.apache.juli.logging.LogFactory
 :at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:59)
 :at java.lang.J9VMInternals.initializeImpl(Native Method)
 :at java.lang.J9VMInternals.initialize(J9VMInternals.java:237)
 Caused by: java.lang.ClassNotFoundException:
   org.apache.juli.logging.LogFactory

RESOLUTION:

Place tomcat-juli.jar in the classpath.

Add CLASSPATH="$CLASSPATH":"{TOMCAT_HOME}"/bin/tomcat-juli.jar to the STDENV dataset.