[jboss-user] [Advanced Documentation] - Re: Using tokens in tomcat / jboss configuration files

PeterJ do-not-reply at jboss.com
Fri Jul 27 10:45:47 EDT 2007


Try setting system properties as part of the command line and using them in the configuration files.  For example, to change the port, in run.conf you might have:

JAVA_OPTS="-Dmy.port=8888 -Xms....."

And in server.xml you might have:

    <Connector port="${my.port}" address="${jboss.bind.address}".....
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068235#4068235

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068235



More information about the jboss-user mailing list