Questions tagged [hotswapagent]

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#).

Filter by
Sorted by
Tagged with
1 vote
0 answers
18 views

The jdk11 version of hotswap agent is not work

http://hotswapagent.org/mydoc_quickstart-jdk11.html I have performed the install and Configure steps, and the following log does not appear when I run appalication. HOTSWAP AGENT: 9:49:29.548 INFO (...
rocco's user avatar
  • 64
0 votes
0 answers
243 views

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 ...
Joey's user avatar
  • 45
6 votes
1 answer
652 views

TravaOpenJDK11 - HotSwapAgent - DCEVM installation not found

I'm trying to use the HotSwapAgent plugin in IntelliJ. So, I have set as "agent path" the path of hotswap-agent.jar (found in the Trava Open JDK folder) that I downloaded from here. But as ...
Kevin Olsen's user avatar
1 vote
0 answers
320 views

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 properties. extraClasspath=/Users/......./...
cypher's user avatar
  • 429
2 votes
0 answers
87 views

Can HotSwapAgent reload bean field for use in JSF?

I have installed hotswap agent based on this quick start guide http://hotswapagent.org/mydoc_quickstart-jdk11.html Running JSF on a server Wildfly. Webapp with multiple modules. I noticed when i add a ...
Pedro Martins's user avatar
2 votes
1 answer
443 views

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 ...
İlyas Şahin's user avatar
2 votes
1 answer
585 views

How does DCEVM patch the JVM?

How does DCEVM patch the JVM so that it can be started both in the normal mode and in XXaltjvm mode? What does it do to the regular libjvm.so/jvm.dll/libjvm.dylib? From Installing DCEVM
Nfff3's user avatar
  • 331
3 votes
1 answer
1k views

TravaOpenJDK new JVM option -XX:HotswapAgent, difference between fatjar and core modes?

TravaOpenJDK introduced a new JVM option -XX:HotswapAgent in version 11.0.9. There are three modes to enable HotswapAgent, fatjar, core and external. What is the difference between fatjar and core?
rmuller's user avatar
  • 12.3k
4 votes
0 answers
806 views

Java DCEVM - Getting "Could not get dceverion of D:\Java8" for Java 1.8.0.202 version

Java version: 1.8.0_202 JDK and DCEVM jar [DCEVM-8u181-installer.jar][1] After executing above jar and on click of button Replace by DCEVM and Install DCEVM as altjvm in UI popup. I am getting message ...
Sameer Jadhav's user avatar
1 vote
0 answers
390 views

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 : https://github.com/...
Gholamreza Eghbali's user avatar
3 votes
2 answers
729 views

Has anyone had success with Grails 4 / Java 11 and using DCEVM for hotswapping during development?

We upgraded to Grails 4 / Java 11 and lost hot-swapping capabilities during development. I tried DCEVM but the application wouldn't start (errors on first withNewSession call). Has anyone had success ...
user1373467's user avatar
1 vote
0 answers
237 views

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 "...
Karthikeyan's user avatar
1 vote
1 answer
127 views

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 ...
Rulle's user avatar
  • 4,706
3 votes
1 answer
211 views

java hotswap a library

I am working on a java project with maven, which uses some of my own libraries as dependencies, that are "evolving in paralel". I am using HotswapAgent to make hot changes while I am debuging but, I ...
wiggin200's user avatar
  • 309
4 votes
1 answer
431 views

How to reload changes / HotSwap reload classes without IDE

Currently my setup consists of vim and a separate terminal window running Gradle tasks. I want to know if its possible to trigger a reload / recompile changes classes actions for a Gradle daemon so ...
Haze 's user avatar
  • 41
2 votes
1 answer
2k views

How to use DCEVM/Hotswap Agent with jar file update?

I am running a java spring boot application as jar file with DCEVM hot-swap agent. When i change some class files in my jar file the application is not reloading those changes. But If I extract my jar ...
Mohd Waseem's user avatar
  • 1,264
0 votes
0 answers
681 views

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 ...
Woodsman's user avatar
  • 909
2 votes
0 answers
77 views

Thorntail with Hotswap agent possible?

