My bad, I never deploy in Tomcat when I look for bugs, and whenever I do set up an instance it's for production.
Can you set GEOSERVER_DATA_DIR in web.xml ? It can point to the same location where you have the files now. ( I've worked out a patch tonight that'll let GWC get the location from the GeoSever Catalog, so hopefully this won't be needed anymore, starting with tomorrow's nightlies. ) -Arne On 8/6/10 1:27 PM, Per Liedman wrote: > Oh, sorry, I'm using GeoServer 2.0.2, latest stable if I understand correctly. > > I searched my D: drive for geowebcache.xml, but found only the file > with that name is located under D:\Program > Files\Tomcat-6.0.29\webapps\geoserver\data\gwc\geowebcache.xml. > > Also, it seems other people have the same error in their logs: > http://old.nabble.com/problems-starting-Geoserver-2.0.1-td27823745.html > (which it actually seems that you also replied to). Your reply says > that the log message is normal and means that it simply could not find > a configuration file for GeoWebCache, is this how I should interpret > it? > > Anyway, do you have a suggestion for how I could debug where it > searches for the configuration, and why it doesn't find it? > > Best regards, > Per Liedman > > 2010/8/6 Arne Kepp<[email protected]>: >> Always include which version of GeoServer you are using? >> >> Can you search d:\program files for occurences of geowebcache.xml ? It looks >> like it found another file, which probably shouldn't have been there. >> >> ".....\webapps\geoserver\data\gwc\geowebcache.xml" looks right to me. >> >> -Arne >> >> >> On 8/6/10 10:32 AM, Per Liedman wrote: >>> Hi, >>> I'm working on a configuration for the geowebcache instance integrated >>> into GeoServer, but have trouble getting GeoServer to pick it up. The >>> documentation >>> (http://docs.geoserver.org/stable/en/user/geowebcache/setup.html) >>> says: >>> >>> "If you need to use more of the GeoWebCache’s features than the >>> automatic configuration offers then you can create a gwc directory >>> inside the GeoServer data directory, and in it place a geowebcache.xml >>> file." >>> >>> I have GeoServer deployed in Tomcat, under the path D:\Program >>> Files\Tomcat-6.0.29\webapps\geoserver, and hence put the configuration >>> file under D:\Program >>> Files\Tomcat-6.0.29\webapps\geoserver\data\gwc\geowebcache.xml. This >>> does not seem to work, though. The only thing I see in the logs >>> regarding GeoWebCache on startup is: >>> >>> 05 aug 16:56:03 ERROR [layer.TileLayerDispatcher] - Error reading >>> service information from D:\Program >>> Files\Tomcat-6.0.29\webapps\geoserver\..\resources: Error parsing file >>> D:\Program >>> Files\Tomcat-6.0.29\webapps\geoserver\..\resources\geowebcache.xml >>> >>> My question is: what is the correct location of the configuration >>> file, how can I verify that it is being used and what is this strange >>> file location that is mentioned in the log? >>> >>> Best regards and thanks in advance, >>> Per Liedman >>> ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
