升级到Java 1.6后,JNLP崩溃了

时间:2013-08-20 03:31:40

标签: java java-web-start jnlp

我最近将Java从1.4升级到1.6版本,将weblogic 8.1升级到weblogic 10.3.6。我正在尝试使用Java Webstart 1.6和weblogic 10.3.6 env部署我的JNLP,但它会加载Java控制台窗口并关闭。有人可以解释一下这可能是什么原因吗?

我的Jnlp文件如下

<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="http://nykpsr0165:18503/EAS/workflow/editor/"> <!-- URL to the site containing the jnlp application. It should match the value used on  export. Href, the name of this file -->
 <!-- changed to test security issue -->
 <offline-allowed/> 

  <!--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.core.launcher.WebStartMain">
    <argument>-nosplash</argument>
  </application-desc>

  <resources>
    <!-- Reference to the startup.jar. This does not change -->
    <jar href="startup.jar"/>

    <!-- Reference to all the plugins and features consituting the application -->
    <!-- Here we are refering to the wrappering feature since it transitively refers to all the other plug-ins  necessary -->  
    <jar href="plugins/org.eclipse.core.runtime_3.1.0.jar"/>
                <jar href="plugins/org.eclipse.gef_3.1.0.jar"/>
                <jar href="plugins/org.eclipse.jface.text_3.1.0.jar"/>
                <jar href="plugins/org.eclipse.ui_3.1.0.jar"/>
                <jar href="plugins/org.eclipse.ui.views_3.1.0.jar"/>
                <jar href="plugins/org.eclipse.core.commands_3.1.0.jar"/>
                <jar href="plugins/org.eclipse.core.expressions_3.1.0.jar"/>
                <jar href="plugins/org.eclipse.draw2d_3.1.0.jar"/>
                <jar href="plugins/org.eclipse.help_3.1.0.jar"/>
                <jar href="plugins/org.eclipse.jface_3.1.0.jar"/>
                <jar href="plugins/org.eclipse.osgi_3.1.0.jar"/>
                <jar href="plugins/org.eclipse.swt_3.1.0.jar"/>
                <jar href="plugins/org.eclipse.text_3.1.0.jar"/>
                <jar href="plugins/org.eclipse.ui.workbench_3.1.0.jar"/>
                <jar href="plugins/org.eclipse.ui_3.1.0.jar"/>
                <jar href="plugins/org.eclipse.swt.win32.win32.x86_3.1.0.jar"/>


    <!-- Information usually specified in the config.ini -->
    <property 
        name="osgi.instance.area" 
        value="@user.home/Application Data"/>
    <property 
        name="osgi.configuration.area" 
        value="@user.home/Application Data"/>
    <property 
        name="osgi.clean" 
        value="true"/>        

    <!-- The id of the product to run, like found in the overview page of the product editor -->


    <property name="eam.workflow.settings.url" value="http://njwlxfprd110.:12304/EAS/workflow/settings/settings.xml"/>
  </resources>

  <!-- Indicate on a platform basis which JRE to use --> 
  <resources os="Mac">
    <j2se version="1.6" java-vm-args="-XstartOnFirstThread"/>
  </resources>
  <resources os="Windows">
    <j2se version="1.6" initial-heap-size="64m" max-heap-size="256m"/>
  </resources>
  <resources os="Linux">
    <j2se version="1.6" initial-heap-size="64m" max-heap-size="256m"/>
  </resources>

</jnlp>

0 个答案:

没有答案