Environment: Tomcat 3.2, JDK 1.3 and Windows XP. I am able to install Tomcat as service using JavaService from http://www.alexandriasc.com/ but problem comes when I try to start it stops immidiately. The error message which I get from Windows XP is "... Service stoped as there are no process to use it ..." I tried 'Set process to Desktop' option but without any use. I am using script provided by Alexandria Software and all file names are using DOS format Could somebody suggest whats going wrong. Thanks.
You can infact use the "tomcat.exe" shipped with tomcat to install Tomcat as a service, there is no need for the third-party exe as such. Please post the script used by you to install the service for me to comment further. This problem occurs mostly when the path for JVM.dll has not been specified correctly. Check the entry in regirty to verify if all the paths in the parameters are valid. Also see this thread. HTH,
SCJP2, SCWCD 1.4
Joined: Dec 15, 2001
I finally have to change my JDK to 1.4 and Tomcat 4.1. Looks like this combination works well. Debashish: Thanks for your reply but it doesn't work the way you mentioned. After getting error with JDK 1.3 & Tomcat 3.2 I read your previous post too but of no use.