java.lang.ClassCastException: kodo.persistence.jdbc.JPAConnectionFactory

Oracle Community | 666705 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    deploy on weblogic server 9.1 with kodo 4.0 GA

    Oracle Community | 1 decade ago | 666705
    java.lang.ClassCastException: kodo.persistence.jdbc.JPAConnectionFactory

    Root Cause Analysis

    1. java.lang.ClassCastException

      kodo.persistence.jdbc.JPAConnectionFactory

      at com.lodh.dummy.jpa.JPA.initPersistence()
    2. com.lodh.dummy
      DummyServices_e0s58w_Impl.ejbCreate
      1. com.lodh.dummy.jpa.JPA.initPersistence(JPA.java:52)
      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
    3. 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
    4. 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
    5. 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
    6. weblogic.rmi.internal
      BasicServerRef.invoke
      1. weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517)
      1 frame
    7. weblogic.rmi.cluster
      ClusterableServerRef.invoke
      1. weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
      1 frame
    8. weblogic.rmi.internal
      BasicServerRef$1.run
      1. weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407)
      1 frame
    9. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      1 frame
    10. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
      1 frame
    11. 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
    12. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
      2 frames