Re: [thredds] WMS service not supported?

Hello Kevin

I'm successfully running WMS on several datasets for a TDS Version 4.1.0
- 20091229.2055
I'm running Java 1.6.0_11_b03 and Tomcat 6.0.18.0 on Linux 64bit Redhat
OS 5.

Attached is my config, catalog and and a couple screen shots attached,
sorry it won't be publicly available for a couple of months while we
setup a new robust server.

 Bill

-- 
Bill Hankins
Software Developer, STG, Inc., Government Contractor
Remote Sensing and Applications Division
National Climatic Data Center - NESDIS - NOAA 
151 Patton Ave. Rm 445
Asheville, NC 28801-5001
Bill.Hankins@xxxxxxxx
828-271-4836



Kevin L. Manross said the following on 3/16/2010 9:26 AM:
>
> Howdy,
>
> I've included the information you asked for Ethan.  Is there a
> configuration in Tomcat that I need to do to allow WMS?
>
> Full Text of forbidden message:
>
>
>   HTTP Status 403 - WMS service not supported.
>
> ------------------------------------------------------------------------
>
> *type* Status report
>
> *message* _WMS service not supported._
>
> *description* _Access to the specified resource (WMS service not
> supported.) has been forbidden._
>
> ------------------------------------------------------------------------
>
>
>       Apache Tomcat/6.0.24
>
>
> Java version:
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)
>
> Tomcat: 6.0.24
>
> TDS:
>
>
>       THREDDS Data Server [Version 4.1.3 - 20100210.1511]
>
>
> My catalog.xml and threddsConfig.xml are attached.
>
> (Note, I tried Heiko's suggestion of putting in the full path to the
> pallette and OGCMeta.xml just to see id it had any affect.  Alas, it
> did not.)
>
> Many thanks!!
>
> -kevin.
>
>
> Ethan Davis wrote:
>> Hi Kevin,
>>
>> Log files all look good to me as well.
>>
>> In your browser, what is the full text of the "forbidden" message?
>>
>> The default threddsConfig.xml file has the WMS section commented out.
>> So, make sure the WMS element is not commented out.
>>
>> What versions are you running: Java, Tomcat, TDS? Could you send your
>> full threddsConfig.xml file.
>>
>> Ethan
>>
>> On 3/12/2010 12:52 PM, Kevin L. Manross wrote:
>>   
>>> To answer both you and Roy, Ethan:
>>>
>>> I've been watching those various logs.  I definitely see the "403"
>>> response (forbidden) in the threddsServlet.log, but I don't see any
>>> other clue as to why that is.
>>>
>>> The log output follows.  Thanks!
>>>
>>> -kevin.
>>>     
>>
>> _______________________________________________
>> thredds mailing list
>> thredds@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe,  visit: 
>> http://www.unidata.ucar.edu/mailing_lists/ 
>>   
>
> -- 
> +-----------------------------------------------------+
> Kevin L. Manross           |  ** New Address **
> CIMMS Research Associate   |     120 David L. Boren Bvd
> NSSL : WRDD : SWAT         |     Rm 3923
> <kevin.manross@xxxxxxxx>   |     405.325.6385
> www.cimms.ou.edu/~kmanross |
> "My opinions are my own and not representative of
> CIMMS, NSSL, NOAA or any affiliates"
> +-----------------------------------------------------+
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit: 
> http://www.unidata.ucar.edu/mailing_lists/ 

<?xml version="1.0" encoding="UTF-8"?>
<catalog 
  name="NCDC-Eclipse THREDDS Data Server"
  xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0"; 
  xmlns:xlink="http://www.w3.org/1999/xlink"; >

  <!-- Services -->
  
  <service name="allServices" serviceType="Compound" base="">
    <service name="dapService" serviceType="OpenDAP" base="/thredds/dodsC/"/>
    <service name="httpService" serviceType="HTTPServer" 
base="/thredds/fileServer/"/>
    <service name="wcsService" serviceType="WCS" base="/thredds/wcs/"/>
    <service name="wms" serviceType="WMS" base="/thredds/wms/"/>    
    <service name="ncss" serviceType="NetcdfSubset" base="/thredds/ncss/grid/"/>
  </service>

  <!-- <service name="gds" serviceType="DODS" 
base="http://nomads.ncdc.noaa.gov:9091/dods"/> -->

  <service name="satServices" serviceType="Compound" base="">
    <service name="dapService" serviceType="OpenDAP" base="/thredds/dodsC/"/>
    <service name="httpService" serviceType="HTTPServer" 
base="/thredds/fileServer/"/>
    <service name="wcsService" serviceType="WCS" base="/thredds/wcs/"/>
    <service name="wms" serviceType="WMS" base="/thredds/wms/"/>    
  </service>

  <service name="D1services" serviceType="Compound" base="">    
    <service name="dapService" serviceType="OpenDAP" base="/thredds/dodsC/"/>
    <service name="httpService" serviceType="HTTPServer" 
base="/thredds/fileServer/"/>
    <service name="wcsService" serviceType="WCS" base="/thredds/wcs/"/>
    <service name="wms" serviceType="WMS" base="/thredds/wms/"/>
    <service name="ncss" serviceType="NetcdfSubset" base="/thredds/ncss/grid/"/>
    <service name="netcdf" serviceType="netcdf-download" 
base="/thredds/nfdownload/"/>
  </service>

  <service name="DXservices" serviceType="Compound" base="">    
    <service name="dapService" serviceType="OpenDAP" base="/thredds/dodsC/"/>
    <service name="httpService" serviceType="HTTPServer" 
base="/thredds/fileServer/"/>
    <service name="netcdf" serviceType="netcdf-download" 
base="/thredds/nfdownload/"/>
  </service>

  <service name="AggrServices" serviceType="Compound" base="">  
    <service name="dapService" serviceType="OpenDAP" base="/thredds/dodsC/"/>
    <service name="wcsService" serviceType="WCS" base="/thredds/wcs/"/>
    <service name="wms" serviceType="WMS" base="/thredds/wms/"/>
    <service name="ncss" serviceType="NetcdfSubset" base="/thredds/ncss/grid/"/>
  </service>
  
  <!-- Datasets w/ Directory Trees -->

  <datasetScan name="ISCCP D2 Data" path="isccp" 
location="/raid/ftp/pub/isccp/d2">
    <metadata inherited="true">
      <serviceName>D1services</serviceName>
    </metadata>
  </datasetScan>
 
  <datasetScan name="HIRS Clear Sky Satellite DataSet" path="hirs" 
location="/raid/ftp/pub/hirslc">
    <metadata inherited="true">
      <serviceName>satServices</serviceName>
    </metadata>
    <sort>
      <lexigraphicByName increasing="true"/>
    </sort>
  </datasetScan>

  <datasetScan name="VTPR Satellite Brightness Temperature DataSet 
(11/1972-02/1979)" path="vtpr" location="/raid/ftp/pub/vtpr">
    <metadata inherited="true">
      <serviceName>satServices</serviceName>
    </metadata>
    <sort>
      <lexigraphicByName increasing="true"/>
    </sort>
  </datasetScan>

  <datasetScan name="Radar Dataset" path="radar" location="/raid/ftp/pub/radar">
    <metadata inherited="true">
      <serviceName>allServices</serviceName>
    </metadata>
    <sort>
      <lexigraphicByName increasing="true"/>
    </sort>
  </datasetScan>

  <datasetScan name="GriSat (Gridded Satellite Data)" ID="GriSat" path="grisat" 
location="/raid/ftp/pub/grisat">
    <metadata inherited="true">
      <serviceName>D1services</serviceName>
    </metadata>
    <filter>
      <include wildcard="GRISAT*"/>
    </filter>
    <sort>
      <lexigraphicByName increasing="false"/>
    </sort>
    <addDatasetSize/>
  </datasetScan>

  <datasetScan name="ISCCP D1 Data" ID="ISCCP D1" path="isccp-d1" 
location="/raid/ftp/pub/isccp/d1">
    <metadata inherited="true">
      <serviceName>D1services</serviceName>
      <dataType>Grid</dataType>
    </metadata>
<!--
    <namer>
      <regExpOnName 
redExp="([A-Z0-9.]{7}).([0-2]{1}).([A-Z]{6}).([0-9]{4}).([0-9]{2}).([0-9]{2}).([0-9]{4})"
        replaceString="ISCCP.D1.GLOBAL.$3.$4.$5.$6.GPC"/>
    </namer>
