users@glassfish.java.net

Re: GlassFish and Web Start codbase question.

From: <glassfish_at_javadesktop.org>
Date: Fri, 21 Sep 2007 16:18:39 PDT

So even with a absolute URL for the codebase it doesn't work. It keeps complaining about not able to find the file.

This is my first Web Start application and I'm trying to get it to work with GF. It's pretty trivial but what are you supposed to provide for the codebase??

Here is my trivial JNLP.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc.//DTD JNLP 1.5//EN" "http://www.netbeans.org/jnlp/DTD/jnlp.dtd">
<jnlp codebase="http://midtown:8080/ilda">
    <resources>
    <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>
  </resources>
  <resources locale="" os="">
    <jar download="eager" href="Detector.jar" main="false" version=""/>
  </resources>
  <resources locale="" os="">
    <jar download="eager" href="Utility.jar" main="false" version=""/>
  </resources>
  <application-desc main-class="Applications.Detector.IldaFrame"/>
</jnlp>

I've tried several absolute versions for the URL and it still complains about not finding the JAR files.
[Message sent by forum member 'samdoyle' (samdoyle)]

http://forums.java.net/jive/thread.jspa?messageID=236553