Re: Subject: Issue with Non-Printable Characters in Java API Response

2025-03-03 Thread Chuck Caldarale
> On 2025 Mar 3, at 04:18, Ramavtar Pareek > wrote: > > Thanks for your response and the insights. > > Regarding your questions: > > - *Core API:* This refers to our internal Java-based API, which we have > independently tested by logging the response bef

Re: Subject: Issue with Non-Printable Characters in Java API Response

2025-03-03 Thread Ramavtar Pareek
Hi Chris, Thanks for your response and the insights. Regarding your questions: - *Core API:* This refers to our internal Java-based API, which we have independently tested by logging the response before it reaches the Ensemble API. The Hindi characters appear correctly at that stage

Re: Subject: Issue with Non-Printable Characters in Java API Response

2025-02-20 Thread Christopher Schultz
urning Hindi characters when tested independently. What do you mean "Core API"? Is this your Java-based code responding to API requests from Tomcat, or is this confirmed using debugging/logging within your own application? No issues found in JSON serialization (Jackson) when logging t

Subject: Issue with Non-Printable Characters in Java API Response

2025-02-20 Thread Ramavtar Pareek
Hello Tomcat Community, I am facing an issue where some specific keys in my API response contain non-printable characters instead of the expected Hindi characters. The issue occurs in our production environment, which has the following architecture: System Flow: 1. A Varnish server receive

Re: Java EE -> Jakarta migration

2024-12-18 Thread dineshk
t;> EOL (stretched) for this version ? Secondly , we would like to know >> if moving to higher version of Tomcat e.g. 10.X would force us  to >> migrate to Jakarta specs instead of using the Java EE specs ? >> Currently , we could not move to Jakarta specs for next 2-3 years

Re: Java EE -> Jakarta migration

2024-12-18 Thread Christopher Schultz
ly using Tomcat 9.0.70 . I would like to know  what is EOL (stretched) for this version ? Secondly , we would like to know if moving to higher version of Tomcat e.g. 10.X would force us  to migrate to Jakarta specs instead of using the Java EE specs ? Currently , we could not move to Jakarta specs

Re: Java EE -> Jakarta migration

2024-12-18 Thread dineshk
to higher version of Tomcat e.g. 10.X would force us  to > migrate to Jakarta specs instead of using the Java EE specs ? > Currently , we could not move to Jakarta specs for next 2-3 years , > do we have any back word compatibility w.r.t. to Java EE specs with > higher versions of Tomcat ?

Re: Java EE -> Jakarta migration (urgent)

2024-12-15 Thread Mark Thomas
wrote: We are currently using Tomcat 9.0.70 . I would like to know  what is EOL (stretched) for this version ? Secondly , we would like to know if moving to higher version of Tomcat e.g. 10.X would force us  to migrate to Jakarta specs instead of using the Java EE specs ? Currently , we could not

Re: Java EE -> Jakarta migration (urgent)

2024-12-14 Thread dineshk
are currently using Tomcat 9.0.70 . I would like to know  what is > EOL (stretched) for this version ? Secondly , we would like to know > if moving to higher version of Tomcat e.g. 10.X would force us  to > migrate to Jakarta specs instead of using the Java EE specs ? > Currently , we co

Re: Java EE -> Jakarta migration (urgent)

2024-12-14 Thread Christopher Schultz
Java EE specs ? Currently , we could not move to Jakarta specs for next 2-3 years , do we have any back word compatibility w.r.t. to Java EE specs with higher versions of Tomcat ? I've had pretty good results with a basic servlet-based application and Tomcat's auto-migration capabilities

Re: Java EE -> Jakarta migration (urgent)

2024-12-14 Thread Mark Thomas
supports Java EE the plan is to keep it going as long as there is demand. It is likely that extended support for 9.x will require increases in minimum Java version and that there will be other changes typically associated with a major version upgrade but that the Java EE spec APIs will remain

Re: Java EE -> Jakarta migration (urgent)

2024-12-13 Thread hantsy bai
gher version of Tomcat e.g. 10.X would force us to migrate to Jakarta > specs instead of using the Java EE specs ? Currently , we could not move > to Jakarta specs for next 2-3 years , do we have any back word > compatibility w.r.t. to Java EE specs with higher versions of Tomcat ? > > RegardsDinesh >

Java EE -> Jakarta migration (urgent)

2024-12-13 Thread dineshk
Hi Team, We are currently using Tomcat 9.0.70 . I would like to know  what is EOL (stretched) for this version ? Secondly , we would like to know if moving to higher version of Tomcat e.g. 10.X would force us  to migrate to Jakarta specs instead of using the Java EE specs ?  Currently , we

Re: Class Loading Issue with Tomcat 10.1.33 and DataDog Java Agent

2024-12-09 Thread Mark Thomas
ered class loading exceptions after upgrading to Tomcat 10.1.33 (embedded), but only in the presence of the DataDog Java Agent. Upgrading to Tomcat 10.1.34 seems to have resolved the issue (thanks for the release!), so likely no further investigation is needed. I'm reporting this just in cas

Class Loading Issue with Tomcat 10.1.33 and DataDog Java Agent

2024-12-09 Thread Adam Rauch
Our application encountered class loading exceptions after upgrading to Tomcat 10.1.33 (embedded), but only in the presence of the DataDog Java Agent. Upgrading to Tomcat 10.1.34 seems to have resolved the issue (thanks for the release!), so likely no further investigation is needed. I&#

Trying to Resolve a Java Version Vulnerability I'm Using for Tomcat

2024-09-11 Thread Ferrick, Michael
tion Classification: General -Original Message- From: Holger Klawitter Sent: Wednesday, September 11, 2024 9:34 AM To: Tomcat Users List Subject: Re: Trying to Resolve a Java Version Vulnerability I'm Using for Tomcat [You don't often get email from info@klawitter.de. Learn why this i

Trying to Resolve a Java Version Vulnerability I'm Using for Tomcat

2024-09-11 Thread Ferrick, Michael
eral -Original Message- From: Chuck Caldarale Sent: Wednesday, September 11, 2024 9:48 AM To: Tomcat Users List Subject: Re: Trying to Resolve a Java Version Vulnerability I'm Using for Tomcat [You don't often get email from n82...@gmail.com. Learn why this is important at

Trying to Resolve a Java Version Vulnerability I'm Using for Tomcat

2024-09-11 Thread Ferrick, Michael
formation Classification: General -Original Message- From: Christopher Schultz Sent: Wednesday, September 11, 2024 1:02 PM To: users@tomcat.apache.org Subject: Re: Trying to Resolve a Java Version Vulnerability I'm Using for Tomcat [You don't often get email from ch...@christopherschultz.

Re: Trying to Resolve a Java Version Vulnerability I'm Using for Tomcat

2024-09-11 Thread Christopher Schultz
Michael, On 9/11/24 09:13, Ferrick, Michael wrote: Hello, The powers above have notified me that the Java version 9.0.1.0 (x64) that I am using with Apache Tomcat 9.0.84 has a vulnerability on my Windows servers (OS 2019) and MUST be remediated. That means use another Java version! I

Re: Trying to Resolve a Java Version Vulnerability I'm Using for Tomcat

2024-09-11 Thread Chuck Caldarale
> On Sep 11, 2024, at 08:13, Ferrick, Michael > wrote: > > The powers above have notified me that the Java version 9.0.1.0 (x64) that I > am using with Apache Tomcat 9.0.84 has a vulnerability on my Windows servers > (OS 2019) and MUST be remediated. That means use an

Re: Trying to Resolve a Java Version Vulnerability I'm Using for Tomcat

2024-09-11 Thread Holger Klawitter
Hi Michael, you should be fine using a contemporary version of Java like JDK17 or JDK21. Ferrick, Michael wrote (at 2024-09-11 13:13 +): > Hello, > > The powers above have notified me that the Java version 9.0.1.0 (x64) that I > am using with Apache Tomcat 9.0.84 has a vulnera

Re: Trying to Resolve a Java Version Vulnerability I'm Using for Tomcat

2024-09-11 Thread Mark Thomas
Michael, What is the error message when Tomcat doesn't start? We may also need to see relevant parts of all the log files in Tomcat's logs directory. Mark On 11/09/2024 14:13, Ferrick, Michael wrote: Hello, The powers above have notified me that the Java version 9.0.1.0 (x

Trying to Resolve a Java Version Vulnerability I'm Using for Tomcat

2024-09-11 Thread Ferrick, Michael
Hello, The powers above have notified me that the Java version 9.0.1.0 (x64) that I am using with Apache Tomcat 9.0.84 has a vulnerability on my Windows servers (OS 2019) and MUST be remediated. That means use another Java version! I removed Java 9.0.1 (64-bit) and Java (tm) SE Development Kit

RE: Tomcat 9.0.93 Patching | Error- A fatal error has been detected by the Java Runtime Environment | Problematic frame:sigar-amd64-winnt.dll+0x14ed4

2024-09-03 Thread Man Mohan
Hi Tim Thanks for the reply let me check the same with the app team. Regards Man Mohan -Original Message- From: Tim Funk Sent: 03 September 2024 19:48 To: Tomcat Users List Subject: Re: Tomcat 9.0.93 Patching | Error- A fatal error has been detected by the Java Runtime Environment

Re: Tomcat 9.0.93 Patching | Error- A fatal error has been detected by the Java Runtime Environment | Problematic frame:sigar-amd64-winnt.dll+0x14ed4

2024-09-03 Thread Tim Funk
29 > To: Tomcat Users List > Subject: Re: Tomcat 9.0.93 Patching | Error- A fatal error has been > detected by the Java Runtime Environment | Problematic > frame:sigar-amd64-winnt.dll+0x14ed4 > > Not a Tomcat issue. You need to contact whoever provided the file: > > C:\

RE: Tomcat 9.0.93 Patching | Error- A fatal error has been detected by the Java Runtime Environment | Problematic frame:sigar-amd64-winnt.dll+0x14ed4

2024-09-03 Thread Man Mohan
Hi Mark Thanks for the reply but same application is working fine with Tomcat 9.0.88. Regards Man Mohan -Original Message- From: Mark Thomas Sent: 03 September 2024 18:29 To: Tomcat Users List Subject: Re: Tomcat 9.0.93 Patching | Error- A fatal error has been detected by the Java

Re: Tomcat 9.0.93 Patching | Error- A fatal error has been detected by the Java Runtime Environment | Problematic frame:sigar-amd64-winnt.dll+0x14ed4

2024-09-03 Thread Mark Thomas
9.0.90/93* and then  we are getting below issue while starting the tomcat after the patching and it is generating mdmp file after each start and  after that services got stopped. *OS: Window * *JAVA: 1.8.421* *Tomcat : 9.0.90/93* (both having issue) Error: # A fatal error has been detected by

Tomcat 9.0.93 Patching | Error- A fatal error has been detected by the Java Runtime Environment | Problematic frame:sigar-amd64-winnt.dll+0x14ed4

2024-09-03 Thread Man Mohan
Hi Team, Recently I was patching one of my Tomcat server from 9.0.88 to 9.0.90/93 and then we are getting below issue while starting the tomcat after the patching and it is generating mdmp file after each start and after that services got stopped. OS: Window JAVA: 1.8.421 Tomcat : 9.0.90

Re: How to Prevent Dynamic Code manipulation via Java Attach API for Tomcat

2024-08-26 Thread Christopher Schultz
Bhavesh, On 8/15/24 14:49, Bhavesh Mistry wrote: I recently came to know that with Java Attach API, anyone with access can attach to a local process and manipulate Java Byte code. For example, password harvesting is attached to the Filter Chain. https://github.com/rebeyond/memShell What I

Re: How to Prevent Dynamic Code manipulation via Java Attach API for Tomcat

2024-08-15 Thread George Sexton
to do that. Don't let untrusted people have access to the machine. Problem solved. Observing reasonable practices eliminates any potential threat. On 8/15/2024 12:49 PM, Bhavesh Mistry wrote: Hello Tomcat Users and Development Team, I recently came to know that with Java Attach API, a

How to Prevent Dynamic Code manipulation via Java Attach API for Tomcat

2024-08-15 Thread Bhavesh Mistry
Hello Tomcat Users and Development Team, I recently came to know that with Java Attach API, anyone with access can attach to a local process and manipulate Java Byte code. For example, password harvesting is attached to the Filter Chain. https://github.com/rebeyond/memShell What I found is to

Re: How to Call a Java Class in JSP

2024-08-04 Thread Alan Masters
Many thanks Sebastian, I was over-complicating what appears to be a fairly straightforward matter. Alan. On 03/08/2024 17:51, Sebastian Trost wrote: Alan, On 03.08.2024 18:19, Alan Masters wrote: This is the extract from the logs:     03-Aug-2024 15:15:16.500 SEVERE [http-nio-8080-exec-10

Re: How to Call a Java Class in JSP

2024-08-03 Thread Chuck Caldarale
> On Aug 3, 2024, at 11:51, Sebastian Trost > wrote: > > On 03.08.2024 18:19, Alan Masters wrote: >> >> This is the extract from the logs: >> >>03-Aug-2024 15:15:16.500 SEVERE [http-nio-8080-exec-10] >>org.apache.catalina.startup.ExpandWar.copy Error copying >>[C:\Program >>

Re: How to Call a Java Class in JSP

2024-08-03 Thread Sebastian Trost
Alan, On 03.08.2024 18:19, Alan Masters wrote: This is the extract from the logs: 03-Aug-2024 15:15:16.500 SEVERE [http-nio-8080-exec-10] org.apache.catalina.startup.ExpandWar.copy Error copying [C:\Program Files\apache-tomcat-9.0.91\apache-tomcat-9.0.91\webapps\Downloads\Calc

Re: How to Call a Java Class in JSP

2024-08-03 Thread Alan Masters
used as a full time developer before my retirement over 8 years ago. The article How to Call a Java Class in JSP <https://www.javaguides.net/2019/01/how-to-call-java-class-in-jsp.html#google_vignette> provides a simple example of the code, but avoids explaining how to deploy to Tomca

Re: How to Call a Java Class in JSP

2024-08-03 Thread Sebastian Trost
Alan, On 03.08.2024 17:33, Alan Masters wrote: Hello, I am attempting to revise on JSP which I used as a full time developer before my retirement over 8 years ago. The article How to Call a Java Class in JSP <https://www.javaguides.net/2019/01/how-to-call-java-class-in-jsp.h

How to Call a Java Class in JSP

2024-08-03 Thread Alan Masters
Hello, I am attempting to revise on JSP which I used as a full time developer before my retirement over 8 years ago. The article How to Call a Java Class in JSP <https://www.javaguides.net/2019/01/how-to-call-java-class-in-jsp.html#google_vignette> provides a simple example of the cod

Re: how to use provider with java 18 , différent from java 11

2024-07-30 Thread Christopher Schultz
Aughra, On 7/27/24 10:32, aughra wrote: Hello everyone, Maybe this question has been asked many times, but I have a problem that I can't find a solution for,. To summarize, I have: A Java program WAR on Tomcat, and Tomcat must contain a provider to call an encryption module to obtain

how to use provider with java 18 , différent from java 11

2024-07-27 Thread aughra
Hello everyone,  Maybe this question has been asked many times, but I have a problem that I can't find a solution for,.  To summarize, I have: A Java program WAR on Tomcat, and Tomcat must contain a provider to call an encryption module to obtain keys.  The Tomcat version is 10.1.26  In

Re: java code cache size question

2024-07-25 Thread Ivano Luberti
told you I'm tired, thanks Il 25-Jul-24 16:29, Gregg, John E. ha scritto: That’s the documentation for embedded java. Unfortunately it’s near the top of search results for both Google and Bing. Try this instead: https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html

RE: java code cache size question

2024-07-25 Thread Gregg, John E.
That’s the documentation for embedded java. Unfortunately it’s near the top of search results for both Google and Bing. Try this instead: https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html From: Ivano Luberti Sent: Thursday, July 25, 2024 9:21 AM To: users

Re: java code cache size question

2024-07-25 Thread Ivano Luberti
Thank you all. Try to answer to everyone in one mail. I forgot to check the java version in the oracle page I had found and since other blog pages were always referring to 48 MB I was left thinking there were no differences among version. (I'm tired, going on holiday tomorrow :-) )

Re: java code cache size question

2024-07-25 Thread Simon Matter
> Hi, I have a tomcat 9 instance  that runs without specifying options for > the code cache. > > Looking at the servet status I see > > Code CacheNon-heap memory 2.43 MiB163.93 MiB 240.00 > MiB 147.30 > MiB (61%) > > So te maximum siz

RE: java code cache size question

2024-07-25 Thread Gregg, John E.
Ivano 48MB was the default in the olden days. It is 240MB now. I believe the change came in Java 8 to accommodate the fact that the HotSpot compiler now compiles all methods when they are hit for the first time. Thanks From: Ivano Luberti Sent: Thursday, July 25, 2024 8:43 AM To: users

Re: java code cache size question

2024-07-25 Thread Christopher Schultz
  Non-heap memory 2.43 MiB 163.93 MiB 240.00 MiB 147.30 MiB (61%) This is difficult to read. Can you re-format it to make it more readable? So the maximum size is 240MB Looking at Java documentation it states it should be 48MB if not altered by options. What documentation?

java code cache size question

2024-07-25 Thread Ivano Luberti
Hi, I have a tomcat 9 instance  that runs without specifying options for the code cache. Looking at the servet status I see Code Cache Non-heap memory 2.43 MiB 163.93 MiB 240.00 MiB 147.30 MiB (61%) So te maximum size is 240MB Looking at Java documentation it states it should be 48MB

Re: Tomcat 9: Java 11 to Java 17

2024-06-11 Thread Christopher Schultz
Ryan, Word-wrapping didn't help on this one... On 6/10/24 15:44, Ryan Esch wrote: Hi folks,I have a webapp running Apache Tomcat 9.0.67 with Java 11, using JASPIC for authentication. For reference, using these:             org.apache.tomcat            tomcat-catalina            9

Re: Tomcat 9: Java 11 to Java 17

2024-06-10 Thread Chuck Caldarale
> On Jun 10, 2024, at 14:48, Paul Leo wrote: > > I could be wrong, but I don't think you need jakarta for Tomcat 9. You need > it for TomEE 9 and Tomcat 10. But please someone verify. Not sure about TomEE, but Tomcat 9 certainly expects javax.* classes, not jakarta.* ones; the use of jaka

Re: Tomcat 9: Java 11 to Java 17

2024-06-10 Thread Paul Leo
I could be wrong, but I don't think you need jakarta for Tomcat 9.  You need it for TomEE 9 and Tomcat 10.  But please someone verify. On 6/10/2024 1:44 PM, Ryan Esch wrote: Hi folks,I have a webapp running Apache Tomcat 9.0.67 with Java 11, using JASPIC for authentication. For refe

Tomcat 9: Java 11 to Java 17

2024-06-10 Thread Ryan Esch
Hi folks,I have a webapp running Apache Tomcat 9.0.67 with Java 11, using JASPIC for authentication. For reference, using these:             org.apache.tomcat            tomcat-catalina            9.0.85             org.apache.tomcat            catalina            6.0.53 This works.I need to

clustering logging erors Tomcat10 with Java 17

2024-04-18 Thread Rick Noel
Hello, Can someone try to explain what this Catalina.log snippet is saying in regards to clustering status? It looks like to me, this machine successfully sent a session data state msg to the other machine in the cluster, but 60 sec later the other machine did not respond with with its session

Re: Use JAVA/CATALINA_OPTS arguments in server.xml

2024-03-21 Thread Konstantin Kolinko
чт, 21 мар. 2024 г. в 17:04, Manak Bisht : > > I have not defined its value. It works fine if I do, however, I am > expecting it to use the default instead. How old is your version of Tomcat? This feature dates back to spring of year 2020 https://github.com/apache/tomcat/commit/90b8ff2f330973bbe5

Re: Use JAVA/CATALINA_OPTS arguments in server.xml

2024-03-21 Thread Christopher Schultz
Manak, On 3/21/24 09:57, Manak Bisht wrote: On Thu, 21 Mar 2024, 19:18 Christopher Schultz, < ch...@christopherschultz.net> wrote: Manak, On 3/21/24 05:38, Manak Bisht wrote: Thanks, Chuck! This works for defining the port but does not work for the host. Using either of the above throws

Re: Use JAVA/CATALINA_OPTS arguments in server.xml

2024-03-21 Thread Manak Bisht
I have not defined its value. It works fine if I do, however, I am expecting it to use the default instead. Sincerely, Manak Bisht On Thu, 21 Mar 2024, 19:18 Christopher Schultz, < ch...@christopherschultz.net> wrote: > Manak, > > On 3/21/24 05:38, Manak Bisht wrote: > > Thanks, Chuck! > > This

Re: Use JAVA/CATALINA_OPTS arguments in server.xml

2024-03-21 Thread Christopher Schultz
Manak, On 3/21/24 05:38, Manak Bisht wrote: Thanks, Chuck! This works for defining the port but does not work for the host. port="4000" host="${tomcat.member:-localhost}"/> port="4000" host="${tomcat.member:-127.0.0.1}"/> Using either of the above throws the following error, 21-Mar-2024 15:0

Re: Use JAVA/CATALINA_OPTS arguments in server.xml

2024-03-21 Thread Manak Bisht
Thanks, Chuck! This works for defining the port but does not work for the host. Using either of the above throws the following error, 21-Mar-2024 15:04:58.185 SEVERE [GroupChannel-Heartbeat-1] org.apache.catalina.tribes.group.interceptors.TcpFailureDetector.memberAlive Unable to perform failur

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-02-16 Thread Christopher Schultz
XX:TieredStopAtLevel=1 By the way, I'm running my website using Tomcat 9.0.58, Java "11.0.21+9-post-Ubuntu-0ubuntu122.04", Ubuntu 22.04.03. And I am developing using Eclipse and compiling my WAR file with a "Compiler compliance level:11". You could try a more recent JVM v

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-02-15 Thread Chuck Caldarale
are stripped on this mailing list. > Does anybody know how to deal with this? You could disable the C2 compiler temporarily, and just let C1 handle your code. Performance will be somewhat degraded, but may well still be acceptable. Add the following to the JVM options when you launch Tom

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-02-15 Thread Brian Braun
ak. Why after 3-4 days and not sooner? I don't know. I am attaching the GIF in this email. Does anybody know how to deal with this? I have been struggling with this issue already for 3 months. At least now I know that this is a native memory leak, but at this point I feel lost. By the way, I&#

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-02-15 Thread Brian Braun
ak. Why after 3-4 days and not sooner? I don't know. I am attaching the GIF in this email. Does anybody know how to deal with this? I have been struggling with this issue already for 3 months. At least now I know that this is a native memory leak, but at this point I feel lost. By the way, I&#

Re: Cannot start java issue after Tomcat9 and JDK 11 updates

2024-02-02 Thread Lori Kilen
Chris, I did not remove the previous service, but in the Tomcat properties manager, Java tab, all the paths were correct. However, after reviewing your email, I deleted the tomcat9 service and then reinstalled it. That did the trick! I was able to start the service. Thank you so much

Re: Cannot start java issue after Tomcat9 and JDK 11 updates

2024-02-01 Thread Christopher Schultz
Lori, On 2/1/24 10:35, Lori Kilen wrote: Hello, I have a Windows server (v2019) and I've updated java to Corretto jdk11.0.22_7 and Tomcat to 9.0.85. I added Tomcat as a Windows Service. I can start Tomcat from CMD using startup.bat and I can open localhost:8080 in a browser to di

Cannot start java issue after Tomcat9 and JDK 11 updates

2024-02-01 Thread Lori Kilen
Hello, I have a Windows server (v2019) and I've updated java to Corretto jdk11.0.22_7 and Tomcat to 9.0.85. I added Tomcat as a Windows Service. I can start Tomcat from CMD using startup.bat and I can open localhost:8080 in a browser to display Tomcat page. But I cannot start Tomcat

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-01-08 Thread Christopher Schultz
Ubuntu 22.04.3 on x86/64 with 2GM of physical RAM that has been enough for years. - Java 11.0.20.1+1-post-Ubuntu-0ubuntu122.04 / openjdk 11.0.20.1 2023-08-24 - Tomcat 9.0.58 (JAVA_OPTS="-Djava.awt.headless=true -Xmx1000m -Xms1000m ..") - My app, which I developed myself, and ha

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-01-06 Thread Stefan Mayr
Hi, Am 05.01.2024 um 23:21 schrieb Brian Braun: Tracking native memory usage can be tricky depending upon your environment. I would only look into that if there were somethng very odd going on, like your process memory space seems to be more than 50% taken by non-java-heap memory. Well

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-01-05 Thread Chuck Caldarale
> On Jan 5, 2024, at 16:21, Brian Braun wrote: >> >> Tracking native memory usage can be tricky depending upon your >> environment. I would only look into that if there were somethng very odd >> going on, like your process memory space seems to be more than 50% taken

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-01-05 Thread Brian Braun
hat it is. And I think it doesn't care about the value I give to -Xmx, it uses all the memory it wants. Doing what? I don't know. > Yes, the memory used by the JVM started to grow suddenly one day, after > > several years running fine. Since I had not made any changes to my app,

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-01-03 Thread Christopher Schultz
used by the JVM started to grow suddenly one day, after several years running fine. Since I had not made any changes to my app, I really don't know the reason. And I really think this should not be happening without an explanation. I don't have any Java OOME exceptions, so it is not that m

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2023-12-30 Thread Stefan Mayr
Hi Brian, Am 30.12.2023 um 21:42 schrieb Brian Braun: I don't have any Java OOME exceptions, so it is not that my objects don't fit. Even if I supply 300MB to the -Xmx parameter. In fact, as I wrote, I don't think the Heap and non-heap usage is the problem. I have been inspe

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2023-12-30 Thread Brian Braun
happening without an explanation. I don't have any Java OOME exceptions, so it is not that my objects don't fit. Even if I supply 300MB to the -Xmx parameter. In fact, as I wrote, I don't think the Heap and non-heap usage is the problem. I have been inspecting those and their usage seem

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2023-12-30 Thread Christopher Schultz
for my issue. Because of that I am able to post a new more specific email. Thanks a lot!!! Now, this is my stack: - Ubuntu 22.04.3 on x86/64 with 2GM of physical RAM that has been enough for years. - Java 11.0.20.1+1-post-Ubuntu-0ubuntu122.04 / openjdk 11.0.20.1 2023-08-24 - Tomcat 9.0.58

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2023-12-29 Thread Brian Braun
> > > - Ubuntu 22.04.3 on x86/64 with 2GM of physical RAM that has been enough > > for years. > > > I presume the “2GM” above should be “2GB”. > Yes, sorry, I mean to write "2GB". > > > - Java 11.0.20.1+1-post-Ubuntu-0ubuntu122.04 / openjdk 11.0.20

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2023-12-29 Thread Chuck Caldarale
a lot of potential > roots for my issue. Because of that I am able to post a new more specific > email. Thanks a lot!!! > > Now, this is my stack: > > - Ubuntu 22.04.3 on x86/64 with 2GM of physical RAM that has been enough > for years. I presume the “2GM” above should be “2

Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2023-12-29 Thread Brian Braun
a new more specific email. Thanks a lot!!! Now, this is my stack: - Ubuntu 22.04.3 on x86/64 with 2GM of physical RAM that has been enough for years. - Java 11.0.20.1+1-post-Ubuntu-0ubuntu122.04 / openjdk 11.0.20.1 2023-08-24 - Tomcat 9.0.58 (JAVA_OPTS="-Djava.awt.headless=true -Xmx1000m -Xms

RE: JAVA -tomcat- Request header is too large

2023-12-12 Thread Amit Pande
Thank you, Chris. Right now, we're on 9.x line. But this is a very important and useful field for debugging which we should be aware of. Thanks, Amit -Original Message- From: Christopher Schultz Sent: Monday, December 11, 2023 2:02 PM To: users@tomcat.apache.org Subject: Re:

Re: Use JAVA/CATALINA_OPTS arguments in server.xml

2023-12-12 Thread Chuck Caldarale
> On Dec 12, 2023, at 09:11, Manak Bisht wrote: > > Hi, is it possible to use values passed as arguments through > *JAVA_OPTS *or *CATALINA_OPTS > *in the *server.xml*? Yes. For example, setting the port number in server.xml for the default connector: And using the following in setenv.

Use JAVA/CATALINA_OPTS arguments in server.xml

2023-12-12 Thread Manak Bisht
Hi, is it possible to use values passed as arguments through *JAVA_OPTS *or *CATALINA_OPTS *in the *server.xml*? Sincerely Manak Bisht

Re: JAVA -tomcat- Request header is too large

2023-12-11 Thread Christopher Schultz
ntation in the AccessLogValve for reporting that value anywhere... -chris -Original Message- From: Mark Thomas Sent: Monday, December 11, 2023 3:06 AM To: users@tomcat.apache.org Subject: Re: JAVA -tomcat- Request header is too large CAUTION: This email originated from outside the or

RE: JAVA -tomcat- Request header is too large

2023-12-11 Thread Amit Pande
Mark, Chris, What request ID we're referring to here? Perhaps, I missed some documentation? How do we enable it? Thanks, Amit -Original Message- From: Mark Thomas Sent: Monday, December 11, 2023 3:06 AM To: users@tomcat.apache.org Subject: Re: JAVA -tomcat- Request header i

Re: JAVA -tomcat- Request header is too large

2023-12-11 Thread Mark Thomas
On 08/12/2023 22:01, Christopher Schultz wrote: Are request-ids always allocated, or only if they are "enabled"? Always allocated. I think adding the request-id to this exception detail message might be helpful, even if the request-id hasn't been enabled in the access-log. WDYT? Good p

Re: JAVA -tomcat- Request header is too large

2023-12-08 Thread Christopher Schultz
Mark, On 12/8/23 06:50, Mark Thomas wrote: On 08/12/2023 09:27, Ivano Luberti wrote: Il 07/12/2023 17:51, Mark Thomas ha scritto: On 07/12/2023 15:37, Ivano Luberti wrote: Hi, since a few days these errors started showing in my log files: 06-Dec-2023 07:39:56.082 INFO [http-nio-8080-exec-58

Re: JAVA -tomcat- Request header is too large

2023-12-08 Thread Mark Thomas
On 08/12/2023 09:27, Ivano Luberti wrote: Il 07/12/2023 17:51, Mark Thomas ha scritto: On 07/12/2023 15:37, Ivano Luberti wrote: Hi, since a few days these errors started showing in my log files: 06-Dec-2023 07:39:56.082 INFO [http-nio-8080-exec-5826] org.apache.coyote.http11.Http11Processor

Re: JAVA -tomcat- Request header is too large

2023-12-08 Thread Ivano Luberti
Il 07/12/2023 17:51, Mark Thomas ha scritto: On 07/12/2023 15:37, Ivano Luberti wrote: Hi, since a few days these errors started showing in my log files: 06-Dec-2023 07:39:56.082 INFO [http-nio-8080-exec-5826] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header

Re: JAVA -tomcat- Request header is too large

2023-12-07 Thread Mark Thomas
On 07/12/2023 15:37, Ivano Luberti wrote: Hi, since a few days these errors started showing in my log files: 06-Dec-2023 07:39:56.082 INFO [http-nio-8080-exec-5826] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header  Note: further occurrences of HTTP request par

JAVA -tomcat- Request header is too large

2023-12-07 Thread Ivano Luberti
Hi, since a few days these errors started showing in my log files: 06-Dec-2023 07:39:56.082 INFO [http-nio-8080-exec-5826] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header  Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.

Re: Java/Tomcat is being killed by the Linux OOM killer for using a huge amount of RAM. How can I know what was going on inside my app (& Tomcat & the JVM) to make that happen?

2023-11-16 Thread Christopher Schultz
Brian, On 11/16/23 15:26, Brian Braun wrote: First of all, this is my stack: - Ubuntu 22.04.3 on x86/64 with 2GM of physical RAM that has been enough for years. - Java 11.0.20.1+1-post-Ubuntu-0ubuntu122.04 / openjdk 11.0.20.1 2023-08-24 - Tomcat 9.0.58 (JAVA_OPTS="-Djava.awt.headless

Java/Tomcat is being killed by the Linux OOM killer for using a huge amount of RAM. How can I know what was going on inside my app (& Tomcat & the JVM) to make that happen?

2023-11-16 Thread Brian Braun
Hello, First of all, this is my stack: - Ubuntu 22.04.3 on x86/64 with 2GM of physical RAM that has been enough for years. - Java 11.0.20.1+1-post-Ubuntu-0ubuntu122.04 / openjdk 11.0.20.1 2023-08-24 - Tomcat 9.0.58 (JAVA_OPTS="-Djava.awt.headless=true -Xmx900m -Xms16m ..") - My ap

Re: FIPS Configuration for Java 11/17 and Tomcat 9

2023-11-05 Thread Christopher Schultz
Amit, On 11/2/23 21:18, Amit Pande wrote: Please refer to the link below in case you are interested in configuring FIPS for Tomcat 9 running on Java 17. https://github.com/amitlpande/tomcat-9-fips/wiki/Java-11-17-Tomcat-9-FIPS-Configuration-Using-Bouncy-Castle I have tested steps for Java 11

FIPS Configuration for Java 11/17 and Tomcat 9

2023-11-02 Thread Amit Pande
Please refer to the link below in case you are interested in configuring FIPS for Tomcat 9 running on Java 17. https://github.com/amitlpande/tomcat-9-fips/wiki/Java-11-17-Tomcat-9-FIPS-Configuration-Using-Bouncy-Castle I have tested steps for Java 11 and even Java 8 too. But there are different

RE: [External] RE: Java 9+ and custom JCE/JSSE providers

2023-11-02 Thread Amit Pande
/browse/JDK-7133344 https://github.com/frohoff/jdk8u-dev-jdk/blob/master/src/share/lib/security/java.security-linux Thanks, Amit -Original Message- From: Berneburg, Cris J. - US Sent: Thursday, November 2, 2023 3:41 PM To: Tomcat Users List Subject: [External] RE: Java 9+ and custom JCE/JSSE provid

RE: Java 9+ and custom JCE/JSSE providers

2023-11-02 Thread Berneburg, Cris J. - US
y, October 31, 2023 10:23 AM To: Tomcat Users List Subject: Java 9+ and custom JCE/JSSE providers EXTERNAL EMAIL - This email originated from outside of CACI. Do not click any links or attachments unless you recognize and trust the sender. Hello, I am in the process of updating https://github.c

Re:RE: How to custom java program to decrypt keystore password in Tomcat 10.1.15

2023-11-01 Thread yanyizhong
cooperation. > >> -Original Message- >> From: Mark Thomas >> Sent: Friday, October 27, 2023 3:45 AM >> To: users@tomcat.apache.org >> Subject: Re: How to custom java program to decrypt keystore password in >> Tomcat 10.1.15 >> >> On 26/10/

RE: [External] Re: Java 9+ and custom JCE/JSSE providers

2023-11-01 Thread Amit Pande
Setting CLASSPATH worked perfectly! Thank you so much Mark! Thanks, Amit -Original Message- From: Mark Thomas Sent: Tuesday, October 31, 2023 2:47 PM To: users@tomcat.apache.org Subject: [External] Re: Java 9+ and custom JCE/JSSE providers CAUTION: This email originated from outside

RE: [External] Re: Java 9+ and custom JCE/JSSE providers

2023-11-01 Thread Amit Pande
Adding the provider jars to CLASSPATH solved the issue. Thank you so much Mark for your quick feedback. Thanks, Amit -Original Message- From: Mark Thomas Sent: Tuesday, October 31, 2023 2:47 PM To: users@tomcat.apache.org Subject: [External] Re: Java 9+ and custom JCE/JSSE providers

Re: Java 9+ and custom JCE/JSSE providers

2023-10-31 Thread Mark Thomas
On 31/10/2023 14:22, Amit Pande wrote: Hello, I am in the process of updating https://github.com/amitlpande/tomcat-9-fips page for version later than Java 8. Ran into an issue: 1. Was looking the configure the additional bouncy castle providers in the Java install itself by

Java 9+ and custom JCE/JSSE providers

2023-10-31 Thread Amit Pande
Hello, I am in the process of updating https://github.com/amitlpande/tomcat-9-fips page for version later than Java 8. Ran into an issue: 1. Was looking the configure the additional bouncy castle providers in the Java install itself by: * Modifying the java.security file to add

RE: How to custom java program to decrypt keystore password in Tomcat 10.1.15

2023-10-27 Thread Mcalexander, Jon J.
k you for your cooperation. > -Original Message- > From: Mark Thomas > Sent: Friday, October 27, 2023 3:45 AM > To: users@tomcat.apache.org > Subject: Re: How to custom java program to decrypt keystore password in > Tomcat 10.1.15 > > On 26/10/2023 11:05, yan

Re: How to custom java program to decrypt keystore password in Tomcat 10.1.15

2023-10-27 Thread Christopher Schultz
yanyizhong and Mark, On 10/27/23 04:44, Mark Thomas wrote: On 26/10/2023 11:05, yanyizhong wrote: Hi Tomcat team, Version: Tomcat 10.1.15 I am trying to upgrade Tomcat from version 9.0.56 into 10.1.15, and found that there is no setKeystorePass(String) method in tomcat 10.1.15. As we wa

Re: How to custom java program to decrypt keystore password in Tomcat 10.1.15

2023-10-27 Thread Mark Thomas
On 26/10/2023 11:05, yanyizhong wrote: Hi Tomcat team, Version: Tomcat 10.1.15 I am trying to upgrade Tomcat from version 9.0.56 into 10.1.15, and found that there is no setKeystorePass(String) method in tomcat 10.1.15. As we want to use the custom keystore encryption password in server.xm

How to custom java program to decrypt keystore password in Tomcat 10.1.15

2023-10-26 Thread yanyizhong
Hi Tomcat team, Version: Tomcat 10.1.15 I am trying to upgrade Tomcat from version 9.0.56 into 10.1.15, and found that there is no setKeystorePass(String) method in tomcat 10.1.15. As we want to use the custom keystore encryption password in server.xml like this: And the java class

  1   2   3   4   5   6   7   8   9   10   >