-
1. Re: Is this in the right place?
raja05 Jun 9, 2003 4:24 PM (in response to bloid)Havent tried this but my guess is that there is an EJB Reference cached in your Scheduler which is not valid when the redeployment takes place.
This explains why you dont get any exceptions the first time as there is no EJB reference stored (yet) on the Scheduler.
-Raj -
2. Re: Is this in the right place?
bloid Jun 10, 2003 4:26 AM (in response to bloid)I put my scheduler in a SAR with the correct dependancies, then when a ClassCastException is thrown after I redeploy my EJB, and try to get a reference to the Home interface, I use JMX to redeploy the SAR.
It's ugly, but it works :-)
And without this being fixed, there wasn't anything else I could do :-)
Still not sure if it is a bug in JBoss or Java... There seems to be probelms with the classloader in 1.4.1 under Linux but they were supposed to be fixed for 1.4.2
Oh well... I guess time will tell ;-)
Thanks for the help :-)
Tim