If you want to keep your data source config within Struts but don't want to use
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 take
a look at oracle.jdbc.pool.OracleConnectionCacheImpl. Other JDBC drivers may
provide something similar.

Quoting "Kruse, Matt" <[EMAIL PROTECTED]>:

> > 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 the
> 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 problems
> with new ones :)
> 
> Matt
> 


-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

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

Reply via email to