dcsimg
Problems setting up Tomcat 4.1.12 as service under Windows 2000 Server
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mats_Holmblad
Posted On:   Friday, November 8, 2002 12:05 AM

I've used the following instructions... http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg67839.html ...but I'm having problems with the fact that after starting the service I dont seem to be able to execute eny classes. I get the following error... ********************************* HTTP Status 500 - --------------------- type Exception report description: The server encountered an internal error () that prevented it from fulfilling this request. exception: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file:    More>>

I've used the following instructions...



http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg67839.html



...but I'm having problems with the fact that after starting the service I dont seem to be able to execute eny classes. I get the following error...


*********************************


HTTP Status 500 -


---------------------


type Exception report



description: The server encountered an internal error () that prevented it from fulfilling this request.



exception: org.apache.jasper.JasperException: Unable to compile class for JSP



An error occurred at line: -1 in the jsp file: null



Generated servlet error: [javac] Compiling 1 source file


*********************************



If I removed the...



-Djava.class.path=%CATALINA_HOME% in ootstrap.jar;%JAVA_HOME%lib ools.jar



...part from the installation script...



%CATALINA_HOME% in omcat.exe -install Apache-Catalina
%JAVA_HOME%jre inserverjvm.dll
-Djava.class.path=%CATALINA_HOME% in ootstrap.jar;%JAVA_HOME%lib ools.jar
-Dcatalina.home=%CATALINA_HOME% %CATALINA_OPTS% -Xrs -start
org.apache.catalina.startup.BootstrapService -params start -stop
org.apache.catalina.startup.BootstrapService -params stop -out
%CATALINA_HOME%logsstdout.log -err %CATALINA_HOME%logsstderr.log



...it works fine when I try it on my Windows XP Pro but on the Windows 2000 Server the service refuses to start and gives no error message.



Any ideas?

   <<Less

Re: Problems setting up Tomcat 4.1.12 as service under Windows 2000 Server

Posted By:   Mats_Holmblad  
Posted On:   Friday, November 8, 2002 12:48 AM

I found another script that worked much better here...



http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg67233.html



Install Catalina Service:



%CATALINA_HOME%in omcat.exe -install Apache-Catalina %JAVA_HOME%jreinserverjvm.dll -Djava.class.path=%CATALINA_HOME%inootstrap.jar;%JAVA_HOME%lib ools.jar -Dcatalina.home=%CATALINA_HOME% %CATALINA_OPTS% -Xrs -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out %CATALINA_HOME%logsstdout.log -err %CATALINA_HOME%logsstderr.log



Uninstall Catalina Service:



%CATALINA_HOME%in omcat.exe -uninstall Apache-Catalina



REMEMBER to keep all variables on the same command line!
About | Sitemap | Contact