creates new
connections on every single request.
Thanks,
Will Stranathan
On Tue, 2 Oct 2001 11:44:32 -0700
"Remy Maucherat" <[EMAIL PROTECTED]> wrote:
> The HEAD branch should now rebind.
>
> Remy
>
Can we see the appropriate parts of server.xml and web.xml?
Will Stranathan
Alessandro Pizzolotto wrote:
> this code
>
> javax.naming.Context ctx = new javax.naming.InitialContext();
> javax.naming.Context cto = (javax.naming.Context)ctx.lookup("java:/comp/env");
>
See my comments below...
On Tue, 2 Oct 2001 11:30:11 -0700 (PDT)
"Craig R. McClanahan" <[EMAIL PROTECTED]> wrote:
>
>
> On Tue, 2 Oct 2001, Will Stranathan wrote:
>
> > respond to it, but Remy noted that Catalina doesn't
> rebind
> > resolve
i.e., has
anybody gotten pooling to work properly with mm.mysql, or
FreeTds?
Thanks,
Will Stranathan
at?
Will Stranathan
<%!
DataSource ds = null;
public void jspInit() {
try {
Context ctx = new InitialContext();
ds = (DataSource)ctx.lookup("java:comp/env/jdbc/Directory");
System.out.println("did lookup");
close() on the connection in a finally block (and it is getting called).
Is there something else I have to do on the DataSource to ensure that
the connection gets recycled properly? Or am I missing some
configuration in my server.xml?
Regards,
Will Stranathan
Connection conn = null;
try
And the appropriate parts of webapps/will/WEB-INF/web.xml:
The LP Directory
jdbc/LPDirectory
javax.sql.DataSource
Container
Shareable
Any ideas?
Thanks,
Will Stranathan