[jboss-user] [JBoss Tools] - Re: How to run JBoss Server 6 with run.bat.conf in Eclipse?

Matthew Frederes do-not-reply at jboss.com
Sat Oct 29 18:37:28 EDT 2011


Matthew Frederes [http://community.jboss.org/people/busitech] created the discussion

"Re: How to run JBoss Server 6 with run.bat.conf in Eclipse?"

To view the discussion, visit: http://community.jboss.org/message/634138#634138

--------------------------------------------------------------
The OP may have been wondering how to customize the startup environment specifically for the JBoss 6 server when started from within Eclipse, using JBoss Tools. This is what we are wondering - where do the settings come from?  They do not match those used by Eclipse itself.

For example, we need to raise the memory limits via VM arguments (the defaults appear to be -Xms256m -Xmx768m -XX:MaxPermSize=256m).  We also need to set java.awt.headless=true so as to not freeze the Dock in Mac OS after the server shuts down.

When you choose Properties on the Runtime Configuration in the Server area, there are almost no options shown.  Is there a way to specify arguments passed to the VM when starting the server?

If you meant that Eclipse and new instances of the JBoss server start up using the same Eclipse preference file, that does not appear to be true, as our Eclipse environment uses -Xmx2048m.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/634138#634138]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111029/e9a950df/attachment.html 


More information about the jboss-user mailing list