This content has been marked as final.
Show 2 replies
-
1. Re: jboss 4.2.2 GA multihomed
peterj Sep 22, 2009 11:33 AM (in response to qwerty979)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 -
2. Re: jboss 4.2.2 GA multihomed
peterj Sep 22, 2009 11:35 AM (in response to qwerty979)Oh, you did say which version of JBoss AS in the subject line, missed that. Change 'jbossweb.sar' to 'jboss-web.deployer' in the file location.