Unable to launch the application (No, it's not the cache)

Forum for bugs and technical problems.

Unable to launch the application (No, it's not the cache)

Postby DonMateo » Mon Nov 12, 2012 4:26 pm

I can't get the launcher to start. It thinks for a few seconds and then returns "Unable to launch the application."

I've cleared my Java cache, reinstalled the latest version of Java several times, rebooted, disabled my firewall, and have no kind of blocking on my router. Any ideas? is there something wrong with the link it's trying to find?

com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://plymouth.seatribe.se/java/salem.jnlp
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine._downloadCacheEntry(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.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.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Wrapped exception:

java.net.SocketException: Invalid argument: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(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._downloadCacheEntry(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.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.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
DonMateo
 
Posts: 3
Joined: Mon Nov 12, 2012 4:18 pm

Re: Unable to launch the application (No, it's not the cache

Postby DonMateo » Mon Nov 12, 2012 6:03 pm

I downgraded to Java 6 and it seems to work with no other changes to my system. Something in Salem isn't playing nice with Java 7.

Please look into this, since running outdated Java is not a sustainable solution.
DonMateo
 
Posts: 3
Joined: Mon Nov 12, 2012 4:18 pm

Re: Unable to launch the application (No, it's not the cache

Postby MagicManICT » Mon Nov 12, 2012 6:07 pm

What security software are you running? Some of it doesn't play nice and disable when you turn it off. The only option may be to uninstall it and go with something else. (And at least one has Seatribe flagged as malware and is blocking it.)

Have you checked to make sure the application isn't blocked (Java including javaws.exe, javaw.exe, and java.exe, Salem)?

Have you checked your router to make sure the ports are open? TCP 1871, UDP 1870 need to be available through your router. This holds true if your on a home network or trying to connect through a third party site (such as school, work, or the local coffee shop).

Make sure that the salem.jnlp is running with Java Web Start. If you have a shortcut on your desktop, right click it and select "Open with..." and select Java Web Start.

As far as versions of Java, Java 7 has several core issues that Oracle is still trying to work out. Otherwise, Java 6 was supposed to lose support and updates over six months ago. You can have both installed on your system, but it is a more technical process. If you have a program that needs Java 7, there are guides out there for doing it, otherwise I suggest sticking with Java 6 for at least the next 3-6 months on principle.
I am a moderator. I moderate stuff. When I do, I write in this color.
JohnCarver wrote:anybody who argues to remove a mechanic that allows "yet another" way to summon somebody is really a carebear in disguise trying to save his own hide.
MagicManICT
 
Posts: 5088
Joined: Wed Aug 01, 2012 1:46 am

Re: Unable to launch the application (No, it's not the cache

Postby DonMateo » Mon Nov 12, 2012 6:49 pm

I wasn't running anything other than Windows Firewall, which I had disabled for testing. All ports were open (no proxies), and *.jnlps were running with Java Web Start. The launcher never even got to the point where it created a shortcut or anything.

It sounds like a Java issue (under Win 7-64, at least). I didn't change anything to do with networking or security and the downgrade did the trick.

Thanks for the suggestions.
DonMateo
 
Posts: 3
Joined: Mon Nov 12, 2012 4:18 pm

Re: Unable to launch the application (No, it's not the cache

Postby Incus » Mon Nov 12, 2012 7:42 pm

If you ware using Java 7, Revert to Java 6. Worked for me.
Incus
 
Posts: 5
Joined: Thu Nov 08, 2012 1:29 pm

Re: Unable to launch the application (No, it's not the cache

Postby Hattrix » Tue Nov 13, 2012 2:43 am

I still get "Unable to launch the application" I'm using Java 6 and launching it with the Web Start Launcher.
Hattrix
 
Posts: 2
Joined: Mon Nov 12, 2012 7:02 am

Re: Unable to launch the application (No, it's not the cache

Postby staxjax » Tue Nov 13, 2012 3:55 am

Guys, try this non-jnlp version of Ender's client. The client will be downloaded into whatever folder the JAR is located in, so it would be best to put it in a folder of its own.

https://dl.dropbox.com/u/18779594/salem/updater.jar

Let me know how this goes for you.
Of all the things I've lost, I miss my mind the most - Ozzy Osbourne

Confirmed retards: Nimmeth, Claeyt, MycroSparks
User avatar
staxjax
 
Posts: 2845
Joined: Wed Aug 01, 2012 1:29 am

Re: Unable to launch the application (No, it's not the cache

Postby Hattrix » Thu Nov 15, 2012 1:38 am

Nice! Thank you, it worked.
Hattrix
 
Posts: 2
Joined: Mon Nov 12, 2012 7:02 am


Return to Bugs & Technicalities

Who is online

Users browsing this forum: No registered users and 11 guests