2 Replies Latest reply on Nov 26, 2007 1:05 PM by rdoekes

    Make JBoss available outside of localhost

    rdoekes

      Hi,

      - I installed JBoss 4.2.1.GA on my development server Windows 2003 as a standalone.
      - Jboss is running as service using Tanuki Wrapper.
      - I configured the Connector to port 80 in the jboss-web.deployer/server.xml on the default server

      When I run the root site on the server as http://localhost/ this works fine, even other wars are running as expected in the localhost.

      However, when I try to use a client computer to connect to the server using http://[server-name]/ this give 404 errors.

      How can I make the JBoss web sites available to client computers?

      I guess I am a little stuck in the configuration and permission settings.


      Thanks,

      -Rogier

        • 1. Re: Make JBoss available outside of localhost
          peterj

          The Tenuki wrapper uses a configuration file to govern how the application is launched. To add the '-b 0.0.0.0' boot option to the JBossAS, add the following properties to the configuration file:

          wrapper.app.parameter.2=-b
          wrapper.app.parameter.3=0.0.0.0


          You should already have "wrapper.app.parameter.1=org.jboss.Main" in the configuration file. If you already have some other parameters declared, you will have to adjust the parameter numbers.




          • 2. Re: Make JBoss available outside of localhost
            rdoekes

            That was the part I was missing. Works fine now!

            Thanks Peter!