Can anyone confirm whether the following messages kindly posted by Andrey Chernyh 
([EMAIL PROTECTED]) is the only solution to the multithreading issues associated with 
Databases and Transactions in the ODMG API?  

http://archives.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED]&msgNo=1748
http://archives.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED]&msgId=458647


Using the standard OJB instance in an app server such as Tomcat results in the 
infamous "TransactionImpl created with null DatabaseImpl" error when creating 
Transactions on a per (http) request basis.  I have temporarily "fixed" the problem in 
Tomcat by setting minProcessors=0 and maxProcessors=1, which forces Tomcat to only 
spawn a single HttpProcessor thread (but, simultaneously, forces connection requests 
from multiple users to be backed up until the HttpProcessor can handle them ... one at 
a time).  For more information on setting those parameters see 
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/http11.html


Thanks in advance,
Jason

Reply via email to