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

[THREDDS #XIM-229931]: error 500 for WMS service in THREDDS



Hi Frederic,

> Package Version: 4.1.3
> Operating System: Linux  x86_64
> Hardware: apache-tomcat-6.0.20

> Hello,
> I am beginning an configuration of a TDS and am facing a problem with
> WMS service. The TDS has been installed under Tomcat through the WAR file.
> This is the encountered error : the server displays an "Error 500" page.
> I have configured the catalog.xml file to authorize the WMS service for
> my data and have turned the "allow" attribute to true for the WMS service
> in the threddsConfig.xml file, according to what I have read in the
> reference documentation.
> I may be wrong somewhere or miss something. Could you please help me ?
> The log file is in attachment, as well as the catalog.xml and
> threddsConfig.xml files.

From the snippet below which I pulled from your log file, it looks like a 
GeoTools CRS database configuration problem. At least for this particular 
dataset. Is this a WRF NMM dataset? Do you know if it is on a staggered grid? 
If so, that may be the problem (though I'm not sure exactly what it would even 
be trying to do in that case). If not, it may be that the data is on a grid for 
which GeoTools does not recognize the CRS (or the CRS authority).

Is this happening for all your datasets? Could you send me a sample dataset 
that is showing this problem?

Ethan


> Thank you in advance.
> Best regards,
> Frederic BACHEVILLER
> METEO-FRANCE
> (Centre de Meteorologie Spatiale)


> 2010-04-20T15:57:39.740 +0000 [      8006][      14] INFO  - 
> thredds.server.wms.WMSController - Remote host: 127.0.0.1 - Request: "GET 
> /thredds/wms/diressaifbmsg/10041806_nmm.GrbF03000?service=WMS&version=1.3.0&request=GetCapabilities
>  HTTP/1.1"
> 2010-04-20T15:57:40.633 +0000 [      8899][      14] INFO  - 
> thredds.server.wms.WMSController - Request Completed - 500 - -1 - 891
> java.lang.ExceptionInInitializerError
>       at 
> thredds.server.wms.responses.GetCapabilities.processRequest(GetCapabilities.java:163)
>       at 
> thredds.server.wms.WMSController.handleRequestInternal(WMSController.java:266)
> ...

> Caused by: java.lang.ClassCastException
>       at 
> javax.imageio.spi.ServiceRegistry.registerServiceProvider(ServiceRegistry.java:254)
>       at 
> org.geotools.factory.FactoryRegistry.register(FactoryRegistry.java:876)
>       at 
> org.geotools.factory.FactoryRegistry.scanForPlugins(FactoryRegistry.java:786)
>       at 
> org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegistry.java:196)
>       at 
> org.geotools.referencing.ReferencingFactoryFinder.getFactories(ReferencingFactoryFinder.java:174)
>       at 
> org.geotools.referencing.ReferencingFactoryFinder.getCRSAuthorityFactories(ReferencingFactoryFinder.java:452)
>       at 
> org.geotools.referencing.DefaultAuthorityFactory.getSupportedCodes(DefaultAuthorityFactory.java:117)
>       at org.geotools.referencing.CRS.getSupportedCodes(CRS.java:286)
>       at 
> uk.ac.rdg.resc.ncwms.datareader.HorizontalGrid.<clinit>(HorizontalGrid.java:76)
>       ... 27 more



Ticket Details
===================
Ticket ID: XIM-229931
Department: Support THREDDS
Priority: Normal
Status: Open