Tuesday, February 20, 2007

tomcat 5 unable to install as service

During Tomcat (service version, not the zip one) installation, when encounter tomcat "failed to install tomcat5 service", here is the tips to resolve this error:

Try uninstall all previous Tomcat first
Then goto regedit, and search for tomcat, and try and delete all the entries with Tomcat service related.

Then from an online post by "Ab"

There is an Internet God after all. It took me all day but the reason I got this error was that the installer on one of my servers (2 others worked just fine) did not like my temporary working dir. I changed the temp dir to c:\temp and the setup completed. If you get this error right click on my computer, select properties, from the advanced tab click on Environment Variables and change your temporary working folder to c:\temp. Good luck, This drove me nuts all day. Thank you http://www.sysinternals.com for filemon which helped me figure this out.

No comments: