[Geoserver-users] GetFeatureInfo and oracle

Hi communitiy,

I am using Geoserver 1.4-M1. I have configured Geoserver as an WMS-server using data lying on an oracle spatial database.

Now I try to test the functionality of the server. among others I tested the GetFeatureInfo request. Everything works fine for GetFeatureInfo request with "Info_Format=text/plain" and "Info_Format=text/html". But when I do a GetFeatureInfo request with "Info_Format=application/vnd.ogc.gml" I get an error message saying:

ServiceExceptionReport version="1.1.1">
<ServiceException>null</ServiceException>
</ServiceExceptionReport>

The request URL is the following:

http://10.65.112.50:8080/geoserver/wms?SERVICE=WMS&REQUEST=GetFeatureInfo&VERSION=1.1.1&LAYERS=daniel:TEST_LINE&STYLES=line&SRS=EPSG:31468&BBOX=4435855.29,5475807.78,4443457.88,5481889.85&WIDTH=500&HEIGHT=400&FORMAT=image/png&info_format=application/vnd.ogc.gml&query_layers=daniel:TEST_LINE&x=250&y=250

Does anybody know why I get this error message?Could anybody help?

Thank you so much for any ideas and help.

regards

Daniel

Does anybody know why I get this erorr?

--

"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

Does a GetFeature request work? It should return GML.

Can you set Config -> Server -> Verbose Exceptions to true and send the error report?

Daniel Goetz wrote:

Hi communitiy,

I am using Geoserver 1.4-M1. I have configured Geoserver as an WMS-server using data lying on an oracle spatial database.

Now I try to test the functionality of the server. among others I tested the GetFeatureInfo request. Everything works fine for GetFeatureInfo request with "Info_Format=text/plain" and "Info_Format=text/html". But when I do a GetFeatureInfo request with "Info_Format=application/vnd.ogc.gml" I get an error message saying:

ServiceExceptionReport version="1.1.1">
<ServiceException>null</ServiceException>
</ServiceExceptionReport>

The request URL is the following:

http://10.65.112.50:8080/geoserver/wms?SERVICE=WMS&REQUEST=GetFeatureInfo&VERSION=1.1.1&LAYERS=daniel:TEST_LINE&STYLES=line&SRS=EPSG:31468&BBOX=4435855.29,5475807.78,4443457.88,5481889.85&WIDTH=500&HEIGHT=400&FORMAT=image/png&info_format=application/vnd.ogc.gml&query_layers=daniel:TEST_LINE&x=250&y=250

Does anybody know why I get this error message?Could anybody help?

Thank you so much for any ideas and help.

regards

Daniel

Does anybody know why I get this erorr?

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org

Hi Chris,

Thank you for your reply and sorry for my late answer. I was off for a few days.

Yes, the GetFeature (WFS) Request works fine. I get back a GML document with no exceptions. So I tried to set the Verbobse Exceptions to true. The error message is the following (I will attach it to this email as well):

<?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE ServiceExceptionReport SYSTEM "http://10.65.112.50:8080/geoserver/schemas//wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt; <ServiceExceptionReport version="1.1.1"> <ServiceException>java.lang.ClassCastException
  at org.vfny.geoserver.wms.responses.featureInfo.GmlFeatureInfoResponse.writeTo(GmlFeatureInfoResponse.java:73)
  at org.vfny.geoserver.wms.responses.GetFeatureInfoResponse.writeTo(GetFeatureInfoResponse.java:176)
  at org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:572)
  at org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:325)
  at org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:173)
  at org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:56)
  at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
  at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
  at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:347)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:423)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:965)
  at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:956)
  at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:353)
  at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:219)
  at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:542)
  at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:145)
  at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:126)
  at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
  at org.mortbay.jetty.Server.handle(Server.java:245)
  at org.mortbay.jetty.HttpConnection.handlerRequest(HttpConnection.java:365)
  at org.mortbay.jetty.HttpConnection.access$1500(HttpConnection.java:38)
  at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:609)
  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:486)
  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:196)
  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:296)
  at org.mortbay.jetty.nio.SelectChannelConnector$HttpEndPoint.run(SelectChannelConnector.java:740)
  at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:435)
</ServiceException> </ServiceExceptionReport>

But I am sorry, I am not able to analyse this error report. Perhaps you Chris, or anybody else could help me.

Thank you all for your time, your ideas and you help.

Best regards

Daniel

-------- Original-Nachricht --------
Datum: Mon, 18 Sep 2006 13:55:40 -0400
Von: Chris Holmes <cholmes@anonymised.com>
An: Daniel Goetz <madprof@anonymised.com>
Betreff: Re: [Geoserver-users] GetFeatureInfo and oracle

Does a GetFeature request work? It should return GML.

Can you set Config -> Server -> Verbose Exceptions to true and send the
error report?

Daniel Goetz wrote:
> Hi communitiy,
>
> I am using Geoserver 1.4-M1. I have configured Geoserver as an
WMS-server using data lying on an oracle spatial database.
>
> Now I try to test the functionality of the server. among others I tested
the GetFeatureInfo request. Everything works fine for GetFeatureInfo
request with "Info_Format=text/plain" and "Info_Format=text/html". But when I
do a GetFeatureInfo request with "Info_Format=application/vnd.ogc.gml" I get
an error message saying:
>
> ServiceExceptionReport version="1.1.1">
> <ServiceException>null</ServiceException>
> </ServiceExceptionReport>
>
> The request URL is the following:
>
>
http://10.65.112.50:8080/geoserver/wms?SERVICE=WMS&REQUEST=GetFeatureInfo&VERSION=1.1.1&LAYERS=daniel:TEST_LINE&STYLES=line&SRS=EPSG:31468&BBOX=4435855.29,5475807.78,4443457.88,5481889.85&WIDTH=500&HEIGHT=400&FORMAT=image/png&info_format=application/vnd.ogc.gml&query_layers=daniel:TEST_LINE&x=250&y=250
>
> Does anybody know why I get this error message?Could anybody help?
>
> Thank you so much for any ideas and help.
>
>
>
> regards
>
> Daniel
>
> Does anybody know why I get this erorr?
>
>

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org

--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

service_exception.xml (3.04 KB)