-
1. Re: ClassCastException upon redeploy of war but not jar
adrian.brock Aug 15, 2002 1:02 PM (in response to mikestephen)You will probably need to explain a bit more.
I suspect one of your objects loaded from the
jar is still referencing a class/object from the war.
e.g.
The jar instantiates a class from the war using
a class name.
You redeploy the war and the class instance changes.
The war and jar are now holding incompatible versions
of the class.
e.g. 2
The war passes an object to the jar, after the redeploy
the jar still tries to use the old object.
You will get the error when the war tries to
cast the interface or Object back to its new version
of the class.
Regards,
Adrian -
2. Re: ClassCastException upon redeploy of war but not jar
dudoes Aug 16, 2002 2:08 PM (in response to mikestephen)Please recomplile all your .jar and .war, and deploy them again.
-
3. Re: ClassCastException upon redeploy of war but not jar
snikolaidis Nov 1, 2002 6:35 AM (in response to mikestephen)Here is an interesting thread:
http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ qjack claims that this problem occurs in windows but not in Linux. Is this true? Do all of us, work on windows?!?!
Oh well.. Now.. where did I put my SuSE 8.0 installation CDz.. -
4. Re: ClassCastException upon redeploy of war but not jar
snikolaidis Nov 5, 2002 10:08 AM (in response to mikestephen)Well.. it seems funny but.. there is no problem in Linux! After installling SuSE 8.0, mySQL and JBoss and more that an hour of editting, jar-ing and redeploying, the system works just fine!!!
Plus, I have the one and only feature I really miss in windows: tabbed console window. :)
---
Stratos Nikolaidis
Thessaloniki, Greece