Phantom Consumers

2012-06-11 Thread jgreiner
I currently have all producers and consumers shut off, but I'm seeing a slowly increasing number of consumers for two of my three queues. If I click the Active Consumers link in the admin page they have names that start with the machine name that is running activemq so they appear to be originatin

Re: Disable failover transport

2012-06-11 Thread mgiammarco
Here is the server config: Two tomcat, in the test stomp=61613, openwire=61616; production st

How to reset stats programmatically

2012-06-11 Thread zackhasit
Hi, It looks like I can use stats plugin to get all stats I might need. But after reading the stats I want to reset them such that next time when I get new stats they are delta from last time read. Is this possible ? How ? Thanks -- View this message in context: http://activemq.2283324.n4.na

Re: Suspicious ActiveMQSession messages in my log

2012-06-11 Thread pollotek
I think the obvious question would be: - Why would my client be trying to commit messages if I'm not generating new ones and why don't they have an id? - If these messages don't get committed nor rolled back, how do I make them go away? Looks to me like there are some transactions in a strange st

Re: ActiveMQ 5 - Specifying a broker's destinations in an external file

2012-06-11 Thread ndipiazza
Christopher. That is exactly what I was looking for. Thanks for the assist! -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-Specifying-a-broker-s-destinations-in-an-external-file-tp4653166p4653178.html Sent from the ActiveMQ - User mailing list archive at Nabble

Re: Upgrading AMQ.

2012-06-11 Thread Johan Edstrom
5.6.x is backwards compatible with the 5.5.1 stores, you should be fine upgrading, I'd copy one store aside, upgrade and make sure that you can work through the process. On Jun 11, 2012, at 9:41 AM, wrote: > I need to upgrade a number of AMQ installations, from 5.5.[0|1] to 5.6.0, > without

Upgrading AMQ.

2012-06-11 Thread shaun.t.erickson
I need to upgrade a number of AMQ installations, from 5.5.[0|1] to 5.6.0, without losing any persisted messages. I don't see any documentation on how to upgrade an existing AMQ (please point me at the right FM to R, if I've missed it). What's the procedure for doing this? ___ Shaun

Re: broker interceptor works in 5.5.1, but not in 5.6.0

2012-06-11 Thread Gary Tully
please raise an issue to track this and supply your plugin and a test case. It may be worth validating your scenario with TRACE level log4j logging on the broker, that may be informative. But a test case would make it easy to investigate. On 8 June 2012 14:20, marcus.mathioudakis wrote: > My prob

Re: ActiveMQ 5 - Specifying a broker's destinations in an external file

2012-06-11 Thread Christopher Wood
I cribbed from here: http://activemq.apache.org/security.html#Security-LDAPAuthenticationUsingtheJAASPlugin And my login.config file looks like this: LdapConfiguration { org.apache.activemq.jaas.LDAPLoginModule required debug=true initialContextFactory=com.sun.jndi.ldap.LdapC

Re: ActiveMQ 5 - Specifying a broker's destinations in an external file

2012-06-11 Thread ndipiazza
Christopher, Thanks for shedding some light on this with this suggestion. So I'm unfortunately not super familiar with this plug-in. So in your case "LdapConfiguration" maps back to a configuration in activemq where destinations are configured to be looked up from your LDAP server? If you don't

Re: ActiveMQ 5 - Specifying a broker's destinations in an external file

2012-06-11 Thread Christopher Wood
On Mon, Jun 11, 2012 at 07:26:43AM -0700, ndipiazza wrote: > We want to specify our destinations in a separate file, so that activemq.xml > file. > > So something like: > > http://activemq.apache.org/schema/core";> > > > Is there any such thing? Or any equivalent? I've found that rel

ActiveMQ 5 - Specifying a broker's destinations in an external file

2012-06-11 Thread ndipiazza
We want to specify our destinations in a separate file, so that activemq.xml file. So something like: http://activemq.apache.org/schema/core";> Is there any such thing? Or any equivalent? The reason we want to do this is that 1) Virtual Destinations are not allowed 2) De-coupling activem

ActiveMQ 5 - Specifying a broker's destinations in an external file

2012-06-11 Thread ndipiazza
ActiveMQ 5 - Specifying a broker's destinations in an external file We want to specify our destinations in a separate file, so that activemq.xml file. So something like: Is there any such thing? Or any equivalent? The reason we want to do this is that 1) Virtual Destinations are not allowed

Re: Re: JVM Heap full & ATMQ crashed

2012-06-11 Thread mickhayes
I would add -d64 to make that explicit. My comments on using Hotspot defaults for GC stand, unless you have good motivation otherwise. I note you trigger CMS very early, when 70% full rather than the default 92%... is there a reason for that? If you are sending enormous messages, I suggest using

Re: jdbc Master fails: AMQ v.5.6, Postgres v.9.1, Ubuntu

2012-06-11 Thread Gary Tully
the correct impl should be picked up based on the type of the underlying datasource. There is a mapper properties file that provides overrides. ms sql server is the only driver that currently uses the transact locker: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/resources/META

Re: Re: JVM Heap full & ATMQ crashed

2012-06-11 Thread mickhayes
The -Xmx is large for a 32-bit JVM. Is it 32-bit? Native + Heap + Non-heap must be less that 4G in that case, and 3G has already been used for Heap. To isolate the problem, I would be inclined to - leave the JVM GC behaviour at default unless otherwise needed, - set the maxheapspace to 2G or lo

Re: ActiveMQQueueBrowser.hasMoreElements with prefetchPolicy.all=0 blocks/hangs

2012-06-11 Thread mickhayes
http://activemq.apache.org/what-is-the-prefetch-limit-for.html is worth a look. "Specifying a prefetch limit of *zero* means the consumer will poll for more messages, one at a time, instead of the message being pushed to the consumer." While your QueueBrowser isn't consuming messages per se, it h

Re: Disable failover transport

2012-06-11 Thread mickhayes
I am assuming port 61616 is for test, and 62616 is for production, is that right? Can you show us the URI used by the client for connection to the broker? There should be no mention of the test port 61616 in the client URI at production run-time. - Michael Hayes B.Sc. (NUI), M.Sc. (DCU), SCS

Re: Suspicious ActiveMQSession messages in my log

2012-06-11 Thread mickhayes
It means you are at the bolded part below of ActiveMQSession.java and have DEBUG level logging on and transactionContext.getTransactionId() is null: /** * Commits all messages done in this transaction and releases any locks * currently held. * * @throws JMSException if the

Re: Discovery Protocol is dependent on Multicast?

2012-06-11 Thread mickhayes
As an alternative to the Multicast/UDP (and Zeroconf), http://activemq.apache.org/ldap-broker-discovery-mechanism.html describes "discovery" using LDAP look-up. I haven't used this method, but you could try that. - Michael Hayes B.Sc. (NUI), M.Sc. (DCU), SCSA SCNA -- View this message i