Configure the 64-bit version of Tomcat that ships with
the adapter to run Apache Tomcat as a service on a 64-bit computer.
Before you begin
Verify that the service is not installed. If the service
is installed, uninstall the service, and then restart the computer.
Then, install the new service.
Tip: To avoid problems,
do not use spaces in file paths. For example, for the Program
Files directory you can use PROGRA~1.
Procedure
- Open a command prompt and install the new 64-bit service
by changing to the HPInstallDir\server\tomcat\bin directory,
and typing this command:
service.bat install tomcat7
Important: - On Windows operating
systems that have User Account Control (UAC), the command shell must
be run as an administrator.
- You must set the JAVA_HOME environment variable
to the directory that contains the new 64-bit service.
- Run the HPInstallDir\server\tomcat\bin\tomcat7w.exe program
to configure the service.
- Click the Java tab, and clear the Use
default check box.
- Add the following path to the Java Virtual Machine.
You can also click the ellipsis icon to browse for the jvm.dll file.
HPInstallDir\server\jre\bin\j9vm\jvm.dll
- Add the following lines at the end of the Java
Options text field
-Dderby.system.home=HPInstallDir\server
-XX:MaxPermSize=512M
-Xms256m
-Xmx1024m
-Djazz.connector.sslProtocol=SSL_TLS
-Djazz.connector.algorithm=ibmX509
- In Maximum memory pool, change the
pool size to 1024.
- On the Startup and Shutdown tabs,
make sure that jvm is selected for the Mode setting.
- Click the General tab and change
the Startup type to Automatic to
start the service automatically when Windows starts.
- After the service starts, verify that the server is running
by logging on to the server from your browser.
What to do next
Set up properties for the adapter, see
Setting up adapter properties.