Linux Server Rendering Problem

View: New views
2 Messages — Rating Filter:   Alert me  

Linux Server Rendering Problem

by mbusarel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have set up a Linux Centos Server with Tomcat 5.5 using Sun JDK 1.6. I defined my own SLD styles and a Webpage where I display a map of Switzerland.
The rendering behaves quite strange:

- on large zoom level some features are rendered and others not (specially polygon features), e.g. the forest on the map is displayed only in some parts of the map and on others not. When I refresh the page the forest is displayed sometimes on other parts of the map. This seems to happen only on large zooms, when I zoom closer, the map is displayed as it should be. here it seems to me that there could be a memory problem so I tried to increase JVM heap size but nothing changes. I also thought it could be a problem with the respective SLD file but the same file is working on my windows test machine.

- another problem I'm facing has to do with the GeoWebCache. When I go the the gwc demo page to try out the GeoWebCache for the same site, it works but I several tiles are not rendered correct. Sometimes roads are missing sometimes forest is missing and sometimes java heap size exceptions occur. As mentioned above I already increased the JVM heap size by setting CATALINA_OPTS="-server -Xms512m - Xmx2048m" (also tried setting JAVA_OPTS) but the rendering did not change.

Does anyone know what the problem could be here?

I also attached the tomcat log file when I start tomcat and some output when its running.

Many thanks!

Best regards
Marco


03.11.2009 13:46:55 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/jdk1.6.0_16/jre/lib/i386/client:/opt/jdk1.6.0_16/jre/lib/i386:/opt/jdk1.6.0_16/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
03.11.2009 13:46:55 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
03.11.2009 13:46:55 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 475 ms
03.11.2009 13:46:55 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
03.11.2009 13:46:55 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.28
03.11.2009 13:46:55 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
03.11.2009 13:46:55 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive geoserver.war
log4j:WARN File option not set for appender [logfile].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
03.11.2009 13:46:56 it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL
WARNUNG: Native library load failed.java.lang.UnsatisfiedLinkError: no gdaljni in java.library.path
03 Nov 13:46:56 INFO [[localhost].[/geoserver]] - Initializing Spring root WebApplicationContext
log4j:ERROR No output stream or file set for the appender named [logfile].
03 Nov 13:46:56 INFO [context.ContextLoader] - Root WebApplicationContext: initialization started
03 Nov 13:46:56 INFO [support.XmlWebApplicationContext] - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@1236cd5: display name [Root WebApplicationContext]; startup date [Tue Nov 03 13:46:56 CET 2009]; root of context hierarchy
03 Nov 13:46:56 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [file:/opt/tomcat-5.5/webapps/geoserver/WEB-INF/classes/applicationContext.xml]
03 Nov 13:46:56 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [jar:file:/opt/tomcat-5.5/webapps/geoserver/WEB-INF/lib/gwc-1.7.5-SNAPSHOT.jar!/applicationContext.xml]
03 Nov 13:46:56 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [jar:file:/opt/tomcat-5.5/webapps/geoserver/WEB-INF/lib/main-1.7.5-SNAPSHOT.jar!/applicationContext.xml]
03 Nov 13:46:56 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [jar:file:/opt/tomcat-5.5/webapps/geoserver/WEB-INF/lib/rest-1.7.5-SNAPSHOT.jar!/applicationContext.xml]
03 Nov 13:46:56 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [jar:file:/opt/tomcat-5.5/webapps/geoserver/WEB-INF/lib/validation-1.7.5-SNAPSHOT.jar!/applicationContext.xml]
03 Nov 13:46:56 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [jar:file:/opt/tomcat-5.5/webapps/geoserver/WEB-INF/lib/wcs-1.7.5-SNAPSHOT.jar!/applicationContext.xml]
03 Nov 13:46:56 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [jar:file:/opt/tomcat-5.5/webapps/geoserver/WEB-INF/lib/wcs1_1-1.7.5-SNAPSHOT.jar!/applicationContext.xml]
03 Nov 13:46:56 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [jar:file:/opt/tomcat-5.5/webapps/geoserver/WEB-INF/lib/wfs-1.7.5-SNAPSHOT.jar!/applicationContext.xml]
03 Nov 13:46:56 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [jar:file:/opt/tomcat-5.5/webapps/geoserver/WEB-INF/lib/wfs11-1.7.5-SNAPSHOT.jar!/applicationContext.xml]
03 Nov 13:46:56 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [jar:file:/opt/tomcat-5.5/webapps/geoserver/WEB-INF/lib/wms-1.7.5-SNAPSHOT.jar!/applicationContext.xml]
03 Nov 13:46:56 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [file:/opt/tomcat-5.5/webapps/geoserver/WEB-INF/classes/applicationSecurityContext.xml]
03 Nov 13:46:56 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [jar:file:/opt/tomcat-5.5/webapps/geoserver/WEB-INF/lib/main-1.7.5-SNAPSHOT.jar!/applicationSecurityContext.xml]
03 Nov 13:46:56 INFO [support.XmlWebApplicationContext] - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@1236cd5]: org.springframework.beans.factory.support.DefaultListableBeanFactory@ea5461
03 Nov 13:46:57 INFO [support.XmlWebApplicationContext] - Bean 'resourceLoader' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
03 Nov 13:46:57 ERROR [geoserver.global] -
----------------------------------
.....
.....
log4j:WARN File option not set for appender [geoserverlogfile].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
03 Nov 13:46:57 INFO [geoserver.catalog] - Loaded namespace 'osm' (http://localhost:8080/osm)
03 Nov 13:46:57 INFO [geoserver.catalog] - Default namespace: 'osm'
03 Nov 13:46:57 INFO [geoserver.catalog] - Loaded style 'osm_pofw'
03 Nov 13:46:57 INFO [geoserver.catalog] - Loaded style 'osm_building'
03 Nov 13:46:57 INFO [geoserver.catalog] - Loaded style 'osm_coastline'
03 Nov 13:46:57 INFO [geoserver.catalog] - Loaded style 'osm_waterway'
03 Nov 13:46:57 INFO [geoserver.catalog] - Loaded style 'osm_landuse'
03 Nov 13:46:57 INFO [geoserver.catalog] - Loaded style 'line'
03 Nov 13:46:57 INFO [geoserver.catalog] - Loaded style 'osm_water'
03 Nov 13:46:57 INFO [geoserver.catalog] - Loaded style 'polygon'
03 Nov 13:46:57 INFO [geoserver.catalog] - Loaded style 'osm_road'
03 Nov 13:46:57 INFO [geoserver.catalog] - Loaded style 'raster'
03 Nov 13:46:57 INFO [geoserver.catalog] - Loaded style 'point'
03 Nov 13:46:57 INFO [geoserver.catalog] - Loaded style 'osm_place'
03 Nov 13:46:57 INFO [geoserver.catalog] - Loaded style 'osm_railwaystation'
03 Nov 13:46:57 INFO [geoserver.catalog] - Loaded style 'osm_poi'
03 Nov 13:46:57 INFO [geoserver.catalog] - Loaded style 'osm_railway'
03 Nov 13:46:57 INFO [geoserver.catalog] - Loaded style 'osm_boundary'
03 Nov 13:46:57 INFO [geoserver.catalog] - Processed data store 'osm_ds', enabled
03 Nov 13:46:58 WARN [referencing.factory] - Axis elements found in a wkt definition, the force longitude first axis order hint might not be respected:
PROJCS["WGS84 / Simple Mercator", GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS_1984", 6378137.0, 298.257223563]], PRIMEM["Greenwich", 0.0], UNIT["degree", 0.017453292519943295]], PROJECTION["Mercator_1SP_Google"], PARAMETER["latitude_of_origin", 0.0], PARAMETER["central_meridian", 0.0], PARAMETER["scale_factor", 1.0], PARAMETER["false_easting", 0.0], PARAMETER["false_northing", 0.0], UNIT["m", 1.0], AXIS["x", EAST], AXIS["y", NORTH], AUTHORITY["EPSG","54004"]]
03 Nov 13:46:58 INFO [geoserver.catalog] - Loaded feature type 'osm:water'
03 Nov 13:46:58 INFO [geoserver.catalog] - Loaded feature type 'osm:railway'
03 Nov 13:46:58 INFO [geoserver.catalog] - Loaded feature type 'osm:coastline'
03 Nov 13:46:58 INFO [geoserver.catalog] - Loaded feature type 'osm:waterway'
03 Nov 13:46:58 INFO [geoserver.catalog] - Loaded feature type 'osm:railwaystation'
03 Nov 13:46:58 INFO [geoserver.catalog] - Loaded feature type 'osm:landuse'
03 Nov 13:46:58 INFO [geoserver.catalog] - Loaded feature type 'osm:place'
03 Nov 13:46:58 INFO [geoserver.catalog] - Loaded feature type 'osm:road'
03 Nov 13:46:58 INFO [geoserver.catalog] - Loaded feature type 'osm:building'
03 Nov 13:46:58 INFO [geoserver.catalog] - Loaded feature type 'osm:boundary'
03 Nov 13:46:58 INFO [geoserver.catalog] - Loaded feature type 'osm:poi'
03 Nov 13:46:58 INFO [geoserver.catalog] - Loaded feature type 'osm:pofw'
03 Nov 13:46:58 INFO [geoserver.confg] - Loading service 'wcs'
03 Nov 13:46:58 INFO [geoserver.confg] - Loading service 'wfs'
03 Nov 13:46:58 INFO [geoserver.wms] - Processed layer group 'osm_no_boundary'
03 Nov 13:46:58 INFO [geoserver.wms] - Processed layer group 'osm'
03 Nov 13:46:58 INFO [geoserver.confg] - Loading service 'wms'
03 Nov 13:46:58 INFO [util.ApplicationContextProvider] - No context parameter, system or Java environment variables found for GEOSERVER_WMS_URL
03 Nov 13:46:58 INFO [util.ApplicationContextProvider] - Reverting to http://localhost:8080/geoserver/wms?request=GetCapabilities
03 Nov 13:46:58 INFO [util.GetCapabilitiesConfiguration] - Constructing from url http://localhost:8080/geoserver/wms?request=GetCapabilities
03 Nov 13:46:58 WARN [storage.DefaultStorageFinder] - Found no usable default cache prefixes !!! Please set GEOWEBCACHE_CACHE_DIR if you would like a specific location.
03 Nov 13:46:58 WARN [storage.DefaultStorageFinder] - Reverting to java.io.tmpdir: /opt/tomcat-5.5/temp/geowebcache
03 Nov 13:46:59 INFO [geowebcache.GeoWebCacheDispatcher] - set TileLayerDispatcher
03 Nov 13:46:59 INFO [geowebcache.GeoWebCacheDispatcher] - Invoked setServletPrefix(gwc)
03 Nov 13:46:59 INFO [wms.WMSService] - Will proxy requests to backend that are not getmap or getcapabilities.
03 Nov 13:46:59 INFO [util.ApplicationContextProvider] - No context parameter, system or Java environment variables found for GEOSERVER_WFS_URL
03 Nov 13:46:59 INFO [util.ApplicationContextProvider] - Reverting to null
03 Nov 13:46:59 INFO [util.ApplicationContextProvider] - No context parameter, system or Java environment variables found for GEOWEBCACHE_WFS_FILTER
03 Nov 13:46:59 INFO [util.ApplicationContextProvider] - Reverting to null
03 Nov 13:46:59 INFO [wfs.WFSService] - Configured to forward to http://localhost:8080/geoserver/wfs , timeout is 600000ms, regex filter null
03 Nov 13:46:59 INFO [rest.RESTDispatcher] - Created RESTDispatcher with 4 paths
03 Nov 13:47:00 WARN [geoserver.securit] - Rule *.*.r=* is overriding another rule targetting the same resource
03 Nov 13:47:00 WARN [geoserver.securit] - Rule *.*.w=* is overriding another rule targetting the same resource
03.11.2009 13:47:00 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
03.11.2009 13:47:00 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
03.11.2009 13:47:00 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/38  config=null
03.11.2009 13:47:01 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
03.11.2009 13:47:01 org.apache.catalina.startup.Catalina start
INFO: Server startup in 6095 ms


at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1713)
        at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:661)
        at org.geotools.renderer.shape.ShapefileRenderer.renderWithStreamingRenderer(ShapefileRenderer.java:1492)
        at org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:1346)
        at org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:267)
        at org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap(DefaultRasterMapProducer.java:405)
        at org.vfny.geoserver.wms.responses.GetMapResponse.execute(GetMapResponse.java:415)
        at org.geoserver.ows.adapters.ResponseAdapter.getMimeType(ResponseAdapter.java:48)
        at org.geoserver.ows.Dispatcher.response(Dispatcher.java:699)
        at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:216)
        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:627)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        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:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:163)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.geotools.data.DataSourceException: An exception occurred while parsing WKB data
        at org.geotools.data.postgis.attributeio.PgWKBAttributeIO.WKB2Geometry(PgWKBAttributeIO.java:119)
        at org.geotools.data.postgis.attributeio.PgWKBAttributeIO.read(PgWKBAttributeIO.java:190)
        at org.geotools.data.jdbc.QueryData.read(QueryData.java:213)
        at org.geotools.data.jdbc.JDBCFeatureReader.readFeature(JDBCFeatureReader.java:108)
        at org.geotools.data.jdbc.JDBCFeatureReader.next(JDBCFeatureReader.java:88)
        at org.geotools.data.jdbc.JDBCFeatureReader.next(JDBCFeatureReader.java:39)
        at org.geotools.data.store.FeatureReaderIterator.next(FeatureReaderIterator.java:71)
        ... 63 more
Caused by: java.lang.IllegalArgumentException: Number of points must be 0 or >3
        at com.vividsolutions.jts.geom.LinearRing.validateConstruction(LinearRing.java:98)
        at com.vividsolutions.jts.geom.LinearRing.<init>(LinearRing.java:90)
        at com.vividsolutions.jts.geom.GeometryFactory.createLinearRing(GeometryFactory.java:338)
        at com.vividsolutions.jts.io.WKBReader.readLinearRing(WKBReader.java:217)
        at com.vividsolutions.jts.io.WKBReader.readPolygon(WKBReader.java:227)
        at com.vividsolutions.jts.io.WKBReader.readGeometry(WKBReader.java:173)
        at com.vividsolutions.jts.io.WKBReader.readMultiPolygon(WKBReader.java:265)
        at com.vividsolutions.jts.io.WKBReader.readGeometry(WKBReader.java:179)
        at com.vividsolutions.jts.io.WKBReader.read(WKBReader.java:137)
        at org.geotools.data.postgis.attributeio.PgWKBAttributeIO.WKB2Geometry(PgWKBAttributeIO.java:117)
        ... 69 more

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Re: Linux Server Rendering Problem

by Andrea Aime-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

mbusarel@... ha scritto:

> Hi,
>
> I have set up a Linux Centos Server with Tomcat 5.5 using Sun JDK 1.6. I defined my own SLD styles and a Webpage where I display a map of Switzerland.
> The rendering behaves quite strange:
>
> - on large zoom level some features are rendered and others not (specially polygon features), e.g. the forest on the map is displayed only in some parts of the map and on others not. When I refresh the page the forest is displayed sometimes on other parts of the map. This seems to happen only on large zooms, when I zoom closer, the map is displayed as it should be. here it seems to me that there could be a memory problem so I tried to increase JVM heap size but nothing changes. I also thought it could be a problem with the respective SLD file but the same file is working on my windows test machine.
>
> - another problem I'm facing has to do with the GeoWebCache. When I go the the gwc demo page to try out the GeoWebCache for the same site, it works but I several tiles are not rendered correct. Sometimes roads are missing sometimes forest is missing and sometimes java heap size exceptions occur. As mentioned above I already increased the JVM heap size by setting CATALINA_OPTS="-server -Xms512m - Xmx2048m" (also tried setting JAVA_OPTS) but the rendering did not change.
>
> Does anyone know what the problem could be here?
>
> I also attached the tomcat log file when I start tomcat and some output when its running.

The error points to invalid geometries:

aused by: java.lang.IllegalArgumentException: Number of points must be 0
or >3
         at
com.vividsolutions.jts.geom.LinearRing.validateConstruction(LinearRing.java:98)

You have, in your database, polygons that contain rings with only one
point or two points, which is not valid (a valid ring is made of at
least three polygons).

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users