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

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!

it usually means weve hosed up the jnlp file. what exact TDS version are you on?

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: