Hi,

I'd appreciate some help on the following problem.

I have successfully configure Eclipse to run with the interactive debugger and 
hot swap enable when I change some of the code during debugging.

However, if I add a method to the code I'm currently debugging, it pop up an 
error window
"Hot code replace failed
org.jboss.Main at localhost:1134 (may be out of sync) was unable to replace the 
running code with the code in the workspace.

Reason:
Hot code replace failed - Scheme change not implemented"


How can I make the how swap successful in this case.

If I try to do a hot deploy of my web and ejb app, (ie. copy all my class, dd, 
lib etc in exploded format to server/deploy and touch the dd), when I 
subsequently try to run through the same execution, my creation of the Home 
object to create the EJB will fail from the Web end giving a ServletException 
with the root cause ClassCastException.
>From here, I must restart the server to get the code running again.

FYI, I'm using Struts in the web end and using a EJBHomeFactory pattern.


I would greatly appreciate any suggestion to solve the problem.


Thanks in advance.

Cheers.



Han Ming

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868622#3868622

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868622


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to