Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: 0.9.1
    • Fix Version/s: None
    • Component/s: Packager
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: All

    • Issuezilla Id:
      295

      Description

      The situation:

      • The main-jnlp is created by a servlet in the address:
        localhost/dir1/DownloadServlet
      • The extension-jnlp is created by a servlet in the address:
        localhost/dir1/ExtensionDownload.jnlp
      • All jars (including the ones from the extension) will be downloaded from:
        localhost/dir2 (Not sure if that's important but more informations won't harm)

      The problem:
      The packager creates a temp-directory where it copies the two jnlps and a
      subdirectory 'dir2' where it copies the jar-files. Later it tries to find the
      extension-jnlp in the subdirectory 'dir1', where it can't be:

      java.io.FileNotFoundException:
      C:\DOKUME~1\jschoder\LOKALE~1\Temp\jnlp54162jnlp\dir1\ExtensionDownload.jnlp
      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(BasicNetworkLayer.java:164)
      at
      com.sun.javaws.net.BasicNetworkLayer.doGetRequest(BasicNetworkLayer.java:92)
      at
      com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:77)
      at
      org.jdesktop.jdic.packager.impl.JnlpPackageInfo.addJnlpRefFilePaths(Unknown Source)
      at
      org.jdesktop.jdic.packager.impl.JDICPackagerFileRefVisitor.visitExtensionDesc(Unknown
      Source)
      at com.sun.javaws.jnl.ExtensionDesc.visit(ExtensionDesc.java:80)
      at com.sun.javaws.jnl.ResourcesDesc.visit(ResourcesDesc.java:490)
      at
      org.jdesktop.jdic.packager.impl.JnlpPackageInfo.addJnlpRefFilePaths(Unknown Source)
      at
      org.jdesktop.jdic.packager.impl.JnlpPackageInfo.parseLocalJnlpInfo(Unknown Source)
      at
      org.jdesktop.jdic.packager.impl.JnlpPackageInfo.parseRemoteJnlpInfo(Unknown Source)
      at org.jdesktop.jdic.packager.impl.Jnlp2Package.parseArguments(Unknown
      Source)
      at org.jdesktop.jdic.packager.impl.Jnlp2Package.generatePackage(Unknown
      Source)
      at org.jdesktop.jdic.packager.Jnlp2Msi.main(Unknown Source)

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            paul_huang
            Reporter:
            madsheep
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: