7u45 Java Applet:JVM Shared,不允许设置安全管理器

时间:2013-12-23 15:00:31

标签: java security

升级到java 7 update 45后,我们在运行网站时收到以下错误。

java.lang.SecurityException: JVM Shared, not allowed to set security manager
    at sun.plugin2.applet.SecurityManagerHelper.checkPermissionHelper(Unknown Source)
    at sun.plugin2.applet.AWTAppletSecurityManager.checkPermission(Unknown Source)
    at java.lang.System.setSecurityManager0(Unknown Source)
    at java.lang.System.setSecurityManager(Unknown Source)
    at xxxx.init(xxxx.java:235)
    at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Ignored exception: java.lang.SecurityException: JVM Shared, not allowed to set security manager
basic: Dialog type is not candidate for embedding
basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@3126d4
security: Reset deny session certificate store
basic: PluginMain.unregisterApplet: 1 from mananger sun.plugin2.applet.Applet2Manager@7ad4d5

任何想法请解决此问题。

0 个答案:

没有答案