You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ludovic larche <ll...@jouve.fr> on 2006/04/25 11:35:46 UTC

Tomcat 5.0.28 windows service path configuration

Hello,

I need your help to solve a problem, i would like to migrate my app from 
Tomcat 4.1.31 to 5.0.28 and use it as Windows Service.
I would like to pass a directory Path during Tomcat 5.0.28 windows 
service installation.

I can do it easily with Tomcat 4.1.31 when i use this command in a batch 
file :

*tomcat.exe -install "Skyview Server" ... -path 
"c:\firstdirectory;c:\seconddirectory"*

But I can't do it with Tomcat 5.0.28 when i use this command :

*service.bat  install Skyview ... --path 
"c:\firstdirectory;c:\seconddirectory"*

I tried lots of workarounds to pass a path to Tomcat 5.0.28 during  
windows service installation, is there a way to configure Tomcat in this 
mode ?
I would like to avoid update windows environment path in environment 
variable and i would prefer to use a Tomcat service for it.

Thanks very much for your help
-- 
JOUVE <http://www.jouve.fr/>

Ludovic Larché
Software Engineer
Development Software Team

llarche@jouve.fr
12, rue des Landelles - Immeuble Hercule 2 - 35510 Cesson Sévigné - France
Tel. : + 33 (0) 2 99 86 98 07 - Fax : + 33 (0) 2 99 86 98 01


          The present email and all information included therein do not
          constitute a legal agreement accorded by JOUVE. All legal
          agreements must be formulated in writing on paper by a legal
          representative of JOUVE. If you have received this email by
          mistake, please inform us of that fact and destroy the email
          and any documents it might contain Thank you for your
          cooperation.



RE: Tomcat 5.0.28 windows service path configuration

Posted by Tim Lucia <ti...@yahoo.com>.
Have you read this:

http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.html

???

I don’t remember version 4 and what –path would do.  You can certainly 
pass along env variables with --JvmOptions –Dpath=...


hth,
Tim


-----Original Message-----
From: ludovic larche [mailto:llarche@jouve.fr] 
Sent: Tuesday, April 25, 2006 5:36 AM
To: users@tomcat.apache.org
Subject: Tomcat 5.0.28 windows service path configuration

Hello,

I need your help to solve a problem, i would like to migrate my app from
Tomcat 4.1.31 to 5.0.28 and use it as Windows Service.
I would like to pass a directory Path during Tomcat 5.0.28 windows service
installation.

I can do it easily with Tomcat 4.1.31 when i use this command in a batch
file :

tomcat.exe -install "Skyview Server" ... -path
"c:\firstdirectory;c:\seconddirectory"

But I can't do it with Tomcat 5.0.28 when i use this command :

service.bat  install Skyview ... --path
"c:\firstdirectory;c:\seconddirectory"

I tried lots of workarounds to pass a path to Tomcat 5.0.28 during  windows
service installation, is there a way to configure Tomcat in this mode ?
I would like to avoid update windows environment path in environment
variable and i would prefer to use a Tomcat service for it.

Thanks very much for your help 
-- 

Ludovic Larché 
Software Engineer
Development Software Team 
llarche@jouve.fr 
12, rue des Landelles - Immeuble Hercule 2 - 35510 Cesson Sévigné - France 
Tel. : + 33 (0) 2 99 86 98 07 - Fax : + 33 (0) 2 99 86 98 01 
The present email and all information included therein do not constitute a
legal agreement accorded by JOUVE. All legal agreements must be formulated
in writing on paper by a legal representative of JOUVE. If you have received
this email by mistake, please inform us of that fact and destroy the email
and any documents it might contain Thank you for your cooperation. 



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