Advertisement

06.12.2007 at 09:49AM PDT, ID: 22628922
[x]
Attachment Details

Apache Tomcat 5.5.17 Connection Pooling Issue

Asked by lcor in Java Standard Tag Library (JSTL) & Server Tags, Java Server Pages (JSP), Java Editors & IDEs

Tags: tomcat, connection, pooling

I'm using JSTL to do database queries.  My server is Tomcat 5.5.x.  The JDBC pooling query handling looks something like this :
<sql:query var='exploring' datasource='jdbc/pool' scope='request' />

jdbc/pool is defined as a resourcelink in context.xml for the web app and the as Resource in server.xml. So essentiallly, the application is using connection pooling.

I have several books on JSTL and not one of them tells me how to close connections.  Is it safe to say that that happens behind the scenes because I am using connection pooling?Start Free Trial
[+][-]06.12.2007 at 08:38PM PDT, ID: 19271824

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Java Standard Tag Library (JSTL) & Server Tags, Java Server Pages (JSP), Java Editors & IDEs
Tags: tomcat, connection, pooling
Sign Up Now!
Solution Provided By: suprapto45
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32