[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FeatureCollection error



1) so the latest version should have this inside the war file:

CHANGES for THREDDS Data Server (TDS)
Version 4.2.5
Build Date = 2011-03-02 23:15:18
Build Name = 5
can you make sure thats what you are using?

2) this error message:

[2011-04-11T16:55:50.517-0400] ERROR ucar.nc2.ft.fmrc.Fmrc: makeFmrcInv
com.sleepycat.je.EnvironmentNotFoundException: (JE 4.0.71)
/home/nomads/tomcat-main/content/thredds/cache/collection Home
directory: /home/nomads/tomcat-main/content/thredds/cache/collection
ENV_NOT_FOUND: EnvironmentConfig.setAllowCreate is false so environment
creation is not permitted, but there are no log files in the environment
directory. Environment is invalid and must be closed.
    at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:437)
    at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:337)
    at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:182)
    at
com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:230)
    at com.sleepycat.je.Environment.<init>(Environment.java:212)
    at com.sleepycat.je.Environment.<init>(Environment.java:166)
    at thredds.inventory.bdb.MetadataManager.setup(MetadataManager.java:92)
    at
thredds.inventory.bdb.MetadataManager.<init>(MetadataManager.java:205)

implies that theres another process (server) thats running that is using the same directory:

 <FeatureCollection>
   <dir>/tomcat_home/content/thredds/collectionCache/</dir>
 </FeatureCollection


if thats true, it may be because you've copied threddsConfig.xml, which has that directory in it. We now recommend that you dont use that element, so that it defaults to the local tomat directory.

see

http://www.unidata.ucar.edu/projects/THREDDS/tech/tds4.2/reference/ThreddsConfigXMLFile.html



On 4/11/2011 3:02 PM, Dan Swank wrote:
I am using the "latest 4.2 release" from the home-site.

I also installed that block of xml from my last email
    into a fresh catalog.xml from the war.
Still no good.
This functionality seems great.. just gotta get it happy with something.
Is there anything outside catalog.xml you need to configure for it?

This is the full contents of featureCollectionScan.log
===========================================================

[2011-04-11T16:55:19.514-0400] INFO
thredds.servlet.DataRootHandler.fcScan: Schedule startup scan for
/raid2/noaaport/merged/nam/201104/**/nam_218_#yyyyMMdd_HHmm#_...\.grb$
at Mon Apr 11 16:55:49 EDT 2011
[2011-04-11T16:55:19.530-0400] INFO
thredds.servlet.DataRootHandler.fcScan: Schedule recurring scan for
/raid2/noaaport/merged/nam/201104/**/nam_218_#yyyyMMdd_HHmm#_...\.grb$
cronExpr=0 5 3 * * ? *
[2011-04-11T16:55:49.530-0400] INFO
thredds.servlet.DataRootHandler.fcScan: Trigger scan for NCEP-NAM-Grid-218
[2011-04-11T16:55:50.268-0400] INFO
thredds.inventory.DatasetCollectionManager: NCEP-NAM-Grid-218: initial
scan found n datasets = 1218
[2011-04-11T16:55:50.517-0400] ERROR ucar.nc2.ft.fmrc.Fmrc: makeFmrcInv
com.sleepycat.je.EnvironmentNotFoundException: (JE 4.0.71)
/home/nomads/tomcat-main/content/thredds/cache/collection Home
directory: /home/nomads/tomcat-main/content/thredds/cache/collection
ENV_NOT_FOUND: EnvironmentConfig.setAllowCreate is false so environment
creation is not permitted, but there are no log files in the environment
directory. Environment is invalid and must be closed.
    at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:437)
    at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:337)
    at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:182)
    at
com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:230)
    at com.sleepycat.je.Environment.<init>(Environment.java:212)
    at com.sleepycat.je.Environment.<init>(Environment.java:166)
    at thredds.inventory.bdb.MetadataManager.setup(MetadataManager.java:92)
    at
thredds.inventory.bdb.MetadataManager.<init>(MetadataManager.java:205)
    at
