Hi again, I have managed to fix this problem, or at leat found a workaround for it. Problem was with custom EPSG definitions, both override and customly added one. Originally both custom definitions used had AXIS definitions like this:
AXIS["Easting", EAST], AXIS["Northing", NORTH] I had to switch these around to get WMS 1.3.0 to work with these projections. Regardless of CITE compliance setting, WMS 1.1.1 keeps working. I'm not sure if this is a bug or if I'm missing something, but according to documentation, Geoserver should be able to do that coordinate switch automatically, and it clearly works that way with non-custom projections. Regards, Tuomas Koivusalo ________________________________________ From: Koivusalo, Tuomas [[email protected]] Sent: 30 October 2012 17:16 To: Andrea Aime Cc: [email protected] Subject: Re: [Geoserver-users] WMS 1.3.0 stopped working. Hi all, I have spent time further studying this. I upgraded Geoserver 2.2.1, and after that I cannot see firstly mentioned stack trace, so that doesn't have anything to with issue. Apparently bad credentials error is related to changing log levels, and I misread the log. Actual problem seems to be related using particular projection. If WGS84 is used, WMS 1.3.0 works just fine. If EPSG:3878 is used, nothing is shown. EPSG:3878 is custom projection, which have been added to user.projections file, and also we have override for 3131 to be regarded as 3878. As far as I can tell this isconfigured ok, and it worked with Geoserver 2.0.2. However, I cannot get any errors when doing requests with EPSG:3878 and WMS 1.3.0, no matter the log level. This is what I get out with Geoserver developer log level: 30 Oct 17:06:35 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/ows] 30 Oct 17:06:35 DEBUG [org.geoserver.ows.OWSHandlerMapping] - Mapping [/ows] to HandlerExecutionChain with handler [org.geoserver.ows.Dispatcher@7c4d1082] and 1 interceptor 30 Oct 17:06:35 INFO [org.geoserver.wms] - Request: getServiceInfo 30 Oct 17:06:35 DEBUG [org.geoserver.ows] - Getting layers and styles from LAYERS and STYLES 30 Oct 17:06:35 DEBUG [org.geoserver.ows] - establishing style_name style for workspace:layer 30 Oct 17:06:35 DEBUG [org.geoserver.wms] - setting up map 30 Oct 17:06:35 DEBUG [org.geoserver.wms.map] - setting up 525x767 image 30 Oct 17:06:35 DEBUG [org.vfny.geoserver.responses.wms.map] - setting to transparent 30 Oct 17:06:35 INFO [org.geoserver.wms] - Request: getMap Time = [] Filter = null Format = image/png Buffer = 0 Height = 767 Width = 525 Tiled = false Palette = null SRS = urn:x-ogc:def:crs:EPSG:3131 FeatureVersion = null Legend = false Styles = [StyleImpl[ name=style]] Layers = [org.geoserver.wms.MapLayerInfo@36f3a6e8] MaxFeatures = null Bbox = ReferencedEnvelope[6813327.606167 : 6844244.968612, 476567.20795 : 497725.194201] RemoteOwsType = null RemoteOwsURL = null Env = {} FormatOptions = {} Angle = 0.0 CQLFilter = null Elevation = [] FeatureId = null StartIndex = null ViewParams = null Crs = PROJCS["ETRS89 / ETRS-GK24FIN", GEOGCS["ETRS89", DATUM["European_Terrestrial_Reference_System_1989", SPHEROID["GRS 1980", 6378137.0, 298.257222101, AUTHORITY["EPSG","7019"]], AUTHORITY["EPSG","6258"]], PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], UNIT["degree", 0.017453292519943295], AXIS["Longitude", EAST], AXIS["Latitude", NORTH], AUTHORITY["EPSG","4258"]], PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], UNIT["degree", 0.017453292519943295], AXIS["Longitude", EAST], AXIS["Latitude", NORTH], AUTHORITY["EPSG","4258"]], PROJECTION["Transverse_Mercator"], PARAMETER["central_meridian", 24.0], PARAMETER["latitude_of_origin", 0.0], PARAMETER["scale_factor", 1.0], PARAMETER["false_easting", 500000.0], PARAMETER["false_northing", 0.0], UNIT["m", 1.0], AXIS["Easting", EAST], AXIS["Northing", NORTH], AUTHORITY["EPSG","3131"]] BgColor = java.awt.Color[r=255,g=255,b=255] Transparent = true SldBody = null ValidateSchema = false Sld = null SldVersion = null TilesOrigin = null Filters = null Exceptions = SE_XML KMScore = 40 KMattr = true Version = 1.3.0 Request = GetMap Get = true RawKvp = {BBOX=6813327.606167,476567.207950,6844244.968612,497725.194201, CRS=EPSG:3131, TRANSPARENT=TRUE, VERSION=1.3.0, FORMAT=image/png, SERVICE=WMS, HEIGHT=767, REQUEST=GetMap, LAYERS=workspace:LAYER, STYLES=, DPI=67, WIDTH=525} BaseUrl = http://ip:80/geoserver/ RequestCharset = UTF-8 30 Oct 17:06:35 DEBUG [org.geoserver.wms.map] - Writing png image ... 30 Oct 17:06:35 DEBUG [org.geoserver.wms.map] - Writing png image ... done! 30 Oct 17:06:35 DEBUG [org.geoserver.filters] - Not compressing output for mimetype: image/png I have been testing this with Quantum GIS 1.8.0 and using layer preview, log looks about same in both cases. Also, I haven't seen any additional info on other log levels. Could this be some kind of re-projection problem with our custom EPSG? Any ideas would be appreciated. Thanks! Regards, Tuomas Koivusalo ________________________________________ From: [email protected] [[email protected]] on behalf of Andrea Aime [[email protected]] Sent: 25 October 2012 11:32 To: Koivusalo, Tuomas Cc: [email protected] Subject: Re: [Geoserver-users] WMS 1.3.0 stopped working. On Wed, Oct 24, 2012 at 8:04 PM, Koivusalo, Tuomas <[email protected]> wrote: > Hi again, > > I tweaked log level and now I can see 'bad credentials' error message when > trying to use wms 1.3.0. I tried this through layer preview as admin-user, > so I don't even know what credentials I could be missing. Also, security > config don't appear to have any specific rules for wms. Any clues or ideas > would be appreciated. You should include the errors you see in the logs, including full stack traces, and what the requests you're making look like Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
