Re: Active MQ - Master/Slave Config Not working

2017-07-26 Thread akpuvvada
heapdump-1501050187914.zip Hi Tim, Please find attached the Head Dump. I am not sure how to read this, so, no idea what it is saying. Let us know if you find anything. -- View this message in context:

Netrwork of Brokers -Java Code - To connect dynamically to Available Brokers

2017-07-25 Thread akpuvvada
I have configured two servers with static discovery as NoB. I am trying to configure a Java client to connect to connect to these servers dynamically. How do I configured the Connection factory to have this working. Please advise. I tried fail-over URL and it is not working as expected.

Re: Active MQ - Master/Slave Config Not working

2017-07-25 Thread akpuvvada
Hi Tim, Please find below the observations. 1. Kill host1 so host2 becomes the master and there is no slave. Connect a consumer with a URI of tcp://host1:61616. Does it connect? What's in the consumer's logs? ActiveMQConnectionFactory connectionFactory = new

Re: Active MQ - Master/Slave Config Not working

2017-07-24 Thread akpuvvada
Hi Tim, I was not originally using the options like timeout, etc. I only used them yesterday. I will test and let you know. -- View this message in context: http://activemq.2283324.n4.nabble.com/Active-MQ-Master-Slave-Config-Not-working-tp4728550p4728861.html Sent from the ActiveMQ - User

Re: Active MQ - Master/Slave Config Not working

2017-07-24 Thread akpuvvada
Hi Tim, If I use the regular TCP URL, I am able to connect to the Active server anytime it is acting as Master. The issue is happening only if I use the failover URL. If I use the logic like try {connect to master} catch {connect to slave}, it is working fine. -- View this message in context:

Re: Active MQ - Master/Slave Config Not working

2017-07-24 Thread akpuvvada
https://issues.apache.org/jira/browse/AMQ-6777 -- View this message in context: http://activemq.2283324.n4.nabble.com/Active-MQ-Master-Slave-Config-Not-working-tp4728550p4728796.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Active MQ - Master/Slave Config Not working

2017-07-24 Thread akpuvvada
Please find log below : Jul 24, 2017 4:45:24 PM activemqjmsclients.FTTest.ActiveMQJMSClients_Producer run INFO: Connected - Producer - 3 Jul 24, 2017 4:45:25 PM activemqjmsclients.FTTest.ActiveMQJMSClients_Producer run INFO: Connected to :

Re: Active MQ - Master/Slave Config Not working

