Go to $GERONIMO_HOME/bin
and create the file geronimo-jrebel.sh
with the following
contents:
#!/bin/bash export JAVA_OPTS="-javaagent:$AGENT_PATH_UNIX -Xms256m -Xmx512m -XX:MaxPermSize=256m $JAVA_OPTS" `dirname $0`/geronimo.sh $@
Use this script instead of geronimo.sh
if you want to run Geronimo with JRebel.
> geronimo.sh run