-->
    <sort>
      <lexigraphicByName increasing="true"/>
    </sort>
    <addDatasetSize/>
<!--
    <filter>
      <include wildcard="*.nc"/>
    </filter>
-->
    <addTimeCoverage 
datasetNameMatchPattern="ISCCP.D1.0.GLOBAL.([0-9]{4}).([0-9]{2}).([0-9]{2}).([0-9]{2}).GPC"
      startTimeSubstitutionPattern="$1-$2-$3T$4:00:00" duration="1 year"/>
  </datasetScan>

  <datasetScan name="ISCCP DX Data" ID="ISCCP DX" path="isccp-dx" 
location="/raid/ftp/pub/isccp/dx">
    <metadata inherited="true">
      <serviceName>DXservices</serviceName>
    </metadata>
  </datasetScan>


  <!-- GFS monthly averaged winds "gfsMonAvg.xml" -->
  <catalogRef xlink:title="Projects" xlink:href="gfsMonAvg.xml" 
name="projects"/>

  <!-- Blended Ocean Winds "OceanWinds.xml" -->
  <catalogRef xlink:title="Blended Ocean Winds" xlink:href="OceanWinds.xml" 
name="oceanwinds"/>

  <!-- SURFA Project related datasets "surfa.xml" -->
  <catalogRef xlink:title="Surface Flux Analysis project (SURFA)" 
xlink:href="surfa.xml" name="surfa"/>

  <!-- Catalog for experiment/testing datasets  "testDatasets.xml" -->
          
  <!-- <catalogRef xlink:title="Test Area" xlink:href="testDatasets.xml" 
name="" /> -->

            
  <dataset name="EBD Data" >
    <dataset name="EBD Monthly Aggregation" urlPath="ebd_agg" ID="ebd_agg">
      <serviceName>AggrServices</serviceName>
      <dataType>Grid</dataType>
      <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";>
        <aggregation dimName="time" type="joinExisting" recheckEvery="1 month">
          <scan location="/raid/ftp/raid1b/GOOSsst/EBD/" suffix=".nc"/>
        </aggregation>
      </netcdf> 
    </dataset>
    <datasetScan name="EBD-Monthly" ID="EBD-Monthly" path="ebd/monthly" 
location="/raid/ftp/raid1b/GOOSsst/EBD/">
      <metadata inherited="true">
        <serviceName>D1services</serviceName>
      </metadata>
      <sort>
        <lexigraphicByName increasing="true"/>
      </sort>   
    </datasetScan>
  </dataset>
  
  <dataset name="GPCP Data">
    <dataset name="GPCP Monthly Aggregation" urlPath="gpcp_agg" ID="gpcp_agg">
      <serviceName>AggrServices</serviceName>
      <dataType>Grid</dataType>
      <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";>
        <aggregation dimName="time" type="joinExisting" recheckEvery="1 month">
          <scan location="/raid/ftp/pub/gpcp/monthly/" suffix=".gz"/>
        </aggregation>
      </netcdf> 
    </dataset>
    <datasetScan name="GPCP-Monthly" ID="GPCP-Monthly" path="gpcp/monthly" 
location="/raid/ftp/pub/gpcp/monthly/">
      <metadata inherited="true">
        <serviceName>D1services</serviceName>
      </metadata>
      <sort>
        <lexigraphicByName increasing="true" />
      </sort>   
    </datasetScan>
    <datasetScan name="GPCP-Daily" ID="GPCP-Daily" path="gpcp/daily" 
location="/raid/ftp/pub/gpcp/daily/">
      <metadata inherited="true">
        <serviceName>D1services</serviceName>
      </metadata>
      <sort>
        <lexigraphicByName increasing="true"/>
      </sort>
    </datasetScan>
  </dataset>

  <dataset name="GACP Data">
    <dataset name="GACP TAU Monthly Aggregation" urlPath="gapc_tau" 
