Re: Tomcat 7 under Java 11? Re: Has anybody ever heard of "ECDHE-ECDSA-CHACHA20-POLY1305"?

2019-03-20 Thread Mark Thomas
On 20/03/2019 10:05, Mark Thomas wrote: > On 19/03/2019 23:49, James H. H. Lampert wrote: >> In response to my question: >> I've just (same customer as before) been asked about ECDHE-ECDSA-CHACHA20-POLY1305 and ECDHE-RSA-CHACHA20-POLY1305 and I can't find either one on the Sun o

Re: Datasource Connection Pool

2019-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rajendra On 3/18/19 12:24, Rajendra wrote: > Tomcat(8.5.32) is not establishing connections to database after > database is restarted. Currently, I am restarting Tomcat instance > if DB is restarted. Please let me know any parameters need to be > a

Re: Default Max response size in Tomcat

2019-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 3/20/19 10:48, Saurav Sarkar wrote: > Thanks a lot Olaf for the response. > > Yes , i have taken care of that condition > > Please find the full code below > > protected void doGet(HttpServletRequest request, > HttpServletResponse response) >

Re: Default Max response size in Tomcat

2019-03-20 Thread Saurav Sarkar
Thanks a lot Olaf for the response. Yes , i have taken care of that condition Please find the full code below protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { try { String param = request.getParameter("size");

Re: Default Max response size in Tomcat

2019-03-20 Thread Olaf Kock
On 20.03.19 12:08, Saurav Sarkar wrote: > Just to add the stack trace. > > I am getting ClientAbortException "Connection reset by peer" when i am > trying to write to the response stream > > 2019-03-20T10:32:28.501+ [APP/PROC/WEB/0] ERR > org.apache.catalina.connector.ClientAbortException:

[ANN] Apache Tomcat 8.5.39 available

2019-03-20 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 8.5.39. 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 t

Re: Default Max response size in Tomcat

2019-03-20 Thread Saurav Sarkar
Just to add the stack trace. I am getting ClientAbortException "Connection reset by peer" when i am trying to write to the response stream 2019-03-20T10:32:28.501+ [APP/PROC/WEB/0] ERR org.apache.catalina.connector.ClientAbortException: java.io.IOException: Connection reset by peer 2019-03-20

[ANN] Apache Tomcat 8.5.39 available

2019-03-20 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 8.5.39. 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 t

Default Max response size in Tomcat

2019-03-20 Thread Saurav Sarkar
Hi All I have a very basic test application which serves bytes from memory and gives it back to the client. Whenever i try to send the request for byte size which is of over 2 GB i get a connection reset error in my server code and a 502 error in my chrome console. Below 2 GB it is working fine.

Re: "Tomcat 9.0.x configuration file differences" broken

2019-03-20 Thread Greg Huber
for the fortunate, you can use http://meldmerge.org/ ok its local but works well. On Wed, 20 Mar 2019 at 09:58, Mark Thomas wrote: > On 20/03/2019 06:45, Dirk Gfrörer wrote: > > Hello, > > > > before upgrading our Tomcats I usually check for any changes within the > > catalina.policy, etc. file

Re: Tomcat 7 under Java 11? Re: Has anybody ever heard of "ECDHE-ECDSA-CHACHA20-POLY1305"?

2019-03-20 Thread Mark Thomas
On 19/03/2019 23:49, James H. H. Lampert wrote: > In response to my question: > >>> I've just (same customer as before) been asked about >>> ECDHE-ECDSA-CHACHA20-POLY1305 and ECDHE-RSA-CHACHA20-POLY1305 >>> >>> and I can't find either one on the Sun or IBM JSSE cipher lists for >>> Java 8. > > On

Re: Inefficient ValueExpressionLiteral.getValue()

2019-03-20 Thread Mark Thomas
On 20/03/2019 05:13, Thibault Kruse wrote: > Hi, > > when migrating from Tomcat7 to Tomcat8 for an application using javax-el > expression evaluation on every request, we noticed a significant > performance impact. Try the latest 8.5.x implementation. There are changes in Java EE 7 to the EL syn

Re: "Tomcat 9.0.x configuration file differences" broken

2019-03-20 Thread Mark Thomas
On 20/03/2019 06:45, Dirk Gfrörer wrote: > Hello, > > before upgrading our Tomcats I usually check for any changes within the > catalina.policy, etc. files. > > I use this URL > > https://tomcat.apache.org/migration-9.html > > scroll down to the very bottom and than click on the "View Differenc

Re: Inefficient ValueExpressionLiteral.getValue()

2019-03-20 Thread Thibault Kruse
I reproduced the problem (on Java8): https://github.com/tkruse/javax-getvalue-slowdown org.apache.tomcat:tomcat-jasper-el:7.0.8 30 expressions in 85 ms org.mortbay.jasper:apache-el:8.0.33 30 expressions in 208 ms Where the slowdown can be reduced by overriding ELContext.convertToType() w