Solved

Java Web Start - JNLP Problem

Posted on 2004-09-08
3
815 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 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Eclipse Java import and method not resolved 4 128
Eclipse with various Java releases 7 86
IBM TS2900 (3572) Tape Autoloader Java? 12 106
maximize the sum of fractions 33 75
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
The viewer will learn how to implement Singleton Design Pattern in Java.

734 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