avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexis Agahi <a...@users.sourceforge.net>
Subject Re: Problems testing Phoenix prior to beta.
Date Sat, 10 Aug 2002 15:05:38 GMT
Paul Hammant wrote:
> Folks,
> I am having trouble proving that the JMX facility in latest Phoenix 
> works with the demo app ( avalon-demo.sar ).
> Basically I just cannot see the management page for the HelloWorld 
> block.  I have seen JMX working elsewhere (work), but cannot for the 
> HelloWorld block which is our JMX showcase  Could someone confirm to me 
> that there is nothing wrong as I think I would be foolish to see a 
> release when I cannot see the management page with the setGreeting() 
> method.

Ok I've found what is wrong.

In the conf/kernel.xml (when building phoenix from scratch)
there is 2 declarations of
role="org.apache.avalon.phoenix.interfaces.SystemManager" ...>

And the first one is just before the comment
"There is one JMX MBeanServer infrastructure...3

So all the phoenix managed beans were registred thru the 

You just have to remove this part to get it working perfectly ;)

NOW I can SEE the phoenix mbean in the management interface.

Here is a sample of my conf.

         <!-- There is one JMX MBeanServer infrastructure currently
              supported by Avalon, namely MX4J. Previously the JMX RI
              was supported but due to severe bugs and lack of 
              of certain features (such as ModelMBeans), support 
has been
              dropped for the JMX RI implementation.

             The MX4J manager using the MX4J adapter devewloped 
at SourceForge
             See http://mx4j.sourceforge.net/ -


             There is an impl of system manager that does nothing 
and it is....


             Alternatively, you could comment the whole 
SystemManager section out.

             logger="manager" >

To unsubscribe, e-mail:   <mailto:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>

View raw message