Hello, Andrea,
I fixed this this way:
- Installed the Proj4js javascript library to handle transformations between different map projections and longtitude/latitude.
I included in the top og the html:
and the EPSG32632.js is like this:
Proj4js.defs[“EPSG:32632”] = "+proj=utm +zone=32 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ";
I dit not change any of the other code.
This solved the problem. I got some help for this so I don’t really know what is happening but I am learning:_)
/asle
2009/3/27 Andrea Aime <aaime@anonymised.com>
Asle Benoni ha scritto:
Yes, that does not help
http://borchbio.no:8080/geoserver/wms?bbox=583491.5599999999,6544090.26,666894.4400000001,6637003.74
&styles=&request=GetMap&version=1.1.1&layers=kulturminner_ns:funnsted&width=544&height=550&srs=EPSG:32632
&Format=kml&service=WMS
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http:
//schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd <http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd>">
Could not determine geoserver request from http request org.apache.catalina.connector.RequestFacade
@a7da07
I guess there is an easy way to tell if it’s Apache that is ruining
the request. If you hit GeoServer directly (is it running stand alone
with mod_proxy to bridge it to Apache?) what do you get?
Also, you can change a flag in web.xml to make GeoServer log the
exact request it is seeing. Look for “Request Logging Filter”
and change the enabled param to “true”, then restart GeoServer.
Cheers
Andrea
–
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Sorry to say I was testing on the wrong server. I still have this error.
I turned on loggin requests. Here is my catalina.out:
27 Mar 20:01:27 INFO [geoserver.filters] - 85.196.85.67 “GET /geoserver/wms?bbox=583491.5599999999,6544090.26,666894.4400000001,6637003.74” “Python-urllib/2.5” “”
27 Mar 20:01:27 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: Could not determine geoserver request from http request org.apache.catalina.connector.RequestFacade@anonymised.com
at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:389)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:208)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:178)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:69)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:163)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:613)
27 Mar 20:01:27 INFO [geoserver.filters] - 85.196.85.67 “GET /geoserver/wms?bbox=583491.5599999999,6544090.26,666894.4400000001,6637003.74” took 2ms
Here is
2009/3/27 Asle Benoni <asle.benoni@anonymised.com>
Hello, Andrea,
I fixed this this way:
- Installed the Proj4js javascript library to handle transformations between different map projections and longtitude/latitude.
I included in the top og the html:
and the EPSG32632.js is like this:
Proj4js.defs[“EPSG:32632”] = "+proj=utm +zone=32 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ";
I dit not change any of the other code.
This solved the problem. I got some help for this so I don’t really know what is happening but I am learning:_)
/asle
2009/3/27 Andrea Aime <aaime@anonymised.com>
Asle Benoni ha scritto:
Yes, that does not help
http://borchbio.no:8080/geoserver/wms?bbox=583491.5599999999,6544090.26,666894.4400000001,6637003.74
&styles=&request=GetMap&version=1.1.1&layers=kulturminner_ns:funnsted&width=544&height=550&srs=EPSG:32632
&Format=kml&service=WMS
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http:
//schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd <http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd>">
Could not determine geoserver request from http request org.apache.catalina.connector.RequestFacade
@a7da07
I guess there is an easy way to tell if it’s Apache that is ruining
the request. If you hit GeoServer directly (is it running stand alone
with mod_proxy to bridge it to Apache?) what do you get?
Also, you can change a flag in web.xml to make GeoServer log the
exact request it is seeing. Look for “Request Logging Filter”
and change the enabled param to “true”, then restart GeoServer.
Cheers
Andrea
–
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Asle Benoni ha scritto:
Sorry to say I was testing on the wrong server. I still have this error.
I turned on loggin requests. Here is my catalina.out:
27 Mar 20:01:27 INFO [geoserver.filters] - 85.196.85.67 "GET /geoserver/wms?bbox=583491.5599999999,6544090.26,666894.4400000001,6637003.74" "Python-urllib/2.5" ""
Well, this is most certainly _not_ a valid WMS request:
/geoserver/wms?bbox=583491.5599999999,6544090.26,666894.4400000001,6637003.74
Python-urllib? What is querying GeoServer?
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Thanks for hanging in me still Andrea.
I don´t know why the GET starts without "http://…" Should it?
How do I check what is querying? The web page is querying? Any more info or log I can provide?
Btw. I checked that the proxy.cgi works. The URL to proxy.cgi give me Openlayers home.
Can there be something not working with the cgi?
/asle
Den 27. mars. 2009 kl. 20.37 skrev Andrea Aime:
Asle Benoni ha scritto:
Sorry to say I was testing on the wrong server. I still have this error.
I turned on loggin requests. Here is my catalina.out:
27 Mar 20:01:27 INFO [geoserver.filters] - 85.196.85.67 "GET /geoserver/wms?bbox=583491.5599999999,6544090.26,666894.4400000001,6637003.74" "Python-urllib/2.5" ""
Well, this is most certainly _not_ a valid WMS request:
/geoserver/wms?bbox=583491.5599999999,6544090.26,666894.4400000001,6637003.74
Python-urllib? What is querying GeoServer?
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Just wonder what can be the difference when the same request works from another server and not on my server. The request is the same and the source is the same. This baffles me. So it must have to do with Apache on my server since it is the server that sends the request. Am I thinking wrong?
/asle
2009/3/27 Asle Benoni <asle.benoni@anonymised.com>
Thanks for hanging in me still Andrea.
I don´t know why the GET starts without “http://…” Should it?
How do I check what is querying? The web page is querying? Any more info or log I can provide?
Btw. I checked that the proxy.cgi works. The URL to proxy.cgi give me Openlayers home.
Can there be something not working with the cgi?
/asle
Den 27. mars. 2009 kl. 20.37 skrev Andrea Aime:
Asle Benoni ha scritto:
Sorry to say I was testing on the wrong server. I still have this error.
I turned on loggin requests. Here is my catalina.out:
27 Mar 20:01:27 INFO [geoserver.filters] - 85.196.85.67 “GET /geoserver/wms?bbox=583491.5599999999,6544090.26,666894.4400000001,6637003.74” “Python-urllib/2.5” “”
Well, this is most certainly not a valid WMS request:
/geoserver/wms?bbox=583491.5599999999,6544090.26,666894.4400000001,6637003.74
Python-urllib? What is querying GeoServer?
Cheers
Andrea
–
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.