升级到java 7u72后Web start应用程序未启动

升级到java 7u72后Web start应用程序未启动,java,java-web-start,Java,Java Web Start,我正在开发一个rcp应用程序,它作为web start应用程序分发。它在Java7U65上工作,但升级到7u72后,它就不再工作了。应用程序使用受信任的证书和权限进行签名:所有权限和代码库:*属性将添加到清单文件。jnlp模板文件在启动器jar文件上签名。在日志文件中,打印以下错误: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "*" "read,write")

我正在开发一个rcp应用程序,它作为web start应用程序分发。它在Java7U65上工作,但升级到7u72后,它就不再工作了。应用程序使用受信任的证书和权限进行签名:所有权限和代码库:*属性将添加到清单文件。jnlp模板文件在启动器jar文件上签名。在日志文件中,打印以下错误:

java.security.AccessControlException: access denied ("java.util.PropertyPermission" "*" "read,write")
            at java.security.AccessControlContext.checkPermission(Unknown Source)
            at java.security.AccessController.checkPermission(Unknown Source)
            at java.lang.SecurityManager.checkPermission(Unknown Source)
            at java.lang.SecurityManager.checkPropertiesAccess(Unknown Source)
            at java.lang.System.getProperties(Unknown Source)
            at org.eclipse.equinox.launcher.Main.takeDownSplash(Main.java:1942)
            at org.eclipse.equinox.launcher.Main$SplashHandler.run(Main.java:109)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:183)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
            at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
            at org.eclipse.equinox.launcher.WebStartMain.basicRun(WebStartMain.java:79)
            at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
            at org.eclipse.equinox.launcher.WebStartMain.main(WebStartMain.java:57)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at com.sun.javaws.Launcher.executeApplication(Unknown Source)
            at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
            at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
            at com.sun.javaws.Launcher.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
I和jnlp启动程序文件是:

    <?xml version="1.0" encoding="UTF-8"?>
<jnlp 
    spec="1.0+" 
    codebase="http://demo:8080/app" 
    href=""> <!-- Burasi bos olmali !!! URL to the site containing the jnlp application. It should match the value used on  export. Href, the name of this file -->
  <information>
    <title> Title </title>  
    <vendor>Company</vendor>
    <homepage href="" /> 
    <description>Product name</description> 
    <icon kind="splash" href="splash.bmp"/>
  </information>

  <!--request all permissions from the application. This does not change-->
  <security>
    <all-permissions/> 
  </security>

  <!-- The name of the main class to execute. This does not change-->
 <application-desc main-class="org.eclipse.equinox.launcher.WebStartMain">
    <argument>-showsplash</argument>
  </application-desc>
    <resources>
        <j2se version="1.6+"/>
        <jar href="plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar"/>
        <extension name="wrap feature" href="features/app.feature_jnlp.jnlp" />
        <!-- OSGI setup -->
        <property name="osgi.instance.area" value="@user.home/instance/"/>
        <property name="osgi.configuration.area" value="@user.home/config/"/>
        <property name="osgi.install.area" value="@user.home/"/> 
        <property name="eclipse.product" value="app.id"/>
        <property name="eclipse.application" value="app"/>
        <property name="osgi.splashPath" value="platform:/base/plugins/app"/>
        <property name="osgi.nl" value="tr"/> 
    </resources>

</jnlp>

标题
单位
产品名称
-炫耀
疼痛一周后,谢谢你

<property name="jnlp.eclipse.security" value="osgi"/>

添加此属性对我们有效

jnlp是我们的前缀,因此在您的示例中,您只需要eclipse.security作为属性名

所以下面的例子应该可以做到

<property name="eclipse.security" value="osgi"/>


请参阅以供参考

请在您的实际答案中发布链接的内容-答案应完整且可理解,无需依赖外部链接。嗨,公平点。我确实有代码,但没有标记为代码,所以它是“隐藏的”。现在更新。非常感谢。我花了很多时间来解决这个问题,却找不出原因。