Hi there,
I’m trying to use WebStart over intranet at work. While it works locally, when a collegue tries it, jws reports the following error:
JNLPException[category: Download Error : Exception:
java.net.ConnectException: Connection refused: connect : 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(Thread.java:536)
The error occurs when it tries to download the jnlp file. The funny thing is, the path is correct (when you copy/paste the path from the error message popped up by jws in explorer, it can find it because it starts up jws).
jnlp file:
<?xml version="1.0" encoding="utf-8"?>
<jnlp
spec="1.0+"
codebase="file://nlhrn501/workspace/SRC-EDI_Manager"
href="src-edi_c.jnlp">
<information>
<title>SRC-EDI Manager</title>
<vendor>SRC System Integrators B.V.</vendor>
<homepage href="http://www.src.nl"/>
<description>SRC-EDI Manager Client</description>
<description kind="short">SRC-EDI Manager Client</description>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>
<jar href="src-edi_c.jar"/>
</resources>
<application-desc>
<argument>nlhrn501</argument>
</application-desc>
</jnlp>
Anybody got a hint?
Or do I really have to put it in a webserver?
Erik