java.lang.ClassCastException

Cannot narrow remote object kodo.persistence.jdbc.JPAConnectionFactory@87c04c1 to kodo.persistence.KodoEntityManagerFact

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • via Unknown by 666705,
  • via Unknown by 735220,
  • Stack trace

    • java.lang.ClassCastException: Cannot narrow remote object kodo.persistence.jdbc.JPAConnectionFactory@87c04c1 to kodo.persistence.KodoEntityManagerFact at weblogic.corba.server.naming.ReferenceHelperImpl.narrow(ReferenceHelperImpl.java:206) at weblogic.rmi.extensions.PortableRemoteObject.narrow(PortableRemoteObject.java:88) at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:32) at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137) at kodo.persistence.KodoPersistence.createEntityManagerFactory(KodoPersistence.java:242) at com.lodh.dummy.jpa.JPA.initPersistence(JPA.java:50) at com.lodh.dummy.ejb.session.DummyServicesBean.ejbCreate(DummyServicesBean.java:26) at com.lodh.dummy.ejb.session.DummyServices_e0s58w_Impl.ejbCreate(DummyServices_e0s58w_Impl.java:150) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at weblogic.ejb.container.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:172) at weblogic.ejb.container.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:104) at weblogic.ejb.container.manager.StatelessManager.preInvoke(StatelessManager.java:143) at weblogic.ejb.container.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:213) at weblogic.ejb.container.internal.StatelessEJBObject.preInvoke(StatelessEJBObject.java:64) at com.lodh.dummy.ejb.session.DummyServices_e0s58w_EOImpl.sayHello(DummyServices_e0s58w_EOImpl.java:41) at com.lodh.dummy.ejb.session.DummyServices_e0s58w_EOImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517) at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224) at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147) at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:403) at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56) at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,