NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [thredds] NetCDF-Java ToolsUI unable to launch

Hi John and all:

We've re-issued the TDS 4.1 war file with the correct jnlp file. Please update if you want this to work:

  ftp://ftp.unidata.ucar.edu/pub/thredds/4.1/thredds.war

This version (4.1.7) also has a few other bug fixes, mostly for reading HDF5.

TDS 4.2 also has the jnlp problem, and we will be releasing a new version soon.

Thanks for reporting the problem!

John

On 7/21/2010 10:57 PM, John Maurer, IV wrote:
Hi All,
Don't know how long this has been broken, but our TDS now fails to launch the NetCDF-Java ToolsUI. I get an Application Error from Java of "Unable to launch the application." When I click for more information, I get the following (posted below). Any ideas what's wrong or how I can fix this? Thanks!
Cheers,
John Maurer
Hawaii Ocean Observing System (HiOOS)

Exception:

java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.javaws.Launcher.executeApplication(Unknown Source)
    at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheManager
at thredds.filesystem.CacheManager.makeTestCacheManager(CacheManager.java:76) at thredds.filesystem.ControllerCaching.makeTestController(ControllerCaching.java:60)
    at ucar.nc2.ui.ToolsUI.main(ToolsUI.java:4599)
    ... 9 more
Caused by: java.lang.ClassNotFoundException: net.sf.ehcache.CacheManager
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 12 more

Launch File:

<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://www.unidata.ucar.edu/software/netcdf-java/v4.1/webstart";>
<information>
<title>NetCDF Tools UI 4.1</title>
<vendor>Unidata</vendor>
<homepage href="http://www.unidata.ucar.edu/software/netcdf-java/"/>
<description kind="short">GUI interface to netCDF-Java / Common Data Model</description>
<icon href="nc.gif"/>
<offline-allowed/>
</information>

<security>
<all-permissions/>
</security>

<resources>
<j2se version="1.6+" max-heap-size="1024m"/>
<jar href="netcdfUI.jar"/>
<jar href="bounce.jar"/>
<jar href="bufrTables.jar"/>
<jar href="codec.jar"/>
<jar href="grib.jar"/>
<jar href="httpclient.jar"/>
<jar href="httplogging.jar"/>
<jar href="jdom.jar"/>
<jar href="jgoodies.jar"/>
<jar href="jpeg2000.jar"/>
<jar href="loggingAPI.jar"/>
<jar href="logging.jar"/>
<jar href="opendap.jar"/>
<jar href="resourcesOptional.jar"/>
<jar href="spring.jar"/>
<jar href="visadNoDods.jar"/>
</resources>

<application-desc main-class="ucar.nc2.ui.ToolsUI">
<argument>http://oos.soest.hawaii.edu/thredds/idd/nss.xml#NS01agg</argument>
</application-desc>
</jnlp>


_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/

  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: