users@glassfish.java.net

Re: mysql cluster issues

From: <glassfish_at_javadesktop.org>
Date: Thu, 22 Jan 2009 08:41:00 PST

Hi

could you please let me know how did you fix it since i am getting exactly the same errror
in mysql with sun one app server 8.

What do you mean by :

fixed it b making the Validation on table (not on auto-commit,meta-data - these are cached by the driver)


please help i have been struggling to resolve this.
thanks a lot

#|2009-01-22T16:32:25.679+0000|SEVERE|sun-appserver-pe8.2|javax.enterprise.resource.resourceadapter|_ThreadID=17;|RAR5031:System Exception
java.lang.NullPointerException
        at com.sun.enterprise.resource.ConnectorXAResource.getResourceHandle(ConnectorXAResource.java:177)
        at com.sun.enterprise.resource.ConnectorXAResource.end(ConnectorXAResource.java:103)
        at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.delistResource(J2EETransactionManagerOpt.java:191)
        at com.sun.enterprise.resource.ResourceManagerImpl.unregisterResource(ResourceManagerImpl.java:210)
        at com.sun.enterprise.resource.ResourceManagerImpl.delistResource(ResourceManagerImpl.java:168)
        at com.sun.enterprise.resource.PoolManagerImpl.resourceClosed(PoolManagerImpl.java:323)
        at com.sun.enterprise.resource.LocalTxConnectionEventListener.connectionClosed(LocalTxConnectionEventListener.java:51)
        at com.sun.gjc.spi.ManagedConnection.connectionClosed(ManagedConnection.java:565)
        at com.sun.gjc.spi.ConnectionHolder.close(ConnectionHolder.java:120)
        at org.hibernate.connection.DatasourceConnectionProvider.closeConnection(DatasourceConnectionProvider.java:74)
        at org.hibernate.jdbc.ConnectionManager.closeConnection(ConnectionManager.java:451)
        at org.hibernate.jdbc.ConnectionManager.aggressiveRelease(ConnectionManager.java:406)
        at org.hibernate.jdbc.ConnectionManager.afterStatement(ConnectionManager.java:281)
        at org.hibernate.jdbc.AbstractBatcher.closePreparedStatement(AbstractBatcher.java:543)
        at org.hibernate.jdbc.AbstractBatcher.closeStatement(AbstractBatcher.java:269)
        at org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:285)
        at org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:212)
        at org.hibernate.loader.Loader.doQuery(Loader.java:726)
        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
[Message sent by forum member 'vishalparmar' (vishalparmar)]

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