2 Replies Latest reply on Feb 2, 2011 2:08 AM by Rachana K

    Adding -Djava.rmi.server.hostname stops me from using localhost to launch my application

    Rachana K Newbie

      I am using JBoss 5.1.0 GA for my application and have added -Djava.rmi.server.hostname to my JAVA_OPTS

      I need this property as I have clients accessing my server accross different subnets.

      But after adding this property, I cannot launch my application using http://localhost:8080 from the same machine where the JBoss AS is running.

      I need to launch the application using the ip addess e.g.


      My end users are usedto the localhost URL hence need a breakthrough to this problem. Is there some additional parameter to be set to enable the localhost URL?