tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Corrigan" <j...@johncorrigan.net>
Subject RE: Tomcat4, where is classpath set when run as service
Date Wed, 30 Jul 2003 20:48:34 GMT
Are you sure about that, John?  What about the following registry key?
Aren't the environment variables only used during the service setup process?

HKEY_LOCAL_MACHINES
  SYSTEM
    CurrentControlSet
      Services
        Apache Tomcat 4.1
          Parameters  --  JVM Option Number 0:
REG_SZ: -Djava.class.path=C:\usr\local\Apache\Tomcat
4.1.24\bin\bootstrap.jar


It seems like the easiest way to add to the classpath, if that is really
want you want to do Paul, is to edit the registry.

-----Original Message-----
From: Paul [mailto:paul@msci.ca]
Sent: Wednesday, July 30, 2003 1:39 PM
To: Tomcat Users List
Subject: Re: Tomcat4, where is classpath set when run as service


Hi John,
   thanks for reply.  How would one go about adding .jar or .zip files to
the classpath given it is created as you say when tomcat starts as a win2k
service?

paul lomack


----- Original Message -----
From: "John Turner" <tomcat-user@johnturner.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Wednesday, July 30, 2003 3:47 PM
Subject: Re: Tomcat4, where is classpath set when run as service


>
> It isn't.
>
> Tomcat 4.1 uses the CATALINA_HOME and JAVA_HOME environment variables
> (defined at the System level) to build a classpath at startup.
>
> John
>
> Paul wrote:
>
> > Hi Folks,
> >
> > Does anyone know where the classpath is set for Tomcat 4.1, when Tomcat4
is started and runs as a win2k service?
> >
> > thanks in advance for any help,
> > paul lomack
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message