RE: Tomcat SSL stops working after an undetermined amount of time

2021-05-24 Thread Mysore, Raghunath
Hi Ezsra, This is an answer to your query - " Why is Tomcat not using the TLSv1.2 protocol?" I assume you are using Oracle JDK v8u281 You may want to review the following line in the file : /jre/lib/security/ java.security jdk.tls.disabledAlgorithms=?? The following

RE: Tomcat SSL stops working after an undetermined amount of time

2021-05-24 Thread Ed Rouse
This works for me. In server.xml: From: Ezsra McDonald Sent: Monday, May 24, 2021 4:10 PM To: Tomcat Users List Subject: Re: Tomcat SSL stops working after an undetermined amount of time [External email: Use caution! Do not open attachments or click

Re: Tomcat SSL stops working after an undetermined amount of time

2021-05-24 Thread Ezsra McDonald
Chris, Thanks for your response. These Tomcat servers are something I inherited. I do not know what this bouncycastle.crypto is. If it is making my setup complicated how do I get around it? Is it part of the org.apache.coyote.http11.Http11NioProtocol? What would you recommend I use instead? My

Re: Tomcat SSL stops working after an undetermined amount of time

2021-05-24 Thread Christopher Schultz
Ezsra, On 5/24/21 10:30, Ezsra McDonald wrote: I am enabling SSL debugging this morning. I did catch this in the log for an instance that started erroring out this morning. Seems like it may be too generic to help solve my problem. Here it is: 24-May-2021 09:25:44.609 SEVERE [catalina-exec-51]

Re: Tomcat SSL stops working after an undetermined amount of time

2021-05-24 Thread Ezsra McDonald
I was unable to identify the issue with debug enabled. I started looking closer at the error I was getting in the various browsers. Apparently the SSL is working. The browsers are blocking it because the server is using something other than TLSv1.2 or better. I was able to prove this using Safari.

Re: [External] Re: Zip file upload corruption on Linux

2021-05-24 Thread Mark Thomas
On 24/05/2021 14:22, Scott,Tim wrote: Hi Mark, From: Mark Thomas wrote: import org.apache.commons.fileupload.disk.DiskFileItemFactory; import org.apache.commons.fileupload.servlet.ServletFileUpload; import org.apache.commons.fileupload.servlet.ServletRequestContext; You are using Commons

Re: Tomcat SSL stops working after an undetermined amount of time

2021-05-24 Thread Ezsra McDonald
I am enabling SSL debugging this morning. I did catch this in the log for an instance that started erroring out this morning. Seems like it may be too generic to help solve my problem. Here it is: 24-May-2021 09:25:44.609 SEVERE [catalina-exec-51]

Re: Tomcat 9 and FIP-140 mode

2021-05-24 Thread Robert Hicks
Follow on question as we are in the weeds on this now. OpenSSL is in FIPS mode. The JDK is in FIPS mode. I think Tomcat is as the Listener has SSLEngine="on" and FIPSMODE="on" but I am still getting the following errors: failed to set property [FIPSMODE] to [on] In reading around, does the

RE: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-24 Thread Yeggy Javadi
Hi, I restarted tomcat so PID has changed to 143152; I do not know how to trigger tomcat GC, I just restart it to reset the lsof to 0. Please see outputs below: # ps -ef | grep tomcat root 143152 1 0 May22 ?00:26:44 /usr/local/jre/bin/java

RE: [External] Re: Zip file upload corruption on Linux

2021-05-24 Thread Scott,Tim
Hi Mark, From: Mark Thomas wrote: > import org.apache.commons.fileupload.disk.DiskFileItemFactory; > import org.apache.commons.fileupload.servlet.ServletFileUpload; > import org.apache.commons.fileupload.servlet.ServletRequestContext; > You are using Commons FileUpload so this issue needs to be

Re: [External] Re: Zip file upload corruption on Linux

2021-05-24 Thread Mark Thomas
On 24/05/2021 12:08, Scott,Tim wrote: Hi Mark, Thanks for the prompt response. On 24/05/2021 10:58, Scott,Tim wrote: Hi experts, First time poster, here, so I know I'm risking not providing nearly enough of the right information. Please let me know what I can send to help you help me

RE: [External] Re: Zip file upload corruption on Linux

2021-05-24 Thread Scott,Tim
Hi Mark, Thanks for the prompt response. >On 24/05/2021 10:58, Scott,Tim wrote: >> Hi experts, >> >> First time poster, here, so I know I'm risking not providing nearly >> enough of the right information. Please let me know what I can send to >> help you help me further through this. >How are

Re: Zip file upload corruption on Linux

2021-05-24 Thread Mark Thomas
On 24/05/2021 10:58, Scott,Tim wrote: Hi experts, First time poster, here, so I know I’m risking not providing nearly enough of the right information. Please let me know what I can send to help you help me further through this. How are you reading the uploaded file? Please provide the code

Zip file upload corruption on Linux

2021-05-24 Thread Scott,Tim
Hi experts, First time poster, here, so I know I'm risking not providing nearly enough of the right information. Please let me know what I can send to help you help me further through this. I'm using separate deployments of Tomcat 9 on Linux (RedHat 7) and Windows for the same mature .war

Re: tomcat-embed-el JAR appears to violate EL spec causing ClassNotFoundException's

2021-05-24 Thread Mark Thomas
On 23/05/2021 22:40, Steve Storey wrote: The spec at https://docs.oracle.com/javaee/7/api/javax/el/ExpressionFactory.html#newInstance-- says: Use the Services API (as detailed in the JAR specification). The above is the key part. If a resource with the name of