Hi all,
I think I've found a race condition in JDBCDataStore and just wondered if
anyone else may have seen something similar. The problem comes down to:
JDBCDataStore#getAggregateFunctions (line 583)
On the first few times through this code, I'm failing to find a 'count'
function - stepping though it I can see the aggregateFunctions being
populated and the dialect registering the functions.
After the first few calls, everything is running AOK again.
My basic setup is a small WMS server handling multiple HTTP requests in
parallel. I'm sharing a JDBCDataStore between threads.
My apologies if it's a bit high level - I'm really just getting into the
internals of GeoTools. Happy to provide more info and I can submit a patch
it if it's the right way forward.
Thanks
Alex
*Alex Davies-Moore / Developer*
25 Wayman Road / Corfe Mullen / Dorset / BH21 3PL / UK
P: +44 (0) 1202 697 394 / M: +44 (0) 7961 629 399 / T: @schoenobates
Devork Limited is a limited company registered in England and Wales
Registered number: 07699891
Registered office: 25 Wayman Road, Corfe Mullen, Dorset, BH21 3PL
This message and any files transmitted with it are the property of Devork
Ltd, are confidential, and are intended solely for the use of the person or
entity to whom this e-mail is addressed. If you are not one of the named
recipient(s) or otherwise have reason to believe that you have received
this message in error, please contact the sender and delete this message
immediately from your computer. Any other use, retention, dissemination,
forwarding, printing, or copying of this e-mail is strictly prohibited.
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users