Hi all,
Recently we had a client reporting issues with the geoserver web ui on
websphere. The problem reported that many of the links in the ui don't work
and always lead to the home page. The reason for this a bug in websphere in
the way it handles relative page redirects that only include a query
string, and not a complete context path.
Relevant issues have been reported in wicket, for instance:
https://issues.apache.org/jira/browse/WICKET-2078
Also some more info here:
http://www.ibm.com/developerworks/forums/thread.jspa?threadID=250807
http://www-01.ibm.com/support/docview.wss?rs=180&context=SSEQTP&dc=DB550&uid=swg1PK89992&loc=en_US&cs=UTF-8&lang=en&rss=ct180websphere
Long story short while this is clearly a websphere bug it doesn't appear to
be getting fixed any time soon. So the solution i came up with was to
create a filter that turns relative redirects that only include a query
string into ones that also include the context path. Not pretty but it
seems to work.
So i was thinking about adding this as a community module. The module would
include a single filter class which you can find here:
https://github.com/jdeolive/geoserver/blob/was/src/community/websphere/src/main/java/org/geoserver/web/websphere/WebSphereFilter.java
Any objections?
Thanks.
-Justin
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel