Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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!

0 votes



4 answers

Permanent link
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 ?

0 votes


Permanent link
Yes. Otherwise tomcat wont' run.

0 votes


Permanent link
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.

0 votes


Permanent link
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!

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jul 29 '11, 3:54 a.m.

Question was seen: 7,109 times

Last updated: Jul 29 '11, 3:54 a.m.

Confirmation Cancel Confirm