> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Daad, > > [EMAIL PROTECTED] wrote: > | I missed some messages seems.. So is the enqueuing thing a bad > | behaviour of pooling or is it just normal? > > I suspect you have a problem with your code, somewhere. Are you creating > a new Database object every time? Do you have any synchronization or any > kind?
Yes, i create Database object each time, and no, i removed synchronization blocks from the piece of code that call the doSomething() method. As you can see from logs i posted, i think that every thread enter in getConnection() at same time, and then they enqueue running one per time. So if there is no synchronization on Database class, i think there is no synchronized block problem, isn't it? > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkf84p0ACgkQ9CaO5/Lv0PDIYwCcD0xlEpOMqSDHCz5zFUXMy6sV > HCkAn2HNwdYkggG6o1flpgKZ6X/RD7qd > =aqt8 > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]