I'm having problems (security exceptions) using JMS from within an applet.
I wrote a simple applet that subscribes to a topic.
The broker host and web server are running on the same
box but I keep getting a security exception when the
applet attempts to subscribe to a topic.
Has anybody done this before?
here is what I get:
Swing: checked access to system event queue.
netscape.security.AppletSecurityException: security.checkpropsaccess.key
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(Compiled Code)
at java.lang.SecurityException.<init>(Compiled Code)
at netscape.security.AppletSecurityException.<init>(Compiled Code)
at netscape.security.AppletSecurityException.<init>(Compiled Code)
at netscape.security.AppletSecurity.checkPropertyAccess(Compiled Code)
at java.lang.SecurityManager.checkPropertyAccess(Compiled Code)
at java.lang.System.getProperty(Compiled Code)
at com.sun.messaging.AdministeredObject.getCurrentConfiguration(Compiled Code)
at com.sun.messaging.BasicTopicConnectionFactory.createTopicConnection(Compiled Code)
* at com.sun.messaging.BasicTopicConnectionFactory.createTopicConnection(Compiled Code)
at nfs.voice.support.LogMonitor.initSysLogSubscriber(Compiled Code)
at nfs.voice.support.LogMonitor.init(Compiled Code)
at netscape.applet.DerivedAppletFrame$InitAppletEvent.dispatch(Compiled Code)
at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled Code)
netscape.security.AppletSecurityException: security.checkexit: 1
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(Compiled Code)
at java.lang.SecurityException.<init>(Compiled Code)
at netscape.security.AppletSecurityException.<init>(Compiled Code)
at netscape.security.AppletSecurityException.<init>(Compiled Code)
at netscape.security.AppletSecurity.checkExit(Compiled Code)
at java.lang.SecurityManager.checkExit(Compiled Code)
at java.lang.Runtime.exit(Compiled Code)
at java.lang.System.exit(Compiled Code)
at nfs.voice.support.LogMonitor.initSysLogSubscriber(Compiled Code)
at nfs.voice.support.LogMonitor.init(Compiled Code)
* at netscape.applet.DerivedAppletFrame$InitAppletEvent.dispatch(Compiled Code)
at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled Code)

