Sun Java System Access Manager Policy Agent 2.2 Release Notes

Error message issued with certain versions of the deployment container starting with Apache Tomcat 5.5.23 Servlet/JSP Container

This is a classpath issue. After installing Agent for Apache Tomcat 5.5 Servlet/JSP Container on Apache Tomcat 5.5.23, the Apache server does not start. The server log might show an error that includes the following line:

java.lang.NoClassDefFoundError: org/apache/commons/modeler/BaseModelMBean

This error occurs because a jar file that was named commons-modeler.jar prior to Apache Tomcat 5.5.23 Servlet/JSP Container changed names to commons-modeler-2.0.jar in Apache Tomcat 5.5.23 Servlet/JSP Container.

Workaround: After installing Agent for Apache Tomcat 5.5 Servlet/JSP Container on Apache Tomcat 5.5.23, follow these steps:

  1. Open the following platform specific file:

    Unix-based systems (includes Linux)

    Tomcat-base/bin/setAgentclasspath.sh

    Windows Systems

    Tomcat-base\bin\setAgentclasspath.bat

  2. Change the name of commons-modeler.jar file to commons-modeler-2.0.jar.

  3. Save the file.

  4. Restart Apache Tomcat 5.5 Servlet/JSP Container.