Sun Java System Access Manager Policy Agent 2.2 Guide for Apache Tomcat 6.0

Procedure(Conditional) To Use the .exe Version of Apache Tomcat 6.0 Server

As described in To Prepare to Install Agent for Apache Tomcat 6.0, you can install Agent for Apache Tomcat 6.0 on a .exe version of Apache Tomcat 6.0. However, you must implement the steps in this task prior to installing the agent for the deployment to work.

The Apache Tomcat 6.0 bits with the .exe extension do not contain certain files (scripts, JAR files, etc.) required by the agent. Therefore, you must copy the required files from the .zip bundle to the Apache Tomcat 6.0 installation base.

  1. Download the .exe and the .zip versions of Apache Tomcat 6.0.

    For example, you could download the two following Apache Tomcat 6.0 versions:

    • apache-tomcat-6.0.14.exe

    • apache-tomcat-6.0.14.zip

  2. Install Apache Tomcat 6.0 using the .exe version.

    If the version of Apache Tomcat 6.0 is indeed 6.0.14, the following would be a feasible location for CATALINA_HOME:

    /opt/apache-tomcat-6.0.14
    
  3. In a directory separate from the .exe distribution, unzip the apache-tomcat-6.0.14.zip file.

  4. Copy the following scripts from the unzipped bundle to the bin directory of the installation (${CATALINA_HOME}/bin):

    catalina-tasks.xml
    catalina.bat
    catalina.sh
    commons-daemon.jar
    cpappend.bat
    digest.bat
    digest.sh
    jsvc.tar.gz
    service.bat
    setclasspath.bat
    setclasspath.sh
    shutdown.bat
    shutdown.sh
    startup.bat
    startup.sh
    tomcat-native.tar.gz
    tool-wrapper.bat
    tool-wrapper.sh
    version.bat
    version.sh 
Next Steps

Note –

After you have implemented this task, the best practice is to start and stop the Apache Tomcat 6.0 instance using the command line since problems have occurred in this scenario when attempting to stop and start the server via services.


At this point, you can install Agent for Apache Tomcat 6.0.