[Geoserver-users] GeoServer/GWC/Google Earth problems.

I've recently installed Geoserver for the first time (1.7.3) and I'm having
various problems.
I've added an Oracle data store and configured building and municipality
feature-types.
With the Mini-Map Openlayers preview I can see the maps fine but when I
select KML to add them to Google Earth I get problems.

When I zoom in a few buildings appear before the following exception occurs:

java.io.IOException
        at
org.vfny.geoserver.wms.responses.map.kml.KMLMapProducer.writeTo(KMLMapProducer.java:126)
        at
org.vfny.geoserver.wms.responses.GetMapResponse.writeTo(GetMapResponse.java:619)
        at
org.geoserver.ows.adapters.ResponseAdapter.write(ResponseAdapter.java:60)
        at org.geoserver.ows.Dispatcher.response(Dispatcher.java:711)
        at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:215)

If I use GWC the kml-png option works partially but the kml-vector option
leaves gaps in my municipality map. The kml-png option often seems to draw
two zoom levels at the same time which looks quite ugly.

I've tried to reseed the municipalities layer but I get a
"java.lang.OutOfMemoryError: Java heap space" exception although I already
have the options " -Xms48m -Xmx256M -XX:MaxPermSize=128m" in the startup
file.

I also get a fair few of the the following exceptions:

15 abr 13:43:42 ERROR [wms.WMSLayer] - Blob was expected to have size 224705
but was null.
15 abr 13:43:50 ERROR [geowebcache.GeoWebCacheDispatcher] - Empty tile,
error message: Blob was expected to have size 224705 but was null.

Overall, a rather disappointing first experience with GeoServer.

Regards,
Lewis.

--
View this message in context: http://www.nabble.com/GeoServer-GWC-Google-Earth-problems.-tp23057311p23057311.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

LewInMadrid ha scritto:

I've recently installed Geoserver for the first time (1.7.3) and I'm having
various problems.
I've added an Oracle data store and configured building and municipality
feature-types.
With the Mini-Map Openlayers preview I can see the maps fine but when I
select KML to add them to Google Earth I get problems.

When I zoom in a few buildings appear before the following exception occurs:
java.io.IOException
        at
org.vfny.geoserver.wms.responses.map.kml.KMLMapProducer.writeTo(KMLMapProducer.java:126)
        at
org.vfny.geoserver.wms.responses.GetMapResponse.writeTo(GetMapResponse.java:619)
        at
org.geoserver.ows.adapters.ResponseAdapter.write(ResponseAdapter.java:60)
        at org.geoserver.ows.Dispatcher.response(Dispatcher.java:711)
        at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:215)

You removed the portion of the stack trace that could have been used
to guess what's wrong. When you report stack traces, they must be full,
with all the "caused by" clauses (they get long, I know).
Also, you did not report what Oracle version, which operating system and
JDK version.

If I use GWC the kml-png option works partially but the kml-vector option
leaves gaps in my municipality map. The kml-png option often seems to draw
two zoom levels at the same time which looks quite ugly.

I've tried to reseed the municipalities layer but I get a
"java.lang.OutOfMemoryError: Java heap space" exception although I already
have the options " -Xms48m -Xmx256M -XX:MaxPermSize=128m" in the startup
file.

I also get a fair few of the the following exceptions:

15 abr 13:43:42 ERROR [wms.WMSLayer] - Blob was expected to have size 224705
but was null.
15 abr 13:43:50 ERROR [geowebcache.GeoWebCacheDispatcher] - Empty tile,
error message: Blob was expected to have size 224705 but was null.

Overall, a rather disappointing first experience with GeoServer.

If you want, there are commercial support providers that can help you out and provide a smoother entry in GeoServer land:
http://geoserver.org/display/GEOS/Commercial+Support

Cheers
Andrea

I'm using the following software :
  MapServer on Ubuntu 4.3.2 with java version "1.5.0_16"
  Oracle 10.2.0.3.0 on Red Hat 3.4.3

Here's the complete exception that was generated today while accessing my
building png gwc link:

1788127 [btpool0-0] INFO /geoserver - Initializing Spring FrameworkServlet
'dispatcher'
16 abr 19:39:14 ERROR [geoserver.ows] -
java.io.IOException
        at
org.vfny.geoserver.wms.responses.map.kml.KMLMapProducer.writeTo(KMLMapProducer.java:126)
        at
org.vfny.geoserver.wms.responses.GetMapResponse.writeTo(GetMapResponse.java:619)
        at
org.geoserver.ows.adapters.ResponseAdapter.write(ResponseAdapter.java:60)
        at org.geoserver.ows.Dispatcher.response(Dispatcher.java:711)
        at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:215)
        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:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
        at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        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.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:163)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
        at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
        at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:324)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
Caused by: javax.xml.transform.TransformerException: Translator error
        at
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:133)
        at
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:108)
        at
org.vfny.geoserver.wms.responses.map.kml.KMLMapProducer.writeTo(KMLMapProducer.java:123)
        ... 53 more
Caused by: java.lang.RuntimeException:
org.geoserver.ows.ClientStreamAbortedException
        at
org.geotools.gml.producer.GeometryTransformer$GeometryTranslator.writePolygon(GeometryTransformer.java:296)
        at
org.geotools.gml.producer.GeometryTransformer$GeometryTranslator.encode(GeometryTransformer.java:268)
        at
org.geotools.gml.producer.GeometryTransformer$GeometryTranslator.encode(GeometryTransformer.java:224)
        at
org.vfny.geoserver.wms.responses.map.kml.KMLGeometryTransformer$KMLGeometryTranslator.encode(KMLGeometryTransformer.java:102)
        at
org.geotools.gml.producer.GeometryTransformer$GeometryTranslator.encode(GeometryTransformer.java:216)
        at
org.vfny.geoserver.wms.responses.map.kml.KMLGeometryTransformer$KMLGeometryTranslator.encode(KMLGeometryTransformer.java:107)
        at
org.vfny.geoserver.wms.responses.map.kml.KMLMapTransformer$KMLMapTranslatorSupport.encodeGeometry(KMLMapTransformer.java:1142)
        at
org.vfny.geoserver.wms.responses.map.kml.KMLMapTransformer$KMLMapTranslatorSupport.encodePlacemarkGeometry(KMLMapTransformer.java:1121)
        at
org.vfny.geoserver.wms.responses.map.kml.KMLMapTransformer$KMLMapTranslatorSupport.encodePlacemark(KMLMapTransformer.java:891)
        at
org.vfny.geoserver.wms.responses.map.kml.KMLMapTransformer$KMLMapTranslatorSupport.encodePlacemark(KMLMapTransformer.java:808)
        at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:202)
        at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:144)
        at
org.vfny.geoserver.wms.responses.map.kml.KMLTransformer$KMLTranslator.encodeVectorLayer(KMLTransformer.java:203)
        at
org.vfny.geoserver.wms.responses.map.kml.KMLTransformer$KMLTranslator.encode(KMLTransformer.java:133)
        at
org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:714)
        at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
        at
org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:296)
        at
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:129)
        ... 55 more
Caused by: org.geoserver.ows.ClientStreamAbortedException
        at org.apache.xml.serializer.ToStream.characters(ToStream.java:1468)
        at
org.apache.xalan.transformer.TransformerIdentityImpl.characters(TransformerIdentityImpl.java:1125)
        at
org.vfny.geoserver.wms.responses.map.kml.KMLCoordinateWriter.writeCoordinates(KMLCoordinateWriter.java:106)
        at
org.geotools.gml.producer.GeometryTransformer$GeometryTranslator.writePolygon(GeometryTransformer.java:294)
        ... 72 more

Andrea Aime-4 wrote:

LewInMadrid ha scritto:

I've recently installed Geoserver for the first time (1.7.3) and I'm
having
various problems.
I've added an Oracle data store and configured building and municipality
feature-types.
With the Mini-Map Openlayers preview I can see the maps fine but when I
select KML to add them to Google Earth I get problems.

When I zoom in a few buildings appear before the following exception
occurs:

java.io.IOException
        at
org.vfny.geoserver.wms.responses.map.kml.KMLMapProducer.writeTo(KMLMapProducer.java:126)
        at
org.vfny.geoserver.wms.responses.GetMapResponse.writeTo(GetMapResponse.java:619)
        at
org.geoserver.ows.adapters.ResponseAdapter.write(ResponseAdapter.java:60)
        at org.geoserver.ows.Dispatcher.response(Dispatcher.java:711)
        at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:215)

You removed the portion of the stack trace that could have been used
to guess what's wrong. When you report stack traces, they must be full,
with all the "caused by" clauses (they get long, I know).
Also, you did not report what Oracle version, which operating system and
JDK version.

If I use GWC the kml-png option works partially but the kml-vector option
leaves gaps in my municipality map. The kml-png option often seems to
draw
two zoom levels at the same time which looks quite ugly.

I've tried to reseed the municipalities layer but I get a
"java.lang.OutOfMemoryError: Java heap space" exception although I
already
have the options " -Xms48m -Xmx256M -XX:MaxPermSize=128m" in the startup
file.

I also get a fair few of the the following exceptions:

15 abr 13:43:42 ERROR [wms.WMSLayer] - Blob was expected to have size
224705
but was null.
15 abr 13:43:50 ERROR [geowebcache.GeoWebCacheDispatcher] - Empty tile,
error message: Blob was expected to have size 224705 but was null.

Overall, a rather disappointing first experience with GeoServer.

If you want, there are commercial support providers that can help you
out and provide a smoother entry in GeoServer land:
http://geoserver.org/display/GEOS/Commercial+Support

Cheers
Andrea

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://www.nabble.com/GeoServer-GWC-Google-Earth-problems.-tp23057311p23083613.html
Sent from the GeoServer - User mailing list archive at Nabble.com.