Alexandre Santoro [
http://community.jboss.org/people/santoro63] created the discussion
"Re: Help with MDB getting "Security Context is null" error when accessing
the JMX RMI Adaptor"
To view the discussion, visit:
http://community.jboss.org/message/587014#587014
--------------------------------------------------------------
In case someone is looking for a solution to the same problem, this is how I handled it (I
hesitate to use the word "solved").
After trying several different configuration changes and running into the same problem I
decided to take the easy approach to solving this problem: I modified my MDB so that it
spawns another thread to do the actual interaction with the RMIAdaptor. As a result the
threadlocal variables associated with the MDB are not changed and the code runs just
fine.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/587014#587014]
Start a new discussion in JMX Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]