Starting Apache Tomcat

Start the Apache Tomcat server to deploy the connector web application.

Before you begin

Apache Tomcat is secure.

About this task

Apache Tomcat is installed in the SAPCInstallDir/server/tomcat directory. The web application (SAPConnector.war), is installed in the Apache Tomcat directory webapps. When you start the server, you start the connector web application.
Tips:
  • Apache Tomcat is configured to use ports 9080 and 9443 in the SAPCInstallDir/server/tomcat/conf/server.xml file. If necessary, change the port assignments as appropriate for your system. For example, running the connector on the same server that is used by CLM requires a change to the port assignments. For more information, see Changing the port numbers for the application server.

  • The SAPCInstallDir/server/logs directory contains the server log files. If you cannot start the server, check the log files.

Procedure

Starting the server on Windows

  1. For Windows To start the server on Windows, complete one of these steps:
    • Click Start > All Programs > IBM Rational Connector for SAP Solution Manager > Start Tomcat Server to start the Apache Tomcat application server.
    • Change to the SAPCInstallDir/server directory and run the following command:
      server.startup.bat  
      Important:
      • Do not stop the server before the connector web application is deployed. If you do stop the server, you must delete the SAPConnector/ directory under webapps/ and start the server again to deploy the connector web application.
      • If the server is installed in the default Program Files directory, to be able to write to this directory, you must run the startup program as an administrator in Windows Server 2008 R2.
    A separate Apache Tomcat console window opens. If you close this window, the server stops. Depending on your installation options, the server startup might take a few minutes. After the server is started, the startup time in milliseconds is displayed in the Tomcat window. For example, Server startup in 203645 ms

Stopping the server on Windows

  1. For Windows To stop the server, complete one of these steps:
    • Click Start > All Programs > IBM Rational Connector for SAP Solution Manager > Stop Tomcat Server
    • Change to the SAPCInstallDir/server directory and run this command:
      server.shutdown.bat

Starting the server on UNIX

  1. For Linux To start the server, from the SAPCInstallDir/server directory, run this command:
    ./server.startup.sh
    Important: Do not stop the server before the connector web application is deployed. If you do stop the server, you must delete the sap/ directory under webapps/ and start the server again to deploy the connector web application.
    A separate Apache Tomcat console window does not open. You can check the server startup progress by viewing the SAPCInstallDir/server/logs/jts.log. After you access the server for the first time, the logs directory under SAPCInstallDir/server is created.

Stopping the server on UNIX

  1. For UNIX To stop the server, from the SAPCInstallDir/server directory, run this command:
    ./server.shutdown.sh

Feedback