java.lang.ClassCastException: Cannot narrow remote object kodo.persistence.jdbc.JPAConnectionFactory@87c04c1 to kodo.persistence.KodoEntityManagerFact

Oracle Community | 666705 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    deploy on weblogic server 9.1 with kodo 4.0 GA

    Oracle Community | 1 decade ago | 666705
    java.lang.ClassCastException: Cannot narrow remote object kodo.persistence.jdbc.JPAConnectionFactory@87c04c1 to kodo.persistence.KodoEntityManagerFact
  2. 0

    How to invoke EJB from custom JMX mbean?

    Oracle Community | 7 years ago | 735220
    java.lang.ClassCastException: Cannot narrow remote object weblogic.rmi.internal.CollocatedRemoteRef - hostID: '2312115593058688131S:10.77.8.112:domain:myserver', oid: '589', channel: 'null' to mycompany.services.base.adminservice.AdminServiceHome
  3. 0

    How to call a EJB3 job

    terracotta.org | 1 year ago
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.ClassCastException: Cannot narrow remote object [BaseRemoteObject] home: weblogic.ejb.container.internal.StatelessEJBHomeImpl@16fbbd4 to javax.ejb.EJBHome]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.ClassCastException: Cannot narrow remote object weblogic.rmi.inte

    Oracle Community | 9 years ago | 666705
    java.lang.ClassCastException: Cannot narrow remote object weblogic.rmi.internal.BasicRemoteRef - hostID: '5337880647112897730S:127.0.0.1:[7001,7001,-1,-1,-1,-1,-1]:wl_server:examplesServer', oid: '302', channel: 'null' to com.titan.travelagent.TravelAgentRemote
  6. 0

    How to call a EJB3 job

    Terracotta | 6 years ago | fdourado
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.ClassCastException: Cannot narrow remote object [BaseRemoteObject] home: weblogic.ejb.container.internal.StatelessEJBHomeImpl@16fbbd4 to javax.ejb.EJBHome]

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.ClassCastException

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

      at weblogic.corba.server.naming.ReferenceHelperImpl.narrow()
    2. weblogic.corba.server
      ReferenceHelperImpl.narrow
      1. weblogic.corba.server.naming.ReferenceHelperImpl.narrow(ReferenceHelperImpl.java:206)
      1 frame
    3. weblogic.rmi.extensions
      PortableRemoteObject.narrow
      1. weblogic.rmi.extensions.PortableRemoteObject.narrow(PortableRemoteObject.java:88)
      1 frame
    4. weblogic.iiop
      PortableRemoteObjectDelegateImpl.narrow
      1. weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:32)
      1 frame
    5. Java RT
      PortableRemoteObject.narrow
      1. javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
      1 frame
    6. kodo.persistence
      KodoPersistence.createEntityManagerFactory
      1. kodo.persistence.KodoPersistence.createEntityManagerFactory(KodoPersistence.java:242)
      1 frame
    7. com.lodh.dummy
      DummyServices_e0s58w_Impl.ejbCreate
      1. com.lodh.dummy.jpa.JPA.initPersistence(JPA.java:50)
      2. com.lodh.dummy.ejb.session.DummyServicesBean.ejbCreate(DummyServicesBean.java:26)
      3. com.lodh.dummy.ejb.session.DummyServices_e0s58w_Impl.ejbCreate(DummyServices_e0s58w_Impl.java:150)
      3 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    9. weblogic.ejb.container
      StatelessEJBObject.preInvoke
      1. weblogic.ejb.container.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:172)
      2. weblogic.ejb.container.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:104)
      3. weblogic.ejb.container.manager.StatelessManager.preInvoke(StatelessManager.java:143)
      4. weblogic.ejb.container.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:213)
      5. weblogic.ejb.container.internal.StatelessEJBObject.preInvoke(StatelessEJBObject.java:64)
      5 frames
    10. com.lodh.dummy
      DummyServices_e0s58w_EOImpl_WLSkel.invoke
      1. com.lodh.dummy.ejb.session.DummyServices_e0s58w_EOImpl.sayHello(DummyServices_e0s58w_EOImpl.java:41)
      2. com.lodh.dummy.ejb.session.DummyServices_e0s58w_EOImpl_WLSkel.invoke(Unknown Source)
      2 frames
    11. weblogic.rmi.internal
      BasicServerRef.invoke
      1. weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517)
      1 frame
    12. weblogic.rmi.cluster
      ClusterableServerRef.invoke
      1. weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
      1 frame
    13. weblogic.rmi.internal
      BasicServerRef$1.run
      1. weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407)
      1 frame
    14. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      1 frame
    15. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
      1 frame
    16. weblogic.rmi.internal
      BasicServerRef$BasicExecuteRequest.run
      1. weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:403)
      2. weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56)
      3. weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934)
      3 frames
    17. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
      2 frames