aspose file tools
The moose likes JBoss and the fly likes Domain Address for JBOSS Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "Domain Address for JBOSS" Watch "Domain Address for JBOSS" New topic
Author

Domain Address for JBOSS

Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 260
I have done a web application running in my local machine with JBOSS AS 5.0.1, this application is running with 127.0.0.1/localhost but i want to run the application with my system IP address (141.167.12.112), how can we configure it?
We are using jbossdeveloper studio, in JBOSS server overview I changed the host name to IP address but I get the following exception


How can we solve this issue? We would like to test the application in different computers in the same network.


Thanks,
Kumar
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5533

First, I recommend starting the app server from the command line, and not from developer studio.
See if this helps: https://community.jboss.org/wiki/JBoss42FAQ

JBoss In Action
Mark E Hansen
Ranch Hand

Joined: Apr 01, 2009
Posts: 639
The JBoss run script (run.bat/run.sh) takes a -b 0.0.0.0 command-line option, which is used to specify the IP address against which the services should listen. The value "0.0.0.0" is meant as the "all interfaces" address.

I don't know if you can pass this when starting the application server from within the IDE, so you may have to start it manually from outside the IDE.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Domain Address for JBOSS
 
Similar Threads
Why does RMI naming lookup work on the local host when I give it a garbage name?
RMI problem with Localhost
invoke EJB on a remote machine with dynamic IP
RMI app behind NAT firewall
RMI Connection Exception Help