On Thu, Mar 22, 2012 at 1:49 PM, Stephen V. Mather <
[email protected]> wrote:
> Hi All,****
>
> I’m running GS 2.1.0, GeoTools 2.7.1 (rev -1) on a Debian
> box. I’m having trouble getting my GetCapabilities document. If I submit
> a capabilities request:****
>
> ** **
>
> http://maps:80/geoserver/wms?request=getCapabilities****
>
> ** **
>
> XML Parsing Error: XML or text declaration not at start of entity****
>
> Location: http://maps/geoserver/TestWfsPost****
>
> Line Number 1433, Column 21: <Abstract><?xml version="1.0"
> encoding="UTF-8"?><ServiceExceptionReport version="1.3.0" xmlns="
> http://www.opengis.net/ogc" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
> http://www.opengis.net/ogc
> http://maps/schemas/wms/1.3.0/exceptions_1_3_0.xsd"> <ServiceException>*
> ***
>
> --------------------^****
>
> ** **
>
> With logging set to verbose, I don’t get any log associated with this
> request.****
>
> ** **
>
> Anyone have a hunch what is happening?
>
The generation of the caps fails mid way when the xml is already generated
at least partly,
so the service exception is mixed with the portion of the capabitlies
document that
was generated fine.
You can set a different service strategy in web.xml to try and get the
exception
without the rest of the document:
http://docs.geoserver.org/latest/en/user/production/config.html
The default one is faster though.
Eventually what you need to do is to figure out why the caps document fails
to
generate, more often than not there is a misconfigured layer
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users