activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: javax.jms.JMSException: Error while attempting to add new Connection to the pool
Date Thu, 11 Jan 2018 13:43:33 GMT
What version of Apache Commons Pool2 are you using?
https://issues.apache.org/jira/browse/AMQ-6594 indicates that one person
was able to fix this error by upgrading to 2.4.2. Can you try that?

Tim

On Jan 11, 2018 2:31 AM, "Chester_Zheng" <chester_zheng@sina.com> wrote:

> I meet the following error,it happens when the application is running
> period
> time later. If I restart the application, it will be ok. Does any one meet
> the problem like this? Please, Help me.The xxx.xxx.xxx.xxx.
> ActiveMQPublisher
> is made by me to establish a connection to send msg to ActiveMQ.Thanks a
> lot!!![ERROR]xxx.xxx.xxx.xxx.ActiveMQPublisher-Error while attempting to
> add
> new Connection to the pooljavax.jms.JMSException: Error while attempting to
> add new Connection to the pool  at
> org.apache.activemq.jms.pool.PooledConnectionFactory.createJmsException(
> PooledConnectionFactory.java:266)
> at
> org.apache.activemq.jms.pool.PooledConnectionFactory.createConnection(
> PooledConnectionFactory.java:225)
> at
> org.apache.activemq.jms.pool.PooledConnectionFactory.createConnection(
> PooledConnectionFactory.java:204)
> at
> com.bs.pid.facade.log.activemq.p2p.ActiveMQPublisher.sendTextMessage(
> ActiveMQPublisher.java:203)
> at
> com.bs.pid.facade.log.thread.PersistLogRunnable.run(
> PersistLogRunnable.java:39)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)Caused by:
> java.lang.NullPointerException: null    at
> org.apache.activemq.jms.pool.PooledConnectionFactory.createConnection(
> PooledConnectionFactory.java:223)
> ... 6 common frames omitted
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message