Hi,
this is a repost of an earlier post, which I hope is a bit clearer.
Why, if I run:
Context ctx = new InitialContext();
if(ctx == null ) throw new ServletException("Boom - No Context");
ds =
(DataSource)ctx.lookup("java:comp/env/jdbc/SEDDB");
under tomcat 4.0.1 is a NEW DataSource object returned everytime?
I thought the idea was to have one pool created on context load that can be accessed through the initial context,
but instead a new db pool is returned after each such call...


Hope someone can help...

Greetz
Hans


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to