Re: [OT] Tomcat not syncing existing sessions on restart

2024-03-01 Thread Terence M. Bandoian
I would suggest focusing on Docker networking rather than Tomcat. My guess is that how that works will inform your Tomcat configuration. You might also try first getting it to work with two Docker instances on a single machine. -Terence Bandoian On 3/1/2024 11:59 AM, Manak Bisht wrote: I am

Re: How does the user principal get set on the servlet container session?

2024-01-30 Thread Terence M. Bandoian
What should happen if session.getAttribute("javax.security.auth.subject") returns a non-null value? -Terence Bandoian On 1/30/2024 5:15 PM, Ryan Esch wrote: >From what I understand, the container knows if a user is authenticated by using the session id passed to it and then looking up the

Re: webdav and libreoffice

2023-11-28 Thread Terence M. Bandoian
but no crash. Le 29/11/2023 à 00:53, Terence M. Bandoian a écrit : What is the error?  Log?  Stack trace? -Terence Bandoian On 11/28/2023 4:27 PM, Jean-Max Reymond wrote: Hi, I have an application and a webdav servlet with tomcat. I am using libreoffice to edit and save files. the command is: /usr/lib

Re: webdav and libreoffice

2023-11-28 Thread Terence M. Bandoian
What is the error?  Log?  Stack trace? -Terence Bandoian On 11/28/2023 4:27 PM, Jean-Max Reymond wrote: Hi, I have an application and a webdav servlet with tomcat. I am using libreoffice to edit and save files. the command is: /usr/lib/libreoffice/program/soffice.bin

Re: page extends not working???

