Ticket #51 (closed defect: fixed)

Opened 4 months ago

Last modified 7 weeks ago

Doesn't work by default

Reported by: fred.wen@… Owned by: arneke
Priority: major Milestone:
Component: core Version:
Keywords: Cc:

Description

I installed GeoSever? 1.7.0RC3. It works fine. I noticed it has the GeoWebCache jar files included. But just in case, I overwrote the files with geoserver-1.7.0-RC3-gwc-plugin.zip. I tried to run a few examples in tiled version and none works. For example for topp:states layer, I use the tiled version:
http://localhost:8080/geoserver/gwc/service/wms?bbox=-127.61950064999999,23.7351786,-64.08177035,50.592523400000005&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=topp:states&width=800&height=317&srs=EPSG:4326
The page hung while Tomcat took a lot of CPU.

For sf:roads the tomcat log indicates error:
23 Sep 09:18:20 ERROR [geowebcache.GeoWebCacheDispatcher?] - Unable to match requested SRS EPSG:26713 to those supported by layer http://localhost:8080/geoserver/gwc/service/wms

The url in readme http://localhost:8080/geoserver/gwc/service/ve?layers=topp:states&quadkey=02 gives returns http status 400: The request sent by the client was syntactically incorrect ().

What's going wrong?

Change History

Changed 3 months ago by arneke

Srry about the slow response.

Your request is invalid for many reasons (not tiled, arbitrary windows size, output format openlayers...). Please use http://localhost:8080/geoserver/gwc/demo

However, it certainly shouldn't cause GS / GWC to consume all available CPU. I suspect it's the code that tries to find the best matching tile, will investigate asap.

Thanks for reporting.

Changed 3 months ago by arneke

  • status changed from new to closed
  • resolution set to fixed

Fixed in revision 402, throws exceptions more generously for invalid resolutions and mimetypes.

Changed 7 weeks ago by fred.wen@…

  • status changed from closed to reopened
  • resolution fixed deleted

I found one cause it doesn't work by default is following typo in file main/java/org/geowebcache/demo/Demo.java prevented IE from rendering the page correctly:
<title>...</tile>

the page works in FireFox?, however.
The type still exists in trunk.

Changed 7 weeks ago by arneke

  • status changed from reopened to closed
  • resolution set to fixed

Thank you :) I've fixed the typo, and I am very surprised it has such disastrous consequences in IE. Uploading beta 2 now, where this should be fixed.

Please open new tickets for new bugs.

Note: See TracTickets for help on using tickets.