Re: [JBoss-user] Hot Deploy of Session Beans

2003-11-19 Thread Bernd Koecke
Are all the dependend beans deployed on the same JBoss server? If so, the ClassCastException is normal. JBoss makes a call by reference to beans on the same JBoss server, even if they have remote interfaces. When you undeploy/redeploy an ear the classloader changes. A class is defined as identical

Re: [JBoss-user] Hot Deploy of Session Beans

2003-11-18 Thread Gary S. Cuozzo
I've been having this same issue. Only "solution" I've found so far is to redeploy all my apps that depend on the SLB. Not such a great solution. I'm also very interested to find a way to deploy my app without redeploying all the dependencies as well. Gary. On Tue, 2003-11-18 at 16:52, Rod Mac

[JBoss-user] Hot Deploy of Session Beans

2003-11-18 Thread Rod Macpherson
Anybody else having a problem hot deploying SLBs? Fetching the home interface fails with a class-cast exception. That is the proxy itself cannot be cast to the home interface. Happens every time after you redeploy the SLB jar. --- This SF.net e

Re: [JBoss-user] Hot Deploy of Session Beans Fails

2003-11-18 Thread Alexey Loubyansky
I think, redeploying everything that references the redeployed beans is only way. Rod Macpherson wrote: We use loose EJB jars during development rather than an EAR file so we can hot-deploy specific pieces. Unfortunately a session bean hot-deploy causes a class-cast exception the next time tha

[JBoss-user] Hot Deploy of Session Beans Fails

2003-11-14 Thread Rod Macpherson
Title: Message We use loose EJB jars during development rather than an EAR file so we can hot-deploy specific pieces. Unfortunately a session bean hot-deploy causes a class-cast exception the next time that bean is used.   This fails if and only if you hot-deploy the session bean that is be