Hot Swap not working on several servers

Hi,

it downloaded a trial of IntelliJ 12 and test it with an Tapestry Project (build from an Maven Archtype). I will use the hot swap feature and tried severel Server. I configured the servers (default configuration with enabling hot swap) and started the debug mode

I have tried: Tomcat 7, TomEE and Jetty 8 (I did not get Jetty 9 working with IntelliJ !)

For all serves i got the followin message after changing something:

Hot Swap failed
TomEE: hierarchy change not implemented;
TomEE: Operation not supported by VM



I try to use hot swap the first time, so i am not familar with it. So maybe i did something wrong!? Or is there a general problem?

Thank you
Sascha
0
Avatar
Permanently deleted user

The default hot swap capabilities of the JVM are very restricted. You can change method code, introduce new methods but you cannot change the class signature (add or remove fields, change inheritance).
If you need such things you have to look for a more sophisticated tool. If I remember right there is one called JRebel but you have to pay a yearly fee for it.
I for myself would invest in such a tool if they want a one time fee but not a yearly subscription.

0
Avatar
Permanently deleted user

Hi,

thanks for the information. I recognized, that tapestry is working with live reload classes. So i spend some some time to get it work and if you know how, it is very easy ;). So i don't need the hot swap feature...

0

请先登录再写评论。