Solved

Java Web Start - JNLP Problem

Posted on 2004-09-08
3
807 Views
Last Modified: 2010-05-18
I'm trying to load an application via Java Web Start & Apache 2.0.49.  When I follow the link to my JNLP file, I get an "Unable to load resource" message.  The application is being launched within a private subnet wich restricted access to the internet through a proxy server.  The web server resides within the private subnet so I don't believe that a firewall is the issue.  

The jnlp file and errors generated are below.

<?xml version="1.0" encoding="utf-8"?>

<!-- FMS JNLP File  -->

<jnlp

  spec="1.0+"

  codebase="http://fmssql/WebApp/FMS"

  href="FMS.jnlp">

  <information>

    <title>PROGRAM TITLE</title>

    <vendor>My Name</vendor>

    <homepage href="http://fmssql"/>

  </information>

  <security>

    <all-permissions/>

  </security>

  <resources>

    <j2se version="1.2+"/>

    <jar href="FMSJWS.jar"/>

  </resources>

  <application-desc main-class="MainMenu">

    <argument>arg1</argument>

    <argument>arg2</argument>

  </application-desc>

</jnlp>



JNLPException[category: Download Error : Exception: java.io.IOException: HTTP response 404 : LaunchDesc: null ]

      at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)

      at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(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.IOException: HTTP response 404

      at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)

      at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(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)


Thanks,
David
0
Comment
Question by:lomidien
  • 2
3 Comments
 

Author Comment

by:lomidien
ID: 12009652
I'm really stuck here.  Any ideas?
0
 
LVL 7

Accepted Solution

by:
lhankins earned 500 total points
ID: 12010587
It looks like the underlying error is a 404 (page not found).   Check the following attribute :

  codebase="http://fmssql/WebApp/FMS"

This should be the path up to your webapp's context.   For example, if I have a webapp named mywebapp on a server named myserver, this should be :

  codebase="http://myserver/mywebapp"

0
 

Author Comment

by:lomidien
ID: 12011754
Fixed, turned out being a problem with the proxy configuration.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
noX challenge 17 77
strDist challenge 35 84
Starting to learn JAVA, 7 48
GUI builder for Eclipse? 8 14
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
The viewer will learn how to implement Singleton Design Pattern in Java.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now