64Bit Windows Tomcat Service
If you have a 64Bit windows install you will soon realize that you can't install Tomcat as a service using the Windows Service Installer located on the Tomcat website.
Well you "can" run the installer, and it will even add the service but you won't be able to start it up. Why? because the executable that is included in the install is 32 bit. So don't bother trying ok! Download the zip file instead and extract the contents.
64 Bit?
You can replace the tomcat6.exe and tomcat6w.exe from Apache subversion.
Once you have downloaded the two 64bit executables back up the two in the /bin directory and copy them there. You will need to install the service using the service installer. To do this execute the following command from the command prompt.c:\tomcat\bin\>service install tomcat6 Installing the service 'tomcat6' ... Using CATALINA_HOME: C:\srv\tomcat Using CATALINA_BASE: C:\srv\tomcat Using JAVA_HOME: C:\java Using JVM: C:\java\jre\bin\server\jv The service 'tomcat6' has been installed.Opening up the windows services you should see a service called "Apache Tomcat tomcat6" set to manual start. You should now be able to start up Tomcat without issue.
I have successfully installed 64Bit Tomcat on several 64Bit Windows Server 2008 using the above procedure. I am unaware of any issues at this time.
Happy Coding...
Subscribe
Subscribe via RSS
Follow me on Twitter
Or, Receive daily updates via email.
Tags
adobe air ajax apple cf community cfml coldfusion examples ext flash flex google javascript max2007 max2008 misc open source programming railo software technology ui
Recent Entries
No recent entries.
Blogroll
An Architect's View
CFSilence
Rey Bango
TalkingTree

http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tag...
Can you tell me how to Install Tomcat 6 on AMD 64 bit Windows Server 2003 using 32 bit JVM. I have a requirement that won't allow me to change my JVM to 64 bit (.dll problem).
Is there any solution to this ?
if you have 64 bit windows then download the new 64 bit Java JDK and during the install you will be prompted to either choose the 32 or 64 bit JRE.
I have tried installing the new 6.0.24 using both the .exe installer and the .zip archive.
I can not install tomcat as service using the service.bat file. I keep getting the
following error: Failed installing 'Tomcat6' service.
Anyone know of a solution out there?
you should be able to remove it with c:\tomcat6\bin\tomcat6 //DS// 'tomcat6' where tomcat6 is the service name.
once you have removed the service then try again. If it still doesnt work do the old restart trick and try again
to remove the service and delete the apllicable registry keys.
Thanks for the follow-up.
does tomcat work without installing it as a service? simply using the start.bat file?
Gotta love Windoze
It ws a gr888 help...
I have spent a long time today trying to get Tomcat6 running on port 81 but editing the c:\Program Files\Tomcat6\conf\server.xml as me (despite being part of the administrators group) resulted in no change.
Turns out when I opened the server.xml, Windows, in its wisdom, opened the file from my VirtualStore. (C:\Users\{user here}\AppData\Local\VirtualStore\Program Files\Tomcat6\conf).
Make sure you run your text editor as Administrator and then edit your conf files.