Hi Gabriel,
A little more information on this error:
It is easy to reproduce on the standard GeoServer distribution (latest 2.1.x
nightly, 2-16-2011). By the way, the latest nightly of 2.1.x is not
accessible from the Geoserver web site, you have to go to here:
http://gridlock.opengeo.org/geoserver/2.1.x/
This works:
http://localhost:8080/geoserver/wms?service=WMS&version=1.1.0&REQUEST=GetLegendGraphic&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&LAYER=topp:tasmania_water_bodies&WIDTH=150&FORMAT=image%2Fpng
This does not:
http://localhost:8080/geoserver/gwc/service/wms?service=WMS&version=1.1.0&REQUEST=GetLegendGraphic&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&LAYER=topp:tasmania_water_bodies&WIDTH=150&FORMAT=image%2Fpng
I then tried it on an old 1.7.6 release, and it works fine.
Roger
On Tue, Feb 8, 2011 at 5:13 PM, Roger Bedell <[email protected]> wrote:
> Hi Gabriel,
>
> Here is the verbose log:
>
> 2011-02-08 10:10:27,786 DEBUG [org.geoserver.filters] - filtering
> http://204.62.18.181:8080/geoserver/gwc/service/wms
> 2011-02-08 10:10:27,786 ERROR [org.geowebcache.GeoWebCacheDispatcher] -
> null http://204.62.18.181:8080/geoserver/gwc/service/wms
> 2011-02-08 10:10:31,655 DEBUG [org.geoserver.filters] - filtering
> http://204.62.18.181:8080/geoserver/gwc/rest/web/geowebcache_logo.png
> 2011-02-08 10:10:41,186 DEBUG [org.geoserver.filters] - filtering
> http://204.62.18.181:8080/geoserver/web/
> 2011-02-08 10:10:41,186 DEBUG [org.geoserver.ows.OWSHandlerMapping] -
> Looking up handler for [/web/]
> 2011-02-08 10:10:41,186 DEBUG [org.geoserver.ows.OWSHandlerMapping] -
> Looking up handler for [/web/]
> 2011-02-08 10:10:41,592 DEBUG [org.geoserver.filters] - filtering
> http://204.62.18.181:8080/geoserver/web/
> 2011-02-08 10:10:41,592 DEBUG [org.geoserver.ows.OWSHandlerMapping] -
> Looking up handler for [/web/]
> 2011-02-08 10:10:41,592 DEBUG [org.geoserver.ows.OWSHandlerMapping] -
> Looking up handler for [/web/]
> 2011-02-08 10:10:41,592 DEBUG [org.geoserver.web] - cannot convert url:
> jar:file:/E:/OGI/Programs/T64/webapps/geoserver/WEB-INF/lib/web-core-2.2-SNAPSHOT.jar!/org/geoserver/web/css/blueprint/screen.css
> to file (URI is not hierarchical), falling back to the inputstream for
> polling
> 2011-02-08 10:10:41,592 DEBUG [org.geoserver.web] - cannot convert url:
> jar:file:/E:/OGI/Programs/T64/webapps/geoserver/WEB-INF/lib/web-core-2.2-SNAPSHOT.jar!/org/geoserver/web/css/blueprint/print.css
> to file (URI is not hierarchical), falling back to the inputstream for
> polling
> 2011-02-08 10:10:41,592 DEBUG [org.geoserver.web] - cannot convert url:
> jar:file:/E:/OGI/Programs/T64/webapps/geoserver/WEB-INF/lib/web-core-2.2-SNAPSHOT.jar!/org/geoserver/web/css/geoserver.css
> to file (URI is not hierarchical), falling back to the inputstream for
> polling
> 2011-02-08 10:10:41,592 DEBUG [org.geoserver.web] - cannot convert url:
> jar:file:/E:/OGI/Programs/T64/webapps/geoserver/WEB-INF/lib/web-core-2.2-SNAPSHOT.jar!/org/geoserver/web/css/blueprint/ie.css
> to file (URI is not hierarchical), falling back to the inputstream for
> polling
> 2011-02-08 10:10:41,592 DEBUG [org.geoserver.web] - cannot convert url:
> jar:file:/E:/OGI/Programs/T64/webapps/geoserver/WEB-INF/lib/web-core-2.2-SNAPSHOT.jar!/org/geoserver/web/css/geoserver-ie.css
> to file (URI is not hierarchical), falling back to the inputstream for
> polling
> 2011-02-08 10:10:41,592 DEBUG [org.geoserver.web] - cannot convert url:
> jar:file:/E:/OGI/Programs/T64/webapps/geoserver/WEB-INF/lib/web-core-2.2-SNAPSHOT.jar!/org/geoserver/web/js/jquery-1.2.6.min.js
> to file (URI is not hierarchical), falling back to the inputstream for
> polling
> 2011-02-08 10:10:41,608 DEBUG [org.geoserver.web] - cannot convert url:
> jar:file:/E:/OGI/Programs/T64/webapps/geoserver/WEB-INF/lib/web-core-2.2-SNAPSHOT.jar!/org/geoserver/web/js/jquery.inline-info.js
> to file (URI is not hierarchical), falling back to the inputstream for
> polling
>
>
>
> On Tue, Feb 8, 2011 at 3:42 PM, Gabriel Roldán <[email protected]>wrote:
>
>> please check the logs and send back the complete stack trace that should
>> be there after a failed request like that.
>>
>> Cheers,
>> Gabriel
>> On Tue, 2011-02-08 at 12:06 +0100, Roger Bedell wrote:
>> > Morning everyone,
>> >
>> > In the past, Geoserver 1.7.6, calling GetLegendGraphic was passed
>> > through GWC to geoserver. Example: (it works)
>> >
>> > http://ogi.state.ok.us:8080/geoserver/gwc/service/wms?LAYERS=ogi%
>> > 3Aokcounties&FORMAT=image%
>> >
>> 2Fpng&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&LAYER=ogi%3Aokcounties&SCALE=3466752.1306573446&WIDTH=150
>> >
>> > However, in our new server, using a fairly recent nightly build of GS,
>> > this no longer works:
>> >
>> > http://204.62.18.181:8080/geoserver/gwc/service/wms?LAYERS=ogi%
>> > 3Aokcounties&FORMAT=image%
>> >
>> 2Fpng&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&LAYER=ogi%3Aokcounties&SCALE=3466752.1306573446&WIDTH=150
>> >
>> > however, if you remove the gwc/service, it works, however, this
>> > doesn't work for us since we are using GWC in OpenLayers, and really
>> > need GWC to pass this through like it used to.
>> >
>> > http://204.62.18.181:8080/geoserver/wms?LAYERS=ogi%
>> > 3Aokcounties&FORMAT=image%
>> >
>> 2Fpng&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&LAYER=ogi%3Aokcounties&SCALE=3466752.1306573446&WIDTH=150
>> >
>> > Best Regards,
>> > Roger
>> >
>> >
>> >
>> ------------------------------------------------------------------------------
>> > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio
>> XE:
>> > Pinpoint memory and threading errors before they happen.
>> > Find and fix more than 250 security defects in the development cycle.
>> > Locate bottlenecks in serial and parallel code that limit performance.
>> > http://p.sf.net/sfu/intel-dev2devfeb
>> > _______________________________________________ Geoserver-users mailing
>> list [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>> --
>> Gabriel Roldan
>> [email protected]
>> Expert service straight from the developers
>>
>>
>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users