It's all about the answers!

Ask a question

Can't get tomcat to run as a service on 64-bit Windows


David Hanslip (23124448) | asked Jul 29 '11, 3:54 a.m.
Hi.

I have RQM 3.0.1 on 64-bit Windows. To date I have started tomcat manually. RQM has been working fine. Now I need to install tomcat as a service.

According to the help I need to run service.bat install tomcat5. When I do this I get:

This version of C:\PROGRA~2\IBM\JazzTeamServer\server\tomcat\bin\tomcat5.exe is not compatible with the version of Windows you are running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version.
Failed installing 'tomcat5' service

Now this is quite obviously a 64-bit system and 64-bit tomcat runs fine when started manually.

Any suggestions please?

Thanks!

4 answers



permanent link
Karen Steele (1.2k4139148) | answered Jul 29 '11, 11:44 a.m.
Hi.

I have RQM 3.0.1 on 64-bit Windows. To date I have started tomcat manually. RQM has been working fine. Now I need to install tomcat as a service.

According to the help I need to run service.bat install tomcat5. When I do this I get:

This version of C:\PROGRA~2\IBM\JazzTeamServer\server\tomcat\bin\tomcat5.exe is not compatible with the version of Windows you are running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version.
Failed installing 'tomcat5' service

Now this is quite obviously a 64-bit system and 64-bit tomcat runs fine when started manually.

Any suggestions please?

Thanks!


Did you follow the instructions to rename tomcat5.exe and replace it with the 64-bit version thats included in the package ?

permanent link
David Hanslip (23124448) | answered Jul 29 '11, 9:36 p.m.
Yes. Otherwise tomcat wont' run.

permanent link
Sudhakar Frederick (80113631) | answered Aug 01 '11, 5:24 a.m.
JAZZ DEVELOPER
Which one did you copy over? I found that I get that error when I use
the tomcat5.exe from the i64 directory but the one from the x64
directory works fine:

C:\IBM\301\JazzTeamServer\server\tomcat\bin>service.bat install tomcat5
Installing the service 'tomcat5' ...
Using CATALINA_HOME: C:\IBM\301\JazzTeamServer\server\tomcat
Using CATALINA_BASE: C:\IBM\301\JazzTeamServer\server\tomcat
Using JAVA_HOME: C:\Progra~2\Java\jdk1.6.0_23
Using JVM: C:\Progra~2\Java\jdk1.6.0_23\jre\bin\server\jvm.dll
The service 'tomcat5' has been installed.

On 30/07/2011 10:38 AM, dhanslip wrote:
Yes. Otherwise tomcat wont' run.

permanent link
Sudhir Balusu (261) | answered Aug 04 '11, 1:39 p.m.
There were a couple of missing parameters in my case as highlighted in this WI
https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.viewWorkItem&id=53449

Sudhir

Hi.

I have RQM 3.0.1 on 64-bit Windows. To date I have started tomcat manually. RQM has been working fine. Now I need to install tomcat as a service.

According to the help I need to run service.bat install tomcat5. When I do this I get:

This version of C:\PROGRA~2\IBM\JazzTeamServer\server\tomcat\bin\tomcat5.exe is not compatible with the version of Windows you are running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version.
Failed installing 'tomcat5' service

Now this is quite obviously a 64-bit system and 64-bit tomcat runs fine when started manually.

Any suggestions please?

Thanks!

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.