Hi Scott,

Looking at one of the recent questions about clearing SecurityAssociation when 
invoking JMX, I've finally identified the problem. I'm using JMX all over the place in 
our custom logging framework (using an RMIAdaptor call), but I couldn't even think 
about it as a cause of the problem, as in the case shown before it's been used in 
ejbCreate() method, very indirectly. When I commented out all Logging Service calls, 
it eliminated the problem.

So the solution for me will be to change the way of JMX invocation.

By the way, what is the preferred way for JBoss to retrieve MBeanServer reference? Is 
it safe (in terms of compatibility with future versions of JBoss) to use a call like: 
org.jboss.mx.util.MBeanServerLocator.locateJBoss() ?

Thank you very much for your help.

Stan.

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827043#3827043";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827043>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to