CSWS_JAVA for Compaq Secure Web Server
for OpenVMS Alpha

Installation Guide and Release Notes

CSWS_JAVA Version 1.1
CPQ-AXPVMS-CSWS_JAVA-V0101--1.PCSI

Overview
What's New in Version 1.1
Software Prerequisites
Documentation
Before Beginning the Installation
Installing CSWS_JAVA
      Installing CSWS_JAVA on an ODS-5 Enabled Disk
Configuring CSWS_JAVA
Configuring the JServ Servlet Engine with CSWS_JAVA
Building the Sample Web Application on OpenVMS
Running Tomcat
Release Notes (Tomcat)
      Installation restriction removed
      Java SecurityManager included
      Security vulnerabilities fixed in Tomcat 3.2.1
      Direct HTTP/SSL support not available
      Jakarta START -SECURITY problem corrected
      Setting up Tomcat to use Fast VM
      Using the latest (or beta) version of Compaq Java Development Kit with CSWS_JAVA
      Password for admin example
      Slow access the first time Tomcat server is invoked
      Pause before serving first page after restart
      Configuration dialog question about updating configuration data file
Release Notes (MOD_JSERV and JServ Servlet Engine)
      JHTML files must be in STREAM_LF format
      Delete or move JDK11*_CLASSES.ZIP
      EXAMPLE directory filenames are case-sensitive
      Faster updates to the JServ log file
      Using the latest (or beta) version of Compaq Java Development Kit or Fast VM with JServ
      Error when attempting to start JServ
      Sample Hello.java
      Enabling JSSI support
      "Internal Server Error" returned under heavy user load

Overview

CSWS_JAVA includes the following projects:

See the Jakarta Apache Project for more information about Tomcat and other projects.

Tomcat

Tomcat is an extension to the Apache server, but it runs independently of Apache, in a separate process. You can configure your system so that the Apache server serves HTML pages, while Tomcat serves the JSP pages and runs the servlets.

CSWS_JAVA includes the following new Apache Tomcat technologies:

Tomcat is the release following Apache JServ, and is the reference implementation for the Java Servlet 2.2 and JavaServer Pages 1.1 technologies. (Apache JServ was a Servlet API 2.0-compliant container.) CSWS_JAVA includes the final Tomcat Version 3.2.4.

Tomcat is a servlet container with a JSP environment. A servlet container is a runtime shell that manages and invokes servlets on behalf of users. Servlet containers can be standalone, in-process, or out-of-process. CSWS_JAVA includes support for standalone servlet containers and out-of-process servlet containers. Support for in-process servlet containers (JSSI) will be included in a future version of Tomcat.

If more than one version of Java is installed on your system, Tomcat first searches for Java 1.3.0, then Java 1.2.2, then Java 1.1.8. It uses the version it finds first.

See Tomcat - A Minimalistic User's Guide for more information.

Ant

Also included in CSWS_JAVA is Ant. Ant is a partial implementation of the Jakarta Ant subproject and its use is limited to building the included sample web applications and simple user-written web applications for Tomcat.

Apache JServ

CSWS_JAVA also contains the older CSWS_JSERV kit, which includes the following Apache JServ projects:

Note: Apache JServ is currently in maintenance-only mode. There will be no new official releases and only well tested patches are being committed. No new features are being added.

CSWS_JAVA includes the Apache JServ components from the CSWS_JSERV kit released in October 2000. In-process servlet containers (JSSI) support does not currently exist in Tomcat. It can only be provided by Apache JServ. However, your servlets should work without any problem using the new Tomcat product in CSWS_JAVA.

What's New in Version 1.1

CSWS_JAVA Version 1.1 contains support for Tomcat 3.2.4.

Enhancements and Bug Fixes

Tomcat 3.2.4 contains the following enhancements and bug fixes. More information can be found in the Tomcat 3.2.4 Release Notes.

Security Fixes

Tomcat 3.2.4 contains the following security-related fixes. More information can be found in the Tomcat 3.2.4 Release Notes.

Software Prerequisites

CSWS_JAVA for the Compaq Secure Web Server for OpenVMS Alpha requires the following software:

Documentation

For information about Tomcat, see the Jakarta Apache Project and Tomcat - A Minimalistic User's Guide.

For more information on Apache JServ and Apache JSSI, see the Java Apache Project website. General information about Apache is available from the Apache Software Foundation.

Before Beginning the Installation

Before you install the CSWS_JAVA kit, perform the following steps.

  1. Remove CSWS_JSERV.

    Before you install CSWS_JAVA, Compaq recommends that you remove CSWS_JSERV, if it was previously installed.

    Perform a backup on all of your Compaq Secure Web Server files, then enter the following commands to remove CSWS_JSERV:

    $ @SYS$STARTUP:APACHE$SHUTDOWN
    $ PRODUCT REMOVE CSWS_JSERV
    
    The following product has been selected:
        CPQ AXPVMS CSWS_JSERV V1.0             Layered Product
    
    Do you want to continue? [YES]
    
    The following product will be removed from destination:
        CPQ AXPVMS CSWS_JSERV V1.0             DISK$ALPHASYS:[VMS$COMMON.]
    
    Portion done: 0%...10%...20%...30%...40%...50%...60%...70%
    ...80%...90%...100%
    
    The following product has been removed:
        CPQ AXPVMS CSWS_JSERV V1.0             Layered Product
    
  2. Delete the JSERV startup command procedure.

    Enter the following command:

    $ DELETE APACHE$ROOT:[000000]START_JSERV_MANUAL.COM;*
    
  3. Start the Compaq Secure Web Server.

    Enter the following commands:

    $ @SYS$STARTUP:APACHE$STARTUP
    

    If the web server does not restart, check APACHE$ROOT:[000000]APACHE$$SERVER.LOG for errors.

Installing CSWS_JAVA

For production environments, Compaq recommends that you install CSWS_JAVA on an ODS-5 enabled disk. Your installation of the Compaq Secure Web Server can remain on an ODS-2 disk. You do not need to install CSWS_JAVA into the same disk or directory as the Compaq Secure Web Server.

To install the CSWS_JAVA kit, enter the following command where DISK$DKA0 is the name of the disk where you want to install CSWS_JAVA.

$ PRODUCT INSTALL CSWS_JAVA/DEST=DISK$DKA0:[000000]

For a description of the features you can request with the PRODUCT INSTALL command when starting an installation such as running the IVP, purging files, and configuring the installation, see the POLYCENTER Software Installation Utility User's Guide.

As the installation procedure progresses, the system displays the following information.

The following product has been selected:
    CPQ AXPVMS CSWS_JAVA V1.1              Layered Product

Do you want to continue? [YES]

Configuration phase starting ...

You will be asked to choose options, if any, for each selected product and for
any products that may be installed to satisfy software dependency requirements.

CPQ AXPVMS CSWS_JAVA V1.1: Java modules for CSWS for OpenVMS Alpha

    COPYRIGHT (c) 1995-1999 The Apache Group.  All rights reserved.

* This product does not have any configuration options.

Execution phase starting ...

The following product will be installed to destination:
    CPQ AXPVMS CSWS_JAVA V1.1              DISK$ODS5:[000000.]

Portion done: 0%...10%...20%...30%...40%...50%...60%...70%
...80%...90%...100%

The following product has been installed:
    CPQ AXPVMS CSWS_JAVA V1.1              Layered Product

