Silicon_E wrote:Downloaded fine, but cannot launch with exception:Granger wrote:Are you able to download http://game.havenandhearth.com/java/hafen-res.jnlp with the browser?And wrapped exception:com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://game.havenandhearth.com/java/builtin-res.jar
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.deploy.net.HttpUtils.followRedirects(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.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
-
Granger
- Posts: 9255
- Joined: Mon Mar 22, 2010 2:00 pm
Re: Can't find solution to launch exception
Silicon_E wrote:Downloaded fine, but cannot launch with exception:Granger wrote:Are you able to download http://game.havenandhearth.com/java/hafen-res.jnlp with the browser?And wrapped exception:
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
-
Silicon_E
- Posts: 19
- Joined: Sat Feb 06, 2016 3:54 am
Re: Can't find solution to launch exception
No, I use a cable modem.Granger wrote:Do you have DSL?
the semicolon;
a gift when sorting your code,
a bane when misplaced.
a gift when sorting your code,
a bane when misplaced.
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Can't find solution to launch exception
If this was a response to my post, then my question was if he could download the Jar rather than the JNLP, as the Jar file is the larger one.Granger wrote:Silicon_E wrote:Downloaded fine, but cannot launch with exception:Granger wrote:Are you able to download http://game.havenandhearth.com/java/hafen-res.jnlp with the browser?And wrapped exception:
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Granger
- Posts: 9255
- Joined: Mon Mar 22, 2010 2:00 pm
Re: Can't find solution to launch exception
Meh, blind me. Sorry.
Cable modems could also encapsulate IP in another protocol layer (depending on setup), this can lead in certain packets growing over the limit and getting discarded by braindead routers. You could try to grab http://www.heise.de/download/product/dr.-tcp-10693 and lower the MTU on your uplink (to like 1400 for a test), reboot before testing.
Cable modems could also encapsulate IP in another protocol layer (depending on setup), this can lead in certain packets growing over the limit and getting discarded by braindead routers. You could try to grab http://www.heise.de/download/product/dr.-tcp-10693 and lower the MTU on your uplink (to like 1400 for a test), reboot before testing.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
-
Silicon_E
- Posts: 19
- Joined: Sat Feb 06, 2016 3:54 am
Re: Can't find solution to launch exception
The .jar downloaded fine, but won't do anything when opened, if that's significant.loftar wrote:If this was a response to my post, then my question was if he could download the Jar rather than the JNLP, as the Jar file is the larger one.
Probably isn't a problem with the modem, as autohaven.jnlp works fine on another computer connected to the same network.Granger wrote:Cable modems could also encapsulate IP in another protocol layer (depending on setup), this can lead in certain packets growing over the limit and getting discarded by braindead routers. You could try to grab http://www.heise.de/download/product/dr.-tcp-10693 and lower the MTU on your uplink (to like 1400 for a test), reboot before testing.
the semicolon;
a gift when sorting your code,
a bane when misplaced.
a gift when sorting your code,
a bane when misplaced.
-
lachlaan
- Posts: 488
- Joined: Sat Apr 06, 2013 9:32 pm
Re: Can't find solution to launch exception
hafen-res.jar doesn't /do/ anything on its own, you put it in the appropriate location and the game's launcher won't attempt to download it since it's there. Having said that, I have absolutely no clue where the default client puts that stuff 
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Can't find solution to launch exception
No, it shouldn't do anything by itself, but it's weird that the browser can download it while Java cannot. I don't immediately have any idea why that might be. If anything, did you ever check Java's specific proxy-server settings, rather than Windows' generic settings? Java has its own settings, and I've seen from time to time that they've been activated for some reason.Silicon_E wrote:The .jar downloaded fine, but won't do anything when opened, if that's significant.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
borka
- Posts: 9965
- Joined: Thu Feb 03, 2011 7:47 pm
- Location: World of Sprucecap
Re: Can't find solution to launch exception
Java Control Panel (javacpl.exe) -> General Tab -> Network Settings -> check Direct Connection (at bottom)
try again
make sure you have made exceptions at Security tab for both and
try again
make sure you have made exceptions at Security tab for both
Code: Select all
http://game.havenandhearth.comCode: Select all
https://game.havenandhearth.comAvatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head