-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark,

On 11/13/2010 7:26 AM, Mark Thomas wrote:
> I think you have hit this:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=50159
> 
> Technically, 7.0.4 is sticking to the letter of the J2EE spec but it
> isn't what applications expect. 7.0.5 will revert to the previous
> behaviour but with an configurable option for those folks who want their
> resource factories to behave differently.

I've just read that bug description and I'm not sure I understand it:
every request to the JNDI lookup results in a completely new DataSource
being created and filled with connections?

Uh, oh.

Does that mean that applications should request the DataSource from JNDI
a single time during it's life and then re-use that DataSource indefinitely?

I'd better stop suggesting that everyone do JNDI lookups every time they
need a db connection, then :)

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzlSGQACgkQ9CaO5/Lv0PCC5gCgt9tZul8hmxsIfVYowcHZwrgg
SeQAoIKF8X5OrgSxybwCi03C/8uGsesI
=6y9U
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to