Re: connection pool problem using in Tomcat
grantmitchell7_at_yahoo.com
Date: 09/01/04
- Next message: Joe Weinstein: "Re: Unhandled token type error from MS JDBC Driver"
- Previous message: Chris Rowan: "Unhandled token type error from MS JDBC Driver"
- In reply to: Carb Simien [MSFT]: "RE: connection pool problem using in Tomcat"
- Next in thread: Joe Weinstein: "Re: connection pool problem using in Tomcat"
- Reply: Joe Weinstein: "Re: connection pool problem using in Tomcat"
- Messages sorted by: [ date ] [ thread ]
Date: 1 Sep 2004 09:56:21 -0700
CarbinoS@online.microsoft.com ("Carb Simien [MSFT]") wrote in message news:<zzuzMF7jEHA.2516@cpmsftngxa10.phx.gbl>...
>
> If you are using SelectMethod=direct, then it is possible that you are
> seeing an increase in connections due to the creation of cloned
> connections. These additional connections are necessary because each
> statement requires its own connection. Your Tomcat settings have no
> bearing on this particular behavior, as it is inherent in the JDBC driver
> itself.
>
> Are you using transactions in your code? Can you provide code that
> reproduces the problem behavior?
>
> Carb Simien, MCSE MCDBA MCAD
> Microsoft Developer Support - Web Data
>
> Please reply only to the newsgroups.
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> Are you secure? For information about the Strategic Technology Protection
> Program and to order your FREE Security Tool Kit, please visit
> http://www.microsoft.com/security.
This is a little scary isn't it? If I have a J2EE app that starts out
pre-preparing (for subsequent re-use) N prepared statements per
connection and I have M concurrent clients using the app then we'll
require N*M physical database connections. Is that correct? That
number could be pretty huge for even a mid size app..
Is there any plans to address this in any future driver?
Grant M
- Next message: Joe Weinstein: "Re: Unhandled token type error from MS JDBC Driver"
- Previous message: Chris Rowan: "Unhandled token type error from MS JDBC Driver"
- In reply to: Carb Simien [MSFT]: "RE: connection pool problem using in Tomcat"
- Next in thread: Joe Weinstein: "Re: connection pool problem using in Tomcat"
- Reply: Joe Weinstein: "Re: connection pool problem using in Tomcat"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|