Uploaded image for project: 'JSword'
  1. JSword
  2. JS-62

Webstart based Startup failed today

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows XP SP2; AMD Athlon 2400 PC

      Description

      There appears to be a problem with codebase property in the JNLP that is data 1/7/06. It is pointing to a local file (developer's machine?) instead of a web based URL (http://www.crosswire.org/bibledesktop/stable). Here is th info collected from the "Details" Option of webstart error dialog:

      General:
      An error occurred while launching/running the application.

      Title: Bible Desktop
      Vendor: Crosswire Bible Society
      Category: Download Error

      Unable to load resource: file:/E:/Eclipse/JSword/bibledesktop/target/ant/installed/bibledesktop.jnlp

      Launch file:
      <?xml version="1.0" encoding="utf-8"?>
      <!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc//DTD JNLP Descriptor 1.0//EN" "jnlp.dtd">

      <jnlp spec="1.0+" codebase="file:///E:\Eclipse\JSword\bibledesktop/target/ant/installed" href="bibledesktop.jnlp">

      <information>
      <title>Bible Desktop</title>
      <vendor>Crosswire Bible Society</vendor>
      <homepage href="file:///E:\Eclipse\JSword\bibledesktop/target/ant/installed"/>
      <description>Bible Desktop - Bible Study Software based on the Sword project</description>
      <description kind="short">Bible Desktop is a Bible study package available over the internet</description>
      <description kind="tooltip">Bible Desktop Application</description>
      <icon href="icon32.png"/>
      <icon kind="splash" href="icon64.png"/>
      <offline-allowed/>
      </information>

      <security>
      <!--
      We need disk io to read installed Sword Bibles,
      network access to install new ones, and the ability to read system vars
      I'm not sure there is much point in asking for less that everything
      -->
      <all-permissions/>
      </security>

      <resources>
      <j2se version="1.4+" max-heap-size="512m"/>
      <jar href="bibledesktop-1.0.jar"/>
      <jar href="jsword-1.0.jar"/>
      <jar href="jsword-common-1.0.jar"/>
      <jar href="jdom-1.0.jar"/>
      <jar href="commons-codec-1.3.jar"/>
      <jar href="commons-httpclient-3.0.jar"/>
      <jar href="commons-logging.jar"/>
      <jar href="commons-net-1.4.1.jar"/>
      <jar href="lucene-1.4.3.jar"/>
      <jar href="jlfgr-1_0.jar"/>
      <property name="apple.laf.useScreenMenuBar" value="true"/>
      <property name="com.apple.mrj.application.apple.menu.about.name" value="BibleDesktop"/>
      </resources>

      <application-desc main-class="org.crosswire.bibledesktop.desktop.Desktop"/>

      </jnlp>

      Exception:
      JNLPException[category: Download Error : Exception: java.io.FileNotFoundException: E:\Eclipse\JSword\bibledesktop\target\ant\installed\bibledesktop.jnlp (The system cannot find the path specified) : LaunchDesc: null ]
      at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
      at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
      at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
      at com.sun.javaws.Launcher.downloadResources(Unknown Source)
      at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
      at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
      at com.sun.javaws.Launcher.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      Wrapped Exception:
      java.io.FileNotFoundException: E:\Eclipse\JSword\bibledesktop\target\ant\installed\bibledesktop.jnlp (The system cannot find the path specified)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(Unknown Source)
      at java.io.FileInputStream.<init>(Unknown Source)
      at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
      at com.sun.javaws.net.BasicNetworkLayer.doRequest(Unknown Source)
      at com.sun.javaws.net.BasicNetworkLayer.doHeadRequest(Unknown Source)
      at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
      at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
      at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
      at com.sun.javaws.Launcher.downloadResources(Unknown Source)
      at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
      at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
      at com.sun.javaws.Launcher.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

        Attachments

          Activity

            People

            • Assignee:
              dmsmith DM Smith
              Reporter:
              mooseit Todd Armstrong
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: