Failure to Connect crashes ActiveMQ

2010-05-11 Thread cochranjd
I am new to ActiveMQ and have run into an issue with remote connections that may be currently down. I have ActiveMQ configured to connect to a remote HornetQ, which is working fine. The problem is that ActiveMQ will startup and then crash if the HornetQ server is down. Is there some additional

Re: Message Send is fast with TCP transport, slow when using Discovery

2010-05-11 Thread Bruce Snyder
On Tue, May 11, 2010 at 1:39 PM, Bryan Moore wrote: > > True, but if you notice, I use Async in both cases. Well the discovery transport starts an embedded failover transport which imposes some extra overhead for asynchronous reconnections. Not to mention the creation of the discovery agent itsel

Re: Message Send is fast with TCP transport, slow when using Discovery

2010-05-11 Thread Bryan Moore
True, but if you notice, I use Async in both cases. bsnyder wrote: > > On Tue, May 11, 2010 at 1:06 PM, Bryan Moore wrote: >> I've encountered what seems to me to be a very strange behavior when >> using >> discovery. >> >> Here is my original client connection setup... >>  "tcp://myserver:6

javax.jms.JMSException: Transaction 'TX:ID...' not started

2010-05-11 Thread sbuster
I'm the same probelm as the other user in terms of using a simple transacted client that tries to call session.rollback and get the following exception in the log. Ultimately I want the message to end up in the DLQ but it never gets directed there. attached is a simple client, my activemq config

Re: Message Send is fast with TCP transport, slow when using Discovery

2010-05-11 Thread Bruce Snyder
On Tue, May 11, 2010 at 1:06 PM, Bryan Moore wrote: > I've encountered what seems to me to be a very strange behavior when using > discovery. > > Here is my original client connection setup... >  "tcp://myserver:61616?jms.useAsyncSend=true" > > The writes to the queue occur very fast, approximatel

Re: Howto probe brokers from a loadBalancer

2010-05-11 Thread Bryan Moore
Would JMX be an option for you? Apache ActiveMQ has extensive support for JMX to allow you to monitor and control the behavior of the broker via the JMX MBeans. http://activemq.apache.org/jmx.html http://activemq.apache.org/jmx.html -- View this message in context: http://old.nabble.com/Howt

Message Send is fast with TCP transport, slow when using Discovery

2010-05-11 Thread Bryan Moore
I've encountered what seems to me to be a very strange behavior when using discovery. Here is my original client connection setup... "tcp://myserver:61616?jms.useAsyncSend=true" The writes to the queue occur very fast, approximately one per MS. INFO 2010-05-11 14:40:08,799 [Thread-5] com

[ANNOUNCE] Apache ActiveMQ 5.3.2 released

2010-05-11 Thread Dejan Bosanac
The Apache ActiveMQ team is pleased to announce the release of Apache ActiveMQ 5.3.2. This is a minor maintenance release, bringing a couple of improvements in OSGi metadata and web security. Full details and download link can be found on the release page: http://activemq.apache.org/activemq-532-r

Re: Message Monitor for ActiveMQ

2010-05-11 Thread citron
Hi Vanisathish, I have created a fix for this issue, You can download the new version from this location https://anderstool.dev.java.net/files/documents/10023/150192/AndersActiveMQ-0.3.war Please not that the http url for the new version will be different from the previous version, Ex. Old u

ANN: Habari ActiveMQ Client 2.3 - Support for temporary destinations

2010-05-11 Thread mjustin
May 11, 2010 - betasoft is pleased to announce release 2.3 of the Delphi and Free Pascal library Habari ActiveMQ Client. With this library and the Apache ActiveMQ open source Message Broker, developers can build integrated solutions, connecting cross language clients and protocols from Java(tm),

Re: Generating .bindings file for RefFSContextFactory

2010-05-11 Thread Gary Tully
Hi Stephen, great. java would be best, like an additional command extension to the activemq-admin tool. this is the easiest to test and validate across platforms. I was thinking something like a 'jndi-bind' command, that would take an optional contextName parameter and an activemq-jnid.properties

Re: Generating .bindings file for RefFSContextFactory

2010-05-11 Thread Scawa1952
Thank you for your prompt reply. I noticed that most of the information to create the .bindings file is available when one performs an activemq-admin query command. One just has to parse through, pick up the information and generate it. Sounds like an easy fun project. I'll see what I can do.

Re: Activemq comunication causes out of memory

2010-05-11 Thread dimitarn
Can someone help mi :-((:,(:-( I saw again the exception for too long inactive chanel, what am i doing wrong? INFO [MyActiveMQClientManager] JNDI Context[{java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory, java.naming.provider.url=tcp://HOST:61616?keepAlive=tru

Re: Message Monitor for ActiveMQ

2010-05-11 Thread vanisathish
hi citron, will you be releasing a new version which fixes this issue?. is there any other ways to monitor the active messages ( i need a message dump) of JMS Bridge message citron wrote: > > Thanks vanisathish! > > I need to take a closer look at this, it seems like the code for > transform

Re: Generating .bindings file for RefFSContextFactory

2010-05-11 Thread Gary Tully
There is no such tool for activemq at the moment but we do love contributions. In activemq, destinations are created on demand and the activemq client side memory jndi provider will respond with dynamically created destinations for the /dynamic* conte

Re: Message Monitor for ActiveMQ

2010-05-11 Thread citron
Thanks vanisathish! I need to take a closer look at this, it seems like the code for transforming Map Messages is incorrect. citron wrote: > > The java version you are using should be ok. > > What I would like to see is the log written to standard out, eg. the > output in the console for a

Re: Message Monitor for ActiveMQ

2010-05-11 Thread vanisathish
Hi, the logs looks like as below. i seeing some array index out of index exception [1618874] extend.BasicAlarm raiseAlarm called before a sleeper has been set 1 2 [1619003] extend.BasicAlarm raiseAlarm called before a sleeper has been set [1619013] extend.BasicAlarm raiseAlarm called before a

Re: Message Monitor for ActiveMQ

2010-05-11 Thread citron
The java version you are using should be ok. What I would like to see is the log written to standard out, eg. the output in the console for apache-tomcat\bin\startup.bat vanisathish wrote: > > do you mean from your application side ie. captured in catalina.out. What > JRE version does your a

Re: Message Monitor for ActiveMQ

2010-05-11 Thread vanisathish
do you mean from your application side ie. captured in catalina.out. What JRE version does your application support. i'm using JRE 1.6.0.20 citron wrote: > > hmm, I see that the map message is not rendered properly. Could you also > post some logs for this? > > > > vanisathish wrote: >> >> H

Re: Message Monitor for ActiveMQ

2010-05-11 Thread citron
hmm, I see that the map message is not rendered properly. Could you also post some logs for this? vanisathish wrote: > > Hi, > > please find the attached screenshot.The JMS Message that we are trying to > display is a Map Message.. > > > citron wrote: >> >> Hi vanisathish, >> >> could you

Connection timed out - is there a need to reconnect the client

2010-05-11 Thread dimitarn
Hi I have a topics looked up on remote activemq broker. During some hours in the day some of the topics do not receive messages, so the connection to those topics timed out. The topics that receives messages all the time does not have this issue. On every onException i reset all connections and re

Re: Message Monitor for ActiveMQ

2010-05-11 Thread vanisathish
Hi, please find the attached screenshot.The JMS Message that we are trying to display is a Map Message.. citron wrote: > > Hi vanisathish, > > could you show me how the message looks like that you are trying to > receive and a print screen of the received message in the browser? > > > > >