This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JNLP and Web Start and the fly likes Unable to load resource: http://LH:8080/... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Unable to load resource: http://LH:8080/..." Watch "Unable to load resource: http://LH:8080/..." New topic
Author

Unable to load resource: http://LH:8080/...

Dhana Sen
Ranch Hand

Joined: Mar 05, 2006
Posts: 33
Hi all,

am unable find the file..
am using J2se 1.4 and Jboss 4.0
i have created all my class file and make it as JMSconsumer.jar
then i create JMSClient.war ==>MANIFEST.MF web.xml , all .Jar files and JmsClient.JNLP
while am creating .war(JMSClient.war) file I have mention my Main method class in side Manifest.mf file as Main-class: MYMainMethodClass (There is no Package for my Class)

An error occurred while launching/running the application.

Title: My JMS Consumer
Vendor: Me
Category: Download Error

Unable to load resource: http://17.5.16.50:8080/JMSClient/JmsClient.jnlp

<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="http://17.5.16.50:8080/JMSClient" href="JmsClient.jnlp">
<information>
<title>My JMS Consumer</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="JMSconsumer.jar" main="true" download="eager"/>
</resources>
<application-desc main-class="MYMainMethodClass"/>
</jnlp>

NLPException[category: Download Error : Exception: java.io.FileNotFoundException: C:\Sun\Java\Deployment\javaws\cache\http\D17.5.16.50\P8080\DMJMSClient\XMJmsClient.jnlp1146730682265 (Access is denied) : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(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)

java.io.FileNotFoundException: C:\Sun\Java\Deployment\javaws\cache\http\D17.5.16.50\P8080\DMJMSClient\XMJmsClient.jnlp1146730682265 (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at com.sun.javaws.net.BasicDownloadLayer.download(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(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)


I dono whether i have missed am thing else..
Pls help me.....


By
dhana
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Unable to load resource: http://LH:8080/...
 
Similar Threads
JAWS behind authenticated proxies?
JWS Download Error
javax.jnlp
jnlp launch file error
JNLPException ConnectException