On Sat, Feb 25, 2012 at 1:19 PM, Leoze Oze <[email protected]> wrote:
> Hello list,
> I have no problem using directly a FeatureSource (comments) but
> with FeatureCollection. See erro at the end.....
> Thanks a lot for any ideia !
>
PostgreSQL is shutting the connection in your face, maybe due to network
issues, maybe due to
timeouts.
Enable connection validation when setting up the store "params" (the param
key shoudl be in
the base class of PostgisNGDataStoreFactory) to have the connection pool
check if a connection
is still alive before returning it to GeoTools.
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users