Troubleshooting
Problem
This technote explains how to download and configure 64 bit Tomcat to run as a service when using IBM Rational Team Concert.
Symptom
Following the instructions as detailed in the Jazz.net Technote Running Jazz Team Server in Tomcat as a Windows Service on a 64-bit platform (see link below), the Tomcat service would not start properly. The following error is encountered at service startup:
[2009-08-20 14:54:14] [info] Running Service...
[2009-08-20 14:54:14] [info] Starting service...
[2009-08-20 14:54:15] [174 javajni.c] [error] %1 is not a valid Win32 application.
[2009-08-20 14:54:15] [947 prunsrv.c] [error] Failed creating java C:\IBM\JazzTeamServer\server\jre\bin\j9vm\jvm.dll
[2009-08-20 14:54:15] [1202 prunsrv.c] [error] ServiceStart returned 1
[2009-08-20 14:54:16] [info] Run service finished.
[2009-08-20 14:54:16] [info] Procrun finished.
Environment
Microsoft Windows 2008 Server x64
Diagnosing The Problem
Operating system is Microsoft Windows 64-bit
Error message at service startup: [174 javajni.c] [error] %1 is not a valid Win32 application.
Resolving The Problem
To resolve this issue:
- Go to <rtc_server_install_dir>/server/tomcat/bin directory and uninstall the 32-bit service by running:service remove Tomcat5
Note: The old service may be cached somewhere - when in doubt, reboot
- Rename the 32-bit service wrapper:
copy <rtc_server_install_dir>/server/tomcat/bin/tomcat5.exe to tomcat5.exe.32bit (or any name you want to call it) - Copy the 64-bit service wrapper:
RTC 2.X: copy /server/tomcat/bin/procrun/amd64/tomcat5.exe to the /server/tomcat/bin directory
RTC 3.X: copy /server/tomcat/bin/procrun/x64/tomcat5.exe to the /server/tomcat/bin directory - Proceed with service configuration as detailed in TN0010: Running Jazz Team Server in Tomcat as a Windows Service - with the exception that the path to the jvm.dll is not correct for an RTC 2.x product (it should be "<rtc_server_install_dir>/server/jre/bin/j9vm/jvm.dll")
- Once service started, verify the Rational Team Concert Server can be reached.
Jazz and Rational Team Concert have an active community that can provide you with additional resources. Browse and contribute to the User forums, contribute to the Team Blog and review the Team wiki. |
---|
Related Information
Product Synonym
Rational Team Concert;Rational Quality Manager
Was this topic helpful?
Document Information
Modified date:
23 June 2018
UID
swg21404257