thredds.inventory.DatasetCollectionManager.initMM(DatasetCollectionManager.java:435)
    at
thredds.inventory.DatasetCollectionManager.getMetadata(DatasetCollectionManager.java:456)
    at ucar.nc2.ft.fmrc.GridDatasetInv.open(GridDatasetInv.java:86)
    at ucar.nc2.ft.fmrc.Fmrc.makeFmrcInv(Fmrc.java:288)
    at ucar.nc2.ft.fmrc.Fmrc.checkNeeded(Fmrc.java:243)
    at ucar.nc2.ft.fmrc.Fmrc.triggerRescan(Fmrc.java:168)
    at
thredds.catalog.InvDatasetFeatureCollection.triggerRescan(InvDatasetFeatureCollection.java:214)
    at
thredds.servlet.DataRootHandler$ScanFmrcJob.execute(DataRootHandler.java:254)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:199)
    at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)
[2011-04-11T16:55:50.519-0400] ERROR ucar.nc2.ft.fmrc.Fmrc:
/raid2/noaaport/merged/nam/201104/**/nam_218_#yyyyMMdd_HHmm#_...\.grb$:
initial fmrcDataset creation failed
java.lang.RuntimeException:
com.sleepycat.je.EnvironmentNotFoundException: (JE 4.0.71)
/home/nomads/tomcat-main/content/thredds/cache/collection Home
directory: /home/nomads/tomcat-main/content/thredds/cache/collection
ENV_NOT_FOUND: EnvironmentConfig.setAllowCreate is false so environment
creation is not permitted, but there are no log files in the environment
directory. Environment is invalid and must be closed.



    at ucar.nc2.ft.fmrc.Fmrc.makeFmrcInv(Fmrc.java:320)
    at ucar.nc2.ft.fmrc.Fmrc.checkNeeded(Fmrc.java:243)
    at ucar.nc2.ft.fmrc.Fmrc.triggerRescan(Fmrc.java:168)
    at
thredds.catalog.InvDatasetFeatureCollection.triggerRescan(InvDatasetFeatureCollection.java:214)
    at
thredds.servlet.DataRootHandler$ScanFmrcJob.execute(DataRootHandler.java:254)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:199)
    at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)
Caused by: com.sleepycat.je.EnvironmentNotFoundException: (JE 4.0.71)
/home/nomads/tomcat-main/content/thredds/cache/collection Home
directory: /home/nomads/tomcat-main/content/thredds/cache/collection
ENV_NOT_FOUND: EnvironmentConfig.setAllowCreate is false so environment
creation is not permitted, but there are no log files in the environment
directory. Environment is invalid and must be closed.
    at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:437)
    at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:337)
    at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:182)
    at
com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:230)
    at com.sleepycat.je.Environment.<init>(Environment.java:212)
    at com.sleepycat.je.Environment.<init>(Environment.java:166)
    at thredds.inventory.bdb.MetadataManager.setup(MetadataManager.java:92)
    at
thredds.inventory.bdb.MetadataManager.<init>(MetadataManager.java:205)
    at
thredds.inventory.DatasetCollectionManager.initMM(DatasetCollectionManager.java:435)
    at
thredds.inventory.DatasetCollectionManager.getMetadata(DatasetCollectionManager.java:456)
    at ucar.nc2.ft.fmrc.GridDatasetInv.open(GridDatasetInv.java:86)
    at ucar.nc2.ft.fmrc.Fmrc.makeFmrcInv(Fmrc.java:288)
    ... 6 more
[2011-04-11T16:55:50.520-0400] ERROR
thredds.servlet.DataRootHandler.fcScan: InitFmrcJob failed
java.lang.RuntimeException: java.lang.RuntimeException:
com.sleepycat.je.EnvironmentNotFoundException: (JE 4.0.71)
/home/nomads/tomcat-main/content/thredds/cache/collection Home
directory: /home/nomads/tomcat-main/content/thredds/cache/collection
ENV_NOT_FOUND: EnvironmentConfig.setAllowCreate is false so environment
creation is not permitted, but there are no log files in the environment
directory. Environment is invalid and must be closed.




    at ucar.nc2.ft.fmrc.Fmrc.checkNeeded(Fmrc.java:251)
    at ucar.nc2.ft.fmrc.Fmrc.triggerRescan(Fmrc.java:168)
    at
