[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[THREDDS #QFD-725759]: xmlns problem
- Subject: [THREDDS #QFD-725759]: xmlns problem
- Date: Fri, 10 Apr 2015 14:40:23 -0600
Hi Rostislav:
We fixed a few things that may affect this, could you try out this version and
see if you have the same trouble:
ftp://ftp.unidata.ucar.edu/pub/thredds/4.6/4.6.1/thredds.war
thanks,
John
> Hi,
>
> Thank you for prompt reply. I guess, you mean META-INF/MANIFEST.MF
> $ cat META-INF/MANIFEST.MF
> Manifest-Version: 1.0
> Implementation-Vendor: UCAR/Unidata
> Implementation-Title: THREDDS Data Server (TDS)
> Implementation-Version: 4.6.0
> Implementation-Vendor-Id: edu.ucar
> Built-On: 20150326.1318
> Built-By: tomcat
> Build-Jdk: 1.7.0_72
> Created-By: Apache Maven 3.0.4
> Archiver-Version: Plexus Archiver
>
>
> Probably, i need to provide more info. Before the production setup i
> have playerd with TDS 4.6.0 on my Ubuntu box (Tomcat7 from Ubuntu
> 14.04). It worked quite well. Then i deployed war to the production
> server, but server did not start (got stuck at initializing catalogs). In
> order to minimize distortion to the
> production server, i have restored previous 4.3 installation
> (webapps/thredds)
> from the backup, and installed a new one as thredds46. To make it
> running in different context i had to modify
> ./WEB-INF/classes/log4j2.xml
> set
> <property name="tds.content.root.path">/usr/share/tomcat7/content</property>
> <property
> name="tds.log.dir">${sys:tds.content.root.path}/thredds46/logs</property>
>
> ./WEB-INF/classes/thredds/server/tds.properties
> set
> tds.content.path=thredds46
>
> and
> ./WEB-INF/web.xml
> set
> <context-param>
> <param-name>ContextPath</param-name>
> <param-value>thredds46</param-value>
> </context-param>
>
> After that both thredds servrts are running. Old one (4.3) functions normally.
> It is available from http://silam.fmi.fi/thredds .
> v4.6 is not available from outside world.
> The contents is copied from default one for thredds 4.6.
> After some tweaking of catalog.xml it started to show the catalog page,
> though not showing data.
> "Test Single Dataset" and "Test Single Dataset 2" show no data,
> "Test all files in directory" gives an error 404.
>
> catalogInit.log says
> =====================================
> initCatalogs(): initializing 1 root catalogs.
>
> **************************************
> Catalog init catalog.xml
> [2015-04-09T16:50:18.337Z]
>
> -------readCatalog(): full
> path=/usr/share/tomcat7/content/thredds46/catalog.xml; path=catalog.xml
> *** ERROR InvDatasetScan Silam THREDDS 4.6 test catalog /Test all files
> in a directory has no default Service - skipping
>
> =====================================
>
> catalog.xml is
> =====================================
> <?xml version="1.0" encoding="UTF-8"?>
> <catalog name="Silam THREDDS 4.6 test catalog "
> >
> <!--
> xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0"
> xmlns:xlink="http://www.w3.org/1999/xlink"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0
> http://www.unidata.ucar.edu/schemas/thredds/InvCatalog.1.0.6.xsd" /-->
>
> <service name="all" base="" serviceType="compound">
> <service name="odap" serviceType="OpenDAP" base="/thredds46/dodsC/" />
> <service name="dap4" serviceType="DAP4" base="/thredds46/dap4/" />
> <service name="http" serviceType="HTTPServer" base="/thredds46/fileServer/" />
> <service name="wcs" serviceType="WCS" base="/thredds46/wcs/" />
> <service name="wms" serviceType="WMS" base="/thredds46/wms/" />
> <service name="ncss" serviceType="NetcdfSubset" base="/thredds46/ncss/" />
> </service>
>
> <service name="dap" base="" serviceType="compound">
> <service name="odap" serviceType="OpenDAP" base="/thredds46/dodsC/" />
> <service name="dap4" serviceType="DAP4" base="/thredds46/dap4/" />
> </service>
>
> <datasetRoot path="test"
> location="/usr/share/tomcat7/content/thredds46/public/testdata" />
>
> <dataset name="Test Single Dataset" ID="testDataset"
> serviceName="all" urlPath="test/testData.nc" dataType="Grid"/>
>
> <dataset name="Test Single Dataset 2" ID="testDataset2"
> serviceName="all" urlPath="test/testData2.grib2" dataType="Grid"/>
>
> <datasetScan name="Test all files in a directory" ID="testDatasetScan"
> path="testAll" location="test" serviceName="all">
>
> <filter>
> <include wildcard="*eta_211.nc"/>
> <include wildcard="testgrid*.nc"/>
> </filter>
> </datasetScan>
> <!--
> <catalogRef xlink:title="Test Enhanced Catalog"
> xlink:href="enhancedCatalog.xml" name=""/>
> /-->
> </catalog>
> =====================================
>
>
> Hope, this gives a hint.
>
> Best regards,
> Rostislav
>
>
>
>
>
>
>
> On Thu, Apr 09, 2015 at 06:49:55PM +0300, Unidata THREDDS Support wrote:
> >Can you look inside the thredds.war file, at WEB/INF/MANIFEST.MF, and see
> >what the version number and build date is? thanks
> >
> >> Hi,
> >>
> >> I now experiment with thredds 4.6 behind a reverse proxy (to replace
> >> our 4.3 installation).
> >>
> >> The computer has no access to outside world. The startup of thredds 4.6
> >> gets stuck on initialisation. After some experimenting i have found out
> >> that it is xmlns parameter of catalog tag. Looks like server tries to
> >> get something from one of the URLs and waits foerver for the reponse that
> >> never comes. After removing all xmlns and xsi:schemaLocation parameters
> >> from the catalog tag the server starts up normally, and produces the
> >> catalog page, though does not serve any data.
> >>
> >> Is thre any way to get rid of attemts of outgoing connections?
> >>
> >> Any other ideas?
> >>
> >> Thank you!
> >> BR,
> >> Rostislav
> >>
> >> --
> >> Rostislav Kouznetsov
> >>
> >> **************************************
> >> Air quality
> >> Finnish Meteorological Institute
> >> PL-503 FI-00101 Helsinki Finland
> >> Phone: +358 29 539 4630
> >> **************************************
> >>
> >>
> >
> >
> >Ticket Details
> >===================
> >Ticket ID: QFD-725759
> >Department: Support THREDDS
> >Priority: Normal
> >Status: Open
> >
>
> --
> Rostislav Kouznetsov
>
> **************************************
> Air quality
> Finnish Meteorological Institute
> PL-503 FI-00101 Helsinki Finland
> Phone: +358 29 539 4630
> **************************************
>
>
Ticket Details
===================
Ticket ID: QFD-725759
Department: Support THREDDS
Priority: Normal
Status: Open