Check your "%JAVA_HOME%\jre\bin\" directory - you may not have a "classic" > directory in it, you may have "hotspot" directory instead (and I think there > are other possibilities, instead of classic/hotspot?)
My Answer : ------------------ I have no hotspot nor classic directory in %JAVA_HOME%\jre\bin\ , I have 2 folders called server and client contains the jvm.dll , I used the server directory . If that doesn't work, I'd check that "CATALINA_HOME" and "JAVA_HOME" are set > correctly - from a command prompt My Answer : ------------------ They are set correctly I found that %CATALINA_HOME%\logs\stderr.log is empty . And the service is exist in the control panel , but can not be started and give a message saying internal error upon restarting it!!! Here it is my command again : C:\Tomcat\jakarta-tomcat-4.0.3\bin>tomcat.exe -install ApacheTomcat "%JAVA_HOME% \jre\bin\client\jvm.dll" -Djava.class.path="%CATALINA_HOME%\bin\bootstrap.jar;%J AVA_HOME%\lib\tools.jar" -Dcatalina.home="%CATALINA_HOME%" -xrs -start org.apach e.catalina.Bootstrap -params start -stop org.apache.catalina.startup.Bootstrap - params stop -out "%CATALINA_HOME%\logs\stderr.log" The service was successfully installed. Any idea ----- Original Message ----- From: "John Niven" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, May 22, 2002 3:43 PM Subject: RE: Tomcat on Windows2000 as a service > > -----Original Message----- > > From: Mohammed Omar [mailto:[EMAIL PROTECTED]] > > Sent: 22 May 2002 12:44 > > To: Tomcat Users List > > Subject: Re: Tomcat on Windows2000 as a service > > > > > > I made that and the service exist now and i can stop and > > start it , but i see that the stop and restart of the > > service has no effect on Tomcat , wen i call a servlet from > > IIS , it does not run untill I startup tomcat from its > > startup command in the bin directory whether the service > > started in the control panel or not . > > > > any idea!! > > > > Mohammed > > Check your "%JAVA_HOME%\jre\bin\" directory - you may not have a "classic" > directory in it, you may have "hotspot" directory instead (and I think there > are other possibilities, instead of classic/hotspot?) If so, change the > install line accordingly. > > (Before changing the install script and re-installing the Tomcat service, > you'll first need to uninstall the service - use this: > "%CATALINA_HOME%\bin\tomcat.exe" -uninstall "ApacheTomcat" > ) > > If that doesn't work, I'd check that "CATALINA_HOME" and "JAVA_HOME" are set > correctly - from a command prompt, type: > echo %CATALINA_HOME% > (expected response: path to Tomcat) > > echo %JAVA_HOME% > (expected response: path to JDK) > > One final thing - you are running Tomcat 4+, aren't you? If you're running > Tomcat 3 you'll need to replace "CATALINA_HOME" with "TOMCAT_HOME" - and > there may be other changes required. Sorry, but the only times I've used > Tomcat 3 in anger is on Solaris. > > > > thanks > > > > HTH! > John > > -- > John Niven > Please reply through mailing list > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> >