Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JNLPException[category: Download Error : Exception: java.io.IOException

843802May 2 2006 — edited Dec 13 2007
Hi all,
if am trying to call my application from my from Remote system.. am getting Error:
My CodeBase:http://localhost:8080 href="mypirate.jnlp"

here am getting Error : if am accessing from Remote with in LAN
java.net.ConnectException: Connection refused: connect
i think that it's because of my Code base: then i changed my server name as my host (like this : http://dhana-2660:8080 href="mypirate.jnlp" here dhana-2660 is server name)

am getting Error:
An error occurred while launching/running the application.
Title: My Pirate!
Vendor: me
Category: Download Error
Unable to load resource: http://dhana-26630:8080/mypirate.jnlp
Launch tab
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="http://dhana-2660:8080" href="mypirate.jnlp">
<information>
<title>My Pirate!</title>
<vendor>me</vendor>
<icon href="icon.png"/>
<icon href="splash.png" kind="splash"/>
</information>
<security>
<all-permission/>
</security>
<resources>
<j2se version="1.4+"/>
<jar href="myclasses.jar" main="true" download="eager"/>
</resources>
<application-desc main-class="Startup"/>
</jnlp>
Exception Tab:
JNLPException[category: Download Error : Exception: java.io.IOException : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getLaunchFile(Unknown Source)
at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
wrapper Exception

java.io.IOException
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.javaws.net.BasicNetworkLayer.doRequest(Unknown Source)
at com.sun.javaws.net.BasicNetworkLayer.doGetRequest(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getLaunchFile(Unknown Source)
at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: http://dhana-2660:8080/mypirate.jnlp
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
... 10 more


Pls. help me...

by
dhana
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 10 2008
Added on May 2 2006
3 comments
2,709 views