PDA

View Full Version : unable to start with java web start



Bruce Conrad
2004-08-08, 12:57
When I try to run with Java Web Start, I get the following errors:
I have java 1.5 installed.
================================================
An error occurred while launching/running the application.

Title: Softsqueeze 1.0
Vendor: Richard Titmuss, et.al.
Category: Download Error

Unable to load resource: http://localhost:9000/html/softsqueeze/SoftSqueeze.jar

================================================== ==
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for Softsqueeze -->

<!-- Edit the 'codebase' attribute to point to the location of your jnlp -->
<!-- on your webserver. Note you must make sure that the webserver -->
<!-- returns the MIME type 'application/x-java-jnlp-file'. -->

<jnlp
spec="1.0+"
codebase="http://localhost:9000/html/softsqueeze/"
href="softsqueeze.jnlp">
<information>
<title>Softsqueeze 1.0</title>
<vendor>Richard Titmuss, et.al.</vendor>
<homepage href="http://softsqueeze.sourceforge.net"/>
<description>Softsqueeze Slim Devices Squeezebox Emulator</description>
<description kind="short">Softsqueeze Slim Devices Squeezebox
Emulator</description>
<icon kind="splash" href="icons/splash.gif" />
<icon width="64" height="64" href="icons/icon64.gif" />
</information>
<offline-allowed/>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4+"/>
<jar href="SoftSqueeze.jar"/>
<jar href="lib/log4j-1.2.8.jar"/>
<jar href="lib/tritonus_share.jar"/>
<jar href="lib/tritonus_mp3.jar"/>
<jar href="lib/jl0.4p1.jar"/>
<jar href="lib/jflac-1.0.jar"/>
<jar href="lib/jsch-20040429.jar"/>

<!-- Set the following properties to configure the server and firmware -->

<property name="slimserver" value="localhost"/>
<property name="serverversion" value="5.3"/>
</resources>
<application-desc main-class="com.slim.softsqueeze.Application"/>
</jnlp>
================================================== ======
JNLPException[category: Download Error : Exception: java.io.IOException:
Stream closed. : LaunchDesc: null ]
at
com.sun.javaws.cache.DownloadProtocol$RetrieveActi on.actionDownload(Unknown
Source)
at com.sun.javaws.cache.DownloadProtocol.doDownload(U nknown Source)
at com.sun.javaws.cache.DownloadProtocol.getResource( Unknown Source)
at com.sun.javaws.LaunchDownload.downloadJarFiles(Unk nown Source)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(U nknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unkn own Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
================================================== ==========
ava.io.IOException: Stream closed.
at java.net.PlainSocketImpl.available(Unknown Source)
at java.net.SocketInputStream.available(Unknown Source)
at java.io.BufferedInputStream.available(Unknown Source)
at sun.net.www.MeteredStream.available(Unknown Source)
at sun.net.www.http.KeepAliveStream.close(Unknown Source)
at java.io.FilterInputStream.close(Unknown Source)
at
sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.close(Unknown
Source)
at java.io.BufferedInputStream.close(Unknown Source)
at java.io.BufferedInputStream.close(Unknown Source)
at com.sun.javaws.net.BasicDownloadLayer.download(Unk nown Source)
at
com.sun.javaws.cache.DownloadProtocol$RetrieveActi on.actionDownload(Unknown
Source)
at com.sun.javaws.cache.DownloadProtocol.doDownload(U nknown Source)
at com.sun.javaws.cache.DownloadProtocol.getResource( Unknown Source)
at com.sun.javaws.LaunchDownload.downloadJarFiles(Unk nown Source)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(U nknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unkn own Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)