I have an ear and a war, with some classes contained in both of them. The servlet
contexts in both applications are named differently. It now happens that, when the war
is deployed and I try to hot-redeploy the ear, subsequent access to a jsp results in a
ClassCastException at the line representing the useBean-Tag.
VG = (com.mycompany.VGActionForm) pageContext.getAttribute("VG",
PageContext.SESSION_SCOPE);
When I move the war away and hot-redeploy the ear (e.g. with unix' 'touch' command),
this Exception does not occur, the jsp gets processed correctly.
The problem also does not occur when I restart JBoss having both apps in the
deploy-dir.
As I have the understanding that the ear and the war get different classloaders, I
have no idea how one should be able to affect the other. Further, there is no warning
or error during the hot re-deployment that would point out any conflicts.
Any hints about where to look or further analyse the problem would be appreciated.
Regards, Hans
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849095#3849095
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849095
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user