Reputation: 151
I want to configure hotswap agent and DCEVM with liferay server.
I have added DCEVM in jdk and also added "-XXaltjvm=dcevm -javaagent:D:\onkar\DCEVM\hotswap-agent.jar" in setenv.bat file.
Now after deploying war file either server doesn't start properly or war file is not getting deployed properly.
Please help if anyone knows how to configure it with liferay server.
Upvotes: 2
Views: 2306
Reputation: 814
With Hotswap Agent you can do java code changes and check those immediately without the need to restart the TOMCAT SERVER
Double Click on Server - Runtime Environment - JRE must be mapped to the same JRE of JDK in which DECVM is patched in step-1
Add “-XXaltjvm="dcevm" -javaagent:\HotswapAgent.jar” in VM Arguments
Run Tomcat on SErver in Debug mode
With Liferay SERVER, HOT SWAP Agent starts, but I have a PERMGEN exception.
Upvotes: 2