From: Steve B. <st...@te...> - 2008-09-12 12:15:37
|
Hello, I'm using the Proxool DataSource support within another open source project, QuickFIX/J. Some of my users are reporting a problem that results in exceptions like the following. java.sql.SQLException: We are already in the process of making 1 connections and the number of simultaneous builds has been throttled to 0 I am explicitly setting the simultaneous build throttle value to 10 (although that's supposed to be the default) and the error still occurs at times. I'm wondering if it's possible that the configuration information is not stored in a thread-safe manner (that would explain the "stale" zero value). I see that the configuration properties are not final (makes sense) and also not synchronized or declared volatile. Are the throttling configurations potentially accessed by multiple threads? If so, shouldn't they be synchronized or volatile? This error has been reported with older versions of Proxool. I've upgraded to the latest version, but I noticed the configurations are still not synchronized or volatile so I'm wondering if this might still be an issue. Thanks for any help you can provide. Steve |