Running Tomcat 5 as a service under Windows 7 64-bit
I had some trouble getting Tomcat 5.5.34 to run under Windows 7 64-bit. I found a solution that required copying msvc71.dll to the tomcat bin directory. I didn’t have this DLL, so I found it online and when I went to copy it to the bin directory, I noticed the bin directory contained two folders: i64 and x64. I suspect the i64 folder is for the Itanium processor. x64 contains another tomcat5.exe. I nixed copying the DLL and instead modified the service.bat file located in the bin directory.
I changed every instance of this:
%CATALINA_HOME%\bin\tomcat5.exe
To this:
%CATALINA_HOME%\bin\x64\tomcat5.exe
Then, I ran:
service.bat install
It worked for me! Now I have a tomcat service that doesn’t fail when starting up. Hopefully this can help you out, too.