On 10/01/2021 15:10, Jim Anderson wrote:
>
> I'm working on developing a web page using Tomcat 9 as the local server.
> My web page comes up and when I submit my page for processing, the
> tomcat server crashes. Interestingly, when I run the same sequence in
> Eclipse, everything works fine.
>
>
Rob,
On 1/10/2021 8:51 PM, Rob Sargent wrote:
While trying to understand why PerUserPoolDataSource doesn't implement
javax.sql.ConnectionPoolDataSource on
https://tomcat.apache.org/tomcat-9.0-doc/api/org/apache/tomcat/dbcp/dbcp2/datasources/package-summary.html
I get a 404 from anchor
While trying to understand why PerUserPoolDataSource doesn't implement
javax.sql.ConnectionPoolDataSource on
https://tomcat.apache.org/tomcat-9.0-doc/api/org/apache/tomcat/dbcp/dbcp2/datasources/package-summary.html
I get a 404 from anchor cpdsadapter example
https://tomcat.apache.org/
Honest I had corrected as Mark suggested, but I was first forgetting to
match up the web.xml and then missing an error condition ("Must set the
ConnectionPoolDataSource through setDataSourceName or
setConnectionPoolDataSource before calling getConnection"). I've seen
this and can confirm my fo
The problem is what Mark pointed out above. In the type attribute you
use the commons package name, but then specify the tomcat factory. Try
changing the type attribute to
type="org.apache.tomcat.dbcp.dbcp2.datasources.PerUserPoolPoolDataSource"
Phil
On 1/10/21 8:41 AM, Rob Sargent wrote:
I
I've abandon PerUserPoolDataSource and retreated to
org.apache.tomcat.jdbc.pool.DataSourceand multiple resource entries in
context.xml (probably even if I could make PerUser work).
I'm clearly missing a crucial piece. Here's my current full context.xml
My apologies for the noi
I'm working on developing a web page using Tomcat 9 as the local server.
My web page comes up and when I submit my page for processing, the
tomcat server crashes. Interestingly, when I run the same sequence in
Eclipse, everything works fine.
Anyway, I looked at the logs directory and I see s