[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Setting up JBoss to run on 127.0.0.1 with JBWeb on 0.0.0
PeterJ
do-not-reply at jboss.com
Sat Jun 21 14:44:44 EDT 2008
One thought. The XML config files for each of the services that open ports usually use jboss.bind.address to define the IP address they will bind their ports to. For example, in jboss-web.deployer/server.xml, the address for the connector is defined as:
<Connector port="8080" address="${jboss.bind.address}"
| maxThreads="250" maxHttpHeaderSize="8192"
| emptySessionPath="true" protocol="HTTP/1.1"
| enableLookups="false" redirectPort="8443" acceptCount="100"
| connectionTimeout="20000" disableUploadTimeout="true" />
You could change it to:
<Connector port="8080" address="${my.http.address}"
| . . .
And then start JBossAS adding -Dmy.http.address=99.99.99.99 (or whatever IP address you want).
You can do similar things to the remoting service XML file for messaging. Juts make sure that you catch ALL of the IP address for whatever service you are modifying.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159742#4159742
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159742
More information about the jboss-user
mailing list