[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-user
Subject: RE: [JBoss-user] JMX question
From: JD Brennan <brennan () renditionnetworks ! com>
Date: 2002-08-30 17:19:47
[Download RAW message or body]
I just poked around the JBoss install tree and found some .sar
files in the deploy directory and just looked at what they did.
That, plus the SUN JMX tutorial and it was pretty easy to
figure out.
JD
-----Original Message-----
From: Michael Klem [mailto:michaelklem@earthlink.net]
Sent: Thursday, August 29, 2002 6:27 PM
To: jboss-user@lists.sourceforge.net
Subject: RE: [JBoss-user] JMX question
I've been hearing about .sar files but cannot find info about them. Where do
I look?
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:michaelklem@earthlink.net>
mailto:michaelklem@earthlink.net]
Sent: Thursday, August 29, 2002 4:35 PM
To: jboss-user@lists.sourceforge.net
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> http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
<https://lists.sourceforge.net/lists/listinfo/jboss-user>
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
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: [JBoss-user] JMX question</TITLE>
<STYLE type=text/css>BLOCKQUOTE {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
DL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
UL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
OL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
LI {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
</STYLE>
<META content="MSHTML 5.00.3315.2870" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT color=#000080 face="Comic Sans MS" size=2><SPAN
class=746591817-30082002><STRONG>I just poked around the JBoss install tree and
found some .sar</STRONG></SPAN></FONT></DIV>
<DIV><FONT color=#000080 face="Comic Sans MS" size=2><SPAN
class=746591817-30082002><STRONG>files in the deploy directory and just looked
at what they did.</STRONG></SPAN></FONT></DIV>
<DIV><FONT color=#000080 face="Comic Sans MS" size=2><SPAN
class=746591817-30082002></SPAN></FONT> </DIV>
<DIV><FONT color=#000080 face="Comic Sans MS" size=2><SPAN
class=746591817-30082002><STRONG>That, plus the SUN JMX tutorial and it was
pretty easy to</STRONG></SPAN></FONT></DIV>
<DIV><FONT color=#000080 face="Comic Sans MS" size=2><SPAN
class=746591817-30082002><STRONG>figure out.</STRONG></SPAN></FONT></DIV>
<DIV><FONT color=#000080 face="Comic Sans MS" size=2><SPAN
class=746591817-30082002></SPAN></FONT> </DIV>
<DIV><FONT color=#000080 face="Comic Sans MS" size=2><SPAN
class=746591817-30082002><STRONG>JD</STRONG></SPAN></FONT></DIV>
<DIV><FONT color=#000080 face="Comic Sans MS" size=2><SPAN
class=746591817-30082002></SPAN></FONT> </DIV>
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Michael Klem
[mailto:michaelklem@earthlink.net]<BR><B>Sent:</B> Thursday, August 29, 2002
6:27 PM<BR><B>To:</B> jboss-user@lists.sourceforge.net<BR><B>Subject:</B> RE:
[JBoss-user] JMX question<BR><BR></FONT></DIV>
<DIV>I've been hearing about .sar files but cannot find info about them. Where
do I look?</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<BLOCKQUOTE cite type="cite"><FONT size=-1>I have my MBean in a .sar inside a
.jar and it</FONT><BR><FONT size=-1>gets deregistered when I redeploy.
Actually we</FONT><BR><FONT size=-1>have the .sar in a .jar inside and .ear
now and</FONT><BR><FONT size=-1>it still gets deregistered on
redeploy.</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite type="cite"><FONT size=-1>JD</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite type="cite"><FONT size=-1>-----Original
Message-----</FONT><BR><FONT size=-1>From: Michael Klem [</FONT><A
href="mailto:michaelklem@earthlink.net"><FONT
size=-1>mailto:michaelklem@earthlink.net</FONT></A><FONT
size=-1>]</FONT><BR><FONT size=-1>Sent: Thursday, August 29, 2002 4:35
PM</FONT><BR><FONT size=-1>To:
jboss-user@lists.sourceforge.net</FONT><BR><FONT size=-1>Subject: [JBoss-user]
JMX question</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite type="cite"><BR></BLOCKQUOTE>
<BLOCKQUOTE cite type="cite"><FONT size=-1>What is the correct process to
unregister all my MBeans when I</FONT><BR><FONT size=-1>redeploy my
application code?</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite type="cite"><FONT size=-1>Currently, if there are any of my
app specific MBeans registered and</FONT><BR><FONT size=-1>I redploy the
software, I get the following error:</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite type="cite"><FONT
size=-1>javax.management.InstanceAlreadyExistsException</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite type="cite"><BR></BLOCKQUOTE>
<BLOCKQUOTE cite type="cite"><FONT size=-1>Is there a way to unregister my
MBeans when the app gets redployed?</FONT><BR><FONT size=-1>The only way to
get around this for now is to stop, redeploy and</FONT><BR><FONT
size=-1>restart the server.</FONT><BR><FONT size=-1>--</FONT><BR><FONT
size=-1>"If I beat Mr. Burns--I mean really wallop him good I'm sure to
get</FONT><BR><FONT size=-1>that big promotion I've been gunning for!" -
Homer</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite type="cite"><BR></BLOCKQUOTE>
<BLOCKQUOTE cite type="cite"><FONT
size=-1>-------------------------------------------------------</FONT><BR><FONT
size=-1>This sf.net email is sponsored by:ThinkGeek</FONT><BR><FONT
size=-1>Welcome to geek heaven.</FONT><BR><A
href="http://thinkgeek.com/sf"><FONT
size=-1>http://thinkgeek.com/sf</FONT></A><BR><FONT
size=-1>_______________________________________________</FONT><BR><FONT
size=-1>JBoss-user mailing list</FONT><BR><FONT
size=-1>JBoss-user@lists.sourceforge.net</FONT><BR><A
href="https://lists.sourceforge.net/lists/listinfo/jboss-user"><FONT
size=-1>https://lists.sourceforge.net/lists/listinfo/jboss-user</FONT></A></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV><BR></DIV><X-SIGSEP><PRE>--
</PRE></X-SIGSEP>
<DIV>"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</DIV></BODY></HTML>
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic