RE: Encountered java.sql.sqlexception "the url cannot be null" starting from tomcat 9.0.71

2023-04-13 Thread Poh Wei Xiang
Hi, Am I right to say this statement in 9.0.74 changelog is referring to the fix for the below issue? Update the internal fork of Commons DBCP to f131286 (2023-03-08, 2.10.0-SNAPSHOT). This corrects a regression introduced in 9.0.71. (markt) With Regards, Poh Wei Xiang Senior Engineer D: +65

RE: Java Heap Space Error

2023-04-13 Thread Pratik.Kulkarni
Hi John, I don't think so, it returns around 50 rows. Also, this same application is working perfectly fine in Tomcat version 8.5, but it gives these errors on Tomcat 9.0.73. Thanks, Pratik -Original Message- From: john.e.gr...@wellsfargo.com.INVALID Sent: Friday, April 14, 2023

Re: Java Heap Space Error

2023-04-13 Thread John.E.Gregg
Pratik, You’re getting the error when executing a DB query. How many rows does it return? Could it be returning too many rows? From: pratik.kulka...@shell.com.INVALID Sent: Thursday, April 13, 2023 9:55:06 PM To: users@tomcat.apache.org Subject: RE: Java Heap

RE: Java Heap Space Error

2023-04-13 Thread Pratik.Kulkarni
Hi All, Thanks for your quick suggestions. As Olaf suggested, I tried to set the same values to Xms and Xmx; the application immediately crashes after Tomcat restart and I am not able to access it. I tried it with different values, but the result is the same. Regarding the memory leak, let me

Re: Clustering issue

2023-04-13 Thread Kevin Huntly
Hi Chris, The configuration in the link I shared is what I used - copy/paste - I want to see it working before I break it =) Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN

Session loss with filter enabled

2023-04-13 Thread Kevin Huntly
Hello, With this filter enabled in Tomcat's web.xml: httpHeaderSecurity org.apache.catalina.filters.HttpHeaderSecurityFilter true My sessions are being immediately lost. If I comment out the filter, everythis is fine. What does this filter actually do, and is it

Re: Tomcat 9.0.73 - Exception while accessing application

2023-04-13 Thread jonmcalexander
Hi Christopher, They are using Java 11.1 Thanks From: Christopher Schultz Sent: Thursday, April 13, 2023 1:11:15 PM To: users@tomcat.apache.org Subject: Re: Tomcat 9.0.73 - Exception while accessing application Jon, On 4/12/23 17:38,

RE: Is Microsoft's spring-cloud-azure-starter-active-directory for Spring Boot 3 / Spring 6 compatible with Tomcat 10?

2023-04-13 Thread BRUNO MELLONI
After further research let me ask the question in a different way: * Tomcat 10 is configured to do log4j2 logging. * My log4j2 code works fine. * Spring-cloud-azure-starter-active-directory seems to use logback and it is incompatible with my Tomcat 10 setup. Given the above… what

Tomcat 8.5.85 and above - Issue with file uploads

2023-04-13 Thread William L. Cunningham
Environment: Windows 2019 Standard with latest JDK 17 and Apache Tomcat 8.5.87. When trying to upload a file to the application running off Tomcat (custom software), we are getting the following error since 8.5.85 (works fine on 8.5.84). ERROR [2023-04-13 15:20:20]:

Re: Redirect appends port number?

2023-04-13 Thread Kevin Huntly
I am, and I dont think it's the filter. Beyond that, the whole thing is broken now and I don't know why, so let's just forget I said anything Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311

Re: Java Heap Space Error

2023-04-13 Thread Christopher Schultz
Pratik, On 4/13/23 05:35, pratik.kulka...@shell.com.INVALID wrote: This email concerns an error I encountered while using Oracle Apex with ORDS 3.0.9 and Tomcat 9. Specifically, I receive a "Java heap space" error when accessing the application. To troubleshoot the issue, I have tried to

Re: Redirect appends port number?

2023-04-13 Thread Christopher Schultz
Kevin, On 4/12/23 19:35, Kevin Huntly wrote: I'm seeing some odd behavior - my servlet filter is redirecting with port 10943 attached to the redirect Are you the author of the filter? If so, can you post the code that is determining what URL to use for the redirect? > - that port is the

Re: Clustering issue

2023-04-13 Thread Christopher Schultz
Kevin, On 4/12/23 19:20, Kevin Huntly wrote: I setup a quick and dirty cluster following https://tomcat.apache.org/tomcat-9.0-doc/cluster-howto.html I am seeing the following: 12-Apr-2023 19:18:00.369 WARNING [main] org.apache.catalina.ha.tcp.SimpleTcpCluster.registerManager Manager

Re: Tomcat 9.0.73 - Exception while accessing application

2023-04-13 Thread Christopher Schultz
Jon, On 4/12/23 17:38, jonmcalexan...@wellsfargo.com.INVALID wrote: And another app, different stack-trace, same java.lang.NoSuchFieldError: EMPTY_CHAR_ARRAY What version of Java are you using? -chris 11-Apr-2023 12:38:44.264 SEVERE [https-jsse-nio-0.0.0.0-23601-exec-11]

RE: Java Heap Space Error

2023-04-13 Thread John.E.Gregg
Pratik, > -Original Message- > From: pratik.kulka...@shell.com.INVALID > > Sent: Thursday, April 13, 2023 4:36 AM > To: users@tomcat.apache.org > Subject: Java Heap Space Error > > Hello, > > This email concerns an error I encountered while using Oracle Apex with > ORDS 3.0.9 and

Re: Java Heap Space Error

2023-04-13 Thread Kevin Huntly
Also, is it possible for you to post the heapdump (if one was generated?) Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++

Re: Java Heap Space Error

2023-04-13 Thread Olaf Kock
Hi Pratik, On 13.04.23 11:35, pratik.kulka...@shell.com.INVALID wrote: Hello, This email concerns an error I encountered while using Oracle Apex with ORDS 3.0.9 and Tomcat 9. Specifically, I receive a "Java heap space" error when accessing the application. To troubleshoot the issue, I have

Java Heap Space Error

2023-04-13 Thread Pratik.Kulkarni
Hello, This email concerns an error I encountered while using Oracle Apex with ORDS 3.0.9 and Tomcat 9. Specifically, I receive a "Java heap space" error when accessing the application. To troubleshoot the issue, I have tried to increase the maximum heap size of the JVM using the -Xmx option