activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodrigo S de Castro <ro...@terra.com.br>
Subject Re: Message Redelivery with Jencks
Date Sat, 15 Apr 2006 02:27:05 GMT

I have exactly the same problem with ActiveMQ SNAPSHOT (Apr 6th) + Jencks
1.1.3 + Spring 1.2.6. I configured RedeliveryPolicy to retry twice (only for
testing purposes) and have the same NullPointerException as reported below
by HDunst.

Redelivery works in the first time, but unfortunately after this
NullPointerException, messages are no longer delivered to the MDB.

If you need further information about this problem, please let me know.


HDunst wrote:
> 
> 2006-04-06 20:36:20,797 DEBUG [org.apache.activemq.ra.ServerSessionImpl:0]
> - <Endpoint failed to process message.>
> java.lang.NullPointerException
> 	at
> org.apache.activemq.ra.ServerSessionImpl.afterDelivery(ServerSessionImpl.java:218)
> 	at org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:723)
> 	at
> org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:163)
> 	at
> org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
> 	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
> Source)
> 	at java.lang.Thread.run(Thread.java:568)
> 2006-04-06 20:36:20,797 INFO [org.apache.activemq.ra.ServerSessionImpl:0]
> - <Endpoint failed to process message. Reason:
> java.lang.NullPointerException>
> 2006-04-06 20:36:20,797 DEBUG [org.apache.activemq.ra.ServerSessionImpl:0]
> - <run loop end>
> 2006-04-06 20:36:20,797 DEBUG [org.apache.activemq.ra.ServerSessionImpl:0]
> - <Endpoint did not release properly:
> org.apache.activemq.ra.InvalidMessageEndpointException>
> org.apache.activemq.ra.InvalidMessageEndpointException
> 	at
> org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointDead.release(MessageEndpointProxy.java:156)
> 	at
> org.apache.activemq.ra.MessageEndpointProxy.release(MessageEndpointProxy.java:68)
> 	at
> org.apache.activemq.ra.ServerSessionImpl.close(ServerSessionImpl.java:250)
> 	at
> org.apache.activemq.ra.ServerSessionPoolImpl.removeFromPool(ServerSessionPoolImpl.java:180)
> 	at
> org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:177)
> 	at
> org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
> 	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
> Source)
> 	at java.lang.Thread.run(Thread.java:568)
> 2006-04-06 20:36:20,797 DEBUG [org.apache.activemq.ra.ServerSessionImpl:0]
> - <Run finished>
> 2006-04-06 20:36:20,797 DEBUG [org.apache.activemq.ra.ServerSessionImpl:0]
> - <Work completed: javax.resource.spi.work.WorkEvent[source=Work
> :ServerSessionImpl:0]>
> 2006-04-06 20:36:21,547 DEBUG [org.apache.activemq.ra.ServerSessionImpl:1]
> - <Endpoint failed to process message.>
> java.lang.NullPointerException
> 	at
> org.apache.activemq.ra.ServerSessionImpl.afterDelivery(ServerSessionImpl.java:218)
> 	at org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:723)
> 	at
> org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:163)
> 	at
> org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
> 	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
> Source)
> 	at java.lang.Thread.run(Thread.java:568)
> 2006-04-06 20:36:21,562 INFO [org.apache.activemq.ra.ServerSessionImpl:1]
> - <Endpoint failed to process message. Reason:
> java.lang.NullPointerException>
> 2006-04-06 20:36:21,562 DEBUG [org.apache.activemq.ra.ServerSessionImpl:1]
> - <run loop end>
> 
--
View this message in context: http://www.nabble.com/Message-Redelivery-with-Jencks-t1392919.html#a3926007
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message