java.lang.ClassCastException
at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:296)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
at com.mediaocean.util.ejb.EJBHomeFactory.lookupHome(Unknown Source)
at com.mediaocean.util.ejb.EJBHomeFactory.getHome(Unknown Source)
Thanks
It likely happens because you Home interface is in the
system classpath. Make sure that weblogic does not
have your home and remote interfaces in the classpath.
Regards,
Slava Imeshev
"Jeeva" <je...@mediaocean.com> wrote in message
news:3c1a5ffe$1...@newsgroups.bea.com...
My client is a WebApp (JSPs/servlets)- The bean classes are present under WEB-INF/classes
(Home, Remote & EJB classes)
The bean is deployed on another Weblogic instance..
Iam using Weblogic 6.1 sp1.
Thanks in advance,
Satish.
--Vijay
I do not have j2ee jar in my classpath!.
Satish.
- Compile time, make sure that you include the original bean .jar file (mount
jar and do not put it in the lib directory) and DO NOT include the actual home
and remote interface class files in your .war or .ear files
- Runtime, force weblogic to pickup the original bean .jar file by including
it in the classpath in the startweblogic.cmd script for the domain.
--Krish.
Satish.
Rgards,
Slava Imeshev
"Satish A" <satish.a...@rmkr.com> wrote in message
news:3c3601cd$1...@newsgroups.bea.com...