ID="gapc_tau">
      <serviceName>AggrServices</serviceName>
      <dataType>Grid</dataType>
      <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";>
        <aggregation dimName="time" type="joinExisting" recheckEvery="1 month">
          <scan location="/raid/ftp/pub/gacp/" suffix=".tau.ascii"/>
        </aggregation>
      </netcdf>
    </dataset>  
    <dataset name="GACP Angstrom Exponent Monthly Aggregation" 
urlPath="gapc_ang" ID="gapc_ang">
      <serviceName>AggrServices</serviceName>
      <dataType>Grid</dataType>
      <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";>
        <aggregation dimName="time" type="joinExisting" recheckEvery="1 month">
          <scan location="/raid/ftp/pub/gacp/" suffix=".a.ascii"/>
        </aggregation>
      </netcdf>
    </dataset>
  </dataset>

  <dataset name="SRB Data">
    <datasetScan name="SRB Monthly Longwave" ID="srblw" path="srblw" 
location="/raid/ftp/pub/srb/monthly/lw">
      <metadata inherited="true">
        <serviceName>D1services</serviceName>
      </metadata>
    </datasetScan>
    <datasetScan name="SRB Monthly Shortwave" ID="srbsw" path="srbsw" 
location="/raid/ftp/pub/srb/monthly/sw">
      <metadata inherited="true">
        <serviceName>D1services</serviceName>
      </metadata>
    </datasetScan>
  </dataset>


<!--
  <dataset name="SRB Data" id="srb">
    <dataset name="SRB Monthly Longwave" ID="srb_lw" urlPath="srb_lw">
      <serviceName>AggrServices</serviceName>
      <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";>
        <aggregation dimName="time" type="joinExisting">
          <scan location="/raid/ftp/pub/srb/monthly/lw" suffix=".binary"/>
        </aggregation>
      </netcdf>
    </dataset>  
    <dataset name="SRB Monthly Shortwave" ID="srb_sw" urlPath="srb_sw">
      <serviceName>AggrServices</serviceName>
      <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";>
        <aggregation dimName="time" type="joinExisting">
          <scan location="/raid/ftp/pub/srb/monthly/sw" suffix=".binary.Z"/>
        </aggregation>
      </netcdf>
    </dataset>
  </dataset>
-->

</catalog>

<?xml version="1.0" encoding="UTF-8"?>
<threddsConfig>

  <!--
  The <catalogRoot> element:
  For catalogs you don't want visible from the /thredds/catalog.xml chain
  of catalogs, you can use catalogRoot elements. Each catalog root config
  catalog is crawled and used in configuring the TDS.
  -->
  <!-- E.g.,
  <catalogRoot>myExtraCatalog.xml</catalogRoot>
  <catalogRoot>myOtherExtraCatalog.xml</catalogRoot>
  -->

  <!--
  The <NetcdfFileCache> element:
  -->
  <NetcdfFileCache>
    <minFiles>20</minFiles>
    <maxFiles>100</maxFiles>
    <scour>2 min</scour>
  </NetcdfFileCache>

  <!--
  The <NetcdfDatasetCache> element:
  -->
  <NetcdfDatasetCache>
    <minFiles>20</minFiles>
    <maxFiles>100</maxFiles>
    <scour>2 min</scour>
  </NetcdfDatasetCache>

  <!--
  The <HTTPFileCache> element:
  -->
  <HTTPFileCache>
    <minFiles>20</minFiles>
    <maxFiles>100</maxFiles>
    <scour>2 min</scour>
  </HTTPFileCache>

  <!--
  The <CdmValidatorService> element:
  -->
  <CdmValidatorService>
    <allow>true</allow>
    <dir>/raid/thredds-cache/cdmValidateCache/</dir>
    <maxFileUploadSize>1 Gb</maxFileUploadSize>
    <scour>24 hours</scour>
    <maxAge>30 days</maxAge>
  </CdmValidatorService>

  <!--
  The <NetcdfSubsetService> element:
  -->
  <NetcdfSubsetService>
    <allow>true</allow>
    <dir>/raid/thredds-cache/ncSubsetCache/</dir>
    <scour>15 min</scour>
    <maxAge>30 min</maxAge>
  </NetcdfSubsetService>

  <!--
  The <WCS> element:
  -->
  <WCS>
    <allow>true</allow>
    <dir>/raid/thredds-cache/wcsCache/</dir>
    <scour>15 min</scour>
    <maxAge>30 min</maxAge>
  </WCS>

  <!--
  The <WMS> element:
  -->
  <WMS>
    <allow>true</allow>
  </WMS>

  <!--
  The <Viewer> element:
  -->
  <!-- Viewer>my.package.MyViewer</Viewer -->

  <!--
  The <FmrcInventory> element:
  -->
  <FmrcInventory>
    <openType>XML_ONLY</openType>
  </FmrcInventory>

  <!--
  The <nj22Config> element:
  -->
  <nj22Config>
    <ioServiceProvider  class="gov.noaa.ncdc.iosp.isccp.HirsIosp"/>
    <ioServiceProvider  class="gov.noaa.ncdc.iosp.area.GoesAreaIosp"/>
    <ioServiceProvider  class="gov.noaa.ncdc.iosp.area.AreaIosp"/>
    <ioServiceProvider  class="gov.noaa.ncdc.iosp.isccp.IsccpD1Iosp"/>
    <ioServiceProvider  class="gov.noaa.ncdc.iosp.isccp.IsccpDxIosp"/>
    <ioServiceProvider  class="gov.noaa.ncdc.iosp.ssmi.SSMITDRiosp"/>
    <ioServiceProvider  class="gov.noaa.ncdc.iosp.avhrr.AvhhrGacKLMIosp"/>
    <ioServiceProvider  class="gov.noaa.ncdc.iosp.avhrr.lac.AvhhrLacKLMIosp"/>
    <ioServiceProvider  
