From: Colleen W. <cw...@gm...> - 2010-04-11 23:36:16
|
I am GeoServer and GeoWebCache *newbie*. I have downloaded and extracted GeoServer. Is my understanding the GeoWebCache is a subcomponent of GeoServer, location: ..\geoserver\WEB-INF\lib\geowebcache-1.2.1.jar I am experiencing problems with configuring GeoWebCache as a proxy tiling agent for GeoServer. I copied "geowebcache.xml" to data_dir/gwc and restarted GeoServer The following errors are displayed: Found configuration file in ../data_dir/gwc cvc-elt.1: Cannot find the declaration of element 'gwcConfiguration'. Will try to use configuration anyway. Invocation of destroy method failed on bean with name 'geoServerLoader': java.lang.NullPointerException Context initialization failed I was not able to resolved the issue described above. Next, I tried using GeoWebCache (GWC) as a standalone I modified the web.xml to define where GWC should store the cache for the layers. Restarted GWC and successfully render http://localhost:8080/geowebcache/demo I want to be able to save (cache) map tiles, then move them to GeoServer. How to configure GWC to cache? I am referencing your documentation for Google Maps with no success. What am I doing wrong? |
From: Arne K. <ar...@ti...> - 2010-04-12 15:38:53
|
It's saying it can't find the root element, <gwcConfiguration>, or perhaps the namespace is wrong. I would use [1] as a starting point and modify it to suit your needs, then validate using one of the suggested tools [2]. If all else fails, attach the file in an email to this list and we can have a look at it. -Arne 1: http://geowebcache.org/svn/tags/1.2.1/geowebcache/src/main/resources/geowebcache.xml 2: http://geowebcache.org/docs/current/configuration/xml/index.html Colleen Watkins wrote: > I am GeoServer and GeoWebCache *newbie*. > I have downloaded and extracted GeoServer. > Is my understanding the GeoWebCache is a subcomponent of GeoServer, > location: ..\geoserver\WEB-INF\lib\geowebcache-1.2.1.jar > I am experiencing problems with configuring GeoWebCache as a proxy > tiling agent for GeoServer. > I copied "geowebcache.xml" to data_dir/gwc and restarted GeoServer > The following errors are displayed: > Found configuration file in ../data_dir/gwc > cvc-elt.1: Cannot find the declaration of element > 'gwcConfiguration'. > Will try to use configuration anyway. > Invocation of destroy method failed on bean with name > 'geoServerLoader': java.lang.NullPointerException > Context initialization failed > > I was not able to resolved the issue described above. > > Next, I tried using GeoWebCache (GWC) as a standalone > I modified the web.xml to define where GWC should store the cache for > the layers. > Restarted GWC and successfully render > http://localhost:8080/geowebcache/demo > > > I want to be able to save (cache) map tiles, then move them to GeoServer. > How to configure GWC to cache? > I am referencing your documentation for Google Maps with no success. > > What am I doing wrong? |
From: Colleen W. <cw...@gm...> - 2010-04-13 20:07:49
Attachments:
states_gmaps.html
|
When I tried the states_gmaps.html, only the map was render. The "namespace:datastore" directory was not created. Do you have a sample google map client? See attachment -----Original Message----- From: Arne Kepp [mailto:ar...@ti...] Sent: Monday, April 12, 2010 8:39 AM To: Colleen Watkins Cc: geo...@li... Subject: Re: [geowebcache-users] How to configure GeoWebCache to cache map tiles It's saying it can't find the root element, <gwcConfiguration>, or perhaps the namespace is wrong. I would use [1] as a starting point and modify it to suit your needs, then validate using one of the suggested tools [2]. If all else fails, attach the file in an email to this list and we can have a look at it. -Arne 1: http://geowebcache.org/svn/tags/1.2.1/geowebcache/src/main/resources/geowebc ache.xml 2: http://geowebcache.org/docs/current/configuration/xml/index.html Colleen Watkins wrote: > I am GeoServer and GeoWebCache *newbie*. > I have downloaded and extracted GeoServer. > Is my understanding the GeoWebCache is a subcomponent of GeoServer, > location: ..\geoserver\WEB-INF\lib\geowebcache-1.2.1.jar > I am experiencing problems with configuring GeoWebCache as a proxy > tiling agent for GeoServer. > I copied "geowebcache.xml" to data_dir/gwc and restarted GeoServer > The following errors are displayed: > Found configuration file in ../data_dir/gwc > cvc-elt.1: Cannot find the declaration of element > 'gwcConfiguration'. > Will try to use configuration anyway. > Invocation of destroy method failed on bean with name > 'geoServerLoader': java.lang.NullPointerException > Context initialization failed > > I was not able to resolved the issue described above. > > Next, I tried using GeoWebCache (GWC) as a standalone > I modified the web.xml to define where GWC should store the cache for > the layers. > Restarted GWC and successfully render > http://localhost:8080/geowebcache/demo > > > I want to be able to save (cache) map tiles, then move them to GeoServer. > How to configure GWC to cache? > I am referencing your documentation for Google Maps with no success. > > What am I doing wrong? |
From: nubian <cw...@gm...> - 2010-04-16 03:51:59
|
I was able to correct the problem using the reference to geowebcache.xml stated below. Thanks Arne Kepp-2 wrote: > > It's saying it can't find the root element, <gwcConfiguration>, or > perhaps the namespace is wrong. > > I would use [1] as a starting point and modify it to suit your needs, > then validate using one of the suggested tools [2]. If all else fails, > attach the file in an email to this list and we can have a look at it. > > -Arne > > 1: > http://geowebcache.org/svn/tags/1.2.1/geowebcache/src/main/resources/geowebcache.xml > > 2: http://geowebcache.org/docs/current/configuration/xml/index.html > > Colleen Watkins wrote: >> I am GeoServer and GeoWebCache *newbie*. >> I have downloaded and extracted GeoServer. >> Is my understanding the GeoWebCache is a subcomponent of GeoServer, >> location: ..\geoserver\WEB-INF\lib\geowebcache-1.2.1.jar >> I am experiencing problems with configuring GeoWebCache as a proxy >> tiling agent for GeoServer. >> I copied "geowebcache.xml" to data_dir/gwc and restarted GeoServer >> The following errors are displayed: >> Found configuration file in ../data_dir/gwc >> cvc-elt.1: Cannot find the declaration of element >> 'gwcConfiguration'. >> Will try to use configuration anyway. >> Invocation of destroy method failed on bean with name >> 'geoServerLoader': java.lang.NullPointerException >> Context initialization failed >> >> I was not able to resolved the issue described above. >> >> Next, I tried using GeoWebCache (GWC) as a standalone >> I modified the web.xml to define where GWC should store the cache for >> the layers. >> Restarted GWC and successfully render >> http://localhost:8080/geowebcache/demo >> >> >> I want to be able to save (cache) map tiles, then move them to GeoServer. >> How to configure GWC to cache? >> I am referencing your documentation for Google Maps with no success. >> >> What am I doing wrong? > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Geowebcache-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geowebcache-users > > -- View this message in context: http://old.nabble.com/How-to-configure-GeoWebCache-to-cache-map-tiles-tp28212666p28262914.html Sent from the GeoWebCache Users mailing list archive at Nabble.com. |