Hi Thanks,

I have done this already.....But I am now having the suspicion that there is 
something wrong with my geoserver_data_dir ....I read a post that mentioned 
that it should not be placed inside a home directory. My geoserver_data_dir is 
indeed inside my home dir.

yours,

Robert


________________________________
 Von: Rahkonen Jukka <[email protected]>
An: 'Imran Rajjad' <[email protected]>; 'Robert Buckley' 
<[email protected]> 
Cc: "'[email protected]'" 
<[email protected]> 
Gesendet: 10:33 Dienstag, 14.Februar 2012
Betreff: Re: [Geoserver-users] WG: geowebcache.xml refusing to take affect.
 

Hi,
 
Changing the location of GWC directory used to work with the integrated GWS and 
Geoserver version 2.0.x by editing the web.xml file in 
\webapps\geoserver\WEB-INF\web.xml so that it includes an elemnent like this:
 
   <context-param>
               <param-name>GEOWEBCACHE_CACHE_DIR</param-name>
               <param-value>D:\data\gwc_data</param-value>
     </context-param> 
 
The geowebcache.xml that will be used after this change and reloading Geoserver 
had to be in the root of the GEOWEBCACHE_CACHE_DIR
 
I do not know if the situation is the same still. If it is it might be a good 
idea to iclude the element in the web.xml (commented out by default).
 
 
-Jukka Rahkonen-


>________________________________
> Imran Rajjad  wrote:
>
try checking this out 
>
>
>http://geowebcache.org/docs/current/configuration/layers/howto.html#changing-the-location-of-geowebcache-xml
>
>
>On Tue, Feb 14, 2012 at 12:46 PM, Robert Buckley <[email protected]> 
>wrote:
>
>
>>
>>----- Weitergeleitete Message -----
>>Von: Robert Buckley <[email protected]>
>>An: Robert Buckley <[email protected]> 
>>Gesendet: 8:46 Dienstag, 14.Februar 2012 
>>
>>Betreff: Re: [Geoserver-users] geowebcache.xml refusing to take affect.
>>
>>
>>I changed the logs to verbose which gave me this...
>>
>>
>>
>>
>>2012-02-14 08:39:50,793 DEBUG [referencing.factory] - Failure in the primary 
>>factory: No code "EPSG:25832" from authority "European Petroleum Survey 
>>Group" found for object of type "IdentifiedObject". Now trying the fallback 
>>factory...
>>2012-02-14 08:39:50,804 INFO [org.geoserver] - Loaded feature type 
>>'windpot50ha_etrs89', enabled
>>2012-02-14 08:39:50,805 INFO [org.geoserver] - Loaded feature type 'energie'
>>2012-02-14 08:39:50,807 INFO [org.geoserver] - Loaded layer 
>>'windpot50ha_etrs89'
>>2012-02-14 08:39:50,814 INFO [org.geoserver] - Loaded feature type 'wea', 
>>enabled
>>2012-02-14 08:39:50,815 INFO [org.geoserver] - Loaded feature type 'energie'
>>2012-02-14 08:39:50,817 INFO [org.geoserver] - Loaded layer 'wea'
>>2012-02-14 08:39:50,823 INFO [org.geoserver] - Loaded feature type 
>>'RROP_13_01_f', enabled
>>2012-02-14 08:39:50,824 INFO [org.geoserver] - Loaded feature type 'energie'
>>2012-02-14 08:39:50,826 INFO [org.geoserver] - Loaded layer 'RROP_13_01_f'
>>2012-02-14 08:39:50,833 INFO [org.geoserver] - Loaded feature type 
>>'tennet_auswertung_2010', enabled
>>2012-02-14 08:39:50,834 INFO [org.geoserver] - Loaded feature type 'energie'
>>2012-02-14 08:39:50,836 INFO [org.geoserver] - Loaded layer 
>>'tennet_auswertung_2010'
>>2012-02-14 08:39:50,842 INFO [org.geoserver] - Loaded feature type 
>>'Puffer5km', enabled
>>2012-02-14 08:39:50,842 INFO [org.geoserver] - Loaded feature type 'energie'
>>2012-02-14 08:39:50,845 INFO [org.geoserver] - Loaded layer 'Puffer5km'
>>2012-02-14 08:39:50,854 INFO [org.geoserver] - Loaded feature type 
>>'biogasanlagen', enabled
>>2012-02-14 08:39:50,855 INFO [org.geoserver] - Loaded feature type 'energie'
>>2012-02-14 08:39:50,857 INFO [org.geoserver] - Loaded layer 'biogasanlagen'
>>2012-02-14 08:39:50,859 INFO [org.geoserver] - Loaded store 'osm', enabled
>>2012-02-14 08:39:50,860 INFO [org.geoserver] - Loaded data store 'osm'
>>2012-02-14 08:39:50,864 DEBUG [geotools.jdbc] - CREATE CONNECTION
>>2012-02-14 08:39:50,888 DEBUG [geotools.jdbc] - CLOSE CONNECTION
>>2012-02-14 08:39:50,893 INFO [org.geoserver] - Loaded store 'dgm', enabled
>>2012-02-14 08:39:50,900 INFO [org.geoserver] - Loaded coverage store 'dgm'
>>2012-02-14 08:39:50,907 DEBUG [referencing.factory] - Failure in the primary 
>>factory: No code "EPSG:31463" from authority "European Petroleum Survey 
>>Group" found for object of type "IdentifiedObject". Now trying the fallback 
>>factory...
>>2012-02-14 08:39:50,950 INFO [org.geoserver] - Loaded coverage 'dgm', enabled
>>2012-02-14 08:39:50,968 INFO [org.geoserver] - Loaded coverage 'dgm'
>>
>>
>>
>>
>>
>>
>>????
>>
>>
>>
>>
>>
>>
>>
>>________________________________
>> Von: Robert Buckley <[email protected]>
>>An: "[email protected]" 
>><[email protected]> 
>>Gesendet: 8:29 Dienstag, 14.Februar 2012 
>>
>>Betreff: Re: [Geoserver-users] geowebcache.xml refusing to take affect.
>>
>>
>>
>>just to update...
>>
>>
>>
>>
>>I have now deleted my gwc directory and set the GEOWEBCACHE_CACHE_DIR in 
>>WEB-INF/web.xml
>>
>>
>>After a restart, geoserver creates the new config files into the directory as 
>>instructed in web.xml. Everything seems to work fine....but
>>
>>
>>geowebcache.xml is still not recognised!
>>
>>
>>yours,
>>
>>
>>Robert
>>
>>
>>
>>
>>
>>________________________________
>> Von: Robert Buckley <[email protected]>
>>An: "[email protected]" 
>><[email protected]> 
>>Gesendet: 20:58 Montag, 13.Februar 2012
>>Betreff: Re: [Geoserver-users] geowebcache.xml refusing to take affect.
>>
>>
>>hi,
>>
>>
>>I´ve just updated to geoserver latest....which basically confirms that 
>>something is wrong with my geoserver_data_dir!
>>
>>
>>Unfortunately the demo page still does not give the EPSG:25832 option and 
>>only gives 900913 and 4326...I guess my gwc directory is corrupt or my srs 
>>file.
>>
>>
>>Any idea how I can rebuild my GWC directory and reset my srs files?
>>
>>
>>yours,
>>
>>
>>Rob
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>________________________________
>> Von: Gabriel Roldan <[email protected]>
>>An: Robert Buckley <[email protected]> 
>>Cc: "[email protected]" 
>><[email protected]> 
>>Gesendet: 15:36 Montag, 13.Februar 2012
>>Betreff: Re: [Geoserver-users] geowebcache.xml refusing to take affect.
>>
>>
>>I don't have a 2.1.2 at hand, but 2.1.3 started just fine with your 
>>geowebcache.xml. See attachment. 
>>May be you want to try with 2.1.3?
>>
>>
>>On Fri, Feb 10, 2012 at 7:43 PM, Robert Buckley <[email protected]> 
>>wrote:
>>
>>Hi,
>>>
>>>
>>>Geoserver-2.1.2 / ubuntu 10.04 / Tomcat6 / integrated Geoserver GWC
>>>
>>>
>>>I am trying to get one layer cachable in EPSG:25832 (ETRS89). I have tried 
>>>most combinations for the layer including using the layer extents from the 
>>>layer configuration in geoserver to using the complete etrs89 bounds as 
>>>referenced in http://spatialreference.org/ref/epsg/25832/
>>>
>>>
>>>In an earlier post Gabriel Roldan suggested that the  wmsLayer name  
>>>property should not be exactly the name which geoserver uses....ie instead 
>>>of using "zgb:windpot50ha_etrs89" I should just use 
>>>"windpot50ha_etrs89"...however this didn´t work either. I restart geoserver 
>>>every time I change the geowebcache,xml
>>>
>>>
>>>here is my geoserver log after a restart
>>>
>>>
>>>2012-02-10 23:11:51,076 WARN [referencing.factory] - Axis elements found in 
>>>a wkt definition, the force longitude first axis order hint might not be 
>>>respected:
>>>PROJCS["ETRS89 / UTM zone 
>>>32N",GEOGCS["ETRS89",DATUM["European_Terrestrial_Reference_System_1989",SPHEROID["GRS
>>> 
>>>1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],AUTHORITY["EPSG","6258"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4258"]],UNIT["metre",1,AUTHORITY["EPSG","9001"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",9],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],AUTHORITY["EPSG","25832"],AXIS["Easting",EAST],AXIS["Northing",NORTH]]
>>>2012-02-10 23:11:53,090 WARN [gce.imagemosaic] - Unable to set ordering 
>>>between tiff readers spi
>>>2012-02-10 23:11:55,121 WARN [imagemosaic.catalog] - 
>>>BBOXFilterExtractor::extractBasicProperties(): passed typename is null, 
>>>using: dgm
>>>2012-02-10 23:11:56,401 WARN [imagemosaic.catalog] - 
>>>BBOXFilterExtractor::extractBasicProperties(): passed typename is null, 
>>>using: rrop08_mosaic
>>>2012-02-10 23:11:56,488 WARN [imagemosaic.catalog] - 
>>>BBOXFilterExtractor::extractBasicProperties(): passed typename is null, 
>>>using: tk25
>>>2012-02-10 23:11:57,241 WARN [imagemosaic.catalog] - 
>>>BBOXFilterExtractor::extractBasicProperties(): passed typename is null, 
>>>using: tk50
>>>2012-02-10 23:11:57,956 WARN [imagemosaic.catalog] - 
>>>BBOXFilterExtractor::extractBasicProperties(): passed typename is null, 
>>>using: etrs
>>>2012-02-10 23:12:19,560 WARN [servlet.BaseMapServlet] - Cannot delete 
>>>file:/var/lib/tomcat6/work/Catalina/localhost/geoserver/wicket-filestore
>>>2012-02-10 23:25:19,401 ERROR [geoserver.global] - 
>>>
>>>
>>>Obviously there could be a clue here...but I can´t say what it all means!!
>>>
>>>
>>>
>>>
>>>Here is my geowebcaache.xml file which sits in my GWC directory in 
>>>GEOSERVER_DATA 
>>>
>>>
>>>
>>>
>>>
>>><?xml version="1.0" encoding="utf-8"?>
>>><gwcConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>>                  
>>>xsi:noNamespaceSchemaLocation="http://geowebcache.org/schema/1.2.2/geowebcache.xsd";
>>>                  xmlns="http://geowebcache.org/schema/1.2.2";>
>>>
>>>
>>><version>1.2.2</version>
>>>
>>>
>>><gridSets>
>>>
>>>
>>>  <gridSet>
>>>    <name>EPSG:25832</name>
>>>    <srs><number>25832</number></srs>
>>>    <extent>
>>>      <coords>
>>>        <double>572250.438</double>
>>>        <double>5753235</double>
>>>        <double>637663.312</double>
>>>        <double>5854572</double>
>>>      </coords>
>>>    </extent>
>>>    <resolutions>
>>>      <double>279.9998488000</double> <!-- 1,000,000 -->
>>>      <double>139.9999244000</double> <!-- 1,500,000 -->
>>>      <double>27.9999848800</double> <!-- 100,000 -->
>>>      <double>13.9999924400</double> <!-- 50,000 -->
>>>      <double>2.7999984880</double> <!-- 10,000 -->
>>>      <double>1.3999992440</double> <!-- 5,000 -->
>>>      <double>0.2799998488</double> <!-- 1,000 -->
>>>    </resolutions>
>>>    <metersPerUnit>0.3048</metersPerUnit>
>>>    <tileHeight>256</tileHeight>
>>>    <tileWidth>256</tileWidth>
>>>  </gridSet>
>>>
>>>
>>></gridSets>
>>>
>>>
>>><layers>
>>>    <wmsLayer>
>>>    <name>windpot50ha_etrs89</name>
>>>    <gridSubsets>
>>>       <gridSubset>
>>>        <gridSetName>EPSG:25832</gridSetName>
>>>      </gridSubset>
>>>    </gridSubsets>
>>>    <wmsUrl><string>http://maps.zgb.de/geoserver/wms</string></wmsUrl>
>>>  </wmsLayer>
>>>  </layers>
>>></gwcConfiguration>
>>>
>>>
>>>
>>>
>>>
>>>
>>>Thanks,
>>>
>>>
>>>Rob
>>>
>>>
>>>------------------------------------------------------------------------------
>>>Virtualization & Cloud Management Using Capacity Planning
>>>Cloud computing makes use of virtualization - but cloud computing
>>>also focuses on allowing computing to be delivered as a service.
>>>http://www.accelacomm.com/jaw/sfnl/114/51521223/
>>>_______________________________________________
>>>Geoserver-users mailing list
>>>[email protected]
>>>https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>>
>>
>>
>>
>>
-- 
>>Gabriel Roldan
>>OpenGeo - http://opengeo.org
>>Expert service straight from the developers.
>>
>>
>>
>>------------------------------------------------------------------------------
>>Try before you buy = See our experts in action!
>>The most comprehensive online learning library for Microsoft developers
>>is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>>Metro Style Apps, more. Free future releases when you subscribe now!
>>http://p.sf.net/sfu/learndevnow-dev2
>>_______________________________________________
>>Geoserver-users mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>>
>>
------------------------------------------------------------------------------
>>Keep Your Developer Skills Current with LearnDevNow! 
>>
>>The most comprehensive online learning library for Microsoft developers
>>is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>>Metro Style Apps, more. Free future releases when you subscribe now!
>>http://p.sf.net/sfu/learndevnow-d2d 
>>
>>_______________________________________________
>>Geoserver-users mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>>
>>
>>
>>------------------------------------------------------------------------------
>>Keep Your Developer Skills Current with LearnDevNow!
>>The most comprehensive online learning library for Microsoft developers
>>is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>>Metro Style Apps, more. Free future releases when you subscribe now!
>>http://p.sf.net/sfu/learndevnow-d2d
>>_______________________________________________
>>Geoserver-users mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
>
>
>
-- 
>I.R
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to