Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Java Web Start - JNLP Problem

Posted on 2004-09-08
3
Medium Priority
?
820 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

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

Accepted Solution

by:
lhankins earned 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

604 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