Sun Java System Message Queue 3.7 UR1 Administration Guide

ProcedureTo Modify the HTTPS Tunnel Servlet .war File

  1. Copy the .war file to a temporary directory.

    cp /usr/share/lib/imq/imqhttps.war /tmp (Solaris)

    cp /opt/sun/mq/share/lib/imqhttps.war /tmp (Linux)

    cp IMQ_HOME/lib/imqhttps.war /tmp (Windows)

  2. Make the temporary directory your current directory.

    $ cd /tmp

  3. Extract the contents of the .war file.

    $ jar xvf imqhttps.war

  4. List the .war file’s deployment descriptor.

    $ ls -l WEB-INF/web.xml

  5. Edit the web.xml file to provide correct values for the keystoreLocation and keystorePassword arguments (as well as servletPort and servletHost arguments, if necessary).

  6. Reassemble the contents of the .war file.

    $ jar uvf imqhttps.war WEB-INF/web.xml

    You are now ready to use the modified imqhttps.war file to deploy the HTTPS tunnel servlet. (If you are concerned about exposure of the key store password, you can use file system permissions to restrict access to the imqhttps.war file.)