1 Reply Latest reply on Nov 4, 2007 12:51 PM by jaikiran pai

    hostname instead of localhost

    babax ter1 Newbie

      Hi,
      having tested the fibo j2ee tutorial, I would like the
      applicaton to be available also via this url:
      http://<hostname-of-my-machine>:8080/fibo/

      instead of

      http://localhost:8080/fibo/


      I wonder that this is not working by default, since it does in Tomcat.


      Which JBOSS configuration files need to be patched?

      I replaced
      Engine name="jboss.web" defaultHost="localhost"
      by
      Engine name="jboss.web" defaultHost="hostname-of-my-machine"



      and

      <Host name="localhost"
      by
      <Host name="hostname-of-my-machine"

      In the file:
      ../jboss-4.2.2.GA/server/default/deploy/jboss-web.deployer/server.xml


      did note get the desired results, though.
      My system configuration:
      Java version "1.5.0_12"
      JBOSS Application Server v4.2.2 (default profile)

      Any hints are very welcome.