My situation is as follows : 

I use an MBean service which contains a HashTable (which is bound to a specific 
JNDI Name) to hold a bunch of Objects inside JBoss , in order for them to be 
persistent, i.e. to exist inside the JVM as long as JBoss is running.

I then manipulate the objects and execute methods on the server using a simple 
EJB wrapper around all the methods, and then calling them from a client.

This is a rapic protoyping scenario, hence I am constantly redeploying the 
classes (using a Jar file), the objects of which I hold in the Hashtable.

I usually delete the reference of any object of a class that i am redeploying 
from the Hashtable.

But sometimes when I redeploy the classes(as a jar file) and try to instantiate 
an object, I get a ClassCastException.

Please explain to me what the problem could be and how I can go about solving 
this issue.

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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to