File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes How to set -b ipaddress for jboss4.2.2 GA in eclipse? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How to set -b ipaddress for jboss4.2.2 GA in eclipse?" Watch "How to set -b ipaddress for jboss4.2.2 GA in eclipse?" New topic
Author

How to set -b ipaddress for jboss4.2.2 GA in eclipse?

Ganeshkumar cheekati
Ranch Hand

Joined: Oct 13, 2008
Posts: 362
Hi,

i configured jboss4.2.2 GA in eclipse-helios and deployed application which is working fine in localhost.if i start server with run.bat -bipaddress from commandprompt then my application is working with ip from other systems too.so,where can i set -bipaddress for my jboss server in eclipse IDE?

i tried as follows
In open launch configuration--->Arguments-->i had given program arguments as -c default -b 3.205.102.26
but i am getting error to increase starting timeout even i gave morethan 100sec...

Can anyone tell me how to resolve this?

Thanks in advance
Ganesh Kumar Ch


SCJP5 and SCWCD1.5
Think Twice Act Wise...
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

I don't think this can be done thought the UI in Eclipse, but there is a config file you change to accomplish this. Look for eclipse/plugins/org.eclipse.jst.server.generic.jboss_1.6.1.v200904151730/servers/jboss42.serverdef. (Your plugin's version number might be different) Edit that file, replacing localhost and 127.0.0.1 with the IP address you used with -b.


JBoss In Action
Ganeshkumar cheekati
Ranch Hand

Joined: Oct 13, 2008
Posts: 362
yeah i override 127.0.0.1 with my ipaddress but there is no localhost in that file.still getting the same problem...

Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Just set it in the arguments for the launch configuration you use for the server in Eclipse.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

Paul Sturrock wrote:Just set it in the arguments for the launch configuration you use for the server in Eclipse.

OK, I admit that I am being dense, but where is this "arguments for the launch configuration you use for the server" and how do you get there? If looked at various properties dialogs and other things and just don't see it.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

It might be a WTP thing but if I double click on a server in my server view then select "Open launch configuration" I see a dialog with a tab for arguments.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

Cool! I have never seen that! Learn something new every day!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set -b ipaddress for jboss4.2.2 GA in eclipse?