Re: [Geoserver-users] WMS Max Image Size Problem

2010-10-17 Thread Frederick Löbig
After incrementally increasing the requested size for the map via direct
url-access, the maximum requestable or renderable size seems to be around
2500x2333 pixels. If that is exeeded, i get the following return:

?xml version=1.0 encoding=UTF-8 standalone=no?!DOCTYPE
ServiceExceptionReport SYSTEM
http://192.168.2.64:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd;
ServiceExceptionReport version=1.1.1ServiceException
code=Internal error 
  org.vfny.geoserver.wms.WmsException: Rendering process failed
Rendering process failed
Exception rendering layer FeatureCollectionMapLayer[ planet_osm_roads,
VISIBLE, UNSELECTED, style=StyleImpl[ name=osm_roads],
data=org.vfny.geoserver.global.geoserverfeaturesou...@1d2279c,
query=Query:
   feature type: planet_osm_roads
   filter: [Filter.INCLUDE AND Filter.INCLUDE]
   [properties:  ALL ]]
Java heap space
/ServiceException/ServiceExceptionReport

Does this mean, that Geoserver is trying to render the map, but is running
out of memory while doing so?

-- 
Frederick Löbig
Röderichstraße 59
60489 Frankfurt am Main
Email: f...@frederick-loebig.de

Tel.: +49 (0) 69 / 78 99 52 41
Mobil: +49 (0) 174 / 70 89 296

www.frederick-loebig.de




--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMS Max Image Size Problem

2010-10-17 Thread Chris Holmes
Looks like out of memory.  Did you try increasing the memory to your servlet
container to see if it works?

See
http://docs.geoserver.org/2.0.x/en/user/production/container.html#optimize-your-jvmfor
the java flag to increase it.  You can pass that in to the start up of
any container.

2010/10/17 Frederick Löbig f...@frederick-loebig.de

 After incrementally increasing the requested size for the map via direct
 url-access, the maximum requestable or renderable size seems to be around
 2500x2333 pixels. If that is exeeded, i get the following return:

 ?xml version=1.0 encoding=UTF-8 standalone=no?!DOCTYPE
 ServiceExceptionReport SYSTEM
 
 http://192.168.2.64:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd
 
 ServiceExceptionReport version=1.1.1ServiceException
 code=Internal error 
  org.vfny.geoserver.wms.WmsException: Rendering process failed
 Rendering process failed
 Exception rendering layer FeatureCollectionMapLayer[ planet_osm_roads,
 VISIBLE, UNSELECTED, style=StyleImpl[ name=osm_roads],
 data=org.vfny.geoserver.global.geoserverfeaturesou...@1d2279c,
 query=Query:
   feature type: planet_osm_roads
   filter: [Filter.INCLUDE AND Filter.INCLUDE]
   [properties:  ALL ]]
 Java heap space
 /ServiceException/ServiceExceptionReport

 Does this mean, that Geoserver is trying to render the map, but is running
 out of memory while doing so?

 --
 Frederick Löbig
 Röderichstraße 59
 60489 Frankfurt am Main
 Email: f...@frederick-loebig.de

 Tel.: +49 (0) 69 / 78 99 52 41
 Mobil: +49 (0) 174 / 70 89 296

 www.frederick-loebig.de





 --
 Download new Adobe(R) Flash(R) Builder(TM) 4
 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
 Flex(R) Builder(TM)) enable the development of rich applications that run
 across multiple browsers and platforms. Download your free trials today!
 http://p.sf.net/sfu/adobe-dev2dev
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMS Max Image Size Problem

2010-10-17 Thread Andrea Aime
2010/10/17 Frederick Löbig f...@frederick-loebig.de:
 After incrementally increasing the requested size for the map via direct
 url-access, the maximum requestable or renderable size seems to be around
 2500x2333 pixels. If that is exeeded, i get the following return:

 ?xml version=1.0 encoding=UTF-8 standalone=no?!DOCTYPE
 ServiceExceptionReport SYSTEM
 http://192.168.2.64:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd;
 ServiceExceptionReport version=1.1.1    ServiceException
 code=Internal error 
      org.vfny.geoserver.wms.WmsException: Rendering process failed
 Rendering process failed
 Exception rendering layer FeatureCollectionMapLayer[ planet_osm_roads,
 VISIBLE, UNSELECTED, style=StyleImpl[ name=osm_roads],
 data=org.vfny.geoserver.global.geoserverfeaturesou...@1d2279c,
 query=Query:
   feature type: planet_osm_roads
   filter: [Filter.INCLUDE AND Filter.INCLUDE]
   [properties:  ALL ]]
 Java heap space
 /ServiceException/ServiceExceptionReport

 Does this mean, that Geoserver is trying to render the map, but is running
 out of memory while doing so?

Yep. The image you're allocating is not so large, but maybe you have a ton
of parallel feature types style in your styles? In that case the memory usage
has to be multiplied by the number of active feature type style in your
style.

Or maybe you're running on Windows and GeoServer is not getting enough
memory. Try changing the Java VM parameters so that it gets 1GB memory.

Cheers
Andrea

-
Ing. Andrea Aime
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax:     +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-

--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMS Max Image Size Problem

2010-10-15 Thread Andrea Aime
2010/10/14 Frederick Löbig f...@frederick-loebig.de:
 Hey List,

 when I connect to my (working) wms-service via an external program, in
 this case it's quantum GIS, and I want to print out the map, the result is
 a blank page. It is obvious, that this is some kind of a limitation by the
 wms configuration.

 I have set all the maximums to zero in the data/wms.xml, so that they are
 disabled, but still geoserver doesn't render the map with the requested
 height and width.

You set them manually, not through the GUI? In that case you have to
force GeoServer to reload the configuration from the GUI (server panel,
reload button).


Cheers
Andrea

-
Ing. Andrea Aime
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax:     +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-

--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMS Max Image Size Problem

2010-10-15 Thread Frederick Löbig
Thanks Andrea.
So what you are saying is, that if geoserver correctly recognizes these
three limits set to zero it should work? Well I've tried that, but
strangely it's the same problem. I've also tried rendering that map with
uDig, but did not suceed. So the problem has to be with the Geoserver.

Here is the contents of my wms.xml:

wms.xml ---

wms
  idwms/id
  enabledtrue/enabled
  nameWMS/name
  titleGeoServer Web Map Service/title
  
maintainerhttp://jira.codehaus.org/secure/BrowseProject.jspa?id=10311/maintainer
  abstrctA compliant implementation of WMS 1.1.1 plus most of the SLD
1.0 extension (dynamic styling). Can also generate PDF, SVG, KML,
GeoRSS/abstrct
  accessConstraintsNONE/accessConstraints
  feesNONE/fees
  versions
org.geotools.util.Version
  version1.1.1/version
/org.geotools.util.Version
  /versions
  keywords
stringWFS/string
stringWMS/string
stringGEOSERVER/string
  /keywords
  metadataLink/
  citeCompliantfalse/citeCompliant
  
onlineResourcehttp://geoserver.sourceforge.net/html/index.php/onlineResource
  schemaBaseURLhttp://schemas.opengis.net/schemaBaseURL
  verbosefalse/verbose
  metadata
entry key=jpegCompression25/entry
entry key=pngCompression25/entry
entry key=kmlSuperoverlayModeauto/entry
entry key=kmlReflectorModerefresh/entry
entry key=kmlKmscore40/entry
entry key=svgAntiAliastrue/entry
entry key=kmlPlacemarkfalse/entry
entry key=kmlAttrtrue/entry
entry key=svgRendererSimple/entry
  /metadata
  watermark class=org.geoserver.wms.WatermarkInfoImpl
enabledfalse/enabled
positionBOT_RIGHT/position
transparency0/transparency
  /watermark
  interpolationNearest/interpolation
  maxBuffer0/maxBuffer
  maxRequestMemory0/maxRequestMemory
  maxRenderingTime0/maxRenderingTime
  maxRenderingErrors0/maxRenderingErrors
/wms

/wms.xml ---


Could it be, that there is a basic problem with the whole geoserver or an
other config-file regarding the wms-service of Geoserver? I cannot
imagine, that I am the only one having tried to render such maps...

And because  I forgot to tell you about the size of the images i want to
create: the maps should be around 9933 x 14043 px (thats the A0 format)...






 Date: Fri, 15 Oct 2010 15:29:03 +0200
 Subject: Re: [Geoserver-users] WMS Max Image Size Problem
 From: andrea.a...@geo-solutions.it
 To: f...@frederick-loebig.de
 CC: geoserver-users@lists.sourceforge.net

 2010/10/14 Frederick Löbig f...@frederick-loebig.de:
  Hey List,
 
  when I connect to my (working) wms-service via an external program, in
  this case it's quantum GIS, and I want to print out the map, the
result is
  a blank page. It is obvious, that this is some kind of a limitation by
the
  wms configuration.
 
  I have set all the maximums to zero in the data/wms.xml, so that they are
  disabled, but still geoserver doesn't render the map with the requested
  height and width.

 You set them manually, not through the GUI? In that case you have to
 force GeoServer to reload the configuration from the GUI (server panel,
 reload button).


 Cheers
 Andrea

 -
 Ing. Andrea Aime
 Senior Software Engineer

 GeoSolutions S.A.S.
 Via Poggio alle Viti 1187
 55054  Massarosa (LU)
 Italy

 phone: +39 0584962313
 fax: +39 0584962313

 http://www.geo-solutions.it
 http://geo-solutions.blogspot.com/
 http://www.linkedin.com/in/andreaaime
 http://twitter.com/geowolf

 -



Frederick Löbig
Röderichstraße 59
60489 Frankfurt am Main
---
E:: frederick.loe...@grunsnid.de
P: +49 (0) 69 - 78 99 52 41
M: +49 (0) 174 - 70 89 296
---
Office:
euNetworks GmbH
Ludwig-Landmann-Straße 405
60486 Frankfurt am Main
P: +49 (0) 69 - 90 554 - 532
E: frederick.loe...@eunetworks.com
S: floebig

This email and any attachments may contain confidential and/or legally
privileged information. If you are not the intended recipient, please
delete the email without reading it and notify the sender.



--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users