geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacek Laskowski <eljo...@gmail.com>
Subject Re: problem with Geronimo-1.0
Date Wed, 04 Jan 2006 11:38:01 GMT
2006/1/4, Ranjan, Rakesh (Cognizant) <Rakesh.Ranjan@cognizant.com>:

> ObjectName gbQuery = JMXUtil.getObjectName("*:j2eeType=TransactionManager,*");
...
> When I am using this with the Geronimo-1.0-M5, this is working correctly. But with Geronimo-1.0
, this is not working correctly.

> java.lang.IllegalArgumentException:
>
>  Could not get GBeanInfo for target object:
>
> geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/Server,J2EEServer=geronimo,j2eeType=TransactionManager,name=TransactionManager
>
>
>
> I think kernel.listGBeans() is not working correctly in case of Geronimo-1.0. According
to the above code, the GBean is
>
> geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/Server,J2EEServer=geronimo,j2eeType=TransactionManager,name=TransactionManager
>
>
>
> But as much I know, it should be
>
>
>
> geronimo.server:J2EEApplication=null,J2EEModule=geronimo/j2ee-server/1.0/car,J2EEServer=geronimo,j2eeType=TransactionManager,name=TransactionManager

Hi,

Have you tried to query using the full object name? I think it should
work. The above seems to imply a bug in listGBeans(). If noone takes
care of it by tonight, I'll  be looking into it.

> Rakesh Ranjan

Jacek

Mime
View raw message