2 Replies Latest reply on Jun 3, 2008 10:47 PM by albert__kam

    How to set JBoss 3.0.8 Bind Address ?

    albert__kam

      Hi all,

      I'm currently playing with our legacy EJB app on JBoss version 3.0.8 on linux, JDK 1.4.2_xx.

      I want to start JBoss only on a specific IP. I've googled around to find out ways for newer JBoss, like the -b, or the -Djboss.bind.address, but i've found none for older JBoss. I've tried those for my JBoss, but they didnt work out. Is there a way to achieve this ?

      Please share your thoughts.

      Thank you and Regards,
      Albert Kam

        • 1. Re: How to set JBoss 3.0.8 Bind Address ?
          peterj

          Are you using JBossAS with embedded Tomcat or Jetty? If Tomcat, look for the server.xml config file (I hope that old of a Tomcat version uses that file and that it looks somehwta like the recent version) and look at the Connector entry, the "address" attribute. In 4.0.x and 4.2.x, it looks like this:

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


          You could change the value for address to your IP.

          • 2. Re: How to set JBoss 3.0.8 Bind Address ?
            albert__kam

            Hi,

            Thanks for the tip, but we're using standalone JBoss.

            Anyway, i've tried adding address attribute in connector tag inside tomcat's server.xml, and it worked out fine.

            Regards,
            Albert Kam