JMS client code needs to be run as an applet, throws java.security.AccessControlException. (Doc ID 1027161.1)

Last updated on OCTOBER 25, 2016

Applies to:

Sun e*Gate - Version 4.1.2 and later
Information in this document applies to any platform.
Sun SeeBeyond e*Gate - Version: 4.5.1 and later
***Checked for relevance on 12-Feb-2013***
Checked for relevance on 27-May-2011.
***Checked for relevance on 18-July-2014***

Symptoms

Error:

C:\eGate\Server\registry\repository\JMSAlertApplet\runtime\Client\applet>appletviewer AlertApplet.html
Created TopicConnection
In init: java.security.AccessControlException: access denied (java.util.PropertyPermission com.seebeyond.jms.cache.Buffe
rSize read)
In init: java.security.AccessControlException: access denied (java.util.PropertyPermission com.seebeyond.jms.cache.Buffe
rSize read)
java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
at java.security.AccessController.checkPermission(AccessController.java:399)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.checkExit(SecurityManager.java:765)
at java.lang.Runtime.exit(Runtime.java:91)
at java.lang.System.exit(System.java:701)
at AlertApplet.init(AlertApplet.java:29)
at sun.applet.AppletPanel.run(AppletPanel.java:

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms