[jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.2.2 GA multihomed
PeterJ
do-not-reply at jboss.com
Tue Sep 22 11:33:57 EDT 2009
You never said which version of JBoss AS, so I will assume 5.1.0. If you have some other version, the files will be in different locations - I'll let you find them.
In the server/xxx/deploy/jbossweb.sar/server.xml file, create a second HTTP connector and use a different value for address. For example, you might have these two:
<Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}"
| connectionTimeout="20000" redirectPort="8443" />
| <Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address.2}"
| connectionTimeout="20000" redirectPort="8443" />
then run like this:
run -b 192.168.1.100 -Djboss.bind.address.2=192.168.1.101
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256442#4256442
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256442
More information about the jboss-user
mailing list