Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6190796

Import feature has problems in 1.5.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 5.0
    • deploy
    • None
    • b14
    • generic
    • generic

      When importing an application from CD (or any other file specification) there is both a codebase, and a codebase override, and they are differant.
      The application should be downloaded from the override location.
      there are two problems here.

      1.) when any error occurs accessing or downloading the jnlp file or any resource from the codebase override location, the error message will refer to the codebase, instead of the codebase override where the error actually was.
      example, I have hellow application in /tmp/hello directory, and the hello.jar there is corrupt. When I execute:
      "javaws -codebase file:/tmp/hello -import file:/tmp/hello/hello.jnlp "
      I get an error message saying:
      Corrupted JAR file at http://web-east.east/www.tests/javaws/generic/hello/hello.jar
      is should say:
      Corrupted JAR file at file:/tmp/hello/hello.jar

      2.) You can't use import without codebase as designed.
      if I type: javaws -import file:/tmp/hello/hello.jnlp
      all resources will be downloaded from http://web-east.east/www.tests/javaws/generic/hello/
      instead of file:/tmp/hello/
      ###@###.### 11/4/04 16:50 GMT

            herrick Andy Herrick (Inactive)
            herrick Andy Herrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: