Hi, are you querying directly through the browser address bar? if yes then WMS returns a single image which you are able to see, that is not the case with GWC, you need to request it through a certain grid model. Are you using any Web Mapping API? You can do one thing, do to the gwc demo page and open the demo and see if it works or not. Do not directly query GWC through your browser, it will never work since it comes back with more than one image.
regards, Imran 2010/11/22 Luís de Sousa <luis.a.de.so...@gmail.com>: > Ok, I went through the 2.0 documentation as Imran suggested. The demo page > is correctly listing all the layers and the ArcSample layer comes on the > 4326 SRS, so no aditional configurations should be needed. > > Querying Geoserver directly I get the expected reply: > > http://localhost:8090/geoserver/wms?HEIGHT=330&WIDTH=660&LAYERS=nurc%3AArc_Sample&STYLES=&SRS=EPSG%3A4326&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&BBOX=-234.140625,-116.71875,229.921875,115.3125 > > Querying GeoWebCache I get the "400 Bad Request" message: > > http://localhost:8090/geoserver/gwc/service/wms?LAYERS=nurc%3AArc_Sample&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-180,-90,0,90&WIDTH=256&HEIGHT=256 > > I listed the contents of the data_dir/gwc directory but it contains no logs. > Where can I find them? > > Thank you, > > Luís > > > > 2010/11/22 Arne Kepp <a...@tiledmarble.org> >> >> 1.7.7 is kind of old, I don't remember the causes for a 400 (without a >> proper error message). >> >> The request looks fine, and if all the layers are present in gwc/demo then >> it appears that you have already set GEOSERVER_WMS_URL correctly. >> >> Check the logfiles? >> >> -Arne >> >> >> > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today > http://p.sf.net/sfu/msIE9-sfdev2dev > _______________________________________________ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > -- I.R ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users