Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Ganeshkumar cheekati
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ganeshkumar cheekati
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just set it in the arguments for the launch configuration you use for the server in Eclipse.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cool! I have never seen that! Learn something new every day!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic