+

Search Tips   |   Advanced Search

Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, z/OS

 

Configure Apache Tomcat servers


After creating a middleware server representation of an Apache Tomcat server in the administrative console, update a few configuration settings so that they are defined specifically for your Apache Tomcat installation.

 

Before you begin

Federate the node that is running the Apache Tomcat server and create a representation of the server in the administrative console.

 

About this task

If you installed Apache Tomcat in a location other than the default directory, update the WebSphere® variables so that the installation directory is correct. To perform server operations on your server from the administrative console, configure the server operations for the Apache Tomcat middleware server representation.

 

Procedure

  1. Update the WebSphere variables so that they match the settings on the node that is running the Apache Tomcat server. In the administrative console, click Environment > WebSphere Variables. Edit the following variables:

    CATALINA_HOME
    Specifies the home directory of your Apache Tomcat installation.
    Default values are set at the cell scope level:
    C:\Program Files\Apache Software Foundation\Tomcat
    /usr/local/apache-tomcat

    If the home directory is different on different nodes in your configuration, select the node scope and create the CATALINA_HOME variable for the specific node.

    JAVA_HOME
    Directory of your Java™ Development Kit (JDK) installation.
    If the JAVA_HOME variable is not set in the environment of the node, define the JAVA_HOME variable in the administrative console at the cell scope or at the node scope.

  2. Update server operations for the Tomcat server to include the user name and password.

    1. In the administrative console, click Servers > Other middleware servers > Apache Tomcat servers > tomcat_server > Server operations.

    2. Edit the start and stop server operations to include the user name and password that is required to run these commands.

  3. Optional: Update the HTTP and HTTPS ports for your servers. The default port is 8080. If you use a value other than the default, change the port in the administrative console.

    1. In the administrative console, click Servers > Other middleware servers > Apache Tomcat servers > tomcat_server .

    2. Edit HTTP connector or HTTPS connector. Click OK and save and synchronize your changes.

 

What to do next





Previous topic
Federating middleware nodes

Next topic

Creating dynamic clusters

 

Related concepts


Middleware nodes and servers
Supported middleware server types

 

Related tasks


Configure middleware server operations
Configure WebSphere variables
Creating middleware server templates
Configure the external log viewing service Adding middleware servers to configurations

Related information


Middleware server creation administrative tasks