Re: troubled by "SEVERE: Cannot register null bean"

2021-01-10 Thread Phil Steitz
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:

tomcat 9 fails when requesting a new URL

2021-01-10 Thread Jim Anderson
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

Re: troubled by "SEVERE: Cannot register null bean"

2021-01-10 Thread Rob Sargent
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

Re: troubled by "SEVERE: Cannot register null bean"

2021-01-10 Thread Rob Sargent
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

javadoc 404

2021-01-10 Thread Rob Sargent
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

Re: javadoc 404

2021-01-10 Thread Mark Eggers
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

Re: tomcat 9 fails when requesting a new URL

2021-01-10 Thread Mark Thomas
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. > >