Configure Jrebel with remote server

After 3 hours turning around over many examples, finally I’ve configured Jrebel with remote webpshere portal.
This is my step by step configuration guide:

-) Step 1 : download the client from this url :

Archived JRebel Releases

-) Step 2 : copy and unpack downloaded file on the remote server (I usually use: C:\IBM\jrebel\)

-) Step 3 : Activate client using a valid licence (I’ve used activate script in client’s bin directory)

-) Step 4 : Generate bootstrap file using this command (Don’t forget to use websphere portal jvm ):

cd C:\IBM\jrebel

C:\IBM\WebSphere\AppServer\java\jre\bin\java -jar jrebel.jar

-) Step 5 : Copy jrebel-bootstrap.jar from [userHome]/.jrebel to C:\IBM\jrebel\

-) Step 6 : Add jrebel parameter to websphere portal jvm (if you don’t know how visit this : :

-Xshareclasses:none -Xbootclasspath/p:C:\IBM\jrebel\jrebel-bootstrap.jar;C:\IBM\jrebel\jrebel.jar -Drebel.remoting_plugin=true 

finally my configuration seems like this:

-Xshareclasses:none -Xbootclasspath/p:C:\IBM\jrebel\jrebel-bootstrap.jar;C:\IBM\jrebel\jrebel.jar -Drebel.remoting_plugin=true ${WPS_JVM_ARGUMENTS_EXT} -Dderby.system.home=${USER_INSTALL_ROOT}/PortalServer/derby${WAS_TEMP_DIR} -Xdump:stack:events=allocation,filter=#10m -Xgcpolicy:gencon -verbose:gc -Xverbosegclog:${SERVER_LOG_ROOT}/verbosegc.%Y%m%d.%H%M%S.%pid.txt,20,10000

-) Step 7 : Finally don’t foget generate password using this command:

cd C:\IBM\jrebel

C:\IBM\WebSphere\AppServer\java\jre\bin\java -jar jrebel.jar -set-remote-password password

Leave a Reply

Your email address will not be published. Required fields are marked *

Antispam Question * Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.