class="gov.noaa.ncdc.iosp.avhrr.ver1.lac.AvhrrLacVer1Iosp"/>
    <ioServiceProvider  
class="gov.noaa.ncdc.iosp.avhrr.ver1.gac.AvhrrGacVer1Iosp"/>
    <ioServiceProvider  class="gov.noaa.ncdc.iosp.dsi6146.DSI6146Iosp"/>  
    <ioServiceProvider  class="gov.noaa.ncdc.iosp.gpcp.GPCPMonthlyIosp"/>
    <ioServiceProvider  class="gov.noaa.ncdc.iosp.gpcp.GPCPDailyIosp"/>
    <ioServiceProvider  class="gov.noaa.ncdc.iosp.gacp.GACPIosp"/> 
    <ioServiceProvider  class="gov.noaa.ncdc.iosp.srb.SRBShortwaveIosp"/>
    <ioServiceProvider  class="gov.noaa.ncdc.iosp.srb.SRBLongwaveIosp"/>
    <ioServiceProvider  class="gov.noaa.ncdc.iosp.ridge.ridgeIosp"/>
  
    <coordSysBuilder convention="Kenjimoto" 
class="gov.noaa.ncdc.swath.NcdcCoordBuilder"/>
    <coordSysBuilder convention="EqualAreaGrid" 
class="gov.noaa.ncdc.iosp.projection.EqualAreaGridCoordBuilder"/>
    <coordTransBuilder name="NcdcSwath" type="projection" 
class="gov.noaa.ncdc.swath.NcdcSwathIF"/>
    <coordTransBuilder name="mcidas_area" type="projection" 
class="ucar.unidata.geoloc.projection.McIDASProjection"/>
    <coordTransBuilder name="EqualAreaGridTransform" type="projection" 
class="gov.noaa.ncdc.iosp.projection.EqualAreaGridIF"/>  
  </nj22Config>

  <!--
  The <DiskCache> element:
  -->
  <DiskCache>
    <alwaysUse>true</alwaysUse>
    <dir>/raid/thredds-cache/</dir>
    <scour>2 min</scour>
    <maxSize>12 Gb</maxSize>
  </DiskCache>

  <!--
  The <GribIndexing> element:
  -->
  <GribIndexing>
    <setExtendIndex>false</setExtendIndex>
    <alwaysUseCache>false</alwaysUseCache>
  </GribIndexing>

  <!--
  The <AggregationCache> element:
  -->
  <AggregationCache>
    <dir>/raid/thredds-cache/aggCache/</dir>
    <scour>24 hours</scour>
    <maxAge>90 days</maxAge>
  </AggregationCache>

</threddsConfig>

PNG image

PNG image

  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: