-
Bug
-
Resolution: Fixed
-
P2
-
6u18
-
b01
-
generic
-
windows_xp
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2191406 | 7 | Andy Herrick | P2 | Resolved | Fixed | b104 |
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.
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.
- backported by
-
JDK-2191406 javaws -offline does not properly launch application that is in the cache
- Resolved
- relates to
-
JDK-6744967 Cannot launch cached Java Web Start applications while system is offline
- Closed