Re: Clustered Activemq replicated LevelDB via zookeeper + apache camel causes activemq to hang

2014-06-12 Thread Chirag Pujara
did you got it working or figure out what was problem. We are seeing similar issue but couldn't find fix for this. On Tue, May 27, 2014 at 6:35 AM, Jean-Baptiste Onofré wrote: > Hi, > > what's the test case to reproduce ? Just consume or produce message from a > client ? > > Regards > JB > > >

Re: Broker Hangs after some time - or does nothing.

2014-05-18 Thread Chirag Pujara
so far no luck. I see that in our dev environment. i am not sure how to fix it. if you figure out anything please share. thanks, On Fri, May 16, 2014 at 9:15 AM, rgooduru wrote: > Are you able to find the cause of this issue, I am facing same issue with > 5.9.1. We are using 5.9.1 with leveld

Re: Activemq froze - and msgs dont get processed

2014-05-12 Thread Chirag Pujara
3.15:55356@61616 any suggestions. On Wed, Apr 16, 2014 at 10:14 AM, Chirag Pujara wrote: > I checked logs. there are bunch of Info messages about conection taking > too long to shutdown. > > 2014-04-15 10:51:00,668 | INFO | The connection to 'tcp:// > 10.190.133.15:37168'

Re: can't see DLQ_DELIVERY_FAILURE_CAUSE_PROPERTY in webconsole.

2014-05-02 Thread Chirag Pujara
4:26 PM, Chirag Pujara wrote: > Is there a way to see why message failed on listener and endup in DLQ. I > dont see any property for message in webconsole. Is there a way to enable > that. I also tried hawtio to view property but no luck. > > I also tried to set property for message

can't see DLQ_DELIVERY_FAILURE_CAUSE_PROPERTY in webconsole.

2014-05-01 Thread Chirag Pujara
Is there a way to see why message failed on listener and endup in DLQ. I dont see any property for message in webconsole. Is there a way to enable that. I also tried hawtio to view property but no luck. I also tried to set property for message in listner upon catching exception; still no luck.

Activemq 5.9.1 Release - replicated leveldb

2014-04-29 Thread Chirag Pujara
I am trying to use latest release of activemq 5.9.1 with replicated leveldb setup. I keep seeing following wrning in logs. 2014-04-29 14:43:52,515 | WARN | org.apache.activemq.broker.region.cursors.QueueStorePrefetch@716c5c8d:JMSHealthCheckDestination,batchResetNeeded=false,storeHasMessages=true,

Re: delay failover transfer

2014-04-29 Thread Chirag Pujara
have you looked at startupMaxReconnectAttempts and maxReconnectAttempts. On Tue, Apr 29, 2014 at 7:23 AM, Gary Tully wrote: > there is currently no way to say retryCurrent X times before trying an > alternative url in the list and url must be unique so > there is no way to hack in duplicates. >

activemq master/slave with replicateddb - switch master

2014-04-24 Thread Chirag Pujara
Hello, We have auto installer for zookeeper and activemq. When we update activemq it takes down one node at a time and updates it. If first node is master it will take down activemq and all the services that reply on availability of activemq untill other node takes over as master. Inshort we see d

Re: Activemq froze - and msgs dont get processed

2014-04-16 Thread Chirag Pujara
I checked logs. there are bunch of Info messages about conection taking too long to shutdown. 2014-04-15 10:51:00,668 | INFO | The connection to 'tcp:// 10.190.133.15:37168' is taking a long time to shutdown. | org.apache.activemq.broker.TransportConnection | ActiveMQ Transport: tcp:///10.190.133

Activemq froze - and msgs dont get processed

2014-04-15 Thread Chirag Pujara
We have activemq 5-10.SNAPSHOT running with replicated leveldb. We have been noticing this behavior last few weeks. It stops processing messages from queue and nothing can send any more messages to queue. I can see viewer and queues with messages and consumers more than zero. Some queues has messa

Activemq with replcated leveldb - waring about listeners are taking too long to process events.

2014-03-19 Thread Chirag Pujara
Hi, Today I think our zookeeper died for some reason. So I cycled all zookeeper instances and activemq instances. But on some of activemq instance log files I keep sesing logs about listeners taking too long to process events. 2014-03-19 13:40:14,942 | WARN | listeners are taking too long to pro

Exception being logged as info

2014-03-12 Thread Chirag Pujara
Hi, I saw following exception logged as info and then it took down broker. 2014-03-11 21:54:06,474 | INFO | Stopping BrokerService[activemq] due to exception, java.io.IOException: Short write | org.apache.activemq.util.DefaultIOExceptionHandler | LevelDB IOException handler. java.io.IOExcepti

Re: Deadlock on broker (thread dumps included)

2014-03-03 Thread Chirag Pujara
are your producer and consumer share same connection? If yes try to avoid that. I had similar problem. Also if you are using spring jmstemplate read following link. http://singztechmusings.wordpress.com/2011/06/21/pooledconnectionfactory-vs-cachingconnectionfactory-which-one-is-a-perfect-match-for

Re: Broker Hangs after some time - or does nothing.

2014-02-19 Thread Chirag Pujara
my case we dont stop tomcat. All our deployment happens in uptime. Anyother suggestion that I can try? thanks, chirag On Tue, Feb 11, 2014 at 4:46 PM, Chirag Pujara wrote: > I tried again and this time I didnt send bunch of messages at same time. I > noticed that some message gets proces

Re: performance Replicated LevelDB vs. SAN

2014-02-13 Thread Chirag Pujara
Hello kal, I am also trying to setup activemq with LevelDb. But having issues and Activemq stops processing messages on queue. I can't figure out issue. Can you share your settings/configuration for zookeeper and activemq so that I can figure out what is going on. thanks, chirag On Tue, Feb 11

Re: Broker Hangs after some time - or does nothing.

2014-02-11 Thread Chirag Pujara
more messages but not all get processed. I am attaching config file. I have enabled producerFlowControl and removed slowConsumerStrategy. I am using activemq-5.10-SNAPSHOT. On Mon, Feb 10, 2014 at 9:04 PM, Chirag Pujara wrote: > i said broker hangs bcs if i tried to send more messages

Re: Broker Hangs after some time - or does nothing.

2014-02-10 Thread Chirag Pujara
i said broker hangs bcs if i tried to send more messages or messages on queue doent get processed. i cannot even create queue or send message using webconsole. will try again and rhis time will moniter memory. On Feb 10, 2014 6:22 PM, "artnaseef" wrote:< > > Perhaps I misunderstood "Broker Hangs"

Re: Broker Hangs after some time - or does nothing.

2014-02-10 Thread Chirag Pujara
I have producerFlowControl to false. I seperated my producer and consumers. But still I was able to reproduce issue. For some time bunch of messages started pile up in queue. Then they started to endup in DLQ. In DLQ I saw most of them have these property: dlqDeliveryFailureCause: java.lang.Throwa

Re: Broker Hangs after some time - or does nothing.

2014-02-07 Thread Chirag Pujara
I didnt had slowConsumerStrategybefore but I thought if connection are not being closed properly this would help to shut those connection that's why I added it. Yes producers and consumer uses same connections. I dont see any problem with heap size or queue usage size. On Fri, Feb 7, 2014 at 3:

Re: Broker Hangs after some time - or does nothing.

2014-02-07 Thread Chirag Pujara
I am not using cpp client. I checked producer. It sends message to broker and doesnt return. So it is hanging at some point while sending. I see a message gets to borker but it never gets picked by consumer. One more thing I have slowConsumerStrategy defined. Do you think it might have anything t

Re: Broker Hangs after some time - or does nothing.

2014-02-06 Thread Chirag Pujara
Thanks for reply. -I checked consumer and produce count on queue and they are 99(c) and 7(p) respectively. - I see this warning messgage randomly in broker logs: "2014-02-06 13:53:28,910 | WARN | Transport Connection to: tcp://[ip]:63669 failed: java.net.SocketException: Connection reset | org.ap

Broker Hangs after some time - or does nothing.

2014-02-05 Thread Chirag Pujara
I am using Activemq-5.10.SNAPSHOT and implementing with replicated leveldb. After few messages consumer stop processing messages. Messages just stay on queue. nothing happens. Client cannot send anymore messges. I dont see any exception on client side. I dont see any exception on server logs. I s

Re: Async Error occured

2014-02-03 Thread Chirag Pujara
.xxx:42472@61616 are these exception releted? thanks, chirag On Mon, Feb 3, 2014 at 11:58 AM, Chirag Pujara wrote: > I have activemq setup with replicated leveldb and zookeeper. > > > I see these exception in activemq. > > 2014-02-03 10:55:47,673 |

Async Error occured

2014-02-03 Thread Chirag Pujara
I have activemq setup with replicated leveldb and zookeeper. I see these exception in activemq. 2014-02-03 10:55:47,673 | WARN | Async error occurred: | org.apache.activemq.broker.TransportConnection.Service | ActiveMQ Transport: tcp:///[ip-address]:37297@61616 javax.jms.JMSException: Unmatche

Re: Create Activemq Instance

2014-01-22 Thread Chirag Pujara
; Does perhaps your auto installer change this name? > > > > > > Regards, > > > > Torsten Mielke > > tmielke.blogspot.com > > > > > > > > On 21 Jan 2014, at 23:55 pm, Chirag Pujara > wrote: > > > >> We have auto installer for active

Create Activemq Instance

2014-01-21 Thread Chirag Pujara
We have auto installer for activemq which creates multiple instance of activemq. But when it create new instance it changes borker name. Is there a way to new instance with same broker name. thanks, chirag

Re: Shutdown Activemq exception

2014-01-20 Thread Chirag Pujara
I posted wrong config for shell script. I have one for 8100 port. thanks, chirag On Mon, Jan 20, 2014 at 4:35 PM, Chirag Pujara wrote: > I am using ActiveMq 5.10-SNAPSHOT and Zookeeper-3.4.5. > > I have auto installer to install activemq and setup 3 instance on node. > > config

Shutdown Activemq exception

2014-01-20 Thread Chirag Pujara
I am using ActiveMq 5.10-SNAPSHOT and Zookeeper-3.4.5. I have auto installer to install activemq and setup 3 instance on node. config file: http://www.springframework.org/schema/beans"; xmlns:amq=" http://activemq.apache.org/schema/core"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"; x

healthcheck for JMS

2013-09-19 Thread Chirag Pujara
I am not sure this is right forum for question but wondering if anyone has solved this problem. I want to write some sort of health checker for JMS. So if it can't connect to ActiveMq all client should stop sending msgs to it. can anyone guide me right direction. thanks, chirag

Re: Activemq webconsole for multiple brocker

2013-08-14 Thread Chirag Pujara
url kind of settings in this tool. thanks, chirag On Wed, Aug 14, 2013 at 12:20 PM, Chirag Pujara wrote: > I will be trying with 5.8 release. any idea when we will get 5.9 release? > > will try that as soon as possible, > > thanks, > chirag > > > On Wed, Aug 14,

Re: Activemq webconsole for multiple brocker

2013-08-14 Thread Chirag Pujara
make sure there's a jolokia agent running in > > >> > each JVM you want to manage with hawtio. > > >> > > > >> > There are a few different agents you can use: > > >> > http://jolokia.org/agent.html > > >> > > > >>

Re: Activemq webconsole war

2013-08-13 Thread Chirag Pujara
I found it here: https://repository.apache.org/content/repositories/releases/org/apache/activemq/activemq-web-console/5.8.0/ thanks, chirag On Tue, Aug 13, 2013 at 3:43 PM, Chirag Pujara wrote: > I get 404 not found. > > > On Tue, Aug 13, 2013 at 3:41 PM, Timothy Bish wrote: &

Re: Activemq webconsole war

2013-08-13 Thread Chirag Pujara
I get 404 not found. On Tue, Aug 13, 2013 at 3:41 PM, Timothy Bish wrote: > On 08/13/2013 04:36 PM, Chirag Pujara wrote: > >> I found maven repo for activemq [ >> http://repo1.maven.org/maven2/**org/apache/activemq/<http://repo1.maven.org/maven2/org/apache/activemq/>

Activemq webconsole war

2013-08-13 Thread Chirag Pujara
I found maven repo for activemq [ http://repo1.maven.org/maven2/org/apache/activemq/]. Why is it missing activemq-web-console. Can I get war from any other location? thanks, chirag

Re: Activemq webconsole for multiple brocker

2013-08-09 Thread Chirag Pujara
o a "remove" JVM. I've seen this working at one > point, but I just gave it a shot and it seems to not resolve correctly. > > Might have to get James a beer or two and maybe he can point us in the > right direction :) > > > > On Fri, Aug 9, 2013 at 9:34 AM,

Re: Activemq webconsole for multiple brocker

2013-08-09 Thread Chirag Pujara
; > wrote: > > > > > Check out hawtio. This will eventually be the webconsole in ActiveMQ > > 5.9.0. > > > > > > > > > On Wed, Aug 7, 2013 at 2:28 PM, Chirag Pujara > > >wrote: > > > > > > > Hi, > > > &g

Re: Activemq webconsole for multiple brocker

2013-08-08 Thread Chirag Pujara
openwire port. thanks, chirag On Wed, Aug 7, 2013 at 4:37 PM, Christian Posta wrote: > Check out hawtio. This will eventually be the webconsole in ActiveMQ 5.9.0. > > > On Wed, Aug 7, 2013 at 2:28 PM, Chirag Pujara >wrote: > > > Hi, > > > > Is it possible to m

Activemq webconsole for multiple brocker

2013-08-07 Thread Chirag Pujara
Hi, Is it possible to monitor multiple brockers from single webconsole. I am not running brockes in master/slave mode. If no is there any other soletion that I can use? thanks, chirag

Re: Ativemq instance will not shutdown gracefully.

2013-07-25 Thread Chirag Pujara
I think I figured out issue. It was user problem. I started process with diff. user and was trying to shutdown as root user. thanks, chirag On Thu, Jul 25, 2013 at 2:50 PM, Chirag Pujara wrote: > Hello, > > when I try to shutdown activemq instance it throws exception that it > ca

Ativemq instance will not shutdown gracefully.

2013-07-25 Thread Chirag Pujara
Hello, when I try to shutdown activemq instance it throws exception that it cannot connect to jmxUrl for process. and then kills the process after 30 secs. Here is stack strace: 14:34:39 # */opt/gwx/apache-activemq-5.8.0/activemq_8300/bin/activemq_8300 stop "-Dactivemq.jmx.url=service:jmx:rmi://

Re: ActiveMq instance creation and running them

2013-07-23 Thread Chirag Pujara
> ${ACTIVEMQ_HOME}/bin/activemq "$*@*" > > In the quoted section of your reply, it looked like it got changed to > ${ACTIVEMQ_HOME}/bin/activemq "$*@*" > > with stars surrounding the '@' sign... so what did you change to? > > > > > On

Re: ActiveMq instance creation and running them

2013-07-23 Thread Chirag Pujara
mq_8100' ? what does it do? whats use of it? thanks, chirag On Tue, Jul 23, 2013 at 9:00 AM, Chirag Pujara wrote: > Did you create that script using '$ACTIVEMQ_BASE/bin/activemq create' > command? > > Ans: Yes. > > I tried what you said. No Luck. > &

Re: ActiveMq instance creation and running them

2013-07-23 Thread Chirag Pujara
gt; > Looks like it will work properly if you change the last statement to > > ${ACTIVEMQ_HOME}/bin/activemq "$*@*" > > > On Mon, Jul 22, 2013 at 6:47 PM, Christian Posta > wrote: > > > what happens when you use the activemq script directly? > > > > &

Re: ActiveMq instance creation and running them

2013-07-22 Thread Chirag Pujara
*:54338 (LISTEN) rpc.mount 1724root 15u IPv4 10464 0t0 UDP *:36015 rpc.mount 1724root 16u IPv4 10468 0t0 TCP *:58202 (LISTEN) rpc.mount 1724root 17u IPv6 10472 0t0 UDP *:55224 rpc.mount 1724root 18u IPv6 10476 0t0 TCP *:45435 (LISTEN) sshd 1

ActiveMq instance creation and running them

2013-07-22 Thread Chirag Pujara
Hello, I have created 3 instance for activemq. activemq_8100, activemq_8200, activemq_8300. when I execute follwoing command: /opt/gwx/apache-activemq-5.8.0/activemq_8100/bin/activemq_8100 start -Dactivemq.data=/opt/gwx/activemqdata -DopenwirePort=61616 -DamqpPort=5600 -DrmiPort=8100 it starts

Re: Activemq clustring and JMX port chnage

2013-07-11 Thread Chirag Pujara
Hello Paul, I removed -Dcom.sun.management.jmxremote . but still same exception. Here is output of stop command. may be I am missing something. root@RHEL6u2-001-2:/opt/gwx/apache-activemq-5.8.0 17:13:57 # instance1/bin/instance1 stop INFO: Using default configuration (you can configure options i

Re: Activemq clustring and JMX port chnage

2013-07-11 Thread Chirag Pujara
Pramod, Did you make any config change for RMI port? If not you need to. I found this link: http://kyrill007.livejournal.com/3517.html you can refer my config in my original post. Also you need to make sure createConnector=false in your activemq.xml. hope this helps. On Thu, Jul 11, 2013 at

Re: Activemq clustring and JMX port chnage

2013-07-11 Thread Chirag Pujara
You need to change instance2/conf/activemq.xml file and change port number for amqp and openwire. hope this helps. On Thu, Jul 11, 2013 at 3:27 PM, pkorwar wrote: > Chirag, > On my linux VM, only one activemq instance starts up when I did similar > things that you mentioned. > The other

Activemq clustring and JMX port chnage

2013-07-11 Thread Chirag Pujara
Hello, I want to run 2 activemq instance from same machine. I used follwoing commands. bin/activemq create instance1 bin/activemq setup ~/.activemqrc-instance-instance1 bin/activemq create instance2 bin/activemq setup ~/.activemqrc-instance-instance2 and I modified instace2/bin/instance2 fil