You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Spors, Jeffrey R" <JS...@winona.edu> on 2005/07/21 22:24:09 UTC

Problem running Tomcat on Windows 64-Bit Edition

I am trying to run Tomcat 5.5.9 as a service on Windows Server 2003
64-Bit Edition.  

The following scenarios work fine:
 - 32-bit JDK and Tomcat 5.5 running as a service and using startup.bat
 - 64-bit JDK and Tomcat 5.5 using startup.bat

However, I can't run 64-bit JDK and Tomcat 5.5 as a service because it
runs tomcat5.exe, which is 32-bit app (32-bit apps cannot reference
64-bit apps and vice versa on Windows 64).

Is there a 64-bit binary for tomcat5.exe, is it possible for me to build
tomcat5.exe as a 64-bit app from source, or is there a way of getting
Tomcat to run as a service using only the .bat files?  Thanks for any
help.

Jeff Spors
Winona State University


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Problem running Tomcat on Windows 64-Bit Edition

Posted by Bill Barker <wb...@wilshire.com>.
There is a srvbatch in commons-daemon (I'm too lazy to look if there is a 
binary released for it :) that will allow you run the batch files as a 
service.

You can also grab the source from commons-daemon and compile a 64bit version 
yourself (only the MSDK is needed, but you need to create your own 
makefiles).

I've done both, and they both work well (but only the second one lets you 
have the nice configuration GUI :).

"Spors, Jeffrey R" <JS...@winona.edu> wrote in message 
news:72243B95A064954F8300C07E67F8EFDB028F6A7F@exchange2.winona.edu...
I am trying to run Tomcat 5.5.9 as a service on Windows Server 2003
64-Bit Edition.

The following scenarios work fine:
 - 32-bit JDK and Tomcat 5.5 running as a service and using startup.bat
 - 64-bit JDK and Tomcat 5.5 using startup.bat

However, I can't run 64-bit JDK and Tomcat 5.5 as a service because it
runs tomcat5.exe, which is 32-bit app (32-bit apps cannot reference
64-bit apps and vice versa on Windows 64).

Is there a 64-bit binary for tomcat5.exe, is it possible for me to build
tomcat5.exe as a 64-bit app from source, or is there a way of getting
Tomcat to run as a service using only the .bat files?  Thanks for any
help.

Jeff Spors
Winona State University 




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org