I currently have the following 2 system environment variables (I double
checked to be sure there were no USER environment variables of the same
name):

JAVA_HOME=jdk1.3
TOMCAT_HOME=c:\MCA5.5\tomcat-3.2.1


In the wrapper.properties file, I have made the mods:

wrapper.tomcat_home=C:\MCA5.5\tomcat-3.2.1
wrapper.java_home=C:\jdk1.3


In the Server.XML file, which is in c:\MCA5.5\tomcat-3.2.1\conf, I have
added the context:

        <Context path="/soap" 
            docBase="C:\MCA5.5\tomcat-3.2.1\webapps\soap"
            debug="1" 
            reloadable="true">
        </Context>



And, in the c:\MCA5.5\tomcat-3.2.1\webapps\soap\WEB-INF\classes directory, I
have added all of my classes.  The class directory structure has been
reproduced under the directory and the classes are actually in the directory


c:\MCA5.5\tomcat-3.2.1\webapps\soap\WEB-INF\classes\samples\addressbook  

When I run Tomcat as a service, it knows the context "soap" is there but it
cannot find any of the class files.  
If I add the following line to worker.properties, everything works fine:

wrapper.class_path=$(wrapper.tomcat_home)\webapps\soap\WEB-INF\classes

Is there something else I need to configure?

thanks,
ron

-----Original Message-----
From: Hunor Nam [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 10:23 AM
To: [EMAIL PROTECTED]
Subject: RE: Running Tomcat as an NT Service


just make sure that your enviroment varibles are set for SYSTEM !!! not
for USER varables
        Hades

-----Original Message-----
From: Ronald G. Louzon [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 3:35 PM
To: '[EMAIL PROTECTED]'
Subject: Running Tomcat as an NT Service


When running Tomcat as a Windows NT service, the NT wrapper
jk_nt_service.exe must be installed and run instead of using the startup
batch file.  It appears that the jk_nt_service application reads its
entire
configuration from the wrapper.properties file.  What this means is that
the
classes and jar files under WEB-INF/classes and WEB-INF/lib are not
automatically loaded for a servlet.  Instead, they must all be added
manually in the wrapper.properties file.

Has anyone else run Tomcat as an NT Service and seen this same
behaviour?
If this behaviour is correct, why is so much functionality lost when
running
with the wrapper service?

Thanks,
ron

Reply via email to