java.lang.ClassCastException: com.sun.enterprise.config.serverbeans.JdbcResource

Oracle Community | vijaypawnarkar | 10 years 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

    java.lang.ClassCastException: com.sun.enterprise.config.serverbeans.JdbcRes

    Oracle Community | 10 years ago | vijaypawnarkar
    java.lang.ClassCastException: com.sun.enterprise.config.serverbeans.JdbcResource
  2. 0

    Debugging @PersistenceContext

    Oracle Community | 1 decade ago | 843830
    java.lang.ClassCastException: com.sun.enterprise.config.serverbeans.JdbcResource
  3. 0

    Basic setup EntityManager ClassCastException

    Oracle Community | 1 decade ago | gamigin
    java.lang.ClassCastException: com.sun.enterprise.config.serverbeans.JdbcResource
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.sun.enterprise.config.serverbeans.JdbcResource

      at com.sun.enterprise.server.ondemand.EjbServiceGroup.isXAResource()
    2. com.sun.enterprise
      ServerEntryHelper.generateJndiEntryContext
      1. com.sun.enterprise.server.ondemand.EjbServiceGroup.isXAResource(EjbServiceGroup.java:308)
      2. com.sun.enterprise.server.ondemand.EjbServiceGroup.analyseEntryContext(EjbServiceGroup.java:269)
      3. com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:167)
      4. com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:45)
      5. com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:72)
      6. com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:62)
      7. com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateJndiEntryContext(ServerEntryHelper.java:39)
      7 frames
    3. Glassfish Naming
      SerialContext.lookup
      1. com.sun.enterprise.naming.SerialContext.generateEntryContext(SerialContext.java:256)
      2. com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:282)
      2 frames
    4. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:351)
      1 frame
    5. myapplication.namespacexxx.xxxx
      DBUtil.getConnection
      1. myapplication.namespacexxx.xxxx.DBUtil.getConnection(Unknown Source)
      1 frame