HotswapAgent is a Java application which offers unlimited runtime class and resource redefinition for Java projects. Its main purpose is to avoid infamous _change -> restart&wait -> check development lifecycle. Save & Reload during development should be standard and many other languages (including C#).
Questions tagged [hotswapagent]
36 questions
2
votes
1 answer
Jboss JVM arguments configuration for hotswap-agent and DCEVM
For some background, I am trying to run Jboss EAP 7.1 along with Eclipse and both are connected via Jboss Tools.
Okay so my main problem is how to configure JVM arguments to the Jboss Server JVM since I intend to use the DCEVM inorder to use…

Bakar
- 383
- 1
- 9
- 27
2
votes
2 answers
How to hotswap Java classes on a Tomcat outside the IDE with dcevm+hotswapagent
I'm trying to set up java class hot swapping on a Tomcat that is on my machine, but not configured in my IDE (Eclipse). In all the examples I can find the Tomcat server runs from within Eclipse. Is it possible to have code hot swapping with…

George S
- 63
- 2
- 6
2
votes
0 answers
reloading jsf/xhtml using dcevm in WebLogic 12.1.3
I'm attempting to move away from JRebel to dcevm/hotswapagent (http://www.hotswapagent.org/) because of budget constraints. My Java 1.7 app is built using ant and manually deployed to WebLogic 12.1.3 as an EAR file containing an EJB jar service…

6006604
- 7,577
- 1
- 22
- 30
1
vote
0 answers
Unable to get Hot Reload working with HotSwapAgent
Hi I am Using Trava Open JDK 8.
https://github.com/TravaOpenJDK/trava-jdk-8-dcevm
Got the tomcat to read hotswap-agent.properties.
Had set the the following…

cypher
- 429
- 1
- 4
- 16
1
vote
0 answers
HotswapAgent not working & throws "not valid, removing path="
I’m facing an issue and I could use some help, please.
My ENV:
Dcevm-11.0.9+1 (2020-11-24)
Intellij 202.6397.94
Centos7
Spring-Boot 2.1.6.RELEASE
And I followed these guides…

Gholamreza Eghbali
- 301
- 1
- 4
- 10
1
vote
0 answers
DCEVM+HotSwap Agent with JBoss EAP 6 & JDK 7
I am trying toconfigure DCEVM + HotSwapAgent for my eclipse project which uses JDK 7 & JBoss EAP 6.0.
After Replacing DCEVM & adding following VM arguments - I am getting "NoClassDefFoundError: org/jboss/modules/LocalModuleLoader" during JBoss…

Karthikeyan
- 506
- 2
- 8
- 20
1
vote
1 answer
LinkageError when using HotswapAgent/DCEVM with Clojure REPL
I am trying to use HotswapAgent/DCEVM in a mixed Clojure/Java Leiningen project in order to avoid having to restart the REPL after recompiling the Java source code (I am already aware of other approaches to this, such as JRebel and Virgil).
In…

Rulle
- 4,496
- 1
- 15
- 21
1
vote
1 answer
HotSwapAgent : How to use it for classes inside WAR files?
So I found this library called hotswapagent, and it enables you to do hotswapping for an application which you deploy on an application container. It works beautifully with the XML configurations and the class files too, but for two cases :
In some…

Prateek Chachra
- 189
- 14
1
vote
4 answers
Hotswap agent in Java SE and Java EE
I found that Hotswapagent works different way in SE and EE application. In SE application I can add a new property to the class (e.g. private Long x;) without any problem, Hotswap can update the code. But I'm not able to do this in my EE application…

BgY
- 83
- 9
1
vote
1 answer
Hotswap Agent / Wildfly / Weld: Exception when reloading: BeanManagerImpl.contexts not accessible
I'm using WildFly, and have properly configured Hotswap Agent 1.0 as far as I can see. It's starting up nicely with the message:
HOTSWAP AGENT: 20:01:19.893 INFO (org.hotswap.agent.HotswapAgent) - Loading Hotswap agent {1.0} - unlimited runtime…

geert3
- 7,086
- 1
- 33
- 49
0
votes
0 answers
Exceptions of adopting HotSwapAgent in IntelliJ when running/debugging in WildFly
I am trying to adopt HotSwapAgent for my project in IntelliJ. I set decvm-11.0.15 as my project SDK. Within my Run/Debug configuration, I set as:
I packaged my application as an ear, and under directory of META-INF/resources, I put a…

Joey
- 45
- 5
0
votes
0 answers
Resource file not reloading
My goal is to substitute JRebel with DCEVM/Hotswap for a Tomcat project built with Maven. I believe it is detecting my class file changes and handling them appropriately. However, it is not detecting resource changes.
I started with the assumption…

Woodsman
- 901
- 21
- 61
0
votes
1 answer
Cause of HotswapAgent org.hotswap.agent.command.ReflectionCommand Exception?
When making a change to my code, I encountered the following problem when trying to run HotswapAgent (1.3.0) with DCEVM (8u181) and Tomcat (7.0.62.0):
HOTSWAP AGENT: 17:03:34.936 ERROR (org.hotswap.agent.command.ReflectionCommand) - Error executin…

RayCh
- 571
- 3
- 8
- 17
0
votes
2 answers
Wrong Type at Constant Pool after Hot-Swapping Code using DCEVM
Hey everyone!
For context I am working on a simple spring project in intelliJ to configure it with HotswapAgent using DCEVM [8u181 build 2 ] along with the compatible JDK [ 8u181 ] on the Payara 5.0 Application Server.
Please bear with…

Bakar
- 383
- 1
- 9
- 27
0
votes
0 answers
Alfresco HotSwapAgent extraclass
i'm trying to configure HotSwapAgent for hotreloading my Alfresco AIO project.
At the end of this tutorial https://docs.alfresco.com/5.2/tasks/sdk-hot-reload-hotswap.html, i can reload my java classes, but not files in /META-INF/resources…

davidezucchelli
- 11
- 2