qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robbie Gemmell <robbie.gemm...@gmail.com>
Subject Re: JMX interface with Java Broker .20
Date Thu, 01 Aug 2013 13:22:07 GMT
The BDBHAMessageStore MBean will show up for a particular virtualhost if it
is using the BDBHAMessageStore, which suggests that you aren't actually
doing so.

I notice that you linked to the 0.22 docs below, but you mention in the
title you are using a 0.20 broker. There was a typo in the example within
the 0.20 docs showing how to configure the store in the xml, which might be
what you have run into if you originally looked at the older docs, where
the virtualhost name element contains "myhost" whereas the configuration
tag beneath it is 'myvhost', when it should equal whatever the name is. If
your config looks right, send it out and we can take a look.

BDB also has its own stats MBean that may be of use, you can turn it on by
setting the JEMonitor system property to true. You can pass system
properties through the QPID_OPTS environment variable, e.g: export
QPID_OPTS="-DJEMonitor=true"

Robbie

On 1 August 2013 01:48, jbelch <jamesbelch@verizon.net> wrote:

> I was reading the "Qpid JMX API for HA" section today at
>
> http://qpid.apache.org/releases/qpid-0.22/java-broker/book/Java-Broker-High-Availability-JMXAPI.html
> and it looked like it would be fairly simple to get Berkeley DB state
> infomration using the JMX Java API.  I can get information from other
> MBeans
> in the JVM, but I can't seem to get anything from BDBHAMessageStore in code
> and I can't see the BDBHAMessageStore element under the org.apache.qpid
> tree
> in the JConsole.  Any ideas on what I am doing wrong?  Is there something I
> have to enable in the configuration files before I startup the qpid server?
>
>
>
> --
> View this message in context:
> http://qpid.2158936.n2.nabble.com/JMX-interface-with-Java-Broker-20-tp7596278.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message