Using Hotswap Agent with JBoss (Jboss Developer Studio)

2k views Asked by At

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?

1

There are 1 answers

3
Federico Sierra On BEST ANSWER

Double click to open server configuration

Server Configuration

Click to open dialog below

Server Configuration Launch

finally add or edit your vm arguments.