This content has been marked as final.
Show 3 replies
-
1. Re: trouble with MBeanServer isRegistered
adrian.brock Jan 27, 2003 6:04 AM (in response to emdevlin)Shouldn't there be a comma between Single and j2eeType?
Regards,
Adrian -
2. Re: trouble with MBeanServer isRegistered
emdevlin Jan 27, 2003 8:04 PM (in response to emdevlin)Adrian,
Thanks for answering. I thought this was the user not the dev list. Sorry for cluttering, but since I've started might as well keep going. Here is the output of the ObjectName.
Eric
20:04:52,428 INFO [STDOUT] DEBUG - jboss.management.single:J2EEServer=Single,j2eeType=J2EEApplication,name=A0.ear
p.s. Any chance that I can get this question moved to the user list :-> -
3. Re: trouble with MBeanServer isRegistered
emdevlin Jan 27, 2003 9:02 PM (in response to emdevlin)This does work and I did have a comma in the earObjectName both times.
Set set = server.queryNames( earObjectName, null );
for( Iterator it = set.iterator(); it.hasNext(); )
{
foundEar = true;
break;
}