Hi all,

I'm having problem with creation of image mosaic on geoserver 2.5 connected
to sql server 2008 R2. I have downloaded geotools source and found there is
problem with transactions.

Image mosaic creation goes in steps:
1. try to delete 1st raster file from table
2. insert first raster file to table
3. try to delete 2nd raster file from table

3rd step never finishes because of uncommited transaction. I've managed to
fix this by adding /fs.getTransaction().commit();/ in removeGranules method,
and /store.getTransaction().commit();/ in addGranules method in class
/org.geotools.gce.imagemosaic.catalog.GTDataStoreGranuleCatalog/.

I've also tried to create image mosaic on Postgre database and there were no
problems with transactions.

I would like to know if there is better solution for this then forcing
commit?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/geoserver-2-5-image-mosaic-creation-with-sql-server-2008-R2-tp5146019.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to