> I'm not looking for a long-term fix, just a short-term switch to possibly
> avoid the problems that DBCP might have been causing for me. I'm just
> finding it a challenge to figure out which short-term fix to use.
>
> Matt 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. You can
specify the implementation class on the data-source tag in struts-config:
<data-source type="org.apache.commons.dbcp.BasicDataSource">
...
</data-source>
You also need to make sure you've got the correct jars in your lib
directory. (commons-dbcp.jar, commons-pool.jar - there may be others, I'm
not sure of the exact dependency of DBCP).
So, in the short term you need do nothing except make a small change to
struts-config.xml. In the longer term you could investigate the options,
such as JNDI, that others have suggested - but you won't be forced to change
unless it suits you.
Steve
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]