Re: How to monitor ActiveMQ that run in JBOSS

2009-01-08 Thread Eric Ma
pbaker01 wrote: > > Same questions as below: > > 2. If deploying the console.war (where can I find the war file, or do I > have to create it)? > > http://repo2.maven.org/maven2/org/apache/activemq/activemq-web-console/5.2.0/activemq-web-console-5.2.0.war -- View this message in context: h

JBoss 4.2.3.GA Embedded AMQ 5.2.0 broker and web console help

2009-01-08 Thread Eric Ma
I embedded AMQ 5.2.0 inside JBoss 4.2.3.GA by following Bruce Snyder's article at http://activemq.apache.org/integrating-apache-activemq-with-jboss.html. That's all working, and I can see the queues I set up from the JBoss jmx-console. Now I am struggling to make the AMQ web console to work in t

network of brokers - behavior does not seem right.

2009-01-08 Thread joeldg
Hi, somewhat new to activemq, but have been reading up on it a LOT I have a question regarding how network of brokers share messages when a new broker is discovered and inserted into the network. For instance: I have brokerA up and running for days with many subscribers and consumers, then I have

Re: Client threads hang if ActiveMQ dies

2009-01-08 Thread IBeaumont
Thanks for the suggestion. I tried it and it made no difference. I also found that the memory usage on the client goes up a lot when using transactions with many messages (I guess because it has to store the whole transaction on the client in-case it needs to failover which potentially causes me

Re: Nightly builds?

2009-01-08 Thread mkeenan
> After a bit of googling and head scratching, the builds are working again > now... Thanks for following up on this and getting it working. I'm eager to run the 5.3 series alongside 5.2 and see if it helps with our dispatch problems. -- View this message in context: http://www.nabble.com/Nigh

Re: Client threads hang if ActiveMQ dies

2009-01-08 Thread Bruce Snyder
On Thu, Jan 8, 2009 at 8:51 AM, IBeaumont wrote: > > I'm running ActiveMQ on another machine and connecting via TCP. If it dies > (I press CTRL-C, or may get an out of memory error) while I'm processing > messages then the consume gets stuck waiting for a message and never returns > (I'm calling

Client threads hang if ActiveMQ dies

2009-01-08 Thread IBeaumont
I'm running ActiveMQ on another machine and connecting via TCP. If it dies (I press CTRL-C, or may get an out of memory error) while I'm processing messages then the consume gets stuck waiting for a message and never returns (I'm calling receiveNoWait). This is the stack trace where it is stuck

OutOfMemoryError - with large number of msgs in a transaction

2009-01-08 Thread IBeaumont
I'm trying to post a few thousand messages in one tranactions. It seems that my heap space needs to be big enough to hold all messages from the one transaction in memory in one time to successfully commit. Is this correct? I would expect it to start spooling the messages to the message store as

Re: Jencks container sometimes hangs when maxMessagesPerSessions is < maxSessions

2009-01-08 Thread Adrian Trenaman
I've created issue AMQ-2056 to track this... -- View this message in context: http://www.nabble.com/Jencks-container-sometimes-hangs-when-maxMessagesPerSessions-is-%3C-maxSessions-tp21348665p21351982.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Unable to Stop ActiveMQ Broker from activemq-admin script

2009-01-08 Thread Dejan Bosanac
Hi, are you sure you removed SUNJMX from /etc/activemq.conf? bin/activemq-admin does not include bin/activemq so it shouldn't get JMX configuration from there. I just tried bin/activemq-admin stop --jmxuser controlRole --jmxpassword abcd1234 and it works as expected. Anyway, I'm glad you solve

Re: Nightly builds?

2009-01-08 Thread James Strachan
2009/1/7 James Strachan : > 2009/1/7 James Strachan : >> 2009/1/7 mkeenan : >>> >>> I have a few questions about the current ActiveMQ release: >>> >>> 1) I see a few links on this forum and on the ActiveMQ website that refer to >>> the 5.3.0 Snapshot, but none of them pointed to any downloadable fi

Uses of SpringSslContext

2009-01-08 Thread nestabur
Hi All, I'm using ActiveMQ 5.2. I want to connect via ssl, I'm using the spring framework and I prefer to set up the ssl client throw configuration beans. Currently I have this config:

Re: STOMP over SSL (stomp+ssl protocol)

2009-01-08 Thread Dejan Bosanac
Hi Bruce, you're right, the stomp ssl support could be used and configured as it is documented on that page. The patch to the mentioned issue just makes the stomp ssl test to pass. I just committed it. Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - h

Error writing to broker. Transport connection is closed.

2009-01-08 Thread anujjain
Hi, I new to ActiveMQ. I trying to build a .NET client by using NMS 1.1 for ActiveMQ 4.1.1. I wrote a simple publisher program by sending two messages. I worked fine then but if I give a Sleep time of 6(1 min). First message is sent fine, butbefore sending the second message I am getting follo

Jencks container sometimes hangs when maxMessagesPerSessions is < maxSessions

2009-01-08 Thread Adrian Trenaman
I've found that if I configure Jencks with a low maxMessagesPerSessions (e.g. 3) and a higher maxSessions (e.g. 8) then my consumers hang after about 30 messages and no more messages get consumed. Any idea why this might be? I find that if I make the maxMessagesPerSessions (which AFAIK matches t

Re: ActiveMQ Persistence Question / JDBC or Hibernate

2009-01-08 Thread Dejan Bosanac
Hi Davis, first note that ActiveMQ persistence mechanism is used to store messages "inside" the broker so that messages that are not consumed are not lost in case of a broker shutdown. So if you want to change that internal mechanism you should implement your own jdbc persistent adapter. Take a loo

Re: Shutdown script not working as JMX authentication set up

2009-01-08 Thread Dejan Bosanac
Hi, you need to provide JMX username and password using the appropriate command line switches. Take a look at this page for more info http://activemq.apache.org/activemq-command-line-tools-reference.html#ActiveMQCommandLineToolsReference-shutdown Cheers -- Dejan Bosanac Open Source Integration -