2017-07-24 Thread akpuvvada
Hi Tim, Yes, I am able to see the logs as it should. And also, the admin UI, I am able to see the queues and details only in the primary server admin UI. Other one says "Error! Exception occurred while processing this request, check the log for more information!". Even when both are up (master

Re: Active MQ - Performance with CLIENT Ack

2017-07-18 Thread akpuvvada
TestActiveMQ.zip Attached the TIBCO BW Project I am using. It is not a Java code, TIBCO BW is a GUI (Zero Coding) Integration tool that stored the configuration in XML and converts the XMLs to Java code at Run-time and

Re: Active MQ - Master/Slave Config Not working

2017-07-18 Thread akpuvvada
Hi Tim, I can see logs indicating that lock is identified, please see below. 2017-07-14 03:18:14,428 | INFO | Database /tibco_installables/ActiveMQ/DataStore/kahadb/lock is locked by another server. This broker is now in slave mode waiting a lock to be acquired |

Re: Active MQ - runtimeConfigurationPlugin - Set Message Priority - Not working

2017-07-17 Thread akpuvvada
This is what is updated in the JIRA (FYI) - this not going to be fixed, may be: the priority support is not a good candidate for runtime modification because not only do the in-memory messages need to retained in priority memory, the store needs to retrieve and store messages in priority order.

Re: Active MQ - runtimeConfigurationPlugin - Set Message Priority - Not working

2017-07-17 Thread akpuvvada
Thanks Tim. Created https://issues.apache.org/jira/browse/AMQ-6772 -- View this message in context: http://activemq.2283324.n4.nabble.com/Active-MQ-runtimeConfigurationPlugin-Set-Message-Priority-Not-working-tp4728264p4728584.html Sent from the ActiveMQ - User mailing list archive at

Re: Active MQ - Performance with CLIENT Ack

2017-07-15 Thread akpuvvada
When I tried multithreaded (processing parallel) the subscriber is not logging any receipt. That made me affectively conclude it is not processing any messages. However, when I tried single thread (serial processing) I can see the subscriber is updating the log; so I know it is receiving the

Re: Transport failed, attempting to automatically reconnect due to: java.io.EOFException

2017-07-14 Thread akpuvvada
I have not configured any inactivity monitoring. How can I check if any exists by default? -- View this message in context: http://activemq.2283324.n4.nabble.com/Transport-failed-attempting-to-automatically-reconnect-due-to-java-io-EOFException-tp2351687p4728568.html Sent from the ActiveMQ -

Re: Active MQ - Master/Slave Config Not working

2017-07-14 Thread akpuvvada
Hi Tim, The paths configured for Kaha DB and data in broker attributes are same for both instances - pointing to the same folder on the shared drive. Anything else needs to be changed/added? Thanks Anil -- View this message in context:

Re: Active MQ - Performance with CLIENT Ack

2017-07-14 Thread akpuvvada
We are testing it from Tibco Business Works. We configured the JMS Connection using JNDI. With auto acknowledged we did not see any issues. Everything worked fine. We are testing queues. Topics are also in scope for the testing, have not started yet. I did not configure prefetch, using the

Re: Active MQ - runtimeConfigurationPlugin - Set Message Priority - Not working

2017-07-14 Thread akpuvvada
Sorry, Tim. I miss understood your previous question. If I restart with the policy configured, the property is getting applied and it is working as expected. It is only not happening if I try to have it updated at runtime. -- View this message in context:

Active MQ - Performance with CLIENT Ack

2017-07-14 Thread akpuvvada
I am trying to test Active MQ for Performance I have installed it in Unix in 'Shared File System' Fault Tolerant pair. Max Heap Size is 3 GB 4GB Persistence Store Size 2Gb Temporary Store Size I am trying to publish messages with 'Non_Persistent' Delivery mode with Payload of size 1 MB without

Active MQ - Master/Slave Config Not working

2017-07-14 Thread akpuvvada
I observed an issue with the Fault Tolerance configuration: When the primary/master is down, clients are not able to reconnect to the secondary on retry; it is throwing a warning and trying to reconnect. Also, it is considering the first URL as Master and first trying to connect to and fall back

Re: Active MQ - runtimeConfigurationPlugin - Set Message Priority - Not working

2017-07-14 Thread akpuvvada
No, Tim. I can see an update in the log that the configuration is updated, however the policy is not getting applied. When seen in JConsole, the detestation property is not showing as set. Thanks Anil -- View this message in context:

Re: Transport failed, attempting to automatically reconnect due to: java.io.EOFException

2017-07-14 Thread akpuvvada
We are also facing the same issue. I have two Active MQ Brokers on different machine configured as configured as Master/Slave using shared store. We are suing the current release version. Transport (tcp://localhost:61616) failed , attempting to automatically reconnect: java.io.EOFException

Re: Active MQ - runtimeConfigurationPlugin - Set Message Priority - Not working

2017-07-13 Thread akpuvvada
Hi Tim, You are correct that the property is not getting updated. Even in JConsole, I am not able to update this particular property. I guess this is not settable at Run-time. Any idea? -- View this message in context:

Active MQ - runtimeConfigurationPlugin - Set Message Priority - Not working

2017-07-06 Thread akpuvvada
I have configured the 'runtimeConfigurationPlugin' and started the Active MQ. Then added the below in policyEntries: After saving the config file, I am able to see that the console log got updated saying that config changes are detected and loaded. When tested, however, Message Priority is not

Active MQ - REST API - Set Delivery Mode

2017-07-05 Thread akpuvvada
How to Post a Message with delivery mode set to 'Persistent' using REST API? I need to configure a Guaranteed delivery using REST Clients - both Pub and Sub. Also, is it possible to read a message without confirming the message until the processing is completed on client side to make sure the