NullPointerException on BaseDataStreamMarshaller.java

2019-05-27 Thread Franco Ng
I found NullPointerException in activemq.log as below but don't know any impact on ActiveMQ and what root cause. Please help. 2019-05-28 12:42:47,376 | ERROR | Error in thread 'ActiveMQ BrokerService[AdsrOrderBroker01] Task-4169' | org.apache.activemq.thread.TaskRunnerFactory | ActiveMQ

How to find TopicSubscriptionViewMBean in JMX Console

2019-05-05 Thread Franco Ng
I would like to find total discarded message on ActiveMQ 5.15.8 in JMX console. According to ActiveMQ guide http://activemq.apache.org/slow-consumer-handling, the statistics should show in TopicSubscriptionViewMBean, however, I cannot find in ActiveMQ JMX Console. Please help where can get it,

Re: ActiveMQ cannot handle too many topic with redeliveryPlugin

2019-05-02 Thread Franco Ng
No problem, I can provide heap dump but the file size is over 1GB. Please provide location /link to upload, thanks. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

ActiveMQ cannot handle too many topic with redeliveryPlugin

2019-05-01 Thread Franco Ng
Our market data would publish over 20,000 msg/s within 30,000 topics, redeliveryPlugin and socketBufferSize, however, ActiveMQ seems unable to handle this volume that CPU usage % is 50% and cannot publish any message to subscriber(s) after certain starting time. Even, I stop the market data

Re: Slow performance to handle over 60,000 wildcard topics with 2,000msg/s

2019-02-18 Thread Franco Ng
I set authorizationPlugin plugin as belolw, assign "user" can create & publish any queues and topics. When I publish 2,000 message/sec with 60,000 wildcard topics (E.g. stock.01), whole ActiveMQ server performance is down, CPU usage eat up to 50% and too many topic JMS messages are pending in

Re: Slow performance to handle over 60,000 wildcard topics with 2,000msg/s

2019-02-18 Thread Franco Ng
Sorry, I isolated the problem the root cause is *authorizationPlugin *not simpleAuthenticationPlugin -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Slow performance to handle over 60,000 wildcard topics with 2,000msg/s

2019-02-18 Thread Franco Ng
This is bad solution. I figured out that if implemented simpleAuthenticationPlugin for security control, it will cause this problem even standalone ActiveMQ. If removed simpleAuthenticationPlugin from activemq.xml, the problem is solved. simpleAuthenticationPlugin is root cause, ActiveMQ

Re: Slow performance to handle over 60,000 wildcard topics with 2,000msg/s

2019-02-18 Thread Franco Ng
I found the cause is that add simpleAuthenticationPlugin to control security, the the B Broker connect to A Broker with login (define in "networkConnector"). If large no. of topic message sent, it would slow than whole ActiveMQ server. Anyone can help to solve this, thanks. userName="system"

Slow performance to handle over 60,000 wildcard topics with 2,000msg/s

2019-02-17 Thread Franco Ng
I use ActiveMQ as market data distribution and would create over 60,000 wildcard topics (e.g. stock.01) and send 2,000 message/sec. However, ActiveMQ server CANNOT handle this kind of volume and consumer would receive delay message (over 3 mins delay). When I stop message generator, the

ActiveMQ Connection Closed when perform second call createTopicSession()

2018-12-06 Thread Franco Ng
I am using JBoss EAP 7.1.5 + ActiveMQ 5.15.8, I have deployed ActiveMQ Resource Adapter to JBoss and set following configuration. First initial connection is OK and can send JMS message. Thereafter, throw "The Connection is closed" Exception during call createTopicSession(). Please help as I