Hi Geoff,

I reduced the fetch size to 200 but this didn't make any difference.  
Thanks for the suggestion.

CraigJ

On 09/07/13 17:16, Geoff Williams wrote:
> Hi Craig,
>
>> Hi All,
>>
>> We are getting the exception below when downloading a large wfs response
>> in csv or gml format using gzip compression.  Were are using geoserver
>> 2.1.1 in production but this also happens in 2.3.3.
> Have you tried forcing the database fetch size?  I think you have to add it 
> manually to datastore.xml for the featuretype your having problems with, like 
> this:
>
> <dataStore>
>    ...
>    <connectionParameters>
>      <entry key="fetch size">200</entry>
>    ...
>
> HTH
> Geoff
>
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Tue, 9 Jul 2013 10:53:13 +0545
>> From: Dushan Niwantha <dushan...@gmail.com>
>> Subject: [Geoserver-users] LayerSwitcher() not working
>> To: geoserver-users@lists.sourceforge.net
>> Message-ID:
>>      <CAPrctb0L+bRCL+n4yzsKRpWRP9i7Suy==ue7buhyhtpkauk...@mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Hi,
>> I'm using 5 layers and passing random values to VIEWPARAMS to select the
>> wanted area. I added a layer switcher(mentioned in red at the bottom of
>> the
>> script) to show/hide layers. but switch layer component doesn't appear on
>> openlayers map viewer. Please be kind to respond. need help.
>>
>> Regards.
>>
>> <script src="wms_files/OpenLayers.js" type="text/javascript"></script>
>> <script defer="defer" type="text/javascript">
>> var legs = "<%= geoParam %>";
>> var layer_one_legs = "<%= geoParamLayerOne %>";
>> var layer_two_legs = "<%= geoParamLayerTwo %>";
>> var layer_three_legs = "<%= geoParamLayerThree %>";
>> var layer_four_legs = "<%= geoParamLayerFour %>";
>> var layer_four_five = "<%= geoParamLayerFive %>";
>>
>> var map;
>> var base;
>>
>> var layer_one;
>> var layer_two;
>> var layer_three;
>> var layer_four;
>> var layer_five;
>>
>> /* pink tile avoidance */
>> OpenLayers.IMAGE_RELOAD_ATTEMPTS = 5;
>> /* make OL compute scale according to WMS spec */
>> OpenLayers.DOTS_PER_INCH = 25.4 / 0.28;
>>
>> function init() {
>>
>> format = 'image/png';
>>   var bounds = new OpenLayers.Bounds(
>>                      97057.023,
>>                      174768.406,
>>                      118472.391,
>>                      192859.141);
>> var options = {
>>                      controls : [],
>>                      maxExtent : bounds,
>>                      maxResolution : 83.65378125000001,
>>                      projection : "EPSG:2020",
>>                      units : 'm'
>> };
>> map = new OpenLayers.Map('map', options);
>>
>> /* setup base layer */
>> base = new OpenLayers.Layer.WMS(
>> "Base",
>> "http://localhost:8080/geoserver/wms";,
>> {
>> LAYERS : 'rda2',
>> transparent: "true",
>> singleTile: true,
>> format : format
>> },
>> {
>> buffer : 0,
>> isBaseLayer : true,
>> displayInLayerSwitcher:false
>> });
>>
>>   /* setup layer_one */
>> layer_one = new OpenLayers.Layer.WMS(
>> "Layer 01",
>> "http://localhost:8080/geoserver/wms";,
>> {
>> VIEWPARAMS: layer_one_legs,
>> LAYERS : 'RDA2_VIEW_LAYER_ONE',
>> transparent: "true",
>> singleTile: true,
>> format : format
>> },
>> {
>> buffer : 0,
>> isBaseLayer : false,
>> displayInLayerSwitcher:true
>> });
>>
>>   /* setup layer_two */
>> layer_two = new OpenLayers.Layer.WMS(
>> "Layer 02",
>> "http://localhost:8080/geoserver/wms";,
>> {
>> VIEWPARAMS: layer_two_legs,
>> LAYERS : 'RDA2_VIEW_LAYER_TWO',
>> transparent: "true",
>> singleTile: true,
>> format : format
>> },
>> {
>> buffer : 0,
>> isBaseLayer : false,
>> displayInLayerSwitcher:true
>> });
>>
>>   /* setup layer_three */
>> layer_three = new OpenLayers.Layer.WMS(
>> "Layer 03",
>> "http://localhost:8080/geoserver/wms";,
>> {
>> VIEWPARAMS: layer_three_legs,
>> LAYERS : 'RDA2_VIEW_LAYER_THREE',
>> transparent: "true",
>> singleTile: true,
>> format : format
>> },
>> {
>> buffer : 0,
>> isBaseLayer : false,
>> displayInLayerSwitcher:true
>> });
>>
>>   /* setup layer_four */
>> layer_four = new OpenLayers.Layer.WMS(
>> "Layer 04",
>> "http://localhost:8080/geoserver/wms";,
>> {
>> VIEWPARAMS: layer_four_legs,
>> LAYERS : 'RDA2_VIEW_LAYER_FOUR',
>> transparent: "true",
>> singleTile: true,
>> format : format
>> },
>> {
>> buffer : 0,
>> isBaseLayer : false,
>> displayInLayerSwitcher:true
>> });
>>
>>   /* setup layer_five */
>> layer_five = new OpenLayers.Layer.WMS(
>> "Layer 05",
>> "http://localhost:8080/geoserver/wms";,
>> {
>> VIEWPARAMS: layer_four_five,
>> LAYERS : 'RDA2_VIEW_LAYER_FIVE',
>> transparent: "true",
>> singleTile: true,
>> format : format
>> },
>> {
>> buffer : 0,
>> isBaseLayer : false,
>> displayInLayerSwitcher:true
>> });
>>
>> /* map.addLayers([untiled, tiled ]); */
>> map.addLayers([base, layer_five, layer_four, layer_three, layer_two,
>> layer_one]);
>>
>> /* build up all controls */
>> map.addControl(new OpenLayers.Control.PanZoomBar(
>> {
>> position : new OpenLayers.Pixel(2,15)
>> }));
>> map.addControl(new OpenLayers.Control.Navigation());
>> map.addControl(new OpenLayers.Control.LayerSwitcher());
>> map.zoomToExtent(bounds);
>> }
>>
>> </script>
>>
>> --
>> Me on Web
>> http://dushan888.wordpress.com
>> http://www.linkedin.com/pub/dushan-basnayake/18/9a7/8b9
>> http://www.twitter.com/Dushi
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Tue, 9 Jul 2013 09:02:20 +0200
>> From: Daniele Romagnoli <daniele.romagn...@geo-solutions.it>
>> Subject: Re: [Geoserver-users] Problems when running geoserver with
>>      gdal    extension
>> To: markusin <markus.innereb...@inf.unibz.it>
>> Cc: "geoserver-users@lists.sourceforge.net"
>>      <geoserver-users@lists.sourceforge.net>
>> Message-ID:
>>      <CAJaHrDw9U=nni=krMJSy9hrWegJbAGcrMwd_3Uu9Z=y7fbg...@mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Hi Markus,
>> I guess you forgot to paste the error message.
>>
>> Cheers,
>> Daniele
>>
>> ==
>> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
>> information.
>> ==
>> Ing. Daniele Romagnoli
>> Senior Software Engineer
>>
>> GeoSolutions S.A.S.
>> Via Poggio alle Viti 1187
>> 55054  Massarosa (LU)
>> Italy
>> phone: +39 0584 962313
>> fax:      +39 0584 1660272
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>>
>> -------------------------------------------------------
>>
>>
>> On Tue, Jul 9, 2013 at 12:11 AM, markusin
>> <markus.innereb...@inf.unibz.it>wrote:
>>
>>> Ciao Daniele,
>>>
>>> I did now all the steps from the tutorial and I was able to build =
>>> successfully everything. But now I got an error:
>>> when testing it:
>>>
>>>
>>> Do you think this error is related to my glibc version?=20
>>>
>>> I see in my installation:=20
>>> glibc-devel-2.12-1.7.el6_0.5.x86_64
>>> glib2-2.22.5-5.el6.x86_64
>>>
>>> I guess I have to upload this version on my redhat machine.
>>>
>>> Markus
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://osgeo-org.1560.x6.nabble.com/Problems-when-running-geoserver-
>> with-gdal-extension-tp5062627p5064842.html
>>> Sent from the GeoServer - User mailing list archive at Nabble.com.
>>>
>>>
>>> ------------------------------------------------------------------------
>> ------
>>> This SF.net email is sponsored by Windows:
>>>
>>> Build for Windows Store.
>>>
>>> http://p.sf.net/sfu/windows-dev2dev
>>> _______________________________________________
>>> Geoserver-users mailing list
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>>
>> ------------------------------
>>
>> --------------------------------------------------------------------------
>> ----
>> See everything from the browser to the database with AppDynamics
>> Get end-to-end visibility with application monitoring from AppDynamics
>> Isolate bottlenecks and diagnose root cause in seconds.
>> Start your free trial of AppDynamics Pro today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktr
>> k
>>
>> ------------------------------
>>
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>> End of Geoserver-users Digest, Vol 86, Issue 26
>> ***********************************************


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to