thredds.catalog.InvDatasetFeatureCollection.triggerRescan(InvDatasetFeatureCollection.java:214)
    at
thredds.servlet.DataRootHandler$ScanFmrcJob.execute(DataRootHandler.java:254)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:199)
    at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)
Caused by: java.lang.RuntimeException:
com.sleepycat.je.EnvironmentNotFoundException: (JE 4.0.71)
/home/nomads/tomcat-main/content/thredds/cache/collection Home
directory: /home/nomads/tomcat-main/content/thredds/cache/collection
ENV_NOT_FOUND: EnvironmentConfig.setAllowCreate is false so environment
creation is not permitted, but there are no log files in the environment
directory. Environment is invalid and must be closed.
    at ucar.nc2.ft.fmrc.Fmrc.makeFmrcInv(Fmrc.java:320)
    at ucar.nc2.ft.fmrc.Fmrc.checkNeeded(Fmrc.java:243)
    ... 5 more
Caused by: com.sleepycat.je.EnvironmentNotFoundException: (JE 4.0.71)
/home/nomads/tomcat-main/content/thredds/cache/collection Home
directory: /home/nomads/tomcat-main/content/thredds/cache/collection
ENV_NOT_FOUND: EnvironmentConfig.setAllowCreate is false so environment
creation is not permitted, but there are no log files in the environment
directory. Environment is invalid and must be closed.
    at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:437)
    at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:337)
    at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:182)
    at
com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:230)
    at com.sleepycat.je.Environment.<init>(Environment.java:212)
    at com.sleepycat.je.Environment.<init>(Environment.java:166)
    at thredds.inventory.bdb.MetadataManager.setup(MetadataManager.java:92)
    at
thredds.inventory.bdb.MetadataManager.<init>(MetadataManager.java:205)
    at
thredds.inventory.DatasetCollectionManager.initMM(DatasetCollectionManager.java:435)
    at
thredds.inventory.DatasetCollectionManager.getMetadata(DatasetCollectionManager.java:456)
    at ucar.nc2.ft.fmrc.GridDatasetInv.open(GridDatasetInv.java:86)
    at ucar.nc2.ft.fmrc.Fmrc.makeFmrcInv(Fmrc.java:288)
    ... 6 more

              73,2-5        Bot






John Caron wrote the following on 4/11/2011 2:17 PM:
i think its a bug that was fixed in the latest release (4.2.5)

On 4/11/2011 11:21 AM, Dan Swank wrote:
I've been tinkering with the new FeatureCollection.
I keep getting this exception:
Any immediate ideas?
The dev server is 4.2.20101116.2051 - 20101116.2051


Caused by: com.sleepycat.je.EnvironmentNotFoundException: (JE 4.0.71)
/home/nomads/tomcat-main/content/thredds/cache/collection Home
directory: /home/nomads/tomcat-main/content/thredds/cache/collection
ENV_NOT_FOUND: EnvironmentConfig.setAllowCreate is false so environment
creation is not permitted, but there are no log files in the environment
directory. Environment is invalid and must be closed.


====================================================================

<featureCollection name="NCEP-NAM-Grid-218" featureType="FMRC"
harvest="true"
     path="fmrc/nam-test/">

   <collection
spec="/raid2/noaaport/merged/nam/201104/**/nam_218_#yyyyMMdd_HHmm#_...\.grb$"

           recheckAfter="30 min"  olderThan="5 min"/>
   <update startup="true" rescan="0 5 3 * * ? *" />
   <fmrcConfig regularize="true"  datasetTypes="TwoD" />

</featureCollection>



      

    
    

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.