This content has been marked as final.
Show 1 reply
-
1. Re: Run-time configuration of Tomcat port
randysknt Dec 13, 2004 3:59 PM (in response to randysknt)I answered my own question:
If you want JBoss configuration (works for 3.2+, not sure about 3.0) to use a particular environment variable instead of a hardcoded value, just reference it with ${environment.variable.name}
For example, to run multiple instances on the same machine, each with a JMX-console, you need to make sure each instance of Tomcat binds to a different port. Add:
-Dtomcat.port=443 to %JAVA_OPTS%
Then in server.xml:
Connector port="${tomcat.port}" address="${jboss.bind.address}" scheme = "https" secure = "true"