JBoss Community

Re: Problem Starting JBoss AS with JBoss Tools

created by Stephen Wick in JBoss Tools - View the full discussion

Under "Edit launch configuration properties" > "Remote Launch" tab I see the following string in the Start Command text area.

 

java "-Dprogram.name=JBossTools: JBoss EAP 4.3 Runtime: jms1" -Xms256m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 "-Djava.endorsed.dirs=lib\endorsed"  -Djava.library.path="bin\native" -classpath bin/run.jar org.jboss.Main --configuration=jms1  -b localhost  -Djboss.server.base.url=file:server &


 

This value was automatically generated by the plug-in.

 

-Djboss.server.base.url looks incorrect to me.

 

It is missing a very important option which is required for clustering services to start up correctly.  This option is also included by default in the run.bat for JBoss EAP 4.3: -Djava.net.preferIPv4Stack=true

 

The double-quotation marks are very inconsistent.  See: -Djava.endorsed.dirs and -Djava.library.path.

 

How do I fix this?

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community