You could rebuild your service.

instsrv.exe "Tomcat 4.1" REMOVE  //to remove the existing service

// build the service
"$CATALINA_HOME$\bin\tomcat.exe" -install "Apache Tomcat 4.1"
"$JAVA_HOME$\jre\bin\client\jvm.dll" -Xmx512m -Xms256m
-Djava.class.path="$CATALINA_HOME$\bin\bootstrap.jar"
-Djava.endorsed.dirs="$CATALINA_HOME$\common\endorsed"
-Dcatalina.home="$CATALINA_HOME$" -start
org.apache.catalina.startup.BootstrapService -params start -stop
org.apache.catalina.startup.BootstrapService -params stop -err
"$CATALINA_HOME$\logs\stderr.log"

replacing $CATALINA_HOME$ and $JAVA_HOME$ where appropriate.

Do you REALLY want to do this?  If you are just adding these to run your web
app, include them in your web apps war file.  Another possibility is to put
them in common/lib or server/lib or shared/lib.

-----Original Message-----
From: Paul [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 30, 2003 4: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" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This electronic transmission is strictly confidential to Smith & Nephew and
intended solely for the addressee.  It may contain information which is
covered by legal, professional or other privilege.  If you are not the
intended addressee, or someone authorized by the intended addressee to
receive transmissions on behalf of the addressee, you must not retain,
disclose in any form, copy or take any action in reliance on this
transmission.  If you have received this transmission in error, please
notify the sender as soon as possible and destroy this message.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to