Search code examples
javajbossjboss7.xhotswap

Using Hotswap Agent with JBoss (Jboss Developer Studio)


The tutorial here: http://www.hotswapagent.org/quick-start

says to use:

-XXaltjvm=dcevm -javaagent:PATH_TO_AGENT\hotswap-agent.jar

as command line arguments.

However, when running my servlet on JBoss, from the JBoss developer studio, how do I pass in these arguments?

At a first look, it may be something with eclipse.ini/config.ini, but the IDE jvm spawn a new jvm for the JBoss server, does it pass arguments from the .ini to that?


Solution

  • Double click to open server configuration

    Server Configuration

    Click to open dialog below

    Server Configuration Launch

    finally add or edit your vm arguments.