WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Archive (https://www.wowinterface.com/forums/forumdisplay.php?f=161)
-   -   Splash: recv failed (https://www.wowinterface.com/forums/showthread.php?t=25610)

CobraA1 07-21-09 08:07 PM

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.

CobraA1 07-22-09 07:42 AM

Humm, this happens with other web start programs - I'm suspecting it's my firewall or a bad CLASSPATH . . .

ScytheBlade1 07-22-09 12:26 PM

Quote:

java.net.SocketException: Connection reset
Definitely a firewall of sorts.

CobraA1 07-22-09 11:50 PM

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.

CobraA1 07-23-09 08:15 AM

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.

ScytheBlade1 07-23-09 08:51 PM

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:

Quote:

<application-desc main-class="com.mmoui.minion.installer.Main">
.. which tells java which class to execute.


All times are GMT -6. The time now is 04:17 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI