Re: Strange behavior on Tomcat 9.0.5 about ResourceLink's "name" attribute in server.xml

2018-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tarin, On 3/8/18 1:56 PM, Mark Thomas wrote: > On 08/03/18 18:53, Tarin Gamberini wrote: >> On 08/03/2018 17:52, Rémy Maucherat wrote: >>> On Thu, Mar 8, 2018 at 5:26 PM, Tarin Gamberini [cut] # PROBLEM I have two datasources in the

Re: Strange behavior on Tomcat 9.0.5 about ResourceLink's "name" attribute in server.xml

2018-03-08 Thread Mark Thomas
On 08/03/18 18:53, Tarin Gamberini wrote: > On 08/03/2018 17:52, Rémy Maucherat wrote: >> On Thu, Mar 8, 2018 at 5:26 PM, Tarin Gamberini >>> [cut] >>> # PROBLEM >>> >>> I have two datasources in the same web application: >>> >>> >> type="javax.sql.DataSource"/> >>> >> type="javax.sql.DataS

Re: Strange behavior on Tomcat 9.0.5 about ResourceLink's "name" attribute in server.xml

2018-03-08 Thread Tarin Gamberini
On 08/03/2018 17:52, Rémy Maucherat wrote: > On Thu, Mar 8, 2018 at 5:26 PM, Tarin Gamberini >> [cut] >> # PROBLEM >> >> I have two datasources in the same web application: >> >> > type="javax.sql.DataSource"/> >> > type="javax.sql.DataSource"/> >>[cut] > > Well, you have "abc" that s alre

Re: Strange behavior on Tomcat 9.0.5 about ResourceLink's "name" attribute in server.xml

2018-03-08 Thread Tarin Gamberini
On 08/03/2018 17:33, Christopher Schultz wrote: > Tarin, > > On 3/8/18 11:26 AM, Tarin Gamberini wrote: >> ## NOTES > >> The error seems realted only to ResourceLink's "name" attribute, >> and not to "global" attribute, in server.xml: > >> ERROR > type="javax.sql.DataSource"/> > global="jdbc/abc

Re: Strange behavior on Tomcat 9.0.5 about ResourceLink's "name" attribute in server.xml

2018-03-08 Thread Rémy Maucherat
On Thu, Mar 8, 2018 at 5:26 PM, Tarin Gamberini wrote: > Hi everybody, > > I have found a strange behavior on Tomcat 9.0.5 (originally on Tomcat > 8.5.28). > > > # PROBLEM > > I have two datasources in the same web application: > > type="javax.sql.DataSource"/> > type="javax.sql.DataSou

Re: WebApp Caching Broken

2018-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ken, On 3/8/18 11:31 AM, Kenneth Taylor wrote: > To clarify: We were making changes to our webapp and re-deploying > and the changes were not showing up. We think this was happening > because of the shutdown problem I stated earlier. There was mor

Re: Strange behavior on Tomcat 9.0.5 about ResourceLink's "name" attribute in server.xml

2018-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tarin, On 3/8/18 11:26 AM, Tarin Gamberini wrote: > ## NOTES > > The error seems realted only to ResourceLink's "name" attribute, > and not to "global" attribute, in server.xml: > > ERROR type="javax.sql.DataSource"/> global="jdbc/abc/jkl/XXX_YY

RE: WebApp Caching Broken

2018-03-08 Thread Kenneth Taylor
Thanks for the pointers. I did not realize that I had setup Tomcat emails to go to a folder and didn't see people's responses. Sorry about that. To clarify: We were making changes to our webapp and re-deploying and the changes were not showing up. We think this was happening because of the s

Strange behavior on Tomcat 9.0.5 about ResourceLink's "name" attribute in server.xml

2018-03-08 Thread Tarin Gamberini
Hi everybody, I have found a strange behavior on Tomcat 9.0.5 (originally on Tomcat 8.5.28). # PROBLEM I have two datasources in the same web application: Starting the server I get an "java.lang.ClassCastException: org.apache.tomcat.dbcp.dbcp2.BasicDataSource cannot be cast to javax