J
Jean-Francois Theoret
I would like to instantiate an OpenJMS server if one doesn't exist on
the local host - I am trapping javax.naming.CommunicationException
when I am trying to get the InitialContext, and I managed to start &
initialize the server:
server = new JmsServer(config);
server.init();
However, I get all sorts of security exception
javax.naming.ServiceUnavailableException: access denied
(java.net.SocketPermission <my IP>:11851 connect,resolve) [Root
exception is java.security.AccessControlException: access denied
(java.net.SocketPermission <my IP>:11851 connect,resolve)]
How can I circumvent this?
the local host - I am trapping javax.naming.CommunicationException
when I am trying to get the InitialContext, and I managed to start &
initialize the server:
server = new JmsServer(config);
server.init();
However, I get all sorts of security exception
javax.naming.ServiceUnavailableException: access denied
(java.net.SocketPermission <my IP>:11851 connect,resolve) [Root
exception is java.security.AccessControlException: access denied
(java.net.SocketPermission <my IP>:11851 connect,resolve)]
How can I circumvent this?