Is it possible to configure thorntail (swarm) runner plugin to use HotSwap Agent somehow? I've managed to do so with Wildfly but when I set VM arguments for the agent I get following error: java.lang....
Mike's user avatar
  • 822
0 votes
1 answer
543 views

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....
RayCh's user avatar
  • 601
3 votes
1 answer
37 views

HotSwapAgent Popup No Longer Showing

I'm using HotSwapAgent to avoid server restarts with every code change. For the past year this popup is displayed at the bottom of my IntelliJ window whenever I triggered a swap. However, last night ...
Mathomatic's user avatar
2 votes
0 answers
486 views

Hotswapper plugin is not reloading classes in web project

Hotswapper plugin is not reloading classes in web project (JSF, maven based) but resource files(xhtml) are reloading smoothly. Following are my configurations. Server: Wildfly11 Java version : 1.8....
Raj Kumar's user avatar
  • 347
2 votes
0 answers
1k views

HotSwapAgent - IncompatibleClassChangeError Type HeaderPanel$1 is not a nest member of HeaderPanel: current type is not listed as a nest member

I have a problem w HotSwap Agent. It is not working correctly. Setup: JDK 11 from HotswapAgent.org Widlfly 14 NetBeans 9 HotSwapAgent 1.3.1-SNAPSHOT On start i HOTSWAP AGENT: 08:17:59.098 ...
Robert Niestroj's user avatar
0 votes
2 answers
2k views

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 ...
Bakar's user avatar
  • 403
2 votes
1 answer
927 views

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 ...
Bakar's user avatar
  • 403
0 votes
0 answers
338 views

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,...
davidezucchelli's user avatar
0 votes
1 answer
1k views

Exceptions running HotswapAgent on tomcat spring project

Trying to set up HotSwapAgent for project (tomcat7-maven-plugin, spring 4.3.x, java 8) basically according to example: - installed DCEVM - downloaded hotswapagent.jar - run maven with vm options -...
Bublik's user avatar
  • 912
0 votes
1 answer
969 views

HotSwapAgent failed to convert filePath to classPathPath

i am trying to use the HotSwapAgent in our Project. We are using a Wildfly 10.x and our Project is deployed as an exploded EAR in which there is an exploded war. I've added the following JVM-options: ...
antii's user avatar
  • 17
1 vote
1 answer
992 views

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 ...
Prateek Chachra's user avatar
0 votes
1 answer
443 views

How to deploy Java service class (jar files) without restart wildfly server

I would like to know whether it's possible to deploy customized Java service class to activiti without restart the application server (wildfly in my case). Currently, I have to put the jar to classes ...
Tonny Tc's user avatar
  • 882
0 votes
1 answer
436 views

Java detect that code has been hot swapped in

bizarre question - but I'm wondering how I'd write code to basically say "have any classes been hotswapped by intellij since I last checked" why? For evil historical reasons - the springcontext is ...
Darren Oakey's user avatar
  • 3,020
0 votes
1 answer
1k views

Hotswap Agent, add New Classes

can I add new class on Hotswap Agent? I try changing name methods, body of methods, fields, and works fine, but when I add new class and call it on another the app crash, don do the content of that ...
user3550529's user avatar
1 vote
4 answers
528 views

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. ...
BgY's user avatar
  • 83
2 votes
2 answers
3k views

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 ...
George S's user avatar
4 votes
1 answer
600 views

Hotswap-agent on JBoss EAP 6.1 - java.lang.OutOfMemoryError: PermGen space

I have an EAR project I'm deploying to Jboss EAP 6.1. The product of my maven build looks like this: myapp-ear ├── myapp-ejb.jar ├── myapp-web.war ├── lib │ ├── activation.jar │ ├── activiti-bpmn-...
Mustafa's user avatar
  • 5,794
0 votes
1 answer
974 views

Error while installing Dynamic Code Evolution VM (DCE) with Java 8

I am running Ubuntu 17.04 (64-bit) with Java 8. I am facing following error while installing Dynamic Code Evolution VM (DCE) with Java 8. Could not find data/64/lib/amd64/server/libjvm.so in jar-...
Hushen Savani's user avatar
1 vote
1 answer
605 views

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) - ...
geert3's user avatar
  • 7,158
2 votes
0 answers
516 views

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 ...
6006604's user avatar
  • 7,597