Environment
Novell ZENworks Configuration Management 11.2 Authentication
Novell ZENworks Configuration Management 11.2 Installation - Server
Novell ZENworks Configuration Management 11.2 System Update
Novell ZENworks Configuration Management 11.2 Installation - Server
Novell ZENworks Configuration Management 11.2 System Update
Situation
Unable to start casaats service on a primary server, 'catalina.out' log file shows the following exception:
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:216)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391)
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:216)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391)
Resolution
Make sure catalina properties file '$ZENWORKS_HOME/share/tomcat/conf/catalina.properties' has the following line:
common.loader=${catalina.base}/conf,${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,${catalina.home}/../../resources/properties,${catalina.home}/../../java/lib/*.jar,${catalina.home}/../../java/lib/*.zip
NOTE: this should all be in a single line.
common.loader=${catalina.base}/conf,${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,${catalina.home}/../../resources/properties,${catalina.home}/../../java/lib/*.jar,${catalina.home}/../../java/lib/*.zip
NOTE: this should all be in a single line.
Additional Information
The parameter 'common.loader' defines the contents of the "common" classloader. Prefixes should be used to define what is the repository type. If left as blank, the JVM system loader will be used as Catalina's "common" loader explaining why it can't find the classes showed in the exception.