geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <ja...@laskowski.net.pl>
Subject Re: Remote connection with JMX Remote, MEJB and DeploymentManager
Date Tue, 03 Jul 2007 00:24:52 GMT
On 7/3/07, Jacek Laskowski <jacek@laskowski.net.pl> wrote:

> Another issue I'm struggling with is to get at the information that
> are displayed in the Geronimo Console. In JMX Viewer, there's
> contextPath attribute for WebModule. Whenever a query for the
> attribute is issued from a JMX Remote or MEJB client the following
> exception is thrown:
>
> Exception in thread "main"
> javax.management.AttributeNotFoundException:  Cannot find attribute
> contextPath for
> StandardEngine[Geronimo].StandardHost[0.0.0.0].StandardContext[/console]
>         at org.apache.tomcat.util.modeler.ManagedBean.getGetter(ManagedBean.java:490)
>         at org.apache.tomcat.util.modeler.BaseModelMBean.getAttribute(BaseModelMBean.java:180)
...
>             ObjectName searchpattern = new ObjectName("*:j2eeType=WebModule,*");

Figured it out - instead of * (the star) use 'geronimo' and it will
work beautifully (NB plugin gets better!).

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Mime
View raw message