This content has been marked as final. Show 1 reply
I am facing the same problem. The security exception occurs when I try to get a connection from a local connection pool. At that moment, he tries to get that connection using the remote Subject that was used to access the remote MBeans. Of course, that Subject is not valid in the local domain and this fails. Did you find a solution to this problem ?
I am thinking about changing the current subject after the JMX calls but I wonder why it was changed in the first place...