Questions tagged [jrebel]

JRebel is a plug-in for the Java Virtual Machine (JVM) that enables instant reloading of changes made to a Java class file.

JRebel is a JVM plugin that makes it possible for Java developers to instantly see any code change made to an app without redeploying. JRebel lets you see code changes instantly, versioning classes and resources individually and updating one at a time instead of as a lump application redeploy.1

JRebel is an alternative solution to updating classes which does not require a debugging session to be started. Instead it monitors the file system for changes and updates the classes in-memory. This means that only classes compiled to ".class" files will be updated and changes to classes in JAR files will be ignored. JRebel imposes a performance overhead on the application and should not be used in production or performance tests. It is meant to be a development tool only.[2]

JRebel is Java-based and usable on any operating system that supports Java. JRebel is IDE-agnostic and designed for integration with various Java EE standards and Java application servers.[4] Although JRebel is subscription-based commercial software, it is freely available to open source software projects and developers using the Scala programming language.

References

312 questions
3
votes
0 answers

jRebel not work with Message resource bundle

I am using jRebel version 5.0.0 in my Spring project. Everything works well, any changes in Java, JSP or JS files was affected immediately. But when I modify some message keys in MessageResource.properties file, it does not reload the new…
Đinh Hồng Châu
  • 5,300
  • 15
  • 53
  • 90
3
votes
1 answer

JRebel doesn't publish webapp folder

I am trying to use JRebel and having problem while publishing the files like xhtml under src/main/webapp folder. I can do hot replacement of classes, it is working. I am using Eclipse Helios, Tomcat 7 and JRebel Eclipse plug-in. Also i am using…
sacunu
  • 155
  • 1
  • 1
  • 5
2
votes
1 answer

JRebel with web-fragments giving 404 errors after modification

I have been trying to get JRebel to work with a web project which contains web fragments. However, after I change the code and JRebel deploys the changes, the web application starts giving 404 errors for all pages and requests. Can someone…
aseychell
  • 1,794
  • 17
  • 35
2
votes
1 answer

JRebel removes all logging from a Grails project

I've got a project written in Grails. When I run it from a console with grails run-app I've got all my logs printed to the console, just as I want it. However once I start it using JRebel, there are no logs visible anymore. Only some minimal set of…
julx
  • 8,694
  • 6
  • 47
  • 86
2
votes
1 answer

Weblogic Server with Hotswap agent

We are looking a free alternative for jRebel. It seems hotswap agent is a free good alternative for jRebel. But I didn't sure about it supports weblogic server , is there anyone use hotswap agent with weblogic server and how?
İlyas Şahin
  • 293
  • 2
  • 3
  • 9
2
votes
1 answer

Using JRebel to swap the bytecode of a class

As said, I'd like to change the bytecode during execution. I am not running any sort of application or web server, it's just for a command line program. Of course I could just create a new ClassLoader, but that's not feasible from the performance…
Martin
  • 21
  • 1
  • 2
2
votes
1 answer

Why should JRebel configuration be included in my war?

From the JRebel documentation The rebel.xml configuration file has to be added to the deployed WAR or JAR archive. This will let the JRebel agent know which workspace paths to monitor for class and resource…
secondbreakfast
  • 4,194
  • 5
  • 47
  • 101
2
votes
0 answers

logger.debug("asdasdasd") can't be executed with JRebel debug

When I run a springboot application with JRebel debug. The code logger.debug(....) can't be executed, intellij idea prompts that No executable code found at line 32 in class cn.com.XXX. I've found that not only logger.debug can't be executed, but…
egg
  • 211
  • 1
  • 2
  • 10
2
votes
1 answer

JRebel - sync new gradle jars on classpath

Can jrebel detect a jar file has been added to maven/gradle and then automatically add it my libs folder and add it to the classpath? For example I'm running IntelliJ and Jetty and I make a gradle change to add a new version of a jar dependency and…
Nicholas DiPiazza
  • 10,029
  • 11
  • 83
  • 152
2
votes
0 answers

JRebel Maven plugin + Eclipse + Weblogic

I am installing JRebel Maven plugin + Eclipse + Weblogic, adding this snippet to my parent pom.xml. org.zeroturnaround jrebel-maven-plugin 1.1.6
Amadeu Cabanilles
  • 913
  • 3
  • 19
  • 47
2
votes
2 answers

Is there a way to get maven and eclipse to generate identical class files

I have a java project that used maven. I also use the M2Eclipse plugin so I can use eclipse with the project. I also use JRebel so that class changes are automatically reflected in a running server. The problem is that I sometimes compile my project…
onlynone
  • 7,602
  • 3
  • 31
  • 50
2
votes
1 answer

Using JRebel in NetBeans

I have a Java EE application running on WildFly 10.0.0 final having the following structure diagrammatically (it does not use Apache Maven). I am using JRebel 6.4.1 for NetBeans (8.1). It works fine in web applications (thus not enterprise…
Tiny
  • 27,221
  • 105
  • 339
  • 599
2
votes
0 answers

hibernate (and jdk8) can't find column in table... but with jdk7 is found

I'm using Hibernate in my project with a Oracle Database. I have an object called RefertoDO with a reference to another table: @Entity @Table(name = "REFERTO") public class RefertoDO implements Serializable { ... @JoinColumn(name =…
musikele
  • 355
  • 2
  • 15
2
votes
1 answer

JRebel 5.6.1 not starting: Throwing java.lang.ClassNotFoundException: weblogic/rmi/spi/HostID error Java8

I am using JRebel version 5.6.1. I am trying to start my server on Java 1.8 and weblogic 12.2.1. When I start my server, I get the following error on the console: 2015-11-09 11:25:54 JRebel: ERROR java.lang.RuntimeException:…
Shashi
  • 339
  • 1
  • 4
  • 15
2
votes
2 answers

Is there a way to create a jrebel plugin to hot deploy xml files (mule flows) in mule 3.6.2?

I'd like to know if there is a way to create a special plugin o library in order to let JRebel hot deploy mule flows (xml files) in mule 3.6.2. We could hot deploy java classes and libraries in mule by using JRebel. However, changes made to mule…
Manuel Saucedo
  • 525
  • 3
  • 18