Hi,
You need to go into the Windows Registry and look where the Tomcat
service is defined.  (I don't remember the exact key offhand).  There
you can add classpath and other JVM instructions as registry values that
are passed to the service.  On recent Tomcat versions, the service
installer can be used to configure the service as well with these
parameters, so you don't have to edit the registry by hand.

Yoav Shapira http://www.yoavshapira.com


>-----Original Message-----
>From: John Byrne [mailto:[EMAIL PROTECTED]
>Sent: Monday, November 08, 2004 10:36 AM
>To: [EMAIL PROTECTED]
>Subject: tomcat 5.0 service boot
>
>Hi all,
>
>I have tomcat on a windows 2000 server. We received a webapp which we
have
>to run on this. This web-app customised some tomcat files. This works
fine
>when I run startup.bat, but when I run it as a service (which I have to
do)
>it doesn't work. The two main files that were modified were
catalina.bat
>and setclasspath.bat. Does anybody know how I would mirror the changes
in
>these files in the service that is run?
>
>Cheers
>John
>
>
> __________________________________________________________________
>
>   -Interactive Services-   |    -www.interactiveservices.com-
> __________________________________________________________________
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom
> they are addressed. If you have received this email in error please
> notify the system manager. This message contains confidential
> information and is intended only for the individual named.
>
> If you are not the named addressee you should not disseminate,
> distribute or copy this e-mail. Please notify the sender immediately
> by e-mail if you have received this e-mail by mistake and delete
> this e-mail from your system. If you are not the intended recipient
> you are notified that disclosing, copying, distributing or taking
> any action in reliance on the contents of this information is
> strictly prohibited.
> __________________________________________________________________
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


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

Reply via email to