|
From: Arne K. <ak...@op...> - 2010-02-20 21:34:02
|
Hi Surendran,
the most likely cause is a minor misspelling of the "layer-name" you use
in the GTileLayer constructor (landuse:DwellingsWithBasements) and what
the actual name of the layer is according to GeoWebCache.
In the same window, when GWC is starting, it should list all the layers
it is loading. Compare with the names there?
-Arne
Surendran K.N wrote:
> Hi
>
> My Environment is :
>
> Windows XP ,Google Chrome,
> WCS :1.0.0 ,1.1.1 ; WFS:1.0.0,1.1.0; WMS:1.1.1 ; GeoServer: 2.0.1;
> GeoWebCache version NIGHTLY, built 2009-12-04
>
>
> I have two layer of same kind. Both layer listing in the Geowebcahe
> Demo page. I will be able to view /zoom without any issue.
>
> One of this layer is displying in Google maps.
> When I try to access the other layer I am getting following error
> from tomcat window.
>
> Iam using following method to call layer
>
> var tilelayer = new GTileLayer(null, null, null, { tileUrlTemplate:
> 'http://localhost:8080/geowebcache/service/gmaps?layers=layer-name&zoom={Z}&x={X}&y={Y}&format=image/png
> <http://localhost:8080/geowebcache/service/gmaps?layers=layer-name&zoom=%7BZ%7D&x=%7BX%7D&y=%7BY%7D&format=image/png>',
> isPng:true, opacity:0.5 } );
>
>
>
> INFO[geowebcache.GeowebCacheDispatcher] - read 425 from Blank PNG
> file (expected 425)
>
> ERROR [geowebcach.GeowebcacheDispatcher] Thread 58 unknown layer
> landuse:DwellingsWithBasements.
> Check the logfile it may not have loaded properly.
> http://localhost:8080/geowebcache/service/gmap
>
> same error is coming out with different Thread No.
>
>
> The last part of the logfile look like this:
>
> 2010-02-19 15:33:18,162 INFO [layer.TileLayerDispatcher] -
> ConfigurationLoader completed
> 2010-02-19 15:33:20,398 INFO [responses.helpers] - Supported
> JAIMapResponse's MIME Types: [image/jpeg]
> 2010-02-19 15:53:16,971 WARN [geoserver.we] - GWCAdminPage does not
> have a title set
>
>
> Please help me to resolve this.
>
--
Arne Kepp
OpenGeo - http://opengeo.org
Expert service straight from the developers
|