tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Need to Specify keystorePass on Command Line - Update
Date Tue, 12 Feb 2013 09:27:05 GMT
On 12/02/2013 00:53, Harris, Jeffrey E. wrote:
> Current status:
> 
> I replaced keystorePass=<password> with
> 'keystorePass="${kspassword}"' in server.xml, and executed the
> command "tomcat7 //TS//Tomcat7 --JvmOptions=-Dkspassword=<password>"
> and have been able to start the SSL listener as a console
> application.
> 
> However, I have not been able to do the same thing with the service,
> using "sc start Tomcat7 "--JvmOptions=-Dkspassword=<password>", or
> putting the parameter into the properties of the service entry in
> Windows Services Manager.
> 
> I know Charles Caldarale said it could not be done with a service,
> but it is possible to pass parameters to a service, both using the
> Windows Services Manager, and via the sc command line utility.  I am
> just not sure what syntax Tomcat is expecting for parameters; I would
> think it would match the syntax of the tomcat command above, since
> that is basically what is being called, just with different
> parameters.

http://commons.apache.org/daemon/procrun.html

Mark

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


Mime
View raw message