Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Pauline Mak wrote:
Hi John, I've removed thredds.war from webapps, removed the thredds directory from webapps and the thredds directory from content, then reinstalled thredds.war from a fresh download. I've also let the server run for a little while and have noticed that it came up with the following error messages: Exception in thread "Timer-5" java.lang.IllegalStateException: DiskCache2: not a directory or I/O error on dir=/data/tmp/thredds/ncSubsetCache at ucar.nc2.util.DiskCache2.cleanCache(DiskCache2.java:230) at ucar.nc2.util.DiskCache2 $CacheScourTask.run(DiskCache2.java:268) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Exception in thread "Timer-6" java.lang.IllegalStateException: DiskCache2: not a directory or I/O error on dir=/data/tmp/thredds/wcsCache at ucar.nc2.util.DiskCache2.cleanCache(DiskCache2.java:230) at ucar.nc2.util.DiskCache2 $CacheScourTask.run(DiskCache2.java:268) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Would this have anything to do with the other /data/cache/* references in the threddsConfig.xml? Should I try and remove them too?
I thought I had them commented out, but apparently not. please comment out or change to real directories on your server. thanks.
Just in case, below is the output when I start up the tomcat server. It looked ok to me, but then, I'm not sure what to look for except for Exception :P Cheers, -Pauline. ---------catalina.out------------------------------------------------------ Jul 2, 2007 12:34:26 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/default/jre/lib/i386/client:/usr/java/default/jre/lib/i386 Jul 2, 2007 12:34:26 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 681 ms Jul 2, 2007 12:34:26 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Jul 2, 2007 12:34:26 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.20 Jul 2, 2007 12:34:26 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled in contextInitialized of GridSphereServlet 0 [main] INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gridsphere] - Setting system property [ gridsphere.log.home ] to [ /usr/local/apache-tomcat/webapps/gridsphere/WEB-INF/logs ] 4 [main] INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gridsphere] - Configuring Log4j from File: /usr/local/apache-tomcat/webapps/gridsphere/WEB-INF/classes/log4j.properties loading from: /usr/local/apache-tomcat/webapps/gridsphere/WEB-INF/GridSphereServices.xml Jul 2, 2007 12:34:28 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive thredds.war +++ServletUtil.initLogging +++Log4j configured from file /usr/local/apache-tomcat/webapps/thredds/WEB-INF/log4j.xml ** DebugOn ** log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). log4j:WARN Please initialize the log4j system properly. Jul 2, 2007 12:34:29 PM org.apache.catalina.core.ApplicationContext log INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]] log4j:WARN Preferred repository selector not installed because one has already exists. No problem, using existing selector... Jul 2, 2007 12:34:29 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Jul 2, 2007 12:34:30 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/55 config=null Jul 2, 2007 12:34:30 PM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Jul 2, 2007 12:34:30 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 3392 ms
thredds
archives: