This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JBoss/WildFly and the fly likes How to run JBOSS6 through Eclipse indigo with Run Time Parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to run JBOSS6 through Eclipse indigo with Run Time Parameters" Watch "How to run JBOSS6 through Eclipse indigo with Run Time Parameters" New topic
Author

How to run JBOSS6 through Eclipse indigo with Run Time Parameters

saurabh agr
Ranch Hand

Joined: Apr 14, 2010
Posts: 37
Hi,

when i run JBOSS through Eclipse, jboss starts on 127.0.0.1 ip, and i want to run jboss on different ip.

To do that i have to run JBOSS through command prompt by using -b run time parameter such as : run -b <ip>

My Question : Is there any way to specify IP when run jboss through eclipse.

I want to provide ip when starting server rather than defining it in configuration file.

Thanks.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

Are you using JBoss Tools?

Try opening the server (right-click it in the Servers View and select Open), there should be server properties that let you change the IP address. Or in that same dialog click the Open Launch Configuration link, and on the Arguments tab you can specify program arguments.


JBoss In Action
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to run JBOSS6 through Eclipse indigo with Run Time Parameters