Thread Tools Display Modes
07-21-09, 08:07 PM   #1
CobraA1
A Cliff Giant
 
CobraA1's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 73
Exclamation Splash: recv failed

I keep getting this error:

Splash: recv failed

Further investigation reveals the following from the web start launcher (when trying to launch it manually):

Exception:

Code:
com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://minion.mmoui.com/minion.jnlp
	at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
	at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
	at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
	at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
	at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
	at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
	at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
	at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
	at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
	at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
	at com.sun.javaws.Launcher.launch(Unknown Source)
	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:

Code:
java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(Unknown Source)
	at java.io.BufferedInputStream.fill(Unknown Source)
	at java.io.BufferedInputStream.read1(Unknown Source)
	at java.io.BufferedInputStream.read(Unknown Source)
	at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
	at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
	at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
	at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
	at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
	at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
	at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
	at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
	at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
	at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
	at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
	at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
	at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
	at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
	at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
	at com.sun.javaws.Launcher.launch(Unknown Source)
	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)
This is after completely uninstalling Java and reinstalling it, and after a reboot afterwards.

In addition, trying to download and launch the installer jar directly:

Code:
D:\Downloads>"c:\Program Files (x86)\Java\jdk1.6.0_14\bin\java.exe" -jar minioninstaller.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group
        at com.mmoui.minion.installer.Main.main(Main.java:44)
Caused by: java.lang.ClassNotFoundException: org.jdesktop.layout.GroupLayout$Group
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 1 more
Any help would be great.
  Reply With Quote
07-22-09, 07:42 AM   #2
CobraA1
A Cliff Giant
 
CobraA1's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 73
Humm, this happens with other web start programs - I'm suspecting it's my firewall or a bad CLASSPATH . . .
  Reply With Quote
07-22-09, 12:26 PM   #3
ScytheBlade1
aka Sbo
 
ScytheBlade1's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 66
java.net.SocketException: Connection reset
Definitely a firewall of sorts.
__________________
<Thunder_Child> ah, nothing makes me think of WoW more than seeing 15 different addons telling me i dont know how to play
<End> Well, I'm not an AddOn, but you don't know how to play
--
<Iriel> does your 'therapy' involve pitchforks and boiling oil?
  Reply With Quote
07-22-09, 11:50 PM   #4
CobraA1
A Cliff Giant
 
CobraA1's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 73
Tried everything I could think of - disabled software firewall, routed ports, even set up DMZ and temporarily turned off router's built in firewall temporarily. No avail.

Could I ask how the server is attempting to send the information to the client - in particular the port number(s) you try to use?

Further troubleshooting - Process Monitor says connections are successfully established for javaws.exe, but Wireshark says no packets are transmitted on the opened ports. I'm suspecting software or Windows firewall.

Searching for the error online - connection resets are usually established connections, but somewhere one side or the other drops the connection early for some reason.

Tomorrow I will try to investigate further.
  Reply With Quote
07-23-09, 08:15 AM   #5
CobraA1
A Cliff Giant
 
CobraA1's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 73
Lightbulb

What's disturbing is that a direct JAR attempt to run gave the "java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group" error. That's a missing class, not a bad connection.

According to the Java documentation, it's caused by a library missing from your jar file. Apparently it's not always included in the JRE.

What finally worked was this:

"c:\Program Files (x86)\Java\jdk1.6.0_14\bin\javaws.exe" "-Xnosplash" minion.jnlp

For some reason, my webstart is having troubles downloading the splash screen from any web start application. So I'm still investigating that.

I had to include the full path so that it started the JDK version of Java and not the JRE version, because apparently the JRE wasn't including the Swing Layout Extensions library (and I was hoping that if it crashed again, the JDK would include more symbol info).

EDIT: And the minion works now! Sorry I had to find such a crazy workaround, but once installed, it works .

Maybe have the option of installing without webstart?

In any case, even though it works now, I still have to look a what is going wrong with my web start . Because the installer isn't the only web start app that isn't working. I tried others, and it appears it happens for all web start applications. Something is wrong with my web start.

Hopefully final EDIT: It appears both Firefox and the command line may have been trying to use an old web start launcher. Forcing my browser to use the JRE launcher works, and doing something similar worked for the command line.

Last edited by CobraA1 : 07-23-09 at 08:34 AM.
  Reply With Quote
07-23-09, 08:51 PM   #6
ScytheBlade1
aka Sbo
 
ScytheBlade1's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 66
Glad to hear you got it working.

Just to clarify, in case someone else finds this thread, the "it's caused by a library missing from your jar file" bit is not an error on Minion's end. The jnlp files can specify a Main-Class to use, which javaws then takes and executes. From the jnlp:

<application-desc main-class="com.mmoui.minion.installer.Main">
.. which tells java which class to execute.
__________________
<Thunder_Child> ah, nothing makes me think of WoW more than seeing 15 different addons telling me i dont know how to play
<End> Well, I'm not an AddOn, but you don't know how to play
--
<Iriel> does your 'therapy' involve pitchforks and boiling oil?
  Reply With Quote

WoWInterface » Site Forums » Minion » Archive » Splash: recv failed

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off