Re: Does Tomcat JDBC Connection Pool reset autocommit on closed connections?

2021-03-11 Thread Mark Thomas
On 12/03/2021 03:57, My Subs wrote: Hello, I'm using Tomcat 10.0.0. Suppose I call setAutoCommit(false) on a connection obtained from a Tomcat JDBC Connection Pool. Then I do some stuff with the connection, call commit() or rollback() and finally call close() on it without ever calling setA

Re: Unable to read the orginal url when host header is specified.

2021-03-11 Thread Mark Thomas
On 12/03/2021 01:50, Anurag Sharma wrote: My code is running on local host and i am hitting one of my urls as below curl -k -vv --http1.1 "https://localhost:8443/versa/login"; -H 'Host: google.com' Now i m a trying to read the url in my code using following StringBuffer url = httpServletRe

Does Tomcat JDBC Connection Pool reset autocommit on closed connections?

2021-03-11 Thread My Subs
Hello, I'm using Tomcat 10.0.0. Suppose I call setAutoCommit(false) on a connection obtained from a Tomcat JDBC Connection Pool. Then I do some stuff with the connection, call commit() or rollback() and finally call close() on it without ever calling setAutocommit(true). What will the autoc

Unable to read the orginal url when host header is specified.

2021-03-11 Thread Anurag Sharma
My code is running on local host and i am hitting one of my urls as below curl -k -vv --http1.1 "https://localhost:8443/versa/login"; -H 'Host: google.com' Now i m a trying to read the url in my code using following StringBuffer url = httpServletRequest.getRequestURL(); The value is always a

Re: WELCOME to users@tomcat.apache.org

2021-03-11 Thread Anurag Sharma
Hi My code is running on local host and i am hitting one of my urls as below curl -k -vv --http1.1 "https://localhost:8443/versa/login"; -H 'Host: google.com' Now i m a trying to read the url in my code using following StringBuffer url = httpServletRequest.getRequestURL(); The value is alway

Re: Embedded Tomcat 9.0.43 : WINDOW_UPDATE not sent when receiving http2 requests over unknown url

2021-03-11 Thread Doug Whitfield
> It exists in all 8.5.x, 9.0.x and 10.0.x versions. It has been there > since the beginning of HTTP/2 support. Based on our testing the issue was introduced in 9.0.19 and 8.5.55 (we haven’t done any testing on the 10.x branch), which is slightly after the beginning of HTTP/2 support. I don’t

Re: Embedded Tomcat 9.0.43 : WINDOW_UPDATE not sent when receiving http2 requests over unknown url

2021-03-11 Thread Doug Whitfield
>I am working on a fix which I expect to be in the releases due out in ~1 > month's time. Thanks Mark! Is there any chance of a patch being available before then that we might be able to backport locally? This e-mail may contain information that is privileged or confidential. If you are not t

Re: Embedded Tomcat 9.0.43 : WINDOW_UPDATE not sent when receiving http2 requests over unknown url

2021-03-11 Thread Mark Thomas
On 11/03/2021 19:09, Doug Whitfield wrote: Just FYI: I was able to reproduce this issue on 8.5.64 and 9.0.44. I’m going to start doing some testing in earlier versions of 8.5 to see if the issue exist there as well as far as regressions. It exists in all 8.5.x, 9.0.x and 10.0.x versions. I

Re: module muddle

2021-03-11 Thread Mark Thomas
On 11/03/2021 19:08, Rob Sargent wrote: I've started getting this error, though I've been running fine since days of "localhost" issue help.    class org.apache.tomcat.dbcp.dbcp2.BasicDataSource cannot be cast to    class org.apache.tomcat.jdbc.pool.DataSource    (org.apache.tomcat.dbcp.dbcp

[ANN] Apache Tomcat 8.5.64 available

2021-03-11 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 8.5.64. Apache Tomcat 8 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and Java Authentication Service Provider Interface for Containers

Re: Embedded Tomcat 9.0.43 : WINDOW_UPDATE not sent when receiving http2 requests over unknown url

2021-03-11 Thread Doug Whitfield
-Original Message- From: Mark Thomas Sent: Wednesday, March 10, 2021 6:28 PM To: users@tomcat.apache.org Subject: Re: Embedded Tomcat 9.0.43 : WINDOW_UPDATE not sent when receiving http2 requests over unknown url On 10/03/2021 05:26, Arshiya Shariff wrote: > Hi All, > We are using embedd

module muddle

2021-03-11 Thread Rob Sargent
I've started getting this error, though I've been running fine since days of "localhost" issue help. class org.apache.tomcat.dbcp.dbcp2.BasicDataSource cannot be cast to class org.apache.tomcat.jdbc.pool.DataSource (org.apache.tomcat.dbcp.dbcp2.BasicDataSource is in unnamed module of

Re: [OT] Linux EC2 Java Gremlin

2021-03-11 Thread Christopher Schultz
Jerry, On 3/11/21 12:39, Jerry Malcolm wrote: Not directly a tomcat question... but since TC runs on java, maybe someone here has some suggestions.  I am running a development/sandbox server on AWS EC2, Linux 2.  Only I and one other person have access to it.  Yesterday I was browsing through

[ANN] Apache Tomcat 9.0.44 available

2021-03-11 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.44. Apache Tomcat 9 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and JASPIC technologies. Apache Tomcat 9.0.44 is a bugfix and fea

[ANN] Apache Tomcat 10.0.4 available

2021-03-11 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 10.0.4. This release is targeted at Jakarta EE 9. Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 without changes. Java EE applications designed for Tomcat 9 and earlier may be placed in the $C

[OT] Linux EC2 Java Gremlin

2021-03-11 Thread Jerry Malcolm
Not directly a tomcat question... but since TC runs on java, maybe someone here has some suggestions.  I am running a development/sandbox server on AWS EC2, Linux 2.  Only I and one other person have access to it.  Yesterday I was browsing through some pages on my site when all of a sudden I st

Re: Possible to refer to the contextPath in a Resource database url ?

2021-03-11 Thread Rony G. Flatscher (Apache)
On 11.03.2021 12:14, Mark Thomas wrote: > On 10/03/2021 19:44, Rony G. Flatscher (Apache) wrote: >> For a little nutshell example I would like to use SQLite as the JDBC driver >> includes the native code >> for all the major operating systems already (this way a user does not really >> need to in

Re: Is there a way to know/infer that a JSP got freshly compiled from a taglib library ?

2021-03-11 Thread Rony G. Flatscher (Apache)
On 11.03.2021 11:53, Mark Thomas wrote: > On 10/03/2021 15:14, Rony G. Flatscher (Apache) wrote: >> Is there a way to know/infer that a JSP got freshly compiled from e.g. a >> taglib library? >> >> For caching purposes it would be necessary to learn whether a JSP got >> recompiled as the cache sh

Re: Possible to refer to the contextPath in a Resource database url ?

2021-03-11 Thread Mark Thomas
On 10/03/2021 19:44, Rony G. Flatscher (Apache) wrote: For a little nutshell example I would like to use SQLite as the JDBC driver includes the native code for all the major operating systems already (this way a user does not really need to install SQLite just place its JDBC driver in the lib d

Re: Is there a way to know/infer that a JSP got freshly compiled from a taglib library ?

2021-03-11 Thread Mark Thomas
On 10/03/2021 15:14, Rony G. Flatscher (Apache) wrote: Is there a way to know/infer that a JSP got freshly compiled from e.g. a taglib library? For caching purposes it would be necessary to learn whether a JSP got recompiled as the cache should be purged in that case. Is there a way to find o