[Geoserver-users] cascading a GeoSever WMS fails (xml.sax Error)

Dear all,

After Upgrading from 2.2.4 (tomcat6/java6) to 2.3.5 (tomcat7/java7)

I get the same error as mentioned in

http://www.mail-archive.com/geoserver-users@lists.sourceforge.net/msg15284.html

04 Sep 14:58:22 INFO [geoserver.wms] -

Request: getServiceInfo

04 Sep 14:58:23 ERROR [xml.sax] - FATAL Content is not allowed in prolog.

04 Sep 14:58:23 ERROR [xml.sax] - col 1, line 1

04 Sep 14:58:23 ERROR [xml.sax] - FATAL Content is not allowed in prolog.

04 Sep 14:58:23 ERROR [xml.sax] - col 1, line 1

04 Sep 14:58:23 ERROR [xml.sax] - FATAL Content is not allowed in prolog.

04 Sep 14:58:23 ERROR [xml.sax] - col 1, line 1

04 Sep 14:58:23 ERROR [geoserver.ows] -

org.geoserver.platform.ServiceException: Internal error

Ian, did you find a fix for this problem?

The “problematic” WMS I am cascading from are e.g.

http://isk.geobasis-bb.de/ows/dnm.php?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1

http://isk.geobasis-bb.de/ows/dop20c.php?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1

It is working fine with another WMS from the same operator like

http://isk.geobasis-bb.de/ows/dnmvg.php?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1

Downloading these by hand, theses XML files look fine to me, actually.

Best regards,

Jens

It came down to my HTTP proxy not handling persistent connections properly for machines that are with in my network - the solution is to uncheck the use connection pooling box on the WMS datastore page.

Ian

···

On 5 September 2013 09:25, Nachtigall, Jens (init) <Jens.Nachtigall@anonymised.com> wrote:

Dear all,

After Upgrading from 2.2.4 (tomcat6/java6) to 2.3.5 (tomcat7/java7)

I get the same error as mentioned in

http://www.mail-archive.com/geoserver-users@lists.sourceforge.net/msg15284.html

04 Sep 14:58:22 INFO [geoserver.wms] -

Request: getServiceInfo

04 Sep 14:58:23 ERROR [xml.sax] - FATAL Content is not allowed in prolog.

04 Sep 14:58:23 ERROR [xml.sax] - col 1, line 1

04 Sep 14:58:23 ERROR [xml.sax] - FATAL Content is not allowed in prolog.

04 Sep 14:58:23 ERROR [xml.sax] - col 1, line 1

04 Sep 14:58:23 ERROR [xml.sax] - FATAL Content is not allowed in prolog.

04 Sep 14:58:23 ERROR [xml.sax] - col 1, line 1

04 Sep 14:58:23 ERROR [geoserver.ows] -

org.geoserver.platform.ServiceException: Internal error

Ian, did you find a fix for this problem?

The “problematic” WMS I am cascading from are e.g.

http://isk.geobasis-bb.de/ows/dnm.php?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1

http://isk.geobasis-bb.de/ows/dop20c.php?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1

It is working fine with another WMS from the same operator like

http://isk.geobasis-bb.de/ows/dnmvg.php?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1

Downloading these by hand, theses XML files look fine to me, actually.

Best regards,

Jens


Ian Turton