We currently have web apps in the DMZ accessing our geoserver 2.0.1 running inside our firewall. My intention is to get GWC running in the DMZ as well and this is why I am first trying to run each servlet as a separate web app in eclipse. I replaced the GWC 1.2.2 with 1.2.1 but I am still getting the same results.
-----Original Message-----
From: Arne Kepp [mailto:arne@anonymised.com]
Sent: 2010-04-12 15:50
To: Keane, Tim
Cc: 'Geoserver-users@lists.sourceforge.net'
Subject: Re: [Geoserver-users] GeoWebCache GridSet for EPSG:2263
Sorry, I don't think I can help you with that setup. I don't know how
Eclipse decides what classes to use in that case, your logs suggest it
mixes them up.
GS 2.0.1 (and 2.0.x, for the time being) are both linked to the GWC
1.2.1 JAR file, we have not done any work on integrating 1.2.2. The
reason being that it's not clear when the next GS release will happen,
so we may well be at 1.2.3 or 1.2.4 by then.
If you want to run this in eclipse I suggest that you follow the
QuickStart guide, but instead of checking out trunk or 2.0.x, get the
2.0.1 tag.
-Arne
1: http://docs.geoserver.org/stable/en/developer/quickstart/index.html
-----Original Message-----
From: Arne Kepp [mailto:arne@anonymised.com]
Sent: Friday, April 09, 2010 7:11 PM
To: Keane, Tim
Cc: 'Geoserver-users@lists.sourceforge.net'
Subject: Re: [Geoserver-users] GeoWebCache GridSet for EPSG:2263
Hm, I'm confused. It looks like you are running GeoServer 2.0.x (from
subversion?) inside Eclipse. But then you shouldn't have
geowebcache-servlet.xml at all (it's applicationContext.xml, users
should not modify it). And the web.xml should be that of GeoServer. So
how did you put this together?
Before I realized this, I checked your geowebcache.xml in a standalone
GWC 1.2.2 and that appears to work fine.
-Arne
ps. The /rest problem (logo not showing up) has been causing me a lot of
grief, but I can't find a cause and I can't reproduce it outside of
Eclipse, so I've decided not to waste more time on it.
Keane, Tim wrote:
I am having trouble getting GeoWebCache to work with my data in its native SRS.
When using the OpenLayers demo request I get tiles with URL lie the following:
http://localhost:8088/geoserver/gwc/service/wms?LAYERS=doitt%3ASUBWAY_STATION_LABEL&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=-8238077.1593164,4950673.4472852,-8218509.2800781,4970241.3265234&WIDTH=256&HEIGHT=256
However, when attempting to get tiles with srs=EPSG:2263 (http://localhost:8088/geoserver/gwc/service/wms/wms?service=WMS&request=GetMap&version=1.1.1&format=image/png8&width=2560&&height=2560&layers=doitt:SUBWAY_STATION_LABEL&bbox=980000,194666.7,984444.4,199111.1&srs=EPSG:2263) I receive the following error in the log:
09 Apr 15:10:13 ERROR [geowebcache.GeoWebCacheDispatcher] - Unable to match requested SRS EPSG:2263 to those supported by layer http://localhost:8088/geoserver/gwc/service/wms/wms
09 Apr 15:10:13 ERROR [geowebcache.GeoWebCacheDispatcher] - Unable to find handler for service "rest" http://localhost:8088/geoserver/gwc/service/rest/web/geowebcache_logo.png
The GWC demo page only shows EPSG:900913 and EPSG:4326 as available for doitt:SUBWAY_STATION_LABEL, so I assume I have something misconfigured, but I do not know what.
I have attached the server log and the following config files:
web.xml
geowebcache.xml (accidently excluded from the first message to the list)
geowebcache-servlet.xml
featuretype.xml