users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Thu, 03 May 2007 13:22:30 PDT

I am getting following execption while getting a connection from connection pool. The stange thing is everything works as far as the retrieving the data from database, however following is looged into server.log file for every connection request.




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 com.sun.storage.mgmt.blackbird.db.DBUtil.getConnection(Unknown Source)
[Message sent by forum member 'vijaypawnarkar' (vijaypawnarkar)]

http://forums.java.net/jive/thread.jspa?messageID=215441