I have a script that starts multiple processes, one of which being a Tomcat
server.  I would like to allow the user to specify the port for tomcat in my
property file, and on startup that property be read and passed to tomcat,
thus ignoring the 8080 set in the server.xml file.  This way if 8080 is
unavailable the user will just have to change the port in one place, my
porperty file.

Is there any '-D' JVM argument I can set?  Any other ways to set it?

Thanks
-- 
View this message in context: 
http://old.nabble.com/Can-Tomcat%27s-port-be-set-as-an-argument--tp29390220p29390220.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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

Reply via email to