Go to $DOMAIN_HOME/bin and create the file startWeblogic-jrebel.sh with the following contents:


#!/bin/bash
export JAVA_OPTIONS="-javaagent:$AGENT_PATH_UNIX $JAVA_OPTIONS"
`dirname $0`/startWebLogic.sh $@

Use this script instead of startWeblogic.sh if you want to run Weblogic with JRebel.

It is highly recommended to avoid using class caching (CLASS_CACHE=true) because in some cases it may prevent classes and resources from being reloaded.