Tim, 
You are correct. I am going to try and use
ContextSingletonBeanFactoryLocator.
Infact i will also increase MaxPermSize to help the situation.
Although, i am still trying to understand the stack trace problem.
Thats my core issue.
Why does activemq fail after recv. a few messages.
Interestingly enough, i tried things with AMQ 4.1.0 instead of 4.1.1 and
keeping maxSessions = 1 and maxMessageperSession = 1 (this essentially means
a single MDB instance in the container, which is not a good use of EJB
container because there is no concurrency) and the things work absolutely
fine.

Thanks for the suggestion though.
Appreciate that.

Vineet
-- 
View this message in context: 
http://www.nabble.com/Problems-Recv.-Messages-on-MDB-tf3549628s2354.html#a9911255
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to