The NullPointerException is the real problem.
From: Rick Noel
Sent: Monday, April 15, 2024 10:30 AM
To: Tomcat Users List
Subject: RE: [EXT]Re: .intermittent InvocationTargetException errors
The complete trace. . . . . . . . . java. lang. reflect.
InvocationTargetException at java. base/jdk.
Alex
> -Original Message-
> From: Alex Hatcher
> Sent: Monday, March 25, 2024 12:06 PM
> To: users@tomcat.apache.org
> Subject: Speeding up tomcat
>
>
>
> Java version: 11.0.20
>
> Tomcat version: 9.0.59
>
>
> OS Version: Windows Server 2022 Datacenter Azure Edition
>
> Azure VM T
All,
> -Original Message-
> From: Christopher Schultz
> Sent: Tuesday, March 12, 2024 8:31 AM
> To: users@tomcat.apache.org
> Subject: Re: When does Tomcat add and remove threads?
>
> John,
>
> On 3/11/24 18:14, john.e.gr...@wellsfargo.com.INVALID wrote:
> > From: Christopher Schultz
Chris,
From: Christopher Schultz
Sent: Monday, March 11, 2024 5:09 PM
To: users@tomcat.apache.org
Subject: Re: When does Tomcat add and remove threads?
John,
On 3/11/24 17:47, john.e.gr...@wellsfargo.com.INVALID wrote:
> I am using Tomcat 9.x.
>
> When does Tom
I am using Tomcat 9.x.
When does Tomcat add and remove threads from its internal thread pool? I'm
talking about the threads with names like http-nio-8080-exec-1. It appears the
thread pool is Tomcat's own ThreadPoolExecutor but I don't see the exact
behavior documented. I'm familiar with how
You have to refer to it in your connector:
https://tomcat.apache.org/tomcat-10.0-doc/config/http.html
> -Original Message-
> From: William Crowell
> Sent: Tuesday, December 5, 2023 1:39 PM
> To: Tomcat Users List
> Subject: Re: Thread Pool Question
>
> I should clarify the ask here...
Tim,
> -Original Message-
> From: Scott,Tim
> Sent: Friday, August 25, 2023 3:09 AM
> To: users@tomcat.apache.org
> Subject: DataSource Connection pool leak
>
> Hi,
>
> For various diagnostics, I tried Tomcat 9.0.79 recently on a development
> machine. It didn't solve the problem I was
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
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 Tom
> -Original Message-
> From: Suvendu Sekhar Mondal
> Sent: Tuesday, April 04, 2023 1:54 AM
> To: Tomcat Users List
> Subject: Re: Need to know about analyzing of thread dump and heap dump
>
> Hi Koustav,
>
> On Tue, Apr 4, 2023, 1:28 AM Naha, Koustav
> wrote:
>
> > Hi all,
> >
> >
Artur,
> -Original Message-
> From: Artur Tomusiak - Hannon Hill
> Sent: Tuesday, February 21, 2023 4:31 PM
> To: users@tomcat.apache.org
> Subject: Database related performance degradation after upgrading from
> Tomcat 9.0.33 to Tomcat 9.0.69
>
> After upgrading from Tomcat 9.0.33 to To
Alan,
> -Original Message-
> From: Alan F
> Sent: Thursday, February 03, 2022 2:51 PM
> To: Tomcat Users List
> Subject: RE: help with high cpu usage
>
> My bad here are the correct dumps 10 secs apart
>
> https://urldefense.com/v3/__https://fastthread.io/my-thread-
> report.jsp?p=c2h
Alan,
> -Original Message-
> From: Alan F
> Sent: Thursday, February 03, 2022 12:19 PM
> To: Tomcat Users List
> Subject: help with high cpu usage
>
> Had some issues today with one prod host. One is fine the other has stuck
> around 80%Cpu.
> Ive taken a thread dump from both hosts an
Alan,
> -Original Message-
> From: Alan F
> Sent: Friday, January 21, 2022 6:53 AM
> To: Tomcat Users List
> Subject: RE: Tomcat jdbc connections
>
> Hi Christopher
>
> Thanks for your time here.
>
> You mean like, a connection is made, no queries are executed, and then the
> connect
Chandra,
> -Original Message-
> From: Gullapalli, Chandra Mouli
> Sent: Tuesday, September 21, 2021 3:32 PM
> To: users@tomcat.apache.org
> Subject: Max outbound requests setting in Tomcat 9.X
>
> Hi,
>
> I know that we can set restrictions on the number of incoming requests to a
> Tom
Lasantha,
> -Original Message-
> From: Lasantha Samarakoon
> Sent: Monday, September 06, 2021 10:22 PM
> To: users@tomcat.apache.org
> Subject: Calculate time to get a connection from JDBC Pool
>
> Hi all,
>
> I am working on Tomcat JDBC Pools and I have a requirement that needs to
> c
> -Original Message-
> From: James H. H. Lampert
> Sent: Monday, August 09, 2021 12:21 PM
> To: users@tomcat.apache.org
> Subject: Re: More information, Re: Tomcat 8.5.68 failing on takeoff!
>
> On 8/6/21 9:17 AM, Konstantin Kolinko wrote:
>
> > Try to find what *.jar file in your syst
> -Original Message-
> From: James H. H. Lampert
> Sent: Friday, August 06, 2021 11:49 AM
> To: Tomcat Users List
> Subject: Re: More information, Re: Tomcat 8.5.68 failing on takeoff!
>
> Searching JAR files for "crimson" would likely be an exercise in futility on
> an
> AS/400.
>
>
James,
> -Original Message-
> From: James H. H. Lampert
> Sent: Wednesday, June 09, 2021 1:13 PM
> To: Tomcat Users List
> Subject: Heap allocations when switching from Tomcat 7 to Tomcat 8
>
> We are beginning to migrate some of our customers from Tomcat 7 to
> Tomcat 8.5.
>
> Some of
Emen-Eddine,
> -Original Message-
> From: Christopher Schultz
> Sent: Wednesday, June 09, 2021 9:08 AM
> To: users@tomcat.apache.org
> Subject: Re: [OT] Request: Encryption requirements for TLS and SSL for
> Tomcat
>
> Emen-Eddine,
>
> On 6/8/21 08:10, Emen-Eddine AISSAOUI wrote:
> > H
Raghav,
> -Original Message-
> From: Ragavendhiran Bhiman (rabhiman)
> Sent: Wednesday, June 09, 2021 6:47 AM
> To: Tomcat Users List
> Subject: Re: Need help on ssl handshake logging for audit purpose
>
> Kindly help me on the below.
>
> Thanks a lot for the help.
>
> From: Ragavendh
Cris,
> -Original Message-
> From: Berneburg, Cris J. - US
> Sent: Thursday, May 27, 2021 2:24 PM
> To: users@tomcat.apache.org
> Subject: [OT] web app big memory usage?
>
> Hi Folks :-)
>
> One of our web apps is using a "lot" of memory, specifically a big user query.
> We'd like to
It's "ssl,handshake."
> -Original Message-
> From: Ezsra McDonald
> Sent: Thursday, May 20, 2021 10:43 AM
> To: Tomcat Users List
> Subject: Re: Tomcat SSL stops working after an undetermined amount of
> time
>
> Mark,
>
> Thanks for your response.
>
> I did not see anything in the l
Manish,
> -Original Message-
> From: Palod, Manish
> Sent: Tuesday, April 20, 2021 8:37 AM
> To: users@tomcat.apache.org
> Subject: Tomcat 9: Application in not starting with TrustStore attributes
>
> Hi,
>
> We are in process of upgrading Tomcat 7 to Tomcat 9 and stuck with Trust
> sto
James,
> -Original Message-
> From: James H. H. Lampert
> Sent: Thursday, October 22, 2020 2:37 PM
> To: Tomcat Users List
> Subject: What exactly is "tenured-SOA"?
>
> In at least two of our Tomcat installations, the Server Status page of Manager
> is showing "tenured-SOA" around 3G,
James,
> -Original Message-
> From: James H. H. Lampert
> Sent: Tuesday, September 08, 2020 2:13 PM
> To: Tomcat Users List
> Subject: Re: SSL debug?
>
> I'm finally back on this problem.
>
> >> We are once again having SSL difficulties with our webapp connecting
> >> with an outside w
> -Original Message-
> From: Mark Thomas
> Sent: Sunday, August 09, 2020 2:19 PM
> To: Tomcat Users List
> Subject: Re: Tomcat 8.5.(x > 5) & SSL Connections
> (sun.security.provider.certpath.SunCertPathBuilderException)
>
> On August 8, 2020 6:59:23 PM UTC, David Filip wrote:
> >Hello
Chris,
> John,
>
> On 7/6/20 11:48, john.e.gr...@wellsfargo.com.INVALID wrote:
> > Chris,
> >
> >
> >> -Original Message- From: Christopher Schultz
> >> Sent: Monday, July 06, 2020 10:21 AM
> >> To: Tomcat Users List Subject: [OT] Trying
> >> to determine the minimum heap required for an
Chris,
> -Original Message-
> From: Christopher Schultz
> Sent: Monday, July 06, 2020 10:21 AM
> To: Tomcat Users List
> Subject: [OT] Trying to determine the minimum heap required for an
> operation
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> All,
>
> Definitely off-to
Sean,
> -Original Message-
> From: Sean Neeley
> Sent: Wednesday, July 01, 2020 12:26 PM
> To: Tomcat Users List
> Subject: Re: Having trouble with tomcat 7 installation on RHEL 7.8 power pc
>
> John, The top two processes are:
>
> PID USER PR NIVIRTRESSHR S %CPU %
Sean,
> -Original Message-
> From: Sean Neeley
> Sent: Wednesday, July 01, 2020 11:15 AM
> To: users@tomcat.apache.org
> Subject: Having trouble with tomcat 7 installation on RHEL 7.8 power pc
>
> I just installed tomcat 7 on a Red Hat Enterprise Linux Server 7.8, power pc
> system. As
Shawn,
-Original Message-
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 o
Sorry for the top post. I'm having email formatting problems.
Lavitesh,
15-Jun-2020 07:34:45.122 SEVERE [http-nio-7080-exec-10]
org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for
servlet [MainControllerServlet] in context with path [/porequest] threw
exception [Servlet
Chris, André, Eric, etc,
A few random thoughts.
First, this is really a MySQL driver thing, not a Tomcat thing. If you want to
know why the driver does what it does, look at the driver source. There is
actually a Socket constructor that allows you to specify the local port. I
don't know why
James,
> -Original Message-
> From: James H. H. Lampert
> Sent: Wednesday, February 12, 2020 12:47 PM
> To: Tomcat Users List ; Java 400 List l...@lists.midrange.com>
> Subject: Re: JVM job for Tomcat taking lots and lots of CPU
>
> I've got some more detailed GC stats. The full repor
James,
> -Original Message-
> From: James H. H. Lampert
> Sent: Tuesday, February 11, 2020 6:41 PM
> To: Tomcat Users List
> Subject: JVM job for Tomcat taking lots and lots of CPU
>
> Ladies and Gentlemen:
>
> We have a customer installation in which the JVM job for our Tomcat server
> -Original Message-
> From: Jerry Malcolm
> Sent: Tuesday, January 07, 2020 3:14 PM
> To: users@tomcat.apache.org
> Subject: Re: Dates on Linux vs. Windows
>
> On 1/7/2020 3:09 PM, Michael Osipov wrote:
> > Am 2020-01-07 um 21:58 schrieb Jerry Malcolm:
> >> This may be more of a Java qu
Tony,
> -Original Message-
> From: Rhuberg,Anthony
> Sent: Thursday, October 10, 2019 5:22 PM
> To: Tomcat Users List
> Subject: RE: Performance test with Tomcat 9 shows increased cpu/disk usage
> because of repeated opening/closing of jars in WEB-INF/lib
>
> We are still investigating
Michael,
> -Original Message-
> From: Michael Duffy
> Sent: Tuesday, August 27, 2019 5:47 PM
> To: users@tomcat.apache.org
> Subject: Profiler for Tomcat
>
> I have searched for a good profiler for Tomcat with little success.
>
> I am looking for an application that will profile intern
Eric,
> -Original Message-
> From: Eric Robinson
> Sent: Thursday, August 08, 2019 11:53 AM
> To: users@tomcat.apache.org
> Subject: Tomcat Server Using 100% CPU
>
> We have a farm of VMs, each running multiple instances of tomcat (up to 80
> instances per server). Everything has been ru
Folks,
I've been using Tomcat for a long time but am new-ish to NIO (Tomcat 8.5.) It
seems that one of the big benefits of NIO is decoupling the worker threads from
the client connections. I can now have a large number of open connections
without a corresponding large number of threads.
I kn
Chris,
> -Original Message-
> From: Christopher Schultz
> Sent: Friday, February 08, 2019 11:48 AM
> To: users@tomcat.apache.org
> Subject: Re: Does Tomcat count incoming connections?
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> John,
>
>
> You can get this count from t
Hi all,
I'm interested in knowing how many new incoming connections are being created,
possibly per connector. Does Tomcat have such a thing? I assume it would
involve counting calls to ServerSocketChannel.accept() or something like that.
I see the GlobalRequestProcessor MBean has a request
Mason, Mark, etc...
> -Original Message-
> From: Mark Thomas
> Sent: Thursday, January 10, 2019 10:45 AM
> To: users@tomcat.apache.org
> Subject: Re: Tomcat memory growth while using TLS
>
> On 09/01/2019 14:24, Mark Thomas wrote:
> > On 09/01/2019 10:14, Mark Thomas wrote:
>
>
>
> >>
Will,
> -Original Message-
> From: Will Nordmeyer
> Sent: Tuesday, October 23, 2018 9:45 AM
> To: Tomcat Users List
> Subject: 2 Factor Authentication Tomcat 7
>
> I'm currently running Tomcat 7 (will likely migrate to 8 or 9 in the next
> year). I
> tried working with Oracle on this
Chris,
> -Original Message-
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Monday, January 08, 2018 8:16 PM
> To: users@tomcat.apache.org
> Subject: Re: Why will Tomcat not accept EC cipher suites?
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> John
Chris and Mark,
> -Original Message-
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Monday, January 08, 2018 5:21 PM
> To: users@tomcat.apache.org
> Subject: Re: Why will Tomcat not accept EC cipher suites?
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
All,
I'm using Tomcat 7.0.82 and java 1.8.0_152.
I cannot get Tomcat to accept elliptic curve ciphers. I've written a small SSL
socket server that uses the same certificate as the server and deployed it on
the same machine using the same JDK. It accepts EC ciphers just fine so I
don't think
All,
Hopefully I can explain this clearly...
The short question is that my client is sometimes not getting the 0-length
chunk at the end of the response from Tomcat, so my connections don't get
reused.
My Tomcat server is version 7.0.81. JDK is 1.8.0_144. I have a Jersey client,
version 2.2
> -Original Message-
> From: Mark Thomas [mailto:ma...@apache.org]
> Sent: Thursday, May 18, 2017 8:47 AM
> To: users@tomcat.apache.org
> Subject: Re: TLS handshake performance
>
> This time to the right list...
>
> On 18/05/2017 06:04, Christopher Schultz wrote:
> > -BEGIN PGP SIGNED
Hi Chris
> -Original Message-
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Thursday, May 18, 2017 12:06 AM
> To: users@tomcat.apache.org
> Subject: Re: Can't get over 100 client connections?
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> John,
>
>
André,
> -Original Message-
> From: André Warnier (tomcat) [mailto:a...@ice-sa.com]
> Sent: Tuesday, May 16, 2017 2:00 PM
> To: users@tomcat.apache.org
> Subject: Re: Can't get over 100 client connections?
>
> On 16.05.2017 19:57, john.e.gr...@wellsfargo.com.INVALID wrote:
> > All,
> >
>
All,
I'm using Tomcat 7.0.75.
I cannot get my connection or thread count over 100 no matter how much load I
throw at the server. Currently I just have a dummy app deployed that doesn't
do much except sleep for about 500ms and return a canned response. Initially I
had maxThreads=20 with no ex
Chris
> -Original Message-
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Friday, February 03, 2017 11:08 AM
> To: Tomcat Users List
> Subject: Re: Increasing maxThreads results in more "Connection refused"
> errors?
>
> -BEGIN PGP SIGNED MESSAGE-
> Has
All,
I'm doing some scalability testing of an app in Tomcat 7.0.73.
Some relevant connector config details:
maxThreads=80
maxKeepAliveRequests=100
keepAliveTimeout=1
maxConnections unspecified (defaults to maxThreads according to the docs)
acceptCount unspecified (100 according to the docs)
c
> -Original Message-
> From: George I. Develekos [mailto:gdevele...@omilia.com]
> Sent: Wednesday, November 16, 2016 10:18 AM
> To: users@tomcat.apache.org
> Subject: Re: Please help with Tomcat Garbage Collection
>
> I appreciate the detailed response.
>
> On another installation with
Sorry for top posting. The format got weird.
Those numbers aren’t bad. The most important number for me is the throughput
on the summary tab. Yours is 99.38%. That means the JVM was doing real work
99.38% of the time and garbage collecting the other .62%. You could improve
that if you work
Enable verbose SSL.
Start Tomcat with -Djavax.net.debug=ssl. That will print a lot of info to
catalina.out.
You could also do the same thing on the client side if you used a java client,
or something similar with OpenSSL, curl, etc.
-Original Message-
From: Steve Willett
[st...@your
> -Original Message-
> From: William Boyd [mailto:william.b...@gmail.com]
> Sent: Tuesday, November 15, 2016 3:44 PM
> To: Tomcat Users List
> Subject: Re: 8.5.4 to 8.5.5 SSL Issue
>
> On Tue, Nov 15, 2016 at 10:50 AM, Christopher Schultz <
> ch...@christopherschultz.net> wrote:
>
> > -
> -Original Message-
> From: George I. Develekos [mailto:gdevele...@omilia.com]
> Sent: Tuesday, November 15, 2016 3:00 PM
> To: users@tomcat.apache.org
> Subject: Re: Please help with Tomcat Garbage Collection
>
> The system does very little swapping, both when it's GC'ing and when it'
> -Original Message-
> From: Robert Sulliman [mailto:robert.sulli...@sjrb.ca]
> Sent: Monday, November 14, 2016 2:46 PM
> To: Tomcat Users List
> Subject: RE: Tomcat - Two Way SSL as Server
>
> Thanks John,
>
> I am trying to do #2, manually adding client certificates to the trust store.
> -Original Message-
> From: Robert Sulliman [mailto:robert.sulli...@sjrb.ca]
> Sent: Monday, November 14, 2016 12:25 PM
> To: users@tomcat.apache.org
> Subject: Tomcat - Two Way SSL as Server
>
> Hi All,
>
> I'm trying to implement two way SSL on a new web service that we are buildin
> -Original Message-
> From: Kaushal Shriyan [mailto:kaushalshri...@gmail.com]
> Sent: Monday, November 14, 2016 8:46 AM
> To: Tomcat Users List
> Subject: Re: Apache Tomcat Version 7.0.59 on CentOS 6.8 to handle 2k
> requests/second
>
> On Mon, Nov 14, 2016 at 8:06 PM, Mark Thomas wrot
-Original Message-
From: André Warnier (tomcat) [mailto:a...@ice-sa.com]
Sent: Wednesday, August 31, 2016 5:25 PM
To: users@tomcat.apache.org
Subject: Re: Why is Tomcat sending "Connection: close?"
Hi.
Please do not top-post your responses on this list.
See : http://tomcat.apache.org/lis
No, unfortunately not. I put "%{Connection}i %{Connection}o" in the log config
and get "Keep-Alive close." IOW the client sends Keep-Alive but Tomcat
responds with close.
Thanks
-Original Message-
From: André Warnier (tomcat) [mailto:a...@ice-sa.com]
Sent: Wednesday, August 31, 20
All,
I'm using Tomcat 7.0.70 and am having trouble understanding why Tomcat is
sending "Connection: close" in the response header as often as it is. With
almost no load on the server, I get "Connection: close" pretty much every time.
The client is sending "Connection: keep-alive" but it doesn
66 matches
Mail list logo