java.lang.ClassCastException

com.sun.enterprise.config.serverbeans.JdbcResource

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 web3

  • via Unknown by 843830,
  • via Unknown by gamigin,
  • Stack trace

    • java.lang.ClassCastException: com.sun.enterprise.config.serverbeans.JdbcResource at com.sun.enterprise.server.ondemand.EjbServiceGroup.isXAResource(EjbServiceGroup.java:308) at com.sun.enterprise.server.ondemand.EjbServiceGroup.analyseEntryContext(EjbServiceGroup.java:269) at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:167) at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:45) at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:72) at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:62) at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateJndiEntryContext(ServerEntryHelper.java:39) at com.sun.enterprise.naming.SerialContext.generateEntryContext(SerialContext.java:256) at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:282) at javax.naming.InitialContext.lookup(InitialContext.java:351) at myapplication.namespacexxx.xxxx.DBUtil.getConnection(Unknown Source)

    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

    We couldn't find other users who have seen this exception.