2023-09-11 Thread Terence M. Bandoian
On 9/11/2023 9:05 AM, Aryeh Friedman wrote: On Mon, Sep 11, 2023 at 9:47 AM Christopher Schultz wrote: Aryeh, On 9/9/23 19:36, Aryeh Friedman wrote: On Sat, Sep 9, 2023 at 1:23 PM Mark Thomas wrote: On 09/09/2023 11:52, Aryeh Friedman wrote: Every other jsp in my webapp (and other

Re: Forwarding request to a different servlet

2023-08-11 Thread Terence M. Bandoian
Hi, Andy- I'd suggest looking at: ServletContext.getContext and comparing: ServletContext.getRequestDispatcher with ServletRequest.getRequestDispatcher Hope that helps. -Terence Bandoian On 8/11/2023 2:52 AM, Andy Pont wrote: Hello! We have a commercial application that runs under Tomcat

Re: Can We Disable Chunked Encoding?

2023-07-24 Thread Terence M. Bandoian
On 7/24/2023 10:09 AM, Eric Robinson wrote: My apologies. I wasn't aware that something else besides the subject line identifies a thread. I thought changing the subject line *IS* starting a new thread. Thanks for letting me know. For my own edification, what does the list look for in a

Re: Best Practice to Upgrade Apache Tomcat from 9.0.56 to 9.0.74

2023-05-18 Thread Terence M. Bandoian
This might be helpful: https://docs.oracle.com/en/java/javase/17/docs/specs/man/jar.html -Terence Bandoian On 5/17/2023 11:06 PM, Meltron Kendrick wrote: I created a "jar" file using WinRAR -- but no go --- Got the following error message... "Error: Could not find or load main class

RE: Java G1 GC creating less garbage and taking more time in mixed GC phase

2023-05-16 Thread M Venkata Pratap M
ject: Re: Java G1 GC creating less garbage and taking more time in mixed GC phase On 16/05/2023 05:12, M Venkata Pratap M wrote: > Hi, > >1. We are using Http2 , When compared to 9.0.38 tomcat version , 9.0.62 > version is creating less garbage and taking more tim

Java G1 GC creating less garbage and taking more time in mixed GC phase

2023-05-15 Thread M Venkata Pratap M
Hi, 1. We are using Http2 , When compared to 9.0.38 tomcat version , 9.0.62 version is creating less garbage and taking more time(2 to 5 seconds) in garbage collection during mixed GC phase. 2. Are there any recommendation GC setting. Has any one observed these kind of problem. Thanks &

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Terence M. Bandoian
jsp files Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y

Apache Tomcat 10.0.26 Shortcut issue in our environment - Need Help

2023-04-05 Thread P M, SRIHARIKUMAR (Consultant)
Hi Team, While validating source for Apache Tomcat 10.0.26, The shortcut is throwing error while launching. Please find the results below Tomcat Version : 10.0.26 Operating system : Windows 10 Dependency : JAVA SDK 11 is installed. Error : " The item referred to by this shortcut cannot be

Re: HTTP Error 414. The request URL is too long.

2023-03-09 Thread Terence M. Bandoian
On 3/9/2023 5:47 PM, Jason Tan wrote: Hi Seth, One of my customer had the same error. We also tried increasing maxHttpHeaderSize as suggested on Google. It worked for him for a while, but he encountered the same error again later on. Our developers got involved and later discovered that our

Re: Database related performance degradation after upgrading from Tomcat 9.0.33 to Tomcat 9.0.69

2023-02-21 Thread Terence M. Bandoian
On 2/21/2023 10:58 PM, Konstantin Kolinko wrote: ср, 22 февр. 2023 г. в 01:31, Artur Tomusiak - Hannon Hill : After upgrading from Tomcat 9.0.33 to Tomcat 9.0.69, Note that using a binary search (bisection) one could limit the version range. If I understand the point you're making: If

Re: Tomcat for Apple silicon coming soon?

2023-01-23 Thread m...@cvkimball.com
Dear Folks, I installed Java JDK 17 and Tomcat 10.1 on my better half's Mac Pro M1-based processor. It ran without problems! Thanks, Chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Tomcat for Apple silicon coming soon?

2023-01-18 Thread m...@cvkimball.com
Dear Folks, Thanks to all for your assistance! Best wishes, Chris Kimball - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Tomcat for Apple silicon coming soon?

2023-01-16 Thread m...@cvkimball.com
I'd like to run Tomcat on one of the new Apple products based on the Apple Mac silicon ARM64 architecture. Is a Tomcat release, preferably Tomcat 10.1, for Mac silicon likely in the near future? Thanks, Chris Kimball Redding, CT

Re: Aw: Tomcat/Java app timezone radomly changes during operation.

2022-10-27 Thread Terence M. Bandoian
On 10/27/2022 6:27 PM, Peter Rader wrote: Hi David, is it a moving server? We had similar issues on a airborn server crossing nation-borders rapidly. 10 minutes is unusual. The lowest timezone-change is 15 minutes afaik. Kind regards Hi all, I've experienced an issue since the morning

Re: Fwd: users Digest 17 Aug 2022 09:26:06 -0000 Issue 14393 - "BLANK" DIGEST MESSAGE ATTACHMENTS

2022-09-08 Thread Terence M. Bandoian
On 9/8/2022 9:45 AM, Berneburg, Cris J. - US wrote: 2. Also, some digest messages are blank for me, but other folks' replies to them are not. It's often original messages from specific users. Maybe we can compare what we see. Not using multiple client apps, I don't know if the blankness is

Re: Fwd: users Digest 17 Aug 2022 09:26:06 -0000 Issue 14393 - "BLANK" DIGEST MESSAGE ATTACHMENTS

2022-09-08 Thread Terence M. Bandoian
On 9/8/2022 8:55 AM, Berneburg, Cris J. - US wrote: Hi Terence I have similar issues. First, I was suddenly unable to send e-mail to the list using an e-mail address that I have used on the list since at least 2005, as mentioned above. I got around this by (re)subscribing to both users and

Re: Fwd: users Digest 17 Aug 2022 09:26:06 -0000 Issue 14393 - "BLANK" DIGEST MESSAGE ATTACHMENTS

2022-09-07 Thread Terence M. Bandoian
On 9/7/2022 1:35 AM, Mark Thomas wrote: On 07/09/2022 04:22, Terence M. Bandoian wrote: It looks like there's something going on with the CRLF sequence that should separate the header section from the body in digest attachments. However, it's difficult to tell where it's happening.  From

Re: Fwd: users Digest 17 Aug 2022 09:26:06 -0000 Issue 14393 - "BLANK" DIGEST MESSAGE ATTACHMENTS

2022-09-06 Thread Terence M. Bandoian
On 9/6/2022 6:00 PM, Terence M. Bandoian wrote: On 8/23/2022 1:47 AM, Mark Thomas wrote: On 23/08/2022 02:45, Terence M. Bandoian wrote: Recently, message attachments that appear blank in my e-mail client have been included in the Tomcat users mailing list digest.  Some users' messages

Re: Fwd: users Digest 17 Aug 2022 09:26:06 -0000 Issue 14393 - "BLANK" DIGEST MESSAGE ATTACHMENTS

2022-09-06 Thread Terence M. Bandoian
On 8/23/2022 1:47 AM, Mark Thomas wrote: On 23/08/2022 02:45, Terence M. Bandoian wrote: Recently, message attachments that appear blank in my e-mail client have been included in the Tomcat users mailing list digest.  Some users' messages are normally not blank (e.g. Tomcat committers

Re: [ANN] New committer: Han Li

2022-09-06 Thread Terence M. Bandoian
On 9/6/2022 2:38 AM, Mark Thomas wrote: On behalf of the Tomcat committers I am delighted to announce that Han Li (lihan) has been voted in as a new Tomcat committer. Please join me in congratulating Han. Kind regards, Mark

Fwd: users Digest 17 Aug 2022 09:26:06 -0000 Issue 14393 - "BLANK" DIGEST MESSAGE ATTACHMENTS

2022-08-22 Thread Terence M. Bandoian
Recently, message attachments that appear blank in my e-mail client have been included in the Tomcat users mailing list digest.  Some users' messages are normally not blank (e.g. Tomcat committers and others).  Messages from other users are.  Replies to "blank" messages by users whose messages

Supporting languages

2022-04-20 Thread M. Osama Alghwell
Hi, I have an Oracle application and database. I am using Tomcat 9 but unfortunately Arabic language couldn't be used. Any help? M. Alghwell

Re: Fwd: tomcat 9.50 - rewrite rule question

2022-03-19 Thread Terence M. Bandoian
On 3/19/2022 1:03 AM, rupali singh wrote: Hi Team, We are using tomcat 9.54 version. Need help in rewriting rule. background : We have an Oracle apex server ( version 21.1) and tomcat is installed on the same server. We have F5 url which redirects to apex installed on tomcat eg

correct usage of properties to supply database port

2022-03-11 Thread Terence M. Bandoian
On 3/11/2022 9:40 AM, Rob Sargent wrote: On Mar 11, 2022, at 8:17 AM, Thomas Hoffmann (Speed4Trade GmbH) wrote:  -Ursprüngliche Nachricht- Von: Rob Sargent Gesendet: Freitag, 11. März 2022 15:14 An: Tomcat Users List Betreff: Re: correct usage of properties to supply database

Re: Tomcat 9 doesn't shutdown cleanly

2021-11-30 Thread Terence M. Bandoian
On 11/30/2021 8:40 AM, Simon Matter wrote: Hi Chris, Thank you for the quick reply. Simon, On 11/30/21 08:21, Simon Matter wrote: I'm running an application on Tomcat 9.0.55 on x86_64 Linux with OpenJDK JRE-11.0.13+8 and have problems shutting down Tomcat in certain ways. When I shutdown

Re: Timestamp Error

2021-08-27 Thread Terence M. Bandoian
On 8/27/2021 2:31 PM, Jerry Malcolm wrote: On 8/27/2021 1:30 PM, Mark Eggers wrote: On 8/27/2021 11:16 AM, Jerry Malcolm wrote: On 8/27/2021 11:55 AM, Christopher Schultz wrote: Mark and Jerry, On 8/26/21 22:03, Mark Eggers wrote: Jerry, On 8/26/2021 6:35 PM, Jerry Malcolm wrote: I am

Upgrading Tomcat from 7.0.34 to 8.0.53

2020-11-19 Thread Nelligan, Steven M
I am in the process of upgrading our systems from Tomcat 7.0.34 to Tomcat 8.0.53 and Java 7 to Java 8 I'm not sure if this is a java 8 or a Tomcat 8 issue. We have several application which use EJBs. These are not working. I have no experience in EJB's and having problems trying to figure

Re: Tomcat v9 - Insecure transport vulnerability reported by Qualys

2020-08-26 Thread Terence M. Bandoian
On 8/26/2020 11:27 PM, Pratik Shrestha wrote: Dear all, Thanks for so many replies and your discussions. For me, there are two options for the fix which I am not able to make them work. 1. Either show 'ERR_EMPTY_RESP' like old Tomcat version 7 used to show. As far as I know, with Tomcat 7

RE: SSL error [EXTERNAL]

2020-06-26 Thread Beard, Shawn M.
- From: Beard, Shawn M. Sent: Friday, June 26, 2020 11:57 AM To: Tomcat Users List Subject: RE: SSL error [EXTERNAL] The code is calling a new webservice. It has godaddy as its ca signer. It was getting the error before I added those java options. Those java options were my attempt to resolve

RE: SSL error [EXTERNAL]

2020-06-26 Thread Beard, Shawn M.
Beard Sr. Systems Engineer BTS +1-515-564-2528 -Original Message- From: calder Sent: Friday, June 26, 2020 11:45 AM To: Tomcat Users List Subject: Re: SSL error [EXTERNAL] ** CAUTION: External message In Fri, Jun 26, 2020, 10:37 Beard, Shawn M. wrote: > We are running tomcat-7.0

SSL error

2020-06-26 Thread Beard, Shawn M.
We are running tomcat-7.0.52(old I know) and java 1.7.0_80. When the app makes calls to an external webservice. It keeps throwing this error: javax.net.ssl.SSLException : javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error:

RE: Changing the Java using by Tomcat [EXTERNAL]

2020-05-06 Thread Beard, Shawn M.
No we do this and use AdoptOpen JDK. If you are setting JAVA_HOME in any tomcat config like a setenv file or catalina file make sure to change those to point to the install of AdoptOpenJDK. Shawn Beard Sr. Systems Engineer BTS +1-515-564-2528 -Original Message- From: Reddy, Tippana

RE: Upgrading from 9.0.20 to 9.0.34 AJP connector issue [EXTERNAL]

2020-04-30 Thread Beard, Shawn M.
My workers is identical to yours and it works. Here is our connector config that is working. Might want to try removing address="127.0.0.1" and/or tomcatAuthentication="false" The fix for the Ghostcat vulnerability created some config challenges on the ajp protocol. I'm pretty sure

RE: Apache tomcat 9.0.6 Compatibility with Adopt openJDK [EXTERNAL]

2020-04-28 Thread Beard, Shawn M.
We are running the Adopt Open JDK 8 and 11 builds on tomcat 9 with no issues. Shawn Beard Sr. Systems Engineer BTS +1-515-564-2528 -Original Message- From: Martin Grigorov Sent: Tuesday, April 28, 2020 12:56 AM To: Tomcat Users List Subject: Re: Apache tomcat 9.0.6 Compatibility with

RE: tomcat and ssl [EXTERNAL]

2020-04-27 Thread Beard, Shawn M.
To: users@tomcat.apache.org Subject: Re: tomcat and ssl [EXTERNAL] ** CAUTION: External message 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

RE: tomcat and ssl [EXTERNAL]

2020-04-27 Thread Beard, Shawn M.
requests are normally using /lib/security/cacerts as truststore: Check if root (intermediate) certificate exists for targeted endpoint. BR, Johann Von: Beard, Shawn M. Gesendet: Montag, 27. April 2020 18:22 An: users@tomcat.apache.org Betreff: tomcat and ssl I have an app running in tomcat 9

RE: tomcat and ssl [EXTERNAL]

2020-04-27 Thread Beard, Shawn M.
@tomcat.apache.org Subject: Re: tomcat and ssl [EXTERNAL] ** CAUTION: External message 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 t

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: SameSite cookies shows as "Unset" but Header shows Correct Value

2020-03-11 Thread M. Manna
Just to confirm, we know that Chrome will block JSESSIONID it if sent over unsecure connection and with SameSite=None. But we saw the previously mentioned issue in Firefox. Thanks, On Wed, 11 Mar 2020 at 15:33, M. Manna wrote: > Hi All, > > Due to the recent issues with Chrome 80, we

SameSite cookies shows as "Unset" but Header shows Correct Value

2020-03-11 Thread M. Manna
t;), the Network tab of browsers (e.g. Firefox, Chrome) always shows SameSite as "Unset". But if you observe the response header, it's actually setting the correct value. The question is - Would this be expected? Or, do we have to fix something here for browsers? Regards, M. MAnna

Re: Novice Tomcat Admin Question - Filtering log output

2020-02-21 Thread M. Manna
Hey Darryl, On Fri, 21 Feb 2020 at 17:15, Darryl Philip Baker < darryl.ba...@northwestern.edu> wrote: > I have taken over the administration of several Tomcat instances. A number > of these are load balanced using an F5 appliance. The > org.apache.catalina.values.AccessLogValve log file is

Re: cloud cluster

2020-02-16 Thread M. Manna
We are also using redis based option. On Sun, 16 Feb 2020 at 17:32, Jonathan S. Fisher wrote: > We're doing the second: sessions stored in a Redis cluster with > sticky sessions. This topology is simple and it scales pretty easily until > it doesn't anymore [couple thousand simultaneous users].

Re: Cross-session Persistent Object?

2020-02-11 Thread M. Manna
If database is the answer, you could use memcache/redis to do this too. It should be able to support multiple servers if you need. Since it’s only persistent based on tomcat, I was thinking at the servlet context level only. Provided that database read overhead is acceptable, it’s a more

Re: Cross-session Persistent Object?

2020-02-11 Thread M. Manna
Jerry, On Tue, 11 Feb 2020 at 20:12, Jerry Malcolm wrote: > I need some advice. I need to maintain a set of long-running threads. > When a request comes in, I need to determine if I have a thread started > for a particular id found in the request. So I need to have a hashmap > of threads

Re: Tomcat 8.5.51/52 release time

2020-02-11 Thread M. Manna
Brilliant!.. Thanks Mark, helps a lot :) On Tue, 11 Feb 2020 at 15:51, Mark Thomas wrote: > On 11/02/2020 15:44, M. Manna wrote: > > Hello, > > > > Do we have any tentative timeline for next 8.5.x release ? > > The release vote for 8.5.51 passed earlier today

Tomcat 8.5.51/52 release time

2020-02-11 Thread M. Manna
Hello, Do we have any tentative timeline for next 8.5.x release ? Regards,

Question on HttpSession investigation

2020-02-09 Thread M. Manna
Hello, I apologise in advance if the answer is obvious for this question. We are trying to investigate (in an isolated cluster) whether our session attributes are getting lost somewhere in the process. The issue is that we are setting it at a JSP Tag Level, however, when we do an AJAX request

Re: Class loader takes long time after server inactivity - Tomcat Version 9.0.10

2020-01-14 Thread M. Manna
Hey Niall, On Tue, 14 Jan 2020 at 13:42, Niall Fitzpatrick wrote: > Hi Folks, > > > > I have a web application that, after a period of inactivity (1-2hours), > will stall for 3 – 35 seconds upon the first new session. All subsequent > sessions will not experience this delay unless another

Re: Possible release of next 8.5.x in 2020

2020-01-13 Thread M. Manna
Hey Mark, On Mon, 13 Jan 2020 at 09:34, Mark Thomas wrote: > On 12/01/2020 21:03, M. Manna wrote: > > > > > With regards to my enquiry, I’m simply trying to find out whether there > > would be a new release coming out this January 2020. > > I am currently

Re: Possible release of next 8.5.x in 2020

2020-01-12 Thread M. Manna
He Michael, On Sun, 12 Jan 2020 at 20:55, Michael Osipov wrote: > Am 2020-01-12 um 19:26 schrieb M. Manna: > > Hey All, > > > > Just trying to get a timeline (or possible release time) for next 8.5.x. > > The latest release is 8.5.50 from December 2020. I am assuming

Possible release of next 8.5.x in 2020

2020-01-12 Thread M. Manna
Hey All, Just trying to get a timeline (or possible release time) for next 8.5.x. The latest release is 8.5.50 from December 2020. I am assuming there is one imminent for January 2020? This is purely for individual interest as my dev cycle requires a tomcat upgrade 4 times a year. Regards, M

Re: Dates on Linux vs. Windows

2020-01-08 Thread Terence M. Bandoian
On 1/7/2020 6:53 PM, Jerry Malcolm wrote: >> If your systems always use the same time zone to read and write the data, it isn't a problem. Terrance, thanks for the info. In my case I do only have one timezone (or at least I want to...). Using the string for dates is a good idea. But this

Re: Dates on Linux vs. Windows

2020-01-07 Thread Terence M. Bandoian
On 1/7/2020 4:04 PM, Zahid Rahman wrote: Jerry Malcolm wrote : >Again this is the SAME line of code in java reading the >SAME field in the SAME database. Only thing different is >Linux/Windows OS On Tue, 7 Jan 2020, 21:52 , wrote: -Original Message- From: Jerry Malcolm

Re: HTTP/2 configuration

2020-01-07 Thread M. Manna
Hey Mark et. al., On Tue, 7 Jan 2020 at 11:20, Mark Thomas wrote: > On 12/12/2019 15:23, Christopher Schultz wrote: > > Arief, > > > > On 12/12/19 00:25, Arief Hasani wrote: > >> IMHO, being able to override form HTTP1.1 conf is all good as user > >> could easily assume that if not specified in

Re: Tomcat 9 does not allow to read file in /tmp folder with 777 permission?

2020-01-04 Thread M. Manna
Hi, On Sat, 4 Jan 2020 at 14:36, bphamhuu wrote: > Hello, > > I have a java web application by Tomcat 9 servlet container which tries to > read a file in /tmp folder with 777 permission on Ubuntu 18.04 > > ls -ltr /tmp/test.txt > -rwxrwxrwx 1 vagrant vagrant 10 Jan 3 17:03 /tmp/test.txt > >

Re: Hide a request header to application

2019-12-16 Thread M. Manna
Oliver, On Mon, 16 Dec 2019 at 11:09, Olivier Jaquemet wrote: > Hello all, > > I would like to systematically hide a request header to web applications > hosted by Tomcat. > > "Blanking" or "Unsetting" a header is not the same as "Hiding". By hiding, you are essentially asking for the Header

Re: HTTP/2 configuration

2019-12-11 Thread M. Manna
Mark, On Wed, 11 Dec 2019 at 11:48, Mark Thomas wrote: > All, > > The Tomcat committers are looking for some user feedback. > > Currently, the HTTP/2 protocol configuration [1] duplicates many > attributes of the HTTP/1.1 protocol [2] it is nested under. > > We are considering simplifying this

Re: Design Patterns in Tomcat

2019-12-09 Thread M. Manna
Chris, On Mon, 9 Dec 2019 at 17:10, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > M, > > On 12/8/19 17:10, M. Manna wrote: > > Hi All, > > > > A numpty question as its best, but I was t

RE: Tomcat is throwing an error Invalid byte tag in constant pool:19

2019-12-09 Thread Nelligan, Steven M
an error Invalid byte tag in constant pool:19 On 09/12/2019 00:57, Nelligan, Steven M wrote: > > I am trying to rebuild my applications and all of a sudden, I am getting the > following error: > > Our backend application (from third party has been updated) It is using Java >

Tomcat is throwing an error Invalid byte tag in constant pool:19

2019-12-08 Thread Nelligan, Steven M
I am trying to rebuild my applications and all of a sudden, I am getting the following error: Our backend application (from third party has been updated) It is using Java 11. My tomcat servers are running version 7.34 of tomcat and version 1.7.0_45. I have rebuilt and deploy a large number of

Design Patterns in Tomcat

2019-12-08 Thread M. Manna
Hi All, A numpty question as its best, but I was trying to summarise the design patterns used for tomcat. So far I could see the following, but shouldn't be limited to: 1) Mediator 2) Observer 3) Factory 4) Builder 4) Adapter Perhaps I missed any confluence link or something that confirms it?

Re: Unknown protocol: e on Windows

2019-12-04 Thread M. Manna
Chris, On Wed, 4 Dec 2019 at 18:34, Konstantin Kolinko wrote: > ср, 4 дек. 2019 г. в 20:28, Christopher Schultz < > ch...@christopherschultz.net>: > > > > All, > > > > I feel like I should be able to figure this out on my own, but I'm > > drawing a blank. > > > > I'm trying to upgrade from

Re: Unknown protocol: e on Windows

2019-12-04 Thread M. Manna
Also, with Windows \\ escape often has the tricks. On Wed, 4 Dec 2019 at 17:43, M. Manna wrote: > Chris, > > On Wed, 4 Dec 2019 at 17:38, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >&g

Re: Unknown protocol: e on Windows

2019-12-04 Thread M. Manna
Chris, On Wed, 4 Dec 2019 at 17:38, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > All, > > I should note that I'm using Oracle Java 1.8.0 build 161. > > I have seen another environment with essentially the same > configuration

Re: [E] Global Error Handling

2019-12-03 Thread Bauer, Margaret M (Peggy)
I think you can add your customized jsp page within your web.xml by modifying path and file name 401 /WEB-INF/jsp/401.jsp 403 /WEB-INF/jsp/403.jsp 404 /WEB-INF/jsp/404.jsp On Tue, Dec 3, 2019 at 8:11 AM Sumit Bhardwaj wrote: > Hi Experts, > > We have a

Re: SEVERE: A child container failed during start

2019-11-30 Thread M. Manna
Karen, On Sat, 30 Nov 2019 at 00:58, Karen Goh wrote: > > > > Sent from Yahoo Mail for iPhone > > > On Saturday, November 30, 2019, 6:18 AM, Mark Thomas > wrote: > > On 29/11/2019 21:28, Karen Goh wrote: > > I have done so but it is no use. I have deleted the Tomcat and add an > new instance

Re: SEVERE: A child container failed during start

2019-11-29 Thread M. Manna
Karen, On Fri, 29 Nov 2019 at 20:51, Karen Goh wrote: > > > > Sent from Yahoo Mail for iPhone > > > On Friday, November 29, 2019, 8:39 PM, Karen Goh > wrote: > > > > > > > On Friday, November 29, 2019, 6:59:38 PM GMT+8, Mark Thomas < > ma...@apache.org> wrote: > > > On 29/11/2019 10:44, Karen

Re: Tomcat 9 relaxedQueryChars format

2019-11-29 Thread M. Manna
low. If not specified, no > additional characters will be allowed. The value may be any combination of > the following characters: " < > [ \ ] ^ ` { | } . Any other characters > present in the value will be ignored. On Fri, 29 Nov 2019 at 15:39, M. Manna wrote: > Robert, &g

Re: Tomcat 9 relaxedQueryChars format

2019-11-29 Thread M. Manna
Robert, On Fri, 29 Nov 2019 at 15:28, Robert Hicks wrote: > What is the correct format? > > I see the following used when I do a search: > > relaxedQueryChars="[,],{,}.|" > > relaxedQueryChars="[ ] { } |" > > relaxedQueryChars="[]|{}^" > > We use that last one. I am running down this error: > >

Re: Double Slash Support in Tomcat 9.0.27

2019-11-29 Thread M. Manna
F/web.xml > WEB-INF/tomcat-web.xml > ${catalina.base}/conf/web.xml > > type="javax.sql.DataSource"/> > > className="org.apache.tomcat.util.http.LegacyCookieProcessor" /> > > > > > > > > > > &g

Re: Double Slash Support in Tomcat 9.0.27

2019-11-29 Thread M. Manna
ra Bindal > > wrote: > > > Hi Mark, > > > > Thanks for providing the response. > > > > Yes, you are right that we should design our application to remove // > from > > being used. > > > > I will plan it accordingly, for the provided solution

Re: SEVERE: A child container failed during start

2019-11-29 Thread M. Manna
Hi, On Fri, 29 Nov 2019 at 10:45, Karen Goh wrote: > Hi experts, > > > Basically, I have now upgraded my dynamic MVC web app to use openJDK 13 > and running it with Tomcat 9.0.27. Windows OS. Eclipse 2019-09. > > Have been trying to tackling the problem with no avail. > > Would appreciate some

Re: Double Slash Support in Tomcat 9.0.27

2019-11-29 Thread M. Manna
HI, On Fri, 29 Nov 2019 at 09:00, Kushagra Bindal wrote: > Hi, > > We are working on upgrading our enterprise application from 8.5.24 to > 9.0.27 version. > > What we have observed that in earlier version i.e. 8.5.24 we were able to > process process a REST URI have double slash ("//") in it.

Re: [E] Re: Official documentation for running an embedded Tomcat server

2019-11-25 Thread Bauer, Margaret M (Peggy)
Ease of deployment and build in the AWS world. On Mon, Nov 25, 2019 at 3:56 PM Behrang Saeedzadeh wrote: > For an example use case, see Spring Boot. It can use an embedded Tomcat and > build an executable Uber Jar. Then you can start your Web app by running > java -jar app.jar. > > On Tue, 26

Re: CPU high usage, the reason org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run

2019-11-24 Thread M. Manna
I’m suspecting it’s the same issue that we found out for 8.5.45 where the commit didn’t get reverted out in Poll.java Or maybe not. Thanks, On Sun, 24 Nov 2019 at 10:36, Mark Thomas wrote: > Tomcat version? > > Operating system? > > Java version? > > Mark > > > On 24/11/2019 09:57, Mladen

Re: tomcat thread incurring CPU load

2019-11-19 Thread M. Manna
Sorry Dumb question earlier - It is in Coyote jar. We are currently in a rollback state in our prod, but what you reported above sounds promising. If revert the Coyote jar resolves issues, which is the earliest/latest version we can revert to? Thanks, MAnna On Tue, 19 Nov 2019 at 10:32, M

Re: tomcat thread incurring CPU load

2019-11-19 Thread M. Manna
Mark, On Mon, 18 Nov 2019 at 19:28, Mark Thomas wrote: > On 18/11/2019 14:14, Mark Thomas wrote: > > On 18/11/2019 12:06, M. Manna wrote: > >> Mark and others, > >> > >> On Mon, 18 Nov 2019 at 12:01, Mark Thomas wrote: > >> > >>>

Re: tomcat thread incurring CPU load

2019-11-18 Thread M. Manna
ks, > > Next steps are to try and track down the root cause. > > Mark > > > > > Mark and M, > > > > On 11/13/19 19:31, Mark Thomas wrote: > >> On November 13, 2019 11:42:34 PM UTC, "M. Manna" > >> wrote: > >>> I see this

Re: tomcat thread incurring CPU load

2019-11-13 Thread M. Manna
I see this update on Windows which may have been responsible (suspicion only, haven’t rolled it back yet) https://support.microsoft.com/en-gb/help/4494175/kb4494175-intel-microcode-updates Was 8.5.45 built on Windows 10 in presence of this update ? Thanks, On Wed, 13 Nov 2019 at 17:55, M

Re: tomcat thread incurring CPU load

2019-11-13 Thread M. Manna
Hi Chris, On Wed, 13 Nov 2019 at 16:27, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 11/13/19 11:20, M. Manna wrote: > > HI Mark, > > > > On Wed, 13 Nov 2019 at 15:38, Mark Thomas > &

Re: tomcat thread incurring CPU load

2019-11-13 Thread M. Manna
HI Mark, On Wed, 13 Nov 2019 at 15:38, Mark Thomas wrote: > On 12/11/2019 19:11, M. Manna wrote: > > HI Mark, > > > > following my previous reply, we have now confirmed that it's indeed > 8.5.45 > > with APR 1.2.23 that's causing such high JVM CPU usage. > >

Re: tomcat thread incurring CPU load

2019-11-12 Thread M. Manna
would appreciate if this can be looked into. On Tue, 12 Nov 2019 at 11:27, M. Manna wrote: > Hey Mark (appreciate your response in US holiday time) > > On Tue, 12 Nov 2019 at 07:51, Mark Thomas wrote: > >> On November 12, 2019 12:54:53 AM UTC, "M. Manna" >>

Re: tomcat thread incurring CPU load

2019-11-12 Thread M. Manna
Hey Mark (appreciate your response in US holiday time) On Tue, 12 Nov 2019 at 07:51, Mark Thomas wrote: > On November 12, 2019 12:54:53 AM UTC, "M. Manna" > wrote: > >Just to give an update again: > > > >1) We reverted the APR to 1.2.21 - but observed no

Re: tomcat thread incurring CPU load

2019-11-11 Thread M. Manna
of our application stack. Since there is no user traffic, this is coming from tomcat internally. At this stage, we cannot really figure out what's the root cause. Any help is appreciated. Thanks, On Mon, 11 Nov 2019 at 20:57, M. Manna wrote: > Hello All, > > Any thoughts regarding this?

Re: tomcat thread incurring CPU load

2019-11-11 Thread M. Manna
the pct). Thanks, On Mon, 11 Nov 2019 at 17:46, M. Manna wrote: > Hello, > > after migrating to 8.5.45, we are seeing a lot of cpu load by following > JVM thread dump: > > "https-openssl-apr-0.0.0.0-8443-Poller" : 102 : RUNNABLE : > cpu=172902703125000 : cpuLoad=

tomcat thread incurring CPU load

2019-11-11 Thread M. Manna
Hello, after migrating to 8.5.45, we are seeing a lot of cpu load by following JVM thread dump: "https-openssl-apr-0.0.0.0-8443-Poller" : 102 : RUNNABLE : cpu=172902703125000 : cpuLoad= 74.181015 BlockedCount:8464 BlockedTime:0 LockName:null LockOwnerID:-1 LockOwnerName:null WaitedCount:5397

Re: SameSite cookies

2019-11-08 Thread M. Manna
Hey Chris, Interesting question. samesite attribute is also to protect cookies from possible cross-site attacks. Even if you have super domain cookies, using strict/lax shouldn't make any difference for you, or does it? Thanks, On Fri, 8 Nov 2019 at 15:04, Christopher Schultz <

Re: Intermittent JSP Caching/Compiling Issue while under load

2019-11-04 Thread M. Manna
I’m just trying to understand, is there really a plausible solution here ? Unless we have loadbalanced tomcat instances, can we truly ever stop such behaviour (or more importantly, does it make sense to do so)? For my use case, We do it in production almost every other day for patching, but we do

Re: SameSite Cookie Setup Not Working

2019-10-22 Thread M. Manna
Apologies, but got this resolved. the httpOly attribute was missing from one of the apps. I have now set it globally for all my apps. Thanks, On Tue, 22 Oct 2019 at 15:34, M. Manna wrote: > Hello, > > As per the official documentation, I setup my same site coo

SameSite Cookie Setup Not Working

2019-10-22 Thread M. Manna
Hello, As per the official documentation, I setup my same site cookie using Rfc62665CookieProcessor and set everything in "strict" mode. However, when I restarted my server, I only see httpOnly, secure - but not SameSite checked under browser's developer console. Could someone please help me

Re: Session Size Calculation Question

2019-10-20 Thread M. Manna
g/confluence/display/tomcat/AddOns#AddOns-WebApplications > > > > > > > El sáb., 19 oct. 2019 a las 2:51, M. Manna () > escribió: > > > Hello, > > > > We are trying to do some calculation for our user session size (or near > > estimate of it). > > > >

Session Size Calculation Question

2019-10-18 Thread M. Manna
Hello, We are trying to do some calculation for our user session size (or near estimate of it). What we understand is that upon a "Graceful" shutdown, Catalina Host will write out the serializable values of all session into a SESSIONS.ser file in the main servlet's work directory. If this is

tomcat with SiteMinder

2019-10-10 Thread Bauer, Margaret M (Peggy)
Has anyone used tomcat with SiteMinder without having a webserver in front of it? If so, where can I find the how to? thank you, *Peggy *

Question regarding changelog in 8.5.46

2019-10-02 Thread M. Manna
Hello, http://tomcat.apache.org/tomcat-8.5-doc/changelog.html#Tomcat_8.5.46_(markt) I am just trying to understand if these changes have any impact on 8.5.45 with CPU usage. It seems to be some potential NPE and (HTTP/2 only) hanging issues. We are seeing some CPU spikes with 8.5.45 and these

Re: 8.5.46 and 9.0.26 Downloads

2019-09-20 Thread M. Manna
Hi, As MarkT mentioned, have you actually checked the Virus Total score against 50+ vendors ? Is your virus scanner listed on virus total? Thanks, On Fri, 20 Sep 2019 at 22:20, wrote: > I am also getting the same thing with the other mirrors. > > > Dream * Excel * Explore * Inspire > Jon

RE: Windows registry entry missing on Tomcat Silent install - 9.0.20

2019-09-15 Thread Pradeep Kumar M N
Can anyone help on the below issue ? From: Pradeep Kumar M N Sent: Friday, September 06, 2019 11:55 AM To: 'users@tomcat.apache.org' Subject: Windows registry entry missing on Tomcat Silent install - 9.0.20 Hi All, I am using Tomcat 9.0.20. I am installing the Tomcat silently from a PowerShell

  1   2   3   4   5   6   7   8   >