Re: 20051214: netCDF Java - Failed to load resource

if you have a local jnlp file, it will fail, since the jnlp has been changed. 
So you have to get the new one.

if you get it from your browser or webstart tool, it will be updated when it changes.

Steve Aulenbach wrote:
Here's the jnlp itself


On Dec 14, 2005, at 5:15 PM, John Caron wrote:

what URL are you hitting ?

Steve Aulenbach wrote:

Hi John,
I'm on a mac and accessing the previously downloaded nj22UI.jnlp file from the desktop; no browser involved. Just because it has been one of those weird weeks, I just cleared the WebStart and Safari's cache, tried again and received the same download error. I followed the same procedure on a second machine, another mac at the same OS and Java versions as the first, and got the identical download error.
Steve
On Dec 14, 2005, at 3:17 PM, John Caron wrote:

Hi Steve:

The jnlp file was recently changed to remove that library.

From where are you accessing the jnlp file ?


It may be a browser cache problem (??)

Unidata Support wrote:

------- Forwarded Message

To: support-netcdf-java@xxxxxxxxxxxxxxxx
From: "Steve Aulenbach" <aulenbac@xxxxxxxx>
Subject: netCDF Java - Failed to load resource
Organization: NCAR/CGD
Keywords: 200512141919.jBEJJEQr013242 netCDF-Java


Institution: NCAR
Package Version: NJ22UI
Operating System: OSX 10.3.9
Hardware Information: dual G5
Inquiry: from NJ22Ui.jnlp:
General: An error occurred while launching/running the application.
Title: NetCDF 2.2 Tools UI
Vendor: Unidata
Category: Download Error
Unable to load resource: http://www.unidata.ucar.edu/software/netcdf-java/v2.2/webstart/ dods.jar
Launch file: <?xml version="1.0" encoding="utf-8"?>
<jnlp codebase="http://www.unidata.ucar.edu/software/netcdf-java/v2.2/ webstart">
    <information>
        <title>NetCDF 2.2 Tools UI</title>
        <vendor>Unidata</vendor>
<homepage href="http://www.unidata.ucar.edu/software/netcdf-java/v2.2/ webstart/ index.html"/> <description kind="short">GUI interface to netCDF 2.2</description>
        <icon href="nc.gif"/>
        <offline-allowed/>
    </information>
    <resources>
        <j2se version="1.4+" max-heap-size="512m"/>
        <jar href="netcdfUI.jar"/>
          <jar href="bzip2.jar"/>
        <jar href="codec.jar"/>
        <jar href="dods.jar"/>
        <jar href="grib.jar"/>
        <jar href="httpclient.jar"/>
        <jar href="jdom.jar"/>
          <jar href="jpeg2000.jar"/>
        <jar href="logging.jar"/>
        <jar href="log4j.jar"/>
        <jar href="prefs.jar"/>
        <jar href="resourcesOptional.jar"/>
        <jar href="visad.jar"/>
        <jar href="xml-apis.jar"/>
        <jar href="xercesImpl.jar"/>
<property name="javax.xml.parsers.DocumentBuilderFactory" value="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>
    </resources>
    <application-desc main-class="ucar.nc2.ui.ToolsUI">
<argument>http://motherlode.ucar.edu:8080/thredds/idd/model/DGEX/ CONUS_12km/catalog.xml#NCEP/DGEX/CONUS_12km/ DGEX_CONUS_12km_20051024_1800.grib2</argument>
    </application-desc>
    <security>
        <all-permissions/>
    </security>
</jnlp>
Exception: JNLPException[category: Download Error : Exception: java.io.IOException: HTTP response 404 : LaunchDesc: null ] at com.sun.javaws.cache.DownloadProtocol.doDownload(DownloadProtocol.ja va :532) at com.sun.javaws.cache.DownloadProtocol.getDownloadSize(DownloadProtoc ol .java:850) at com.sun.javaws.LaunchDownload.downloadJarFiles(LaunchDownload.java: 580) at com.sun.javaws.LaunchDownload.downloadEagerorAll(LaunchDownload.java : 544)
    at com.sun.javaws.Launcher.downloadResources(Launcher.java:742)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:298)
    at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:199)
    at com.sun.javaws.Launcher.run(Launcher.java:167)
    at java.lang.Thread.run(Thread.java:552)
Thanks,
Steve
--
******************************************************************** Unidata User Support UCAR (303)497-8643 support@xxxxxxxxxxxxxxxx -------------------------------------------------------------------- Unidata WWW Service -------------------------------------------------------------------- NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publicly available
through the web.  If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.
------- End of Forwarded Message