Imagine a bacon-wrapped Ferrari. Still not better than our free technical reports.
See all our reports

JRebel 5.4 Released – Updates for WebLogic, WebSphere, RESTEasy and more

JRebel 5.4 release comes with a few updates for the new versions of servers and frameworks. The integrations were update to support WebLogic 12.1.2 and WebSphere 8.5.5, including Liberty Profile. Also RESTEasy plugin now works with RESTEasy 3.x.

One new plugin is also added to the list – Apache BVal, the one that is bundled with Apache TomEE. With that JRebel will be able to handle Bean Validation annotation changes on TomEE.

One notable feature that was added in the new release is the command line configuration utility for automating the setup of JRebel for application containers. In the ZIP distribution of JRebel, in bin/ directory, you will find setup.sh and setup.bat scripts (for *nix and Windows respectively). The scripts take a server directory path as an argument and it will setup the correct JVM arguments either the server startup scripts or XML configuration files, depending on which server you use.

Here is an example of how you would use the command line utility to setup JRebel for Tomcat:

mars:bin anton$ ./setup.sh /Users/anton/servers/apache-tomcat-6.0.18
This will modify your server startup scripts to use JRebel. Please review the list of modifications after completion.
Do you wish to continue? [y/n]? y
New generated or changed content has been saved as '/Users/anton/servers/apache-tomcat-6.0.18/bin/startup-jrebel.sh'

You could now use startup-jrebel.sh script to run Tomcat instance with JRebel enabled.
And here’s how it works for Glassfish:

mars:bin anton$ ./setup.sh /Users/anton/servers/glassfish3 -d domain1
This will modify your server startup scripts to use JRebel. Please review the list of modifications after completion.
Do you wish to continue? [y/n]? y
New generated or changed content has been saved as '/Users/anton/servers/glassfish3/glassfish/domains/domain1/config/domain.xml'

The domain.xml configuration file will actually be backed up and saved in the same directory before inserting the new JVM arguments. So you will be able to roll back if required.

You can find the full list of changes in the change log.

As usual – we’re open to feedback and suggestions of what features you would like to see in JRebel! Stay tuned for the updates!

  • capi

    Hi!

    Nice one but… how can I select a local server like in previous versions? I mean what used to be this piece of config center: http://manuals.zeroturnaround.com/jrebel/_images/rad-jrebel-server-config.jpg

    I use RAD 8.0.4 and WebSphere Application Server 7.0 and your manual for RAD is using 5.3.1 plugin version.

    Thanks!

  • arhan

    This is still there – in the Config Center. It is still the same UI.

    For the configuration utility we will add a GUI in the upcoming versions as well, but this tool is primarily for those who start the server(s) from command line.

    Everything that was valid for 5.3.1 is still valid for 5.4 – eclipse plugin didn’t change in the UI.

  • Fabian

    hi! is there a way to execute this script non-interactively?

  • arhan

    You can use “-y” argument with the script to answer “Yes” to all the confirmations automatically: ./setup.sh /path/to/server -y
    So it will basically run in a non-interactive mode.

    Running “java -jar jrebel-setup.jar” will give you all the options.