Open arinban opened 6 years ago
Comment by arinban Friday Feb 02, 2018 at 08:51 GMT
Original Issue:https://github.com/javaee/glassfish-genericjmsra/issues/8 Raised By:@glassfishrobot Created at:Wed Nov 23 12:56:54 IST 2005 Assigned To:@glassfishrobot
Comment by arinban Friday Feb 02, 2018 at 08:51 GMT
@glassfishrobot Commented on Wed Nov 23 12:56:54 IST 2005 Reported by dofo
Comment by arinban Friday Feb 02, 2018 at 08:51 GMT
@glassfishrobot Commented on Thu Apr 13 03:21:34 IST 2006 binod said: Transferring to Ramesh.
Issue by arinban Friday Feb 02, 2018 at 08:51 GMT Originally opened as https://github.com/arindam-bandyopadhyay/issue-test/issues/15
I have setup an environment using Sun MQ 3.6 where the XAQueueConnectionFactory and destination are registered into a directory server.
Using the genericjmsra to access the queue via lookups for the administered objects in ldap results in the following exception being reported in the AS8.1 log files during the afterDelivery phase processing following an MDB consuming a message.
As of yet I do not know the full impact that this exception will have on a production system but at the very least it should not be reporting a null exception.
[#|2005-11-23T10:58:24.087+0000|FINEST|sun-appserver-ee8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=14;|Invoking method [afterDelivery] from class [javax.resource.spi.endpoint.MessageEndpoint]|#]
[#|2005-11-23T10:58:24.088+0000|SEVERE|sun-appserver-ee8.1_02|javax.enterprise.system.container.ejb.mdb|_ThreadID=14;|MDB00049: Message-driven bean [message_queue-EJBModule:QueueConsumerBean]: Exception in postinvoke : [java.lang.NullPointerException]|#]
[#|2005-11-23T10:58:24.095+0000|SEVERE|sun-appserver-ee8.1_02|javax.enterprise.system.container.ejb.mdb|_ThreadID=14;|java.lang.NullPointerException java.lang.NullPointerException at java.util.Hashtable.containsKey(Hashtable.java:314) at com.sun.jts.jta.TransactionState.containsXAResource(TransactionState.java:422) at com.sun.jts.jta.TransactionImpl.delistResource(TransactionImpl.java:215) at com.sun.enterprise.distributedtx.J2EETransaction.delistResource(J2EETransaction.java:383) at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.delistResource(J2EETransactionManagerImpl.java:755) at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.delistResource(J2EETransactionManagerOpt.java:198) at com.sun.enterprise.resource.ResourceManagerImpl.unregisterResource(ResourceManagerImpl.java:210) at com.sun.enterprise.resource.PoolManagerImpl.unregisterResource(PoolManagerImpl.java:340) at com.sun.ejb.containers.MessageBeanContainer.unregisterMessageBeanResource(MessageBeanContainer.java:746) at com.sun.ejb.containers.MessageBeanContainer.afterMessageDeliveryInternal(MessageBeanContainer.java:1064) at com.sun.ejb.containers.MessageBeanContainer.afterMessageDelivery(MessageBeanContainer.java:1042) at com.sun.ejb.containers.MessageBeanListenerImpl.afterMessageDelivery(MessageBeanListenerImpl.java:46) at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:105) at $Proxy5.afterDelivery(Unknown Source) at com.sun.genericra.inbound.InboundJmsResource.releaseEndpoint(InboundJmsResource.java:166) at com.sun.genericra.inbound.WorkImpl.run(WorkImpl.java:54) at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:45) at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)
| #] |
[#|2005-11-23T10:58:24.097+0000|FINEST|sun-appserver-ee8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=14;|Invoking method [release] from class [javax.resource.spi.endpoint.MessageEndpoint]|#]
[#|2005-11-23T10:58:24.098+0000|FINE|sun-appserver-ee8.1_02|com.sun.genericjmsra|_ThreadID=14;|Binod.OUT: released endpoint : |#]
[#|2005-11-23T10:58:24.098+0000|FINER|sun-appserver-ee8.1_02|com.sun.genericjmsra|_ThreadID=14;|Freed the resource now|#]
Environment
Operating System: Solaris Platform: Sun
Affected Versions
[current]