You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Pramod Jain <pr...@indent.org> on 2004/10/12 01:29:27 UTC

Running tomcat 5.0 as a service in Windows OS

I have searched thru the mailing list and not found a solution, I am sure it is there ... Please point me to it

I am able to start tomcat5.0 as a service with tomcat_home\conf\server.xml, but unable to specify start up configuration parameters
like "start -config "abc\my_server.xml"

Here is what I am doing ... but both are not working
a) with tomcat5w.exe, I go to startup tab and enter:  start -config "C:\abc\my_server.xml"
b) In Windows Services editor I go to Apache-Tomcat -> Properties -> Start Parameters and enter:  start -config
"C:\abc\my_server.xml"

In both cases tomcat starts and then stops.





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


Re: Running tomcat 5.0 as a service in Windows OS

Posted by Shankar Unni <sh...@netscape.net>.
Pramod Jain wrote:

> a) with tomcat5w.exe, I go to startup tab and enter:  start -config "C:\abc\my_server.xml"
> b) In Windows Services editor I go to Apache-Tomcat -> Properties -> Start Parameters and enter:  start -config
> "C:\abc\my_server.xml"

Don't use double-quotes - those will be passed literally to Tomcat, and 
it will try to open a file name with an embedded double-quote.


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