2 Replies Latest reply on Sep 22, 2009 11:35 AM by Peter Johnson

    jboss 4.2.2 GA multihomed

    qwerty979 Newbie

      I have a server with 4 IP addresses, I would like JBoss listener had two ip. I tried with the parameter -b but I can not list more than one ip. How can I do?


        • 1. Re: jboss 4.2.2 GA multihomed
          Peter Johnson Master

          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 -Djboss.bind.address.2=

          • 2. Re: jboss 4.2.2 GA multihomed
            Peter Johnson Master

            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.