Hello,<br><br>Yes,it is tru, it had been removed ..... try using google cache ... the idea is right.<br><br>If you try the sample, and use jboss 6 M3 (not test into anothers) , you get that locateJBoss() fails ... it needs to be into container, then, put all code into a statelss ejb and it works ok ... <br>
<pre class="brush: java; first-line: 1;">MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
</pre>if you had problems, i'll put all sample code ... use durable queue for a real test ... i suggest<br><br>thank you<br><br><div class="gmail_quote">2010/7/8 Carlos Oliva <span dir="ltr"><<a href="mailto:do-not-reply@jboss.com">do-not-reply@jboss.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
<div link="#355491" alink="#4262a1" vlink="#355491" style="background: none repeat scroll 0% 0% rgb(226, 226, 226); margin: 0pt; padding: 20px;">
<div>
        <table style="border: 1px solid rgb(218, 218, 218); margin-bottom: 30px; width: 100%;" bgcolor="#FFFFFF" border="0" cellpadding="0" cellspacing="0">
                <tbody>
                        <tr>
                                <td>
                                        <table style="border: 2px solid rgb(204, 204, 204); background: none repeat scroll 0% 0% rgb(218, 218, 218); width: 100%;" bgcolor="#FFFFFF" border="0" cellpadding="0" cellspacing="0">
                                                <tbody>
                                                        <tr>
                                                                <td style="border-bottom: 1px solid rgb(204, 204, 204); padding: 20px;" valign="middle" bgcolor="#000000" height="58px">
                                                                        <h1 style="color: rgb(51, 51, 51); font: bold 22px Arial,Helvetica,sans-serif; margin: 0pt; display: block ! important;">
                                                                        
                                                                        
                                                                        
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: rgb(225, 225, 225);" target="_blank">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td style="font: 12px Arial,Helvetica,sans-serif; color: rgb(51, 51, 51); padding: 20px;" bgcolor="#FFFFFF"><h3 style="margin: 10px 0pt 5px; font-size: 17px; font-weight: normal;">
How can I stop a running mdb?
</h3>
<span style="margin-bottom: 10px;">
reply from <a href="http://community.jboss.org/people/ramboid" target="_blank">Carlos Oliva</a> in <i>Beginner's Corner</i> - <a href="http://community.jboss.org/message/551756#551756" target="_blank">View the full discussion</a>
</span>
<hr style="margin: 20px 0pt; border: medium none; background-color: rgb(218, 218, 218); min-height: 1px;">
<div><p>This link has nothing </p></div>
<div style="background-color: rgb(244, 244, 244); padding: 10px; margin-top: 20px;">
<p style="margin: 0pt;">Reply to this message by <a href="http://community.jboss.org/message/551756#551756" target="_blank">going to Community</a></p>
        <p style="margin: 0pt;">Start a new discussion in Beginner's Corner at <a href="http://community.jboss.org/choose-container%21input.jspa?contentType=1&containerType=14&container=2075" target="_blank">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div></div><br>_______________________________________________<br>
jboss-user mailing list<br>
<a href="mailto:jboss-user@lists.jboss.org">jboss-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jboss-user" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-user</a><br>
<br></blockquote></div><br>