You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jayakumar P <Ja...@gedc.tcs.co.in> on 2002/05/10 12:59:34 UTC

Tomcat as automatic service in WinNT 4.0

Hi all,

How can i run tomcat as an automatic service in WinNT 4.0?

Jayakumar



classpath problem

Posted by Winston Lee <yi...@yahoo.com>.
 Hi, 
I installed Tomcat 4.0 in my win2000, as well as soap 2.2.
Now tomcat works good. I can see http://localhost:8080/soap/admin/index.html this page.
But when click Deploy, there will be an error:
type Exception report

message Internal Server Error

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

exception 
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.C:\Apache Tomcat 4.0\work\localhost\soap\admin\deploy$jsp.java:6: Package org.apache.soap.util not found in import.import org.apache.soap.util.*;       ^C:\Apache Tomcat 4.0\work\localhost\soap\admin\deploy$jsp.java:7: Package org.apache.soap.util.xml not found in import.import  org.apache.soap.util.xml.*;        ^C:\Apache Tomcat 4.0\work\localhost\soap\admin\deploy$jsp.java:8: Package org.apache.soap.server not found in import.import  org.apache.soap.server.*;        ^3 errors, 1 warning	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) 

When click List, another error as:

Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
---------------------------------

type Exception report

message Internal Server Error

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

exception 
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.C:\Apache Tomcat 4.0\work\localhost\soap\admin\list$jsp.java:4: Package org.apache.soap.server not found in import.import  org.apache.soap.server.*;        ^1 error, 1 warning	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)	at org.apache

 

I know it must be an classpath problem. 

The path is as below:

JAVA_HOME = C:\J2SDK_Forte\jdk1.4.0\bin

CATALINA_HOME = C:\apache tomcat 4.0

Path = %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\xerces-1_4_4\xerces.jar;C:\Apache Tomcat 4.0\bin\bootstrap.jar;C:\soap-2_2\lib\soap.jar;C:\aaaa\javamail-1.2\mail.jar;C:\aaaa\jaf-1.0.1\activation.jar;C:\aaaa\rhino1_5R4pre\js.jar;C:\aaaa\bsf-2_2\lib\bsf.jar;C:\J2SDK_Forte\jdk1.4.0\bin;

 

Appreciate for your help.




---------------------------------
Do You Yahoo!?
Yahoo! Shopping - Mother's Day is May 12th!

Re: Tomcat as automatic service in WinNT 4.0

Posted by Jayakumar P <Ja...@gedc.tcs.co.in>.
I'm using tomcat 4.0.2.
Jk_ntservice..Does this work even for higher versions..

Jayakumar

----- Original Message ----- 
From: "Rajesh Harikrishnan" <we...@sslindia.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, May 10, 2002 6:02 PM
Subject: Re: Tomcat as automatic service in WinNT 4.0


> Hi Jayakumar P,
> 
> What version of tomcat??
> 
> Have your heard of 'Jk_ntservice' package... For the old version like
> 'Tomcat 3.x'
> 
> Regards
> H.Rajesh

> Jayakumar wrote.

can i run tomcat as an automatic service in WinNT 4.0?
> 
> Jayakumar



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Tomcat as automatic service in WinNT 4.0

Posted by Rajesh Harikrishnan <we...@sslindia.com>.
Hi Jayakumar P,

What version of tomcat??

Have your heard of 'Jk_ntservice' package... For the old version like
'Tomcat 3.x'

Please download it from the 'jakarta site' (i don't remember the exact site
URL). That has a set of instructions to get on.

Hope this solves your query..

Regards
H.Rajesh
(webteam@sslindia.com)
SSPL,Chennai
India.

----- Original Message -----
From: "Jayakumar P" <Ja...@gedc.tcs.co.in>
To: <to...@jakarta.apache.org>
Sent: Friday, May 10, 2002 4:29 PM
Subject: Tomcat as automatic service in WinNT 4.0


Hi all,

How can i run tomcat as an automatic service in WinNT 4.0?

Jayakumar






--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>