Home > General > Running Tomcat 5 as a service under Windows 7 64-bit

Running Tomcat 5 as a service under Windows 7 64-bit

December 12, 2011 Leave a comment Go to comments

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.

Categories: General
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.