Re: Messages stuck in pending state in queue

2013-07-16 Thread pkorwar
Yes, after 2 days of testing, the messages are not getting stuck in a pending state. So, this means that, creating and destroying the ActiveMQConnectionFactory repeatedly is creating some problems. So, this should be either documented or fixed so that users won't get caught in a situation where

Re: Messages stuck in pending state in queue

2013-07-16 Thread pkorwar
I also thought so, but creating the ConnectionFactory repeatedly has caused the issues for me. It is very easy to reproduce. Just put the creation of ConnectionFactory in a loop and send messages from the connections obtained. You will be able to reproduce if my observation is correct with

Re: Messages stuck in pending state in queue

2013-07-13 Thread pkorwar
I think I know the problem for the pending messages. I will confirm in 2 days since I need to more time to test before I can exactly tell that this was the problem. Somebody else should test this, and try to reproduce it. Here is the scenario. I have 2 types of jms clients. One client resides

Messages stuck in pending state in queue

2013-07-12 Thread pkorwar
Hi all, I have read several of the threads where people experienced messages stuck in pending state in queues. I see that ActiveMQ from version 5.1 onward has this issue. Has this ever been fixed? I am also experiencing the same now. The incoming message flow rate is very minimal. I have

Re: Messages stuck in pending state in queue

2013-07-12 Thread pkorwar
I am using 5.8.0 now. pramod -- View this message in context: http://activemq.2283324.n4.nabble.com/Messages-stuck-in-pending-state-in-queue-tp4669239p4669245.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Messages stuck in pending state in queue

2013-07-12 Thread pkorwar
Is there anybody using ActiveMQ 5.8 and does not have pending messages problem? If there is, then it is the way ActiveMQ is configured. So, please send me the info. Otherwise it is a bug. Thanks Pramod -- View this message in context:

Re: Messages stuck in pending state in queue

2013-07-12 Thread pkorwar
Mohit, Thanks for helping me! Here are the params I set after going through several forum threads where their messages were stuck. Pramod --- beans xmlns=http://www.springframework.org/schema/beans; xmlns:amq=http://activemq.apache.org/schema/core;

Re: Messages stuck in pending state in queue

2013-07-12 Thread pkorwar
Yes, consumers are alive when the messages are stuck ! Thanks Pramod -- View this message in context: http://activemq.2283324.n4.nabble.com/Messages-stuck-in-pending-state-in-queue-tp4669239p4669249.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Activemq 5.8 problem with Oracle jdbc adapter

2013-07-11 Thread pkorwar
Presently I am not using Master/Slave, but we do intend to use it soon. So, I will try the lease locker and see what happens. Thanks for the response. Pramod -- View this message in context:

Re: Re:Re: Activemq 5.8 problem with Oracle jdbc adapter

2013-07-11 Thread pkorwar
Thanks for the recommendation ! pramod -- View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-5-8-problem-with-Oracle-jdbc-adapter-tp4669080p4669135.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Activemq clustring and JMX port chnage

2013-07-11 Thread pkorwar
Chirag, On my linux VM, only one activemq instance starts up when I did similar things that you mentioned. The other process does not start and there is no error in data directory and there is a .pid file created in data directory. Did you have that problem? I am using oracle jdbc for

Re: Activemq clustring and JMX port chnage

2013-07-11 Thread pkorwar
I did that. Thanks for that. But I get the exception Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 1099; nested exception is: java.net.BindException: Address already in use I looked for the port 1099 in activemq.xml file but it is not

Re: Activemq clustring and JMX port chnage

2013-07-11 Thread pkorwar
We are 2 different people from different companies. I am trying to setup master/slave mode using oracle jdbc, and Chirag helped me identify the config issues. However, I am still seeing the exception Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use:

Activemq 5.8 problem with Oracle jdbc adapter

2013-07-10 Thread pkorwar
I am using ActiveMQ 5.8 with Oracle as persistent store. I keep getting the following exception saying that it could not get the DB lock. Has anybody faced this issue? Does it have to do with configuration settings? I have pasted the exception below. Thanks Pramod 2013-07-09

Re: Activemq 5.8 problem with Oracle jdbc adapter

2013-07-10 Thread pkorwar
Hi gtully, Somebody had posted a solution to this problem which sets the following configuration for jdbc adapter. Is this a good solution to prevent the DB lock issue? What does it actually do? jdbcPersistenceAdapter ... databaseLocker database-locker queryTimeout=-1 /

Re: Failed to update lease Oracle connection Reset

2013-06-19 Thread pkorwar
Mandar, I am facing the same issue. Did you have a solution for this? Please post the solution if you had. Thanks Pramod -- View this message in context: http://activemq.2283324.n4.nabble.com/Failed-to-update-lease-Oracle-connection-Reset-tp4662859p4668380.html Sent from the ActiveMQ - User

Broker cluster on the same machine

2013-05-15 Thread pkorwar
Hi all, I need to cluster 2 brokers on the same machine by having them use 2 different ports. Is there documentation on how to do this in master/slave mode? I need only 1 server to be active all the time and if that goes down, the other broker should take over. Also, is there a way to

Re: Broker cluster on the same machine

2013-05-15 Thread pkorwar
Thanks for your reply. Unfortunately I don't have the luxury of starting on another machine. But, it is ok if only master is up and slave comes up when master dies. So, do you know how to set this configuration up? Thanks Pramod -- View this message in context: