filenotfound exception

I am using tomcat 5.0 and keep getting a filenotfoundexception when I type in the urlhttp://localhost:8080/Validation.jnlp (where Validation.jnlp is the jnlp file. The exception reads: java.io.FileNotFoundException: http://localhost:8080/Validation.jar

I have both the Validation.jnlp and Validation.jar in the directory $CATALINA_HOME/\webapps/ROOT directory. Obviously it finds the jnlp file.

Here is the jnlp file contents:

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

<!-- JNLP File for SwingSet2 Demo Application -->

<jnlp

spec="6.0+"

codebase="http://localhost:8080/"

href="Validation.jnlp">

<information>

<title>Validation</title>

<vendor>CSC</vendor>

<homepage href="docs/help.html"/>

<description>Validation Application</description>

<description kind="short">A test to see if java web start works.</description>

<offline-allowed/>

<shortcut online="false">

<desktop/>

<menu/>

</shortcut>

</information>

<information os="windows">

<title> Validation on Windows</title>

<homepage href="docs/linuxhelp.html"></homepage>

</information>

<security>

<all-permissions/>

</security>

<resources>

<j2se version="1.6+" java-vm-args="-esa -Xnoclassgc"/>

<jar href="Validation.jar"/>

</resources>

<application-desc main-class="ValidationManager"/>

</jnlp>

[1676 byte] By [billmcga] at [2007-11-26 18:13:09]
# 1

My experience with wen-start suggests that

if something is not working, the first thing to

examine is the JNLP file.

The JNLP file you posted has some odd aspects

to it, mostly expressed in the second information

element.

...

</information>

<information os="windows">

<title> Validation on Windows</title>

<homepage href="docs/linuxhelp.html"></homepage>

</information>

By my reading..

- The information element does not have an

'os' attribute

- It seems off that the Windows help is pointing

to a document that ends with linuxhelp.html

which is odd (though I cannot imagine it would

casue the launch to fail)

- I was surprised to see a second information

element, but my reading of the DTD suggests

it specifies 1 or more (information+), so that

should be OK (OTOH - I would recommend

trying the test without the second element).

AndrewThompson64a at 2007-7-9 5:46:10 > top of Java-index,Desktop,Deploying...