struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip Qin <>
Subject RE: Why is dbcp / pool removed?
Date Tue, 10 Jun 2003 20:23:50 GMT
Off topic, but I like oracle implementation's ability to increase number of
connections automatically. I actually have a factory class return different
pooling data source so that I can switch between dbcp and oracle.

-----Original Message-----
From: Kris Schneider [] 
Sent: June 10, 2003 4:19 PM
To: Struts Users Mailing List
Subject: RE: Why is dbcp / pool removed?

If you want to keep your data source config within Struts but don't want to
DBCP, it looks like you need to find an alternative implementation of
javax.sql.DataSource. If you're using Oracle for your DB, you might want to
a look at oracle.jdbc.pool.OracleConnectionCacheImpl. Other JDBC drivers may
provide something similar.

Quoting "Kruse, Matt" <>:

> > The Struts distribution no longer includes DBCP but it does 
> > still work with
> > it. You can continue to use DBCP in your app as you did 
> > before. 
> I know :)  But, I was having some problems already that I suspect are due
> to
> that way DBCP is (or isn't!) working, so I did want to replace it with the
> "new" approach in RC2, until I explore JNDI further.
> So, I don't want to use DBCP anymore, but I want to continue using
> struts-config to define my db so as not to disrupt the current state of
> app too much. So I'm learning how the DBCP-independent RC2 handles the db
> connections all internally, and trying to figure out if that will work and
> what problems might exist with it. Having some luck so far, but I need to
> do
> a lot more playing around to make sure this doesn't replace my old
> with new ones :)
> Matt

Kris Schneider <>
D.O.Tech       <>

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message