Using ActiveMQ appears an strange exception - "Pool not open"

2018-03-20 Thread Chester_Zheng
Hello you guys,I'm using ActiveMQ for a couple of months. But It works a little bit bad recently."The Strange Exception" is that "Pool not open". This exception appear by my custom producer.I use "PooledConnectionFactory" to create a connection, and then create a session.Does any brother meet this

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

2018-01-11 Thread Chester_Zheng
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

Re: Re: o.s.jms.listener.DefaultMessageListenerContainer-Number of scheduled consumers has dropped below concurrentConsumers limit, probably due to tasks having been rejected. Check your thread pool c

2017-06-09 Thread Chester_Zheng
hi, Tim Thanks for ur suggestion. chester_zh...@sina.com From: Tim Bain [via ActiveMQ] Date: 2017-06-07 20:50 To: Chester_Zheng Subject: Re: o.s.jms.listener.DefaultMessageListenerContainer-Number of scheduled consumers has dropped below concurrentConsumers limit, probably due to tasks

o.s.jms.listener.DefaultMessageListenerContainer-Number of scheduled consumers has dropped below concurrentConsumers limit, probably due to tasks having been rejected. Check your thread pool configura

2017-06-07 Thread Chester_Zheng
Hi, AllI met a problem. I used the "DefaultMessageListenerContainer" to increase the consumer count, but when the app run awhile, the log shows that "o.s.jms.listener.DefaultMessageListenerContainer-Number of scheduled consumers has dropped below concurrentConsumers limit, probably due to tasks

Re: Re: The connection is already closed

2017-05-03 Thread Chester_Zheng
Hi, Tim Happy to communicate with u again. I pasted the exception message on my first message. It didn't show any detailed or explicit hint. There's not any valuable info about how to deal with the problem. No any message is about Brokers. I only set the value

Re: Re: The connection is already closed

2017-05-02 Thread Chester_Zheng
implicitly or explicitly. Thanks. Chester chester_zh...@sina.com From: Tim Bain [via ActiveMQ] Date: 2017-05-01 04:20 To: Chester_Zheng Subject: Re: The connection is already closed The close() methods you referenced are on the factory, while the error message you're getting is about

Re: ActiveMQ-5.13.4 "The connection is already closed"

2017-04-27 Thread Chester_Zheng
please help me. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-13-4-The-connection-is-already-closed-tp4725268p4725275.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

The connection is already closed

2017-04-27 Thread Chester_Zheng
Hi, Dear All I match a strange problem. We built a master/slave cluster of ActiveMQ by using zookeeper as a registration center. First of all, we use the "CachingConnectionFactory" which get from "Spring" to create the ActiveMQ connection. Then, we establish a custom session pool that it's easy to