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.
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-17-962414092 Content-Type: multipart/alternative; boundary=Apple-Mail-16-962414050 --Apple-Mail-16-962414050 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hello, Ethan. Thanks for the detailed and helpful reply. Option #2 looks what we are looking for, being able to add JVM Options for the Thredds domain in Glassfish. I look forward to 4.0 stable release at which time, I will deploy it in a test environment and work with our developers to ensure that the new version still works for them. Thanks, Eliot Lee, NSIDC Web Administrator http://nsidc.org eliot.lee@xxxxxxxxx 303-492-0836 Room #233 On Mar 12, 2009, at 4:34 PM, Ethan Davis wrote: > Hi Eliot, > > I'm not sure which directory(ies) you mean so I'm going to answer two > different questions. > > 1) You can specify any number of data directories in the TDS > configuration catalogs by referencing them in the "location" attribute > of a "datasetRoot" or "datasetScan" element. More information on TDS > config catalogs is available in our TDS admin tutorial: > > http://www.unidata.ucar.edu/projects/THREDDS/tech/tutorial/ > http://www.unidata.ucar.edu/projects/THREDDS/tech/tutorial/BasicConfig.html > http://www.unidata.ucar.edu/projects/THREDDS/tech/tutorial/ConfigCatalogs.html > > and in our TDS reference: > > http://www.unidata.ucar.edu/projects/THREDDS/tech/reference/ > http://www.unidata.ucar.edu/projects/THREDDS/tech/reference/CatalogConfiguration.html > http://www.unidata.ucar.edu/projects/THREDDS/tech/reference/DatasetScan.html > > 2) When running under Apache Tomcat, the TDS config catalogs are > located > in ${TOMCAT_HOME}/content/thredds. I would guess it would be similar > under Glassfish but we don't test with Glassfish so I'm not really > sure. > > In TDS 3.17 and before, the location of the "content/thredds" > directory > was not configurable. > > TDS 4.0 (now in alpha release) does support configuring the location > of > the "content/thredds" directory by setting the "tds.content.root.path" > system property. For instance, by adding the following to JAVA_OPTS in > your startup script: > > -Dtds.content.root.path=<some_absolute_path> > > The TDS will look for the config catalog files in the > <some_absolute_path>/thredds directory. > > Hope that helps. > > Ethan > > Eliot Lee wrote: >> Hello All, >> >> Is there a way of configuring a custom directory to be seen by >> Thredds >> at startup? For instance adding a JVM argument in the JAVA_OPTS >> variable >> in the start-up script? >> >> Other geo-spatial Java applications, including Geoserver, allow you >> to >> specify a custom data directory. >> >> The goal for us at NSIDC is to store data outside our domains >> directory >> (we are using Glassfish as our Java Application Server), so that >> users >> can easily upload modified files if they chose without potentially >> corrupted the Java application. >> >> I did spend quite a few minutes searching the THREDDS archive to no >> avail. >> >> Thanks, >> >> Eliot Lee, NSIDC Web Administrator >> http://nsidc.org >> eliot.lee@xxxxxxxxx > > -- > Ethan R. Davis Telephone: (303) > 497-8155 > Software Engineer Fax: (303) > 497-8690 > UCAR Unidata Program Center E-mail: edavis@xxxxxxxx > P.O. Box 3000 > Boulder, CO 80307-3000 http://www.unidata.ucar.edu/ > --------------------------------------------------------------------------- --Apple-Mail-16-962414050 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable <html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; "><div>Hello, = Ethan.</div><div><br></div><div>Thanks for the detailed and helpful = reply.</div><div><br></div><div>Option #2 looks what we are looking for, = being able to add JVM Options for the Thredds domain in = Glassfish.</div><div><br></div><div>I look forward to 4.0 stable release = at which time, I will deploy it in a test environment and work with our = developers to ensure that the new version still works for = them.</div><div><br></div><div>Thanks,</div><br><div = apple-content-edited=3D"true"> <span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; line-height: normal; = orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; = white-space: normal; widows: 2; word-spacing: 0px; = -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; line-height: normal; = orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; = widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; = -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><div>Eliot Lee, NSIDC Web = Administrator</div><div><a = href=3D"http://nsidc.org">http://nsidc.org</a></div><div><a = href=3D"mailto:eliot.lee@xxxxxxxxx">eliot.lee@xxxxxxxxx</a></div><div>303-= 492-0836</div><div>Room = #233</div><div><br></div><div><br></div></div></span><br = class=3D"Apple-interchange-newline"></div></span><br = class=3D"Apple-interchange-newline"> </div><br><div><div>On Mar 12, = 2009, at 4:34 PM, Ethan Davis wrote:</div><br = class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div>Hi = Eliot,<br><br>I'm not sure which directory(ies) you mean so I'm going to = answer two<br>different questions.<br><br>1) You can specify any number = of data directories in the TDS<br>configuration catalogs by referencing = them in the "location" attribute<br>of a "datasetRoot" or "datasetScan" = element. More information on TDS<br>config catalogs is available in our = TDS admin tutorial:<br><br><a = href=3D"http://www.unidata.ucar.edu/projects/THREDDS/tech/tutorial/">http:= //www.unidata.ucar.edu/projects/THREDDS/tech/tutorial/</a><br><a = href=3D"http://www.unidata.ucar.edu/projects/THREDDS/tech/tutorial/BasicCo= nfig.html">http://www.unidata.ucar.edu/projects/THREDDS/tech/tutorial/Basi= cConfig.html</a><br>http://www.unidata.ucar.edu/projects/THREDDS/tech/tuto= rial/ConfigCatalogs.html<br><br>and in our TDS = reference:<br><br>http://www.unidata.ucar.edu/projects/THREDDS/tech/refere= nce/<br>http://www.unidata.ucar.edu/projects/THREDDS/tech/reference/Catalo= gConfiguration.html<br>http://www.unidata.ucar.edu/projects/THREDDS/tech/r= eference/DatasetScan.html<br><br>2) When running under Apache Tomcat, = the TDS config catalogs are located<br>in = ${TOMCAT_HOME}/content/thredds. I would guess it would be = similar<br>under Glassfish but we don't test with Glassfish so I'm not = really sure.<br><br>In TDS 3.17 and before, the location of the = "content/thredds" directory<br>was not configurable.<br><br>TDS 4.0 (now = in alpha release) does support configuring the location of<br>the = "content/thredds" directory by setting the = "tds.content.root.path"<br>system property. For instance, by adding the = following to JAVA_OPTS in<br>your startup = script:<br><br>-Dtds.content.root.path=3D<some_absolute_path><br><br>Th= e TDS will look for the config catalog files in = the<br><some_absolute_path>/thredds directory.<br><br>Hope that = helps.<br><br>Ethan<br><br>Eliot Lee wrote:<br><blockquote = type=3D"cite">Hello All,<br></blockquote><blockquote = type=3D"cite"><br></blockquote><blockquote type=3D"cite">Is there a way = of configuring a custom directory to be seen by = Thredds<br></blockquote><blockquote type=3D"cite">at startup? For = instance adding a JVM argument in the JAVA_OPTS = variable<br></blockquote><blockquote type=3D"cite">in the start-up = script?<br></blockquote><blockquote = type=3D"cite"><br></blockquote><blockquote type=3D"cite">Other = geo-spatial Java applications, including Geoserver, allow you = to<br></blockquote><blockquote type=3D"cite">specify a custom data = directory.<br></blockquote><blockquote = type=3D"cite"><br></blockquote><blockquote type=3D"cite">The goal for us = at NSIDC is to store data outside our domains = directory<br></blockquote><blockquote type=3D"cite">(we are using = Glassfish as our Java Application Server), so that = users<br></blockquote><blockquote type=3D"cite">can easily upload = modified files if they chose without = potentially<br></blockquote><blockquote type=3D"cite">corrupted the Java = application.<br></blockquote><blockquote = type=3D"cite"><br></blockquote><blockquote type=3D"cite">I did spend = quite a few minutes searching the THREDDS archive to no = avail.<br></blockquote><blockquote = type=3D"cite"><br></blockquote><blockquote = type=3D"cite">Thanks,<br></blockquote><blockquote = type=3D"cite"><br></blockquote><blockquote type=3D"cite">Eliot Lee, = NSIDC Web Administrator<br></blockquote><blockquote = type=3D"cite">http://nsidc.org<br></blockquote><blockquote = type=3D"cite">eliot.lee@xxxxxxxxx<br></blockquote><br>-- <br>Ethan R. = Davis = &n= bsp; &nbs= p; Telephone: (303) = 497-8155<br>Software Engineer = &n= bsp; &nbs= p; Fax: (303) = 497-8690<br>UCAR Unidata Program Center = &n= bsp; E-mail: = edavis@xxxxxxxx<br>P.O. Box 3000<br>Boulder, CO = 80307-3000 = &n= bsp; http://www.unida= ta.ucar.edu/<br>----------------------------------------------------------= -----------------<br></div></blockquote></div><br></body></html>= --Apple-Mail-16-962414050-- --Apple-Mail-17-962414092 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkm6oOMACgkQsWCK+7e1nigDHQCdFU1EF+tnZ6f34WV8NMbTEPAd 6ckAn1mlNxkV9NplebMKNTMA8a5//u6B =Nom4 -----END PGP SIGNATURE----- --Apple-Mail-17-962414092--
thredds
archives: