Re: Apache tomcat 9.0.6 Compatibility with Adopt openJDK

2020-04-27 Thread Martin Grigorov
Hi, On Tue, Apr 28, 2020 at 5:12 AM Reddy, Tippana Krishnanandan < tire...@deloitte.com> wrote: > Hi everyone, > > We are using Tomcat 9.0.6 . I want to know if we have any document which > shows the compatibility of Tomcat with Adopt openJDK. > Any JDK 1.8+ should be OK. But as any other

Re: Losing session between calls from mobile phone

2020-04-27 Thread Martin Grigorov
Hi, On Tue, Apr 28, 2020 at 2:23 AM AJ Chen wrote: > My web application using tomcat 6 can track user session (cookie by > default) for mobile and PC users in dev environment. But when deployed on > cloud server, it fails to track session for some mobile users. meaning, > servlet always creates

Many memberDisappeared messages logged in cluster (with 1-cpu nodes) using JDK 12 & above

2020-04-27 Thread Mahathi Vavilala
Hi, For default values of frequency (=500) and dropTime (=3000) in cluster installation with TOMEE 7.0.7 (uses Tomcat 8.5.50.0) using JDK 12 or above only, many memberDisappeared messages are logged on all nodes of the cluster (almost for every 2 minutes). This is occuring even when the system is

Apache tomcat 9.0.6 Compatibility with Adopt openJDK

2020-04-27 Thread Reddy, Tippana Krishnanandan
Hi everyone, We are using Tomcat 9.0.6 . I want to know if we have any document which shows the compatibility of Tomcat with Adopt openJDK. Thanks in Advance Regards, Krishna This message (including any attachments) contains confidential information intended for a specific individual and

Losing session between calls from mobile phone

2020-04-27 Thread AJ Chen
My web application using tomcat 6 can track user session (cookie by default) for mobile and PC users in dev environment. But when deployed on cloud server, it fails to track session for some mobile users. meaning, servlet always creates a new session upon user request. Any idea why this happens?

Re: tomcat and ssl

2020-04-27 Thread calder
On Mon, Apr 27, 2020, 16:30 calder wrote: > > > On Mon, Apr 27, 2020 at 11:22 AM Beard, Shawn M. > wrote: > >> I have an app running in tomcat 9 that makes an ssl call to an external >> webservice. >> >> >> >> It fails with these errors in the logs: >> >> ERROR

Re: tomcat and ssl

2020-04-27 Thread calder
On Mon, Apr 27, 2020 at 11:22 AM Beard, Shawn M. wrote: > I have an app running in tomcat 9 that makes an ssl call to an external > webservice. > > > > It fails with these errors in the logs: > > ERROR javax.net.ssl.SSLHandshakeException: PKIX path building failed: >

RE: tomcat and ssl [EXTERNAL]

2020-04-27 Thread jonmcalexander
Best Practice would be to set these properties within your application and not on the JVM Command line. You are setting these at way too high a level in most cases. Just my .02 worth. Dream * Excel * Explore * Inspire Jon McAlexander Asst Vice President Middleware Product Engineering

RE: tomcat and ssl [EXTERNAL]

2020-04-27 Thread Beard, Shawn M.
Adding this to the JVM options worked: -Djavax.net.ssl.trustStore=/usr/apache/tomcat/ssl/TomcatTrustStore.p12 -Djavax.net.ssl.trustStorePassword= Shawn Beard Sr. Systems Engineer BTS +1-515-564-2528 -Original Message- From: Mark Thomas Sent: Monday, April 27, 2020 11:34 AM

Re: Limiting multipart file upload sizes

2020-04-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I've filed this in Bugzilla: https://bz.apache.org/bugzilla/show_bug.cgi?id=64384 - -chris On 4/27/20 12:10, Christopher Schultz wrote: > Mark, > > On 4/27/20 12:02, Christopher Schultz wrote: >> Mark, > >> On 4/27/20 11:30, Christopher

RE: tomcat and ssl [EXTERNAL]

2020-04-27 Thread Beard, Shawn M.
Adding this to JVM options worked -Djavax.net.ssl.trustStore=/usr/apache/tomcat/ssl/TomcatTrustStore.p12 -Djavax.net.ssl.trustStorePassword=XXX Shawn Beard Sr. Systems Engineer BTS +1-515-564-2528 -Original Message- From: js84 Sent: Monday, April 27, 2020 11:33 AM To: Tomcat

Re: tomcat and ssl [EXTERNAL]

2020-04-27 Thread Mark Thomas
On 27/04/2020 17:29, Beard, Shawn M. wrote: > This is a 3rd party app so can't do that. We need to configure tomcat to have > apps use a trust store just like any other java container. That isn't the way Java SE, Java EE (now Jakarta EE), JSSE, and web applications work. Tomcat has ZERO role in

AW: tomcat and ssl

2020-04-27 Thread js84
Hello! > I have an app running in tomcat 9 that makes an ssl call to an external > webservice. > It fails with these errors in the logs: > ERROR javax.net.ssl.SSLHandshakeException: PKIX path building failed: > sun.security.provider.certpath.SunCertPathBuilderException: unable to find >

AW: tomcat and ssl

2020-04-27 Thread js84
Hello! > I have an app running in tomcat 9 that makes an ssl call to an external > webservice. > It fails with these errors in the logs: > ERROR javax.net.ssl.SSLHandshakeException: PKIX path building failed: > sun.security.provider.certpath.SunCertPathBuilderException: unable to find >

RE: tomcat and ssl [EXTERNAL]

2020-04-27 Thread Beard, Shawn M.
This is a 3rd party app so can't do that. We need to configure tomcat to have apps use a trust store just like any other java container. Shawn Beard Sr. Systems Engineer BTS +1-515-564-2528 -Original Message- From: Mark Thomas Sent: Monday, April 27, 2020 11:26 AM To:

Re: tomcat and ssl

2020-04-27 Thread Mark Thomas
On 27/04/2020 17:21, Beard, Shawn M. wrote: > I have an app running in tomcat 9 that makes an ssl call to an external > webservice. > >   > > It fails with these errors in the logs: > > ERROR javax.net.ssl.SSLHandshakeException: PKIX path building failed: >

tomcat and ssl

2020-04-27 Thread Beard, Shawn M.
I have an app running in tomcat 9 that makes an ssl call to an external webservice. It fails with these errors in the logs: ERROR javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path

Re: Limiting multipart file upload sizes

2020-04-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 4/27/20 12:02, Christopher Schultz wrote: > Mark, > > On 4/27/20 11:30, Christopher Schultz wrote: >> Mark, > >> On 3/30/20 16:51, Mark Thomas wrote: >>> On 30/03/2020 21:45, Christopher Schultz wrote: All, In my application

Re: Limiting multipart file upload sizes

2020-04-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 4/27/20 11:30, Christopher Schultz wrote: > Mark, > > On 3/30/20 16:51, Mark Thomas wrote: >> On 30/03/2020 21:45, Christopher Schultz wrote: >>> All, >>> >>> In my application under Tomcat 8.5.51, I have configured a >>> servlet to allow

Re: Limiting multipart file upload sizes

2020-04-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 3/30/20 16:51, Mark Thomas wrote: > On 30/03/2020 21:45, Christopher Schultz wrote: >> All, >> >> In my application under Tomcat 8.5.51, I have configured a >> servlet to allow multipart/form-data submissions and I have added >> this

Re: Tomcat WAR Context

2020-04-27 Thread Mark Thomas
On 27/04/2020 14:33, Siddharth Sharma wrote: > Hi, > Tomcat : 8.5.30 > Java 8 > OS : macOS Mojave 10.14.6 > Setting up a few (spring-boot) applications as WARs in a tomcat > server. I'm using the WAR names as the 'context'. Can this context > include regex in the path ? No. You have to explicitly

Tomcat WAR Context

2020-04-27 Thread Siddharth Sharma
Hi, Tomcat : 8.5.30 Java 8 OS : macOS Mojave 10.14.6 Setting up a few (spring-boot) applications as WARs in a tomcat server. I'm using the WAR names as the 'context'. Can this context include regex in the path ? Sample Endpoint : /tenant/{tenantId}/entity/{entityId} ; Here tenantId is numeric (5