Title: RE: [JBoss-user] JMX question
Two questions:

1. Would this work for 2.4.4?

2. I am currently using ModelMBeans for all of my management and they only get created when the managed resources are used. Therefore I don't know if the sar file would work for me. Should I be creating my MBeans at startup? Can I using ModelMBeans? I don't see how since the objects being managed are Java objects and not ejbs.

Thanks

I have my MBean in a .sar inside a .jar and it
gets deregistered when I redeploy.  Actually we
have the .sar in a .jar inside and .ear now and
it still gets deregistered on redeploy.
JD
-----Original Message-----
From: Michael Klem [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 29, 2002 4:35 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] JMX question

What is the correct process to unregister all my MBeans when I
redeploy my application code?
Currently, if there are any of my app specific MBeans registered and
I redploy the software, I get the following error:
javax.management.InstanceAlreadyExistsException

Is there a way to unregister my MBeans when the app gets redployed?
The only way to get around this for now is to stop, redeploy and
restart the server.
--
"If I beat Mr. Burns--I mean really wallop him good I'm sure to get
that big promotion I've been gunning for!" - Homer

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-- 
"If I beat Mr. Burns--I mean really wallop him good I'm sure to get that big promotion I've been gunning for!" - Homer



Reply via email to