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

javaws -offline does not properly launch application that is in the cache

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      windows_xp

      Backports

        Description

        Webstart client fails to launch the application from the cache. After webstart client downloads the application files to the client, it fails to launch from command line when specifying the -offline flag.

        When trying to run:

        javaws -offline http://localhost:8080/ws/BCREDIT/testws/BrokerTec.jnlp

        We first see a popup stating "the application has requested to go online. do you want to continue" with ok and cancel buttons.

        If you click OK, you then get an "Application Error" stating that "Unable to launch the application". If you click on the Details button you see:

        Exception

        CouldNotLoadArgumentException[ Could not load file/URL specified: http://localhost:8080/ws/BCREDIT/testws/BrokerTec.jnlp]
        at com.sun.javaws.Main.launchApp(Unknown Source)
        at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
        at com.sun.javaws.Main$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

        Wrapped Exception

        java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)

        Console
        #### Could not load file/URL specified: http://localhost:8080/ws/BCREDIT/testws/BrokerTec.jnlpWrapped Exception

        However, if you launch javaws -viewer, you are able to launch the cached application by clicking on the icon for that application.

        Customer has seen this problem both with 6u18 as well as 6u19.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  skoppar Sunita Koppar (Inactive)
                  Reporter:
                  mhmccart Mary Mccarthy
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: