2 Replies Latest reply on Aug 8, 2007 9:06 AM by nayabinghi

    Bind ip for JBOSS 4.2.1

    nayabinghi

      Hello,

      The Notes for jboss 4.2.x states
      JBossAS now binds its services to localhost (127.0.0.1) default instead of binding to all available interfaces (0.0.0.0). I know if I execute run.sh -b 0.0.0.0 I can get it to bind to this address. Is there any other way I can set the bind address to 0.0.0.0? Like in run.sh or run.conf. I am using the java service wrapper at wrapper.tanukisoftware.org am not sure I can use the -b option. the service wrapper does use run.sh. An help with this will be appreciated.

      Thank you,

        • 1. Re: Bind ip for JBOSS 4.2.1
          peterj

          The Service Wrapper uses a wrapper.conf file to provide the configuration for the server. This file will already contain this line:

          wrapper.app.parameter.1=org.jboss.Main

          and might also contain these lines:

          wrapper.app.parameter.2=-c
          wrapper.app.parameter.3=default

          In which case you can add these lines to set the -b option:

          wrapper.app.parameter.4=-b
          wrapper.app.parameter.5=0.0.0.0


          • 2. Re: Bind ip for JBOSS 4.2.1
            nayabinghi

            Peterj,

            Adding those 2 lines worked perfectly. Thank you very much. I really appreciate your help.

            Thank you,
            Mohammed