I've got a mbean service that is a part of a sar package inside ear archive.  The 
service simply calls a stateless session bean in 10 seconds interval.  To start jboss 
3.2.2 server with deployed package works fine.  Problem comes after I recompile and 
redeploy updated ear file -- and keep getting class cast exception on the service 
mbean at following:

Object homeObj = jndiContext.lookup( "workerHome" );
WorkerHome home = (WorkerHome)PortableRemoteObject.narrow(
                                homeObj, WorkerHome.class );

If I stop/start Jboss the "WorkerHome" is not getting "ClassCastException" and 
application works fine!??

I would be very please to get any help or this issue.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to