当前位置: 首页 > 知识库问答 >
问题:

32位Windows 7上的Java 7-Java Webstart-无法加载资源

伯建安
2023-03-14

32位Windows 7上的Java 7-Java Webstart-无法加载资源

我不能在32位Windows7系统上启动任何java webstart应用程序。例如。argouml-http://argouml-downloads.tigris.org/jws/argouml-lates-stable.jnlp在Java6中一切都很好,但在Java7中我会遇到这样的错误:

无法加载资源:java.io.ioException:写入服务器或java.net.SocketException:连接重置错误

Java version:
Java Web Start 10.7.2.11
Using JRE version 1.7.0_07-b11 Java HotSpot(TM) Client VM

以下是跟踪日志:

    Log started: pe, 21 syys 2012 21:04:19 +0300
    basic: Java part started
    basic: jnlpx.jvm: C:\Program Files\Java\jre7\bin\javaw.exe
    basic: jnlpx.splashport: 52540
    basic: jnlpx.remove: true
    basic: jnlpx.heapsize: NULL,512m
    network: Loading user-defined proxy configuration ...
    network: Done.
    network: Browser is ChromeHTML
    network: Browser is IE
    network: Loading proxy configuration from Internet Explorer ...
    network: Done.
    network: Loading direct proxy configuration ...
    network: Done.
    network: Proxy Configuration: No proxy
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.
    security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws
    security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws
    security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy
    security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy
    security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    basic: Running JVMParams: [JVMParameters: isSecure: true, args: -Xmx512m]
        -> [JVMParameters: isSecure: true, args: -Xmx512m]
    network: Created version ID: 1.7.0.07
    network: Created version ID: 1.7
    network: Created version ID: 2.2.1
    temp: new XMLParser with source:
    temp: <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for launching ArgoUML with WebStart -->
    <jnlp
      spec="1.0+"
      codebase="http://argouml-downloads.tigris.org/maven2"
      href="http://argouml-downloads.tigris.org/jws/argouml-latest-stable.jnlp">
      <information>
        <title>ArgoUML Latest Stable Release 0.34</title>
        <vendor>Tigris.org (Open Source)</vendor>
        <homepage href="http://argouml.tigris.org/"/>
        <description>ArgoUML application.
                     This is the latest stable release.
        </description>
        <description kind="short">ArgoUML 0.34</description>
        <icon href="http://argouml.tigris.org/images/argologo16x16.gif" width="16" height="16" />
        <icon href="http://argouml.tigris.org/images/argologo32x32.gif" width="32" height="32" />
        <icon href="http://argouml.tigris.org/images/argologo64x64.gif" width="64" height="64" />
        <offline-allowed/>
      </information>
      <security>
        <all-permissions/>
      </security>
      <resources>
        <j2se version="1.6+" max-heap-size="512m"/>

        <jar href="http://argouml-downloads.tigris.org/maven2/antlr/antlr/2.7.7-3/antlr-2.7.7-3.jar"/>
        ....
        <property name="argouml.modules"
          value=";org.argouml.state2.StateDiagramModule;org.argouml.sequence2.SequenceDiagramModule;org.argouml.activity2.ActivityDiagramModule;org.argouml.core.propertypanels.module.XmlPropertyPanelsModule;org.argouml.transformer.TransformerModule;org.argouml.language.cpp.generator.ModuleCpp;org.argouml.language.cpp.notation.NotationModuleCpp;org.argouml.language.cpp.profile.ProfileModule;org.argouml.language.cpp.reveng.CppImport;org.argouml.language.cpp.ui.SettingsTabCpp;org.argouml.language.csharp.generator.GeneratorCSharp;org.argouml.language.java.cognitive.critics.InitJavaCritics;org.argouml.language.java.generator.GeneratorJava;org.argouml.language.java.profile.ProfileJava;org.argouml.language.java.reveng.JavaImport;org.argouml.language.java.reveng.classfile.ClassfileImport;org.argouml.language.java.ui.JavaTools;org.argouml.language.java.ui.SettingsTabJava;org.argouml.language.php.generator.ModulePHP4;org.argouml.language.php.generator.ModulePHP5;org.argouml.language.sql.SqlInit;org.argouml.uml.reveng.classfile.ClassfileImport;org.argouml.uml.reveng.idl.IDLFileImport"    />
      </resources>
      <application-desc main-class="org.argouml.application.Main"/>
    </jnlp>

    temp: 

    returning ROOT as follows:

    <jnlp spec="1.0+" codebase="http://argouml-downloads.tigris.org/maven2" href="http://argouml-downloads.tigris.org/jws/argouml-latest-stable.jnlp">
      <information>
        <title>ArgoUML Latest Stable Release 0.34</title>
        <vendor>Tigris.org (Open Source)</vendor>
        <homepage href="http://argouml.tigris.org/"/>
        <description>ArgoUML application.
                     This is the latest stable release.
        </description>
        <description kind="short">ArgoUML 0.34</description>
        <icon href="http://argouml.tigris.org/images/argologo16x16.gif" width="16" height="16"/>
        <icon href="http://argouml.tigris.org/images/argologo32x32.gif" width="32" height="32"/>
        <icon href="http://argouml.tigris.org/images/argologo64x64.gif" width="64" height="64"/>
        <offline-allowed/>
      </information>
      <security>
        <all-permissions/>
      </security>
      <resources>
        <j2se version="1.6+" max-heap-size="512m"/>
        <jar href="http://argouml-downloads.tigris.org/maven2/antlr/antlr/2.7.7-3/antlr-2.7.7-3.jar"/>...
        <property name="argouml.modules" value=";org.argouml.state2.StateDiagramModule;org.argouml.sequence2.SequenceDiagramModule;org.argouml.activity2.ActivityDiagramModule;org.argouml.core.propertypanels.module.XmlPropertyPanelsModule;org.argouml.transformer.TransformerModule;org.argouml.language.cpp.generator.ModuleCpp;org.argouml.language.cpp.notation.NotationModuleCpp;org.argouml.language.cpp.profile.ProfileModule;org.argouml.language.cpp.reveng.CppImport;org.argouml.language.cpp.ui.SettingsTabCpp;org.argouml.language.csharp.generator.GeneratorCSharp;org.argouml.language.java.cognitive.critics.InitJavaCritics;org.argouml.language.java.generator.GeneratorJava;org.argouml.language.java.profile.ProfileJava;org.argouml.language.java.reveng.JavaImport;org.argouml.language.java.reveng.classfile.ClassfileImport;org.argouml.language.java.ui.JavaTools;org.argouml.language.java.ui.SettingsTabJava;org.argouml.language.php.generator.ModulePHP4;org.argouml.language.php.generator.ModulePHP5;org.argouml.language.sql.SqlInit;org.argouml.uml.reveng.classfile.ClassfileImport;org.argouml.uml.reveng.idl.IDLFileImport"/>
      </resources>
      <application-desc main-class="org.argouml.application.Main"/>
    </jnlp>
    temp: returning LaunchDesc from XMLFormat.parse():

    <jnlp spec="1.0+" codebase="http://argouml-downloads.tigris.org/maven2/" href="http://argouml-downloads.tigris.org/jws/argouml-latest-stable.jnlp">
      <information>
        <title>ArgoUML Latest Stable Release 0.34</title>
        <vendor>Tigris.org (Open Source)</vendor>
        <homepage href="http://argouml.tigris.org/"/>
        <description>ArgoUML application.
                     This is the latest stable release.
        </description>
        <description kind="short">ArgoUML 0.34</description>
        <icon href="http://argouml.tigris.org/images/argologo16x16.gif" height="16" width="16" kind="default"/>
        <icon href="http://argouml.tigris.org/images/argologo32x32.gif" height="32" width="32" kind="default"/>
        <icon href="http://argouml.tigris.org/images/argologo64x64.gif" height="64" width="64" kind="default"/>
        <offline-allowed/>
      </information>
      <security>
        <all-permissions/>
      </security>
      <update check="timeout" policy="always"/>
      <resources>
        <java max-heap-size="536870912" version="1.6+"/>
        <jar href="http://argouml-downloads.tigris.org/maven2/antlr/antlr/2.7.7-3/antlr-2.7.7-3.jar" download="eager" main="false"/>
        ...
        <property name="argouml.modules" value=";org.argouml.state2.StateDiagramModule;org.argouml.sequence2.SequenceDiagramModule;org.argouml.activity2.ActivityDiagramModule;org.argouml.core.propertypanels.module.XmlPropertyPanelsModule;org.argouml.transformer.TransformerModule;org.argouml.language.cpp.generator.ModuleCpp;org.argouml.language.cpp.notation.NotationModuleCpp;org.argouml.language.cpp.profile.ProfileModule;org.argouml.language.cpp.reveng.CppImport;org.argouml.language.cpp.ui.SettingsTabCpp;org.argouml.language.csharp.generator.GeneratorCSharp;org.argouml.language.java.cognitive.critics.InitJavaCritics;org.argouml.language.java.generator.GeneratorJava;org.argouml.language.java.profile.ProfileJava;org.argouml.language.java.reveng.JavaImport;org.argouml.language.java.reveng.classfile.ClassfileImport;org.argouml.language.java.ui.JavaTools;org.argouml.language.java.ui.SettingsTabJava;org.argouml.language.php.generator.ModulePHP4;org.argouml.language.php.generator.ModulePHP5;org.argouml.language.sql.SqlInit;org.argouml.uml.reveng.classfile.ClassfileImport;org.argouml.uml.reveng.idl.IDLFileImport"/>
      </resources>
      <application-desc main-class="org.argouml.application.Main"/>
    </jnlp>
    basic: new Launcher: 
    <jnlp spec="1.0+" codebase="http://argouml-downloads.tigris.org/maven2/" href="http://argouml-downloads.tigris.org/jws/argouml-latest-stable.jnlp">
      <information>
        <title>ArgoUML Latest Stable Release 0.34</title>
        <vendor>Tigris.org (Open Source)</vendor>
        <homepage href="http://argouml.tigris.org/"/>
        <description>ArgoUML application.
                     This is the latest stable release.
        </description>
        <description kind="short">ArgoUML 0.34</description>
        <icon href="http://argouml.tigris.org/images/argologo16x16.gif" height="16" width="16" kind="default"/>
        <icon href="http://argouml.tigris.org/images/argologo32x32.gif" height="32" width="32" kind="default"/>
        <icon href="http://argouml.tigris.org/images/argologo64x64.gif" height="64" width="64" kind="default"/>
        <offline-allowed/>
      </information>
      <security>
        <all-permissions/>
      </security>
      <update check="timeout" policy="always"/>
      <resources>
        <java max-heap-size="536870912" version="1.6+"/>
        <jar href="http://argouml-downloads.tigris.org/maven2/antlr/antlr/2.7.7-3/antlr-2.7.7-3.jar" download="eager" main="false"/>
        ....
        <property name="argouml.modules" value=";org.argouml.state2.StateDiagramModule;org.argouml.sequence2.SequenceDiagramModule;org.argouml.activity2.ActivityDiagramModule;org.argouml.core.propertypanels.module.XmlPropertyPanelsModule;org.argouml.transformer.TransformerModule;org.argouml.language.cpp.generator.ModuleCpp;org.argouml.language.cpp.notation.NotationModuleCpp;org.argouml.language.cpp.profile.ProfileModule;org.argouml.language.cpp.reveng.CppImport;org.argouml.language.cpp.ui.SettingsTabCpp;org.argouml.language.csharp.generator.GeneratorCSharp;org.argouml.language.java.cognitive.critics.InitJavaCritics;org.argouml.language.java.generator.GeneratorJava;org.argouml.language.java.profile.ProfileJava;org.argouml.language.java.reveng.JavaImport;org.argouml.language.java.reveng.classfile.ClassfileImport;org.argouml.language.java.ui.JavaTools;org.argouml.language.java.ui.SettingsTabJava;org.argouml.language.php.generator.ModulePHP4;org.argouml.language.php.generator.ModulePHP5;org.argouml.language.sql.SqlInit;org.argouml.uml.reveng.classfile.ClassfileImport;org.argouml.uml.reveng.idl.IDLFileImport"/>
      </resources>
      <application-desc main-class="org.argouml.application.Main"/>
    </jnlp>
    network: prepareToLaunch: offlineOnly=false
    network: Cache entry not found [url: http://argouml-downloads.tigris.org/jws/argouml-latest-stable.jnlp, version: null]
    network: Cache entry not found [url: http://argouml-downloads.tigris.org/jws/argouml-latest-stable.jnlp, version: null]
    network: Cache entry not found [url: http://argouml-downloads.tigris.org/jws/argouml-latest-stable.jnlp, version: null]
    network: Connecting http://argouml-downloads.tigris.org/jws/argouml-latest-stable.jnlp with proxy=DIRECT
    network: Connecting socket://argouml-downloads.tigris.org:80 with proxy=DIRECT
    network: Connecting socket://argouml-downloads.tigris.org:80 with proxy=DIRECT
    java.io.IOException: Error writing to server
        at sun.net.www.protocol.http.HttpURLConnection.writeRequests(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.writeRequests(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
        at java.net.HttpURLConnection.getResponseCode(Unknown Source)
        at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
        at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
        at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
        at com.sun.deploy.net.DownloadEngine._downloadCacheEntry(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
        at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
        at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
        at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
        at com.sun.javaws.Launcher.launch(Unknown Source)
        at com.sun.javaws.Main.launchApp(Unknown Source)
        at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
        at com.sun.javaws.Main.access$000(Unknown Source)
        at com.sun.javaws.Main$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    network: Connecting http://argouml-downloads.tigris.org/jws/argouml-latest-stable.jnlp with proxy=DIRECT
    network: Connecting socket://argouml-downloads.tigris.org:80 with proxy=DIRECT
    network: Connecting socket://argouml-downloads.tigris.org:80 with proxy=DIRECT
    java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(Unknown Source)
        at java.net.SocketInputStream.read(Unknown Source)
        at java.io.BufferedInputStream.fill(Unknown Source)
        at java.io.BufferedInputStream.read1(Unknown Source)
        at java.io.BufferedInputStream.read(Unknown Source)
        at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
        at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
        at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
        at java.net.HttpURLConnection.getResponseCode(Unknown Source)
        at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
        at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
        at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
        at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
        at com.sun.deploy.net.DownloadEngine._downloadCacheEntry(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
        at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
        at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
        at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
        at com.sun.javaws.Launcher.launch(Unknown Source)
        at com.sun.javaws.Main.launchApp(Unknown Source)
        at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
        at com.sun.javaws.Main.access$000(Unknown Source)
        at com.sun.javaws.Main$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    preloader: Construct preloader delegate
    network: Connecting socket://127.0.0.1:52540 with proxy=DIRECT
    #### Java Web Start Error:
    #### Unable to load resource: http://argouml-downloads.tigris.org/jws/argouml-latest-stable.jnlp

共有1个答案

夏侯兴学
2023-03-14

问题似乎出现在Windows环境下的Java7 IPv6中。解决方案添加:

(我还手动将java.exe和javaws.exe添加到Windows防火墙和F-Secure中的异常列表中。)

感谢理查德·康威:http://grokkingis.blogspot.fi/2012/08/work-arounds-windows-firewall-blocking.html?showcomment=1349808752760#C2225417445483685032

 类似资料:
  • 嗨,我得到这个错误:

  • 问题内容: 加载win32com时出错:java.lang.UnsatisfiedLinkError:C:\ Program Files \ Java \ jdk1.7.0_51 \ jre \ bin \ win32com.dll:无法在AMD 64位平台上加载IA 32位.dll 当我使用一个项目向手机发送短信时,出现上述错误。我有一台装有AMD处理器的机器。请通过描述性回答帮助我。非常感谢

  • 当我使用一个项目发送短信到电话,我得到以上错误。我有一台AMD处理器的机器。请用描述性的回答来帮助我。多谢!

  • 问题内容: 系统:Win 7 64位 JMF通过启动JMstudio在我的系统上工作,它找到我的驱动程序并启动我的麦克风和网络摄像头。但是,当我运行Netbeans代码时,它不起作用。 我已在此网站上按照以下步骤在Win 7 64位上安装JMF,但未成功:https : //forums.oracle.com/thread/2134405。我搜索了与此问题相关的所有其他答案,但均未成功。如我在此处

  • 我在tcnative-1.dll不能加载AMD 64位.dll在IA 32位平台上,除了这是相反的,当运行tomcat-7.0.47下面是我的详细信息和日志。我已经尝试跟随上面发布的所有内容,但没有运气...请帮助我! 此外,我还下载了64位JRE,并仔细检查了我的java版本 C:\users\franklu>java-version java version“1.7.0_55”java(TM)

  • 请任何人尽快帮我解决这个Cplex错误...... java.lang.UnsatisfiedLinkError:C:\cplex_studio124\CPLEX\bin\x86_win32\cplex124.dll:无法在AMD 64位平台上加载IA 32位.dll.java.library.path必须指向包含CPLEX共享库的目录请尝试用java-djava.library.path=...