CPQ AXPVMS CSWS_JAVA V1.1: Java modules for CSWS for OpenVMS Alpha

    Post installation tasks required for CSWS_Java for OpenVMS Alpha

    Configure OpenVMS aspects of the CSWS Java by:

        $ @SYS$MANAGER:APACHE$JAKARTA

    The default installation uses the SYSTEM account to run the CSWS_JAVA
    (Jakarta/Tomcat) engine.  If you are planning to share html files with
    Compaq's Secure Web Server, it is recommended that you change the Jakarta
    directory tree's ownership to APACHE$WWW.

        Select Option 1 from the CSWS Jakarta Configuration Menu

    Example:

  Enter configuration option: 1

  Enter the OpenVMS account name for Jakarta (Tomcat) [SYSTEM]: apache$www

      To operate successfully, the server processes must have read
      access to the installed files and read-write access to certain
      other files and directories.  Compaq recommends that you use
      this procedure to set the owner UIC on the CSWS files and
      directories to match the server.  If you are changing the OpenVMS
      account name, you might want to change the ownership of the
      Jakarta tree.

  Set owner UIC to APACHE$WWW on CSWS java jakarta files (Yes/No) [Yes]: Y
      This could take a minute or two  . . .

    After configuration, start the CSWS Java (Jakarta) by
    entering:

        $ @SYS$STARTUP:APACHE$JAKARTA_STARTUP

    Check that neither SYLOGIN.COM nor the LOGIN.COM write any output to
    SYS$OUTPUT:.  Look especially for a

        $ SET TERMINAL/INQUIRE.

    Start the Tomcat servlet engine at system boot time by adding the
    following lines to SYS$MANAGER:SYSTARTUP_VMS.COM:

        $ file := SYS$STARTUP:APACHE$JAKARTA_STARTUP.COM
        $ if f$search("''file'") .nes. "" then @'file'


    Shutdown the Tomcat servlet engine at system shutdown time by adding the
    following lines to SYS$MANAGER:SYSHUTDWN.COM:

        $ file := SYS$STARTUP:APACHE$JAKARTA_SHUTDOWN.COM
        $ if f$search("''file'") .nes. "" then @'file'

    Test the installation using your favorite Web browser.
    Replace host.domain in the following URL (Uniform Resource Locator)
    with the information for the Compaq Secure Web Server just installed,
    configured, and started.

    URL http://host.domain:8080/ should display the standard introductory page
    from the Apache Software Foundation. This has the bold text "Tomcat
    Version 3.2 (Final)" with the Tomcat logo in the upper left hand corner.

    If you do not see this page, check the CSWS Java release notes.

    Thank you for using the CSWS_Java.

Installing CSWS_JAVA on an ODS-5 Enabled Disk

Compaq recommends that large production sites consider installing CSWS_JAVA on an ODS-5 enabled disk because of directory depth issues and long filename support. Using an ODS-5 enabled disk avoids servlet name space collision that will occur with the 39.39 character filename limitation on an ODS-2 file system.

For example, the URL http://hostname/examples/jsp/num/numguess.jsp builds a temporary file in the directory [APACHE.JAKARTA.WORK.localhost_8080_2Fexamples] called

_0002fjsp_0002fnum_0002fnumguess_0002ejspnumguess_jsp_0.java

On an ODS-2 file system, the filename is truncated to

_0002FJSP_0002FNUM_0002FNUMGUESS_0002EJ.JAVA

If your URL grows to http://hostname/examples/jsp/num/numguess.jsp/new_numguess.jsp the uniqueness of the filename on an ODS-2 file system comes into question, and you will start to see internal servlet errors (wrong name errors).

Configuring CSWS_JAVA

After the installation is complete, perform the following steps.

  1. Change the Jakarta directory tree's ownership to APACHE$WWW and set the owner UIC.

    The default installation uses the SYSTEM account to run the CSWS_JAVA Tomcat engine. If you are planning to share HTML files with the Compaq Secure Web Server, change the Jakarta directory tree's ownership to APACHE$WWW by running the CSWS_JAVA configuration utility and selecting the first option.

    For example:

    $ @SYS$STARTUP:APACHE$JAKARTA
    
    CSWS Jakarta Configuration Menu
    
         Configuration Options:
    
              1 - Change Username
              2 - Add ACL to Jakarta (Tomcat) directories
              3 - Configure Apache's httpd.conf for Jakarta Adapters
    
              6 - View current configuration
              7 - Start CSWS Jakarta (Tomcat) for OpenVMS
              8 - Stop  CSWS Jakarta (Tomcat) for OpenVMS
    
              S - Save Configuration
             [E]- Exit Configuration procedure
    
    Enter configuration option: 1
    Enter the OpenVMS account name for Jakarta (Tomcat) [SYSTEM]: APACHE$WWW
    
          To operate successfully, the server processes must have read
          access to the installed files and read-write access to certain
          other files and directories.  Compaq recommends that you use
          this procedure to set the owner UIC on the CSWS files and
          directories to match the server.  If you are changing the OpenVMS
          account name, you might want to change the ownership of the
          Jakarta tree.
    
    Set owner UIC to APACHE$WWW on CSWS java jakarta files (Yes/No) Yes
    
      This could take a minute or two  . . .
    Would you update the Jakarta configuration data file (Yes/No) [Yes]
    Configuration file [SYS$COMMON:[SYSMGR]APACHE$JAKARTA_CONFIG.DAT]:
    
    Press RETURN to continue
    
    Important: Check quota requirements for servlet engines

    When you select the user account for the Jakarta (Tomcat) or JServ servlet engines, consider Java quota requirements to ensure best performance of your Java applications.

    The default quota values for the APACHE$WWW account that are set by the Compaq Secure Web Server installation might not be optimized for Java. In particular, you might need to increase FILLM (and the related CHANNELCNT SYSGEN parameter), PGFLQUO, and BYTLM. These are pooled quotas. If you are configuring the JServ servlet engine, which is a subprocess, you need to be aware of the impact on these quotas from other Apache child processes in the same job tree. The Jakarta (Tomcat) servlet engine is a detached process and is not affected by Apache child processes.

    For more information on Java quota requirements, see the section on Setting Process Quotas for Better Performance on OpenVMS in the Compaq Fast Virtual Machine (Fast VM) 1.3.0-1 for the Java 2 Platform on OpenVMS Alpha Release Notes.

  2. Configure Compaq Secure Web Server to work with Tomcat.

    Enter the following command, and select Option 3, then Option 1. This edits the HTTPD.CONF with the proper include line.

    $ @SYS$STARTUP:APACHE$JAKARTA
    
    CSWS Jakarta Configuration Menu
    
         Configuration Options:
    
              1 - Change Username
              2 - Add ACL to Jakarta (Tomcat) directories
              3 - Configure Apache's httpd.conf for Jakarta Adapters
    
    
              6 - View current configuration
              7 - Start CSWS Jakarta (Tomcat) for OpenVMS
              8 - Stop  CSWS Jakarta (Tomcat) for OpenVMS
    
              S - Save Configuration
             [E]- Exit Configuration procedure
    
    Enter configuration option: 3
    
    
    Jakarta Configuration: (Mod_jserv Mod_jk adapters)
    
         Configuration Options:
    
              1 - Enable mod_jk               httpd.conf
              2 - Disable mod_jk              httpd.conf
              3 - Enable mod_jserv            httpd.conf
              4 - Disable mod_jserv           httpd.conf
    
              7 - restart CSWS (Apache) for OpenVMS
    
             [E]- Exit Configuration procedure
    
    Enter configuration option: 1
    Location of httpd.conf [APACHE$COMMON:[CONF]HTTPD.CONF]
    Mod_jk configuration file [VARMIT$DKA200:[APACHE.JAKARTA.CONF]
                              MOD_JK.CONF-AUTO]
    
  3. Add the Jakarta command to the Compaq Secure Web Server LOGIN.COM file.

    To set up the Tomcat environment after you install CSWS_JAVA, add the following line to the Compaq Secure Web Server LOGIN.COM before the exit at the top of the file:

    $ @SYS$STARTUP:APACHE$JAKARTA ENV
    
    If you do not add this line, the MOD_JK module is not loaded during CSWS startup.

  4. If the Compaq Secure Web Server is currently running, stop it and then restart it so that these configuration changes take effect.

  5. If you installed CSWS_JAVA on an ODS-5 file system, do the following:

    • Create a .TOMCATRC file in the account’s SYS$LOGIN directory that will be running Tomcat.

      For example, if you are running Tomcat from APACHE$WWW, enter the following commands:

      $ CREATE APACHE$ROOT:[000000].TOMCATRC
      $ ! add special DEC C logicals to enable ODS
      $ ! DECC$EFS* are only available with OpenVMS V7.2-1
      $ ! and VMS721_ACRTL V2.0
      $ DEFINE/JOB DECC$EFS_CASE_SPECIAL "ENABLE"
      $ DEFINE/JOB DECC$EFS_CASE_PRESERVE "ENABLE"
      $ DEFINE/JOB APACHE$JAKARTA_ENABLE_ODS5 1
      ^Z
      
    • Start Tomcat.

      Enter the following command:

      $ @SYS$STARTUP:APACHE$JAKARTA
      
      CSWS Jakarta Configuration Menu
      
           Configuration Options:
      
                1 - Change Username
                2 - Add ACL to Jakarta (Tomcat) directories
                3 - Configure Apache's httpd.conf for Jakarta Adapters
      
                6 - View current configuration
                7 - Start CSWS Jakarta (Tomcat) for OpenVMS
                8 - Stop  CSWS Jakarta (Tomcat) for OpenVMS
      
                S - Save Configuration
               [E]- Exit Configuration procedure
      
      Enter configuration option: 7
      -> Tomcat Directory /VARMIT$DKA200/APACHE/JAKARTA/
      Using Java 1.3.0 setup
      Starting Tomcat...
      Starting TOMCAT_8007 as a detached network process
      %APACHE-S-PROC_ID, identification of created process is 000012DE
      Tomcat Logicals and Classpaths are cleared
      

      If you started Tomcat without configuring it for ODS-5, you can force Tomcat to reconfigure the installation for ODS-5 by following these steps:

      1. Delete all the files in the work directory (default is [apache.jakarta.work])
      2. Delete all subdirectories of WebApps (default is [apache.jakarta.webapps])
      3. Do not delete any of the .war files in the WebApps directory. Delete only the subdirectories.
      4. Restart Tomcat to recreate the WebApps subdirectories and [.work] files.

    • Starting Tomcat using a different configuration file.

      By default, Tomcat uses TOMCAT_HOME/conf/server.xml for configuration. The default configuration uses TOMCAT_HOME as its base for the contexts.

      You can change this by using the -f /path/to/server.xml option, with a different server configuration file and setting the home property of the context manager. See Tomcat - A Minimalistic User's Guide for more information.

      Note: On OpenVMS, these commands are case-sensitive. Put quotes around the UNIX portion of the command to retain lowercase.

      To change the startup directory, enter the following:

      $ @sys$startup:apache$jakarta start "-f" "/path/to/server.xml"
      
  6. Verify the current Tomcat configuration.

    Enter the following command and select Option 6. If the Tomcat Servlet engine is running, you will see a TOMCAT_8007 process.

    $ @SYS$STARTUP:APACHE$JAKARTA
    
         CSWS Jakarta Configuration Menu
    
         Configuration Options:
    
              1 - Change Username
              2 - Add ACL to Jakarta (Tomcat) directories
              3 - Configure Apache's httpd.conf for Jakarta Adapters
    
              6 - View current configuration
              7 - Start CSWS Jakarta (Tomcat) for OpenVMS
              8 - Stop  CSWS Jakarta (Tomcat) for OpenVMS
    
             [E]- Exit Configuration procedure
    
    Enter configuration option: 6
    
    -> Tomcat Directory /VARMIT$DKA200/APACHE/JAKARTA/
    %DCL-I-SUPERSEDE, previous value of APACHE$MOD_JSERV has been superseded
    %DCL-I-SUPERSEDE, previous value of APACHE$MOD_JK has been superseded
    Using Java 1.3.0 setup
    %DCL-W-EXPSYN, invalid expression syntax - check operators and operands
    Tomcat  environment Initialized
    
    Jakarta Configuration:
    
     Configuration file: SYS$COMMON:[SYSMGR]APACHE$JAKARTA_CONFIG.DAT
    
       OpenVMS Account Name:     APACHE$WWW
       Tomcat home:              /VARMIT$DKA200/APACHE/JAKARTA/
    
       Java Version information:
    java version "1.3.0"
    Java(TM) 2 Runtime Environment, Standard Edition
    Classic VM (build 1.3.0-085, 02/01/2001-02:59, native threads, jit)
       Java$classpath:
    
    JAVA$CLASSPATH" = "SYS$COMMON:[JAVA$130.LIB]TOOLS.JAR" (LNM$PROCESS_TABLE)
        = "VARMIT$DKA200:[APACHE.JAKARTA.LIB]JAKARTA_VMS_CLASSES.JAR"
        = "VARMIT$DKA200:[APACHE.JAKARTA.LIB]WEBSERVER.JAR"
        = "VARMIT$DKA200:[APACHE.JAKARTA.LIB]JASPER.JAR"
        = "VARMIT$DKA200:[APACHE.JAKARTA.LIB]JAXP.JAR"
        = "VARMIT$DKA200:[APACHE.JAKARTA.LIB]PARSER.JAR"
        = "VARMIT$DKA200:[APACHE.JAKARTA.LIB]SERVLET.JAR"
        = "VARMIT$DKA200:[APACHE.JAKARTA.LIB]ANT.JAR"
        = "[]"
    
    OpenVMS V7.2-1 on node VARMIT 1-MAR-2001 08:51:30.02 Up 10 00:29:34
      Pid    Process Name    State  Pri  I/O    CPU       Page flts Pages
    000012DE TOMCAT_8007 HIB   6 19586  0 00:00:10.93 4845 2909 M
    

    Note: The first invocation of Tomcat completes the installation of the environment, so there is a delay before Tomcat is ready to serve JSP pages. Subsequent invocations of Tomcat will be faster.

  7. If the Compaq Secure Web Server Jakarta Tomcat Servlet engine does not start, check the log files in the default directory of the account.

    Enter the following commands:

    $ DIR APACHE$ROOT:[000000]APACHE$JAKARTA*.LOG
    
    Directory APACHE$ROOT:[000000]
    
    APACHE$JAKARTA_SERVER_OUTPUT.LOG;1
    
    Total of 1 file.
    
    $ TYPE APACHE$ROOT:[000000]APACHE$JAKARTA_SERVER_OUTPUT.LOG
    
    $ Set NoOn
    $ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY"))
    -> Tomcat Directory /SYS$COMMON/APACHE/JAKARTA/
    Using Java 1.3.0 setup
    Setting up symbols for foreign command line usage...
    JAVA$FILENAME_CONTROLS now set to: -1
    Running Tomcat.....
    Exceeded quota, Please raise paging file quota
    Requires a minimum of 200,000 free
    Current available is: 100000
    %SYSTEM-F-EXQUOTA, process quota exceeded
      SYSTEM       job terminated at  1-MAR-2001 09:31:53.02
    
      Accounting information:
      Buffered I/O count:  81  Peak working set size:  2016
      Direct I/O count:    74  Peak virtual size:      167936
      Page faults:         58  Mounted volumes:        0
      Charged CPU time:  0 00:00:00.10
      Elapsed time:   0 00:00:00.24
    
  8. Optional: Add new CLASSPATH entries.

    To add new CLASSPATH entries (for example, JDBC drivers), add the following line to your .TOMCATRC file:

    $ DEFINE APACHE$JAKARTA_USER_CLASSPATH NAVROOT:[JAVA]NVJDBC1.JAR
    
  9. Optional: Supply additional JVM command line parameters.

    You may need to supply additional JVM command line parameters if, for example, you need to increase the maximum heap size to 128 MB. (Use the appropriate command line settings for the version of Java that is installed. For more information, enter java -h)

    Create a text file with all of the JVM command line settings. Enter the following command:

    $ CREATE TOMCAT_JVM_ARGS.DAT
    -mx128m
    ^Z
    

    Add the following line to your .TOMCATRC file:

    $ def APACHE$JAKARTA_JAVA_PARAMETERS_FILE disk:[directory] -
    _$ TOMCAT_JVM_ARGS.DAT
    

    Note: Make sure that the APACHE$WWW account can read these files.

  10. Access the included jsp and servlet examples via http://hostname:8080 after you have successfully configured and started Tomcat. If you have configured the Compaq Secure Web Server to work with Tomcat, you also can access the examples with the Compaq Secure Web Server via http://hostname/examples.

    See the Building the Sample Web Application on OpenVMS for instructions on how to run the sample application.

