activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuvaraj <yuvaraj.sanka...@equifax.com>
Subject ActiveMQ RA serialization issue in Websphere
Date Mon, 24 Mar 2008 14:35:10 GMT

Hi,
   Iam using ActiveMQ 5.0.0 as the messaging infrastructure within Websphere
Application Server 6.1. I installed the Resource Adapter(RAR) that comes
with ActiveMQ. I am running into a NPE when I try to retrieve a
ConnectionFactory from the JNDI Tree. After some digging found that there is
a known bug similar to this reported with GlassFish and there is a patch
available for the 5.1 release.
https://issues.apache.org/activemq/browse/AMQ-765 

My question is, Is this specific to GlassFish only or Is this an issue in
all J2EE environments ? Is there a binary patch release available for 5.0.0
and other previous versions ? If not How do I get to the patched  5.1
version ?

Thanks Much
Yuvaraj

I have included a stack trace of the exception below:

[3/23/08 21:06:53:771 EDT] 00000029 FreePool      E   J2CA0046E: Method
createManagedConnectionWithMCWrapper caught an exception during creation of
the ManagedConnection for resource eis/javax.jms.ConnectionFactory, throwing
ResourceAllocationException.  Original exception:
<=================================>Exception Message -> null
java.lang.NullPointerException
	at
org.apache.activemq.ra.ActiveMQManagedConnectionFactory.createManagedConnection(ActiveMQManagedConnectionFactory.java:126)
	at
com.ibm.ejs.j2c.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1810)
	at com.ibm.ejs.j2c.FreePool.createOrWaitForConnection(FreePool.java:1542)
	at com.ibm.ejs.j2c.PoolManager.reserve(PoolManager.java:2213)
	at
com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:895)
	at
com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:595)
	at
org.apache.activemq.ra.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:91)
	at
org.apache.activemq.ra.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:64)
	at
org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:188)
	at
org.springframework.jms.listener.AbstractJmsListeningContainer.createSharedConnection(AbstractJmsListeningContainer.java:209)
	at
org.springframework.jms.listener.AbstractJmsListeningContainer.refreshSharedConnection(AbstractJmsListeningContainer.java:197)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer.refreshConnectionUntilSuccessful(DefaultMessageListenerContainer.java:701)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer.recoverAfterListenerSetupFailure(DefaultMessageListenerContainer.java:683)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:835)
	at java.lang.Thread.run(Thread.java:801)








-- 
View this message in context: http://www.nabble.com/ActiveMQ-RA-serialization-issue-in-Websphere-tp16253150s2354p16253150.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message