javax.jms.JMSException: Error while attempting to add new Connection to the pool

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

javax.jms.JMSException: Error while attempting to add new Connection to the pool

Manish Asolkar
Hello Team,

I am using ActiveMQ since a year but I am getting below exception since 2
days:

org.springframework.jms.UncategorizedJmsException: Uncategorized exception
occured during JMS processing; nested exception is javax.jms.JMSException:
Error while attempting to add new Connection to the pool
        at
org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:316)
        at
org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:169)
        at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:497)
        at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:580)
        at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:563)
        at
com.infrasoft.upi.main.SpringJMSSender.sendMessage(SpringJMSSender.java:63)
        at com.infrasoft.servlet.UPIServer.doPost(UPIServer.java:91)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
        at
org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
        at
org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
        at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
        at java.lang.Thread.run(Thread.java:748)
Caused by: javax.jms.JMSException: Error while attempting to add new
Connection to the pool
        at
org.apache.activemq.jms.pool.PooledConnectionFactory.createJmsException(PooledConnectionFactory.java:274)
        at
org.apache.activemq.jms.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:233)
        at
org.apache.activemq.jms.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:212)
        at
org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180)
        at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:484)
        ... 21 more

As per my understanding it is unable create a new connection due to which
this exception occurred.

So I have visited many websites for the same, but not getting proper
solution.

Please help me to understand possible reasons for this exception or root
cause as I can overcome it?

Regards,
Manish.





--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html