Configuring the JServ Servlet Engine with CSWS_JAVA

The default configuration for CSWS_JAVA applies to Tomcat. However, you can still configure the JServ servlet engine with the CSWS_JAVA kit. There are two ways to do this:

Building the Sample Web Application on OpenVMS

To build the sample web application found in [.jakarta.doc.appdev.sample], perform the following steps.

  1. Set your directory to the sample directory.
    $ SET DEFAULT DKA200:[APACHE.JAKARTA.DOC.APPDEV.SAMPLE]
    
  2. Enter the following command, where dka200 is the disk where you installed CSWS_JAVA.
    $ @sys$startup:apache$jakarta ant "-buildfile" build.xml -
    _$ "dist" "-Dtomcat.home=/dka200/apache/jakarta"
    
    You will then see the following output:
    -> Tomcat Directory /VARMIT$DKA200/APACHE/JAKARTA/
    Using Java 1.3.0 setup
    Setting up symbols for foreign command line usage...
    %DCL-I-SUPERSEDE, previous value of
    JAVA$FILENAME_CONTROLS has been superseded
    JAVA$FILENAME_CONTROLS now set to: -1
    %DCL-I-SUPERSEDE, previous value of
    JAVA$FILENAME_CONTROLS has been superseded
    Run ANT  in Tomcat's environment
    Buildfile: BUILD.XML
    
    prepare:
     [mkdir] Created dir: /dka200/apache/jakarta/webapps/myapp
     [copy] Copying 3 files to /dka200/apache/jakarta/webapps/myapp
     [mkdir] Created dir: /dka200/apache/jakarta/webapps/myapp/WEB-INF
     [copy] Copying 1 file to /dka200/apache/jakarta/webapps/myapp/WEB-INF
     [mkdir] Created dir: /dka200/apache/jakarta/webapps/myapp/WEB-INF/classes
     [mkdir] Created dir: /dka200/apache/jakarta/webapps/myapp/javadoc
    
    compile:
     [javac] Compiling 1 source file to /dka200/apache/jakarta/webapps
                  /myapp/WEB-INF/classes
    
    dist:
     [jar] Building jar: /dka200/apache/jakarta/webapps/myapp/myapp.jar
     [jar] Building jar: /dka200/apache/jakarta/webapps/myapp/myapp.war
    
    BUILD SUCCESSFUL
    
    Total time: 9 seconds
    Tomcat Logicals and Classpaths are cleared
    
  3. Edit the file server.xml

    Edit /dka200/apache/jakarta/conf/server.xml so that Tomcat can recognize your application. Add to the file a definition with the Context tag. This enables Tomcat to load your application kept under jakarta-tomcat/webapps/myapp upon request to 'myapp'. For example:

            <Context path="/myapp"
                  docBase="webapps/myapp" debug="0" reloadable="true">
            </Context>
    
        </ContextManager>
    </Server>
    
  4. Stop Tomcat if it is running.

  5. Start Tomcat and enter the URL:
    http://127.0.0.1:8080/myapp/index.html

    You should see a page with links to a JSP or servlet file. Selecting either page produces a display of the request headers.

Running Tomcat

For information about running Tomcat, see Tomcat - A Minimalistic User's Guide.

Release Notes (Tomcat)

This section contains notes about the Tomcat component of the current release of CSWS_JAVA.

Release Notes (MOD_JSERV and JServ Servlet Engine)

The following section contains notes about the JServ component of the current release of CSWS_JAVA.