• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic