Re: Problem after tomcat upgrade

2025-06-17 Thread Stephen Booth
On 17/06/2025 17:29, Mark Thomas wrote: In short, you'll probably need to increase maxPartCount Thanks, thats fixed it.                             Stephen == |epcc| Dr Stephen P Booth Principal Architect

Re: Problem after tomcat upgrade

2025-06-17 Thread Mark Thomas
See https://bz.apache.org/bugzilla/show_bug.cgi?id=69710 In short, you'll probably need to increase maxPartCount Mark On 17/06/2025 16:45, Stephen Booth wrote: I just updated my production servers from 9.0.104 to 9.0.106 and this broke my registration form with the following exception. Stack

Problem after tomcat upgrade

2025-06-17 Thread Stephen Booth
I just updated my production servers from 9.0.104 to 9.0.106 and this broke my registration form with the following exception. Stack Trace: org.apache.tomcat.util.http.fileupload.impl.FileCountLimitExceededException: attachment at org.apache.tomcat.util.http.fileupload.FileUploadBase

RE: Problem Accessing https

2025-06-01 Thread Jerome A. Wendell
Chris, -Original Message- From: Christopher Schultz Sent: Sunday, June 1, 2025 8:41 AM To: users@tomcat.apache.org Subject: Re: Problem Accessing https Jerome, On 5/31/25 5:53 PM, Jerome A. Wendell wrote: > The problem has been resolved. My server hosting company provides

Re: Problem Accessing https

2025-06-01 Thread Christopher Schultz
Jerome, On 5/31/25 5:53 PM, Jerome A. Wendell wrote: The problem has been resolved. My server hosting company provides an interface to make changes on the firewall, so being a Windows server, we don't use the Windows Defender firewall (it is disabled). It appears that someone at the s

RE: Problem Accessing https

2025-05-31 Thread Jerome A. Wendell
Chris, -Original Message- From: Jerome A. Wendell Sent: Saturday, May 31, 2025 4:15 PM To: 'Tomcat Users List' Subject: RE: Problem Accessing https Chris, -Original Message- From: Jerome A. Wendell Sent: Saturday, May 31, 2025 1:05 PM To: 'Tomcat Users Lis

RE: Problem Accessing https

2025-05-31 Thread Jerome A. Wendell
Chris, -Original Message- From: Jerome A. Wendell Sent: Saturday, May 31, 2025 1:05 PM To: 'Tomcat Users List' Subject: RE: Problem Accessing https Chris, -Original Message- From: Christopher Schultz Sent: Saturday, May 31, 2025 11:03 AM To: users@tomcat.apache.o

RE: Problem Accessing https

2025-05-31 Thread Jerome A. Wendell
Chris, -Original Message- From: Christopher Schultz Sent: Saturday, May 31, 2025 11:03 AM To: users@tomcat.apache.org Subject: Re: Problem Accessing https Jerome, On 5/30/25 10:04 AM, Jerome A. Wendell wrote: > I am in the process of setting up a new server to replace our exist

Re: Problem Accessing https

2025-05-31 Thread Christopher Schultz
the problem still remains. I restored my Geoserver data directory from backups just in case it was corrupted in some way, but that did not help. In the Tomcat manager I can view the Geoserver control panel without any problem, however that does not use https. So you think this is more likely to be

Problem Accessing https

2025-05-30 Thread Jerome A. Wendell
made changes to the ownership and permissions on that drive because now when I try to access the mapping it times out because the data for Geoserver cannot be accessed using https. I removed the share on drive D:\ and rebooted the server, but the problem still remains. I restored my Geoserver data

Re: Problem when put a one-byte file partially

2025-04-15 Thread Chuck Caldarale
> On 2025 Apr 15, at 09:32, Christopher Schultz > wrote: > > Chenjp, > > On 4/14/25 5:46 AM, Justin Chen wrote: >> Main branch: Receive unexpected 400 for curl put with content-range header >> value "bytes 0-0/1" and >> -d c. >> PR submitted. > > I think HTTP 400 is the correct response for

Re: Problem when put a one-byte file partially

2025-04-15 Thread Christopher Schultz
Chenjp, On 4/14/25 5:46 AM, Justin Chen wrote: Main branch: Receive unexpected 400 for curl put with content-range header value "bytes 0-0/1" and -d c. PR submitted. I think HTTP 400 is the correct response for this. You are saying "I'd like to update bytes 0-0 (a zero-width update) with th

Problem when put a one-byte file partially

2025-04-14 Thread Justin Chen
hi, Main branch: Receive unexpected 400 for curl put with content-range header value "bytes 0-0/1" and -d c. PR submitted. Regards, Chenjp

Re: Tomcat 11 mutlipart strict configuration problem

2024-12-17 Thread anand raj
Thanks for replies yes we do have mismatch using jaxrs-Jersey Api and Tomcat Filter causes issues so when choose to use Jersey filters it works fine and makes sense after seeing the responses. On Tue, 17 Dec, 2024, 12:51 am Christopher Schultz, < ch...@christopherschultz.net> wrote: > Mark, > > O

Re: Tomcat 11 mutlipart strict configuration problem

2024-12-16 Thread Christopher Schultz
Mark, On 12/16/24 5:52 AM, Mark Thomas wrote: On 16/12/2024 10:10, anand raj wrote: Hi all, In Tomcat 11 a jersey Api multipart-formdata is registered with Multipart feature.Also an inbound filter in front reading request.getparamater fails with "unable to process parts as no multi-part conf

Re: Tomcat 11 mutlipart strict configuration problem

2024-12-16 Thread Mark Thomas
On 16/12/2024 10:10, anand raj wrote: Hi all, In Tomcat 11 a jersey Api multipart-formdata is registered with Multipart feature.Also an inbound filter in front reading request.getparamater fails with "unable to process parts as no multi-part configuration has been provided." In Tomcat 11 it fail

Tomcat 11 mutlipart strict configuration problem

2024-12-16 Thread anand raj
Hi all, In Tomcat 11 a jersey Api multipart-formdata is registered with Multipart feature.Also an inbound filter in front reading request.getparamater fails with "unable to process parts as no multi-part configuration has been provided." In Tomcat 11 it fails. In Tomcat 10 same setup works continu

Re: AW: Problem getting logging from TldScanner

2024-08-06 Thread Mark Thomas
levels to ALL. Thanks for bringing this to our attention. Mark Thanks, Andreas -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Dienstag, 6. August 2024 09:58 An: users@tomcat.apache.org Betreff: Re: Problem getting logging from TldScanner WARNING: Do not click links or open

AW: Problem getting logging from TldScanner

2024-08-06 Thread ESI
Betreff: Re: Problem getting logging from TldScanner WARNING: Do not click links or open attachments unless you recognize the source of the email and know the contents are safe. On 05/08/2024 11:07, Döscher, Andreas (ESI) wrote: > Moin, > I wanted to check the TLD scanner and

Re: Problem getting logging from TldScanner

2024-08-06 Thread Mark Thomas
On 05/08/2024 11:07, Döscher, Andreas (ESI) wrote: Moin, I wanted to check the TLD scanner and placed* org.apache.jasper.servlet.TldScanner.level = FINE in logging.properties, but under Tomcat 10.1.25 and Tomcat 9.0.91 I get only 05-Aug-2024 10:43:29.958 INFO [main] org.apache.jasper.servlet.

Problem getting logging from TldScanner

2024-08-05 Thread ESI
Moin, I wanted to check the TLD scanner and placed* org.apache.jasper.servlet.TldScanner.level = FINE in logging.properties, but under Tomcat 10.1.25 and Tomcat 9.0.91 I get only 05-Aug-2024 10:43:29.958 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for

Re: Problem starting Tomcat localhost

2024-08-01 Thread Christopher Schultz
Alan, On 8/1/24 05:00, Alan Masters wrote: I have configured apache-tomcat-9.0.91 to run as localhost:8080 on Windows 11. Once I have executed the startup.bat, and open localhost:8080 and get:    If you're seeing this, you've successfully installed Tomcat.    Congratulations However freque

Re: Problem starting Tomcat localhost

2024-08-01 Thread Olaf Kock
Hi Alan, On 01.08.24 11:00, Alan Masters wrote: I have configured apache-tomcat-9.0.91 to run as localhost:8080 on Windows 11. Once I have executed the startup.bat, and open localhost:8080 and get:    If you're seeing this, you've successfully installed Tomcat.    Congratulations However freq

Problem starting Tomcat localhost

2024-08-01 Thread Alan Masters
I have configured apache-tomcat-9.0.91 to run as localhost:8080 on Windows 11. Once I have executed the startup.bat, and open localhost:8080 and get: If you're seeing this, you've successfully installed Tomcat. Congratulations However frequently when closing down with shutdown.bat and re

RE: Need help for a problem on migrating from Tomcat-8 to Tomcat-9

2024-02-27 Thread Saha, Rajib
February 2024 19:51 To: users@tomcat.apache.org Subject: Re: Need help for a problem on migrating from Tomcat-8 to Tomcat-9 [You don't often get email from ch...@christopherschultz.net. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Rajib, On 2/26/24 23:43, Saha,

Re: Need help for a problem on migrating from Tomcat-8 to Tomcat-9

2024-02-27 Thread Christopher Schultz
of the local machine. This is a huge red-flag from a security standpoint. -chris -Original Message- From: Mark Thomas Sent: 26 February 2024 14:23 To: users@tomcat.apache.org Subject: Re: Need help for a problem on migrating from Tomcat-8 to Tomcat-9 [You don't often get email fro

RE: Need help for a problem on migrating from Tomcat-8 to Tomcat-9

2024-02-26 Thread Saha, Rajib
al Message- From: Mark Thomas Sent: 26 February 2024 14:23 To: users@tomcat.apache.org Subject: Re: Need help for a problem on migrating from Tomcat-8 to Tomcat-9 [You don't often get email from ma...@apache.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] O

Re: Need help for a problem on migrating from Tomcat-8 to Tomcat-9

2024-02-26 Thread Mark Thomas
On 26/02/2024 06:11, Saha, Rajib wrote: Hi Experts, In our product, we are using Tomcat [OriginalFileName: prunsrv.exe] for creating a service[Say, Service-A]. It's a huge product running in market for last 20 years. We are in progress of moving from Tomcat-8 to tomcat-9. When we are creatin

Need help for a problem on migrating from Tomcat-8 to Tomcat-9

2024-02-25 Thread Saha, Rajib
Hi Experts, In our product, we are using Tomcat [OriginalFileName: prunsrv.exe] for creating a service[Say, Service-A]. It's a huge product running in market for last 20 years. We are in progress of moving from Tomcat-8 to tomcat-9. When we are creating the Service-A with Tomcat-8 [tomcat8.exe

Migrating from TC9 to TC10. Can the jakartaConverter log problem cases?

2023-10-13 Thread Martin Knoblauch
Hi, I am in the process of migrating a large application from Tomcat9 to Tomcat10. While we have fixed the javax->jakarta issues in our code directly, we still need to specify jakartaConverter=TOMCAT to make the application work correctly. My question is now: does the converter log its work some

Re: Strange problem involving the word "localhost"

2023-09-08 Thread James H. H. Lampert
On 9/8/23 8:34 AM, Ivano Luberti wrote: I had similar problem with mod_security installed on servers and apache used as proxy. mod_security intercept the request and if considers it suspicious generate a 403 error Found it. It's in the AWS WAF. A rule called

Re: Strange problem involving the word "localhost"

2023-09-08 Thread Ivano Luberti
I had similar problem with mod_security installed on servers and apache used as proxy. mod_security intercept the request and if considers it suspicious generate a 403 error Il 08/09/2023 17:25, James H. H. Lampert ha scritto: Yesterday, I discovered that our Tomcat-based webapp (running on

Strange problem involving the word "localhost"

2023-09-08 Thread James H. H. Lampert
y hypothesis is that the 403 is coming from an AWS firewall rule, because that was the cause of our last 403 problem. But is there anything in Tomcat that could be doing this? -- JHHL - To unsubscribe, e-mail: users-unsubscr.

Re: Problem with session timeout

2023-07-25 Thread Christopher Schultz
Helge, On 7/25/23 05:24, Wiemann, Helge (ESI) wrote: we have a problem that we have set the tomcat timeout to 10 minutes. But after a successful login with a realm, the user is automatically logged out, sometimes after one minute, sometimes other times. I have downloaded the source code

Re: Problem with session timeout

2023-07-25 Thread Jonathan S. Fisher
ve a magic trick where they'll find the implementations for you and set the breakpoints on the implementations as they're loaded. On Tue, Jul 25, 2023 at 4:25 AM Wiemann, Helge (ESI) wrote: > Hi all, > > > > we have a problem that we have set the tomcat timeout to 10 minu

Problem with session timeout

2023-07-25 Thread Wiemann, Helge (ESI)
Hi all, we have a problem that we have set the tomcat timeout to 10 minutes. But after a successful login with a realm, the user is automatically logged out, sometimes after one minute, sometimes other times. I have downloaded the source code, want to set a breakpoint. Does anybody know a

Re: Problem with the redirect after j_security_check

2023-07-24 Thread Christopher Schultz
Helge, On 7/22/23 11:03, Wiemann, Helge (ESI) wrote: we are using Tomcat 9 and the still the JDBC Realm for authentication. Our starting URL (which is protected) ends with “/boot1#index” The form authentication is then processed through the common url j_security_check. But after a successfu

Re: Problem with the redirect after j_security_check

2023-07-22 Thread Shawn Heisey
On 7/22/23 12:03, Mark Thomas wrote: Your target URL is invalid. No user agent should be sending the fragment (#index) part of the URL. At best Tomcat will ignore it. Later versions may even reject it (I have a memory of that but don't have easy acces to the source code to check right now).

Re: Problem with the redirect after j_security_check

2023-07-22 Thread Mark Thomas
22 Jul 2023 17:03:50 Wiemann, Helge (ESI) : Hi all, we are using Tomcat 9 and the still the JDBC Realm for authentication. Our starting URL (which is protected) ends with “/boot1#index” The form authentication is then processed through the common url j_security_check. But after a successf

Problem with the redirect after j_security_check

2023-07-22 Thread Wiemann, Helge (ESI)
Hi all, we are using Tomcat 9 and the still the JDBC Realm for authentication. Our starting URL (which is protected) ends with "/boot1#index" The form authentication is then processed through the common url j_security_check. But after a successful login, he is not redirecting to "boot1#index" bu

Re: problem with SSL connection java.security.NoSuchAlgorithmException: Error constructing implementation

2023-07-09 Thread Ivano Luberti
is to underline that as predictable it was not a problem with tomcat Thanks to everyone spent time into this, especially Chris Il 27/06/2023 16:35, Christopher Schultz ha scritto: Ivano, On 6/27/23 09:15, Ivano Luberti wrote: We had another Linux server that should have been identical to the

Re: problem with SSL connection java.security.NoSuchAlgorithmException: Error constructing implementation

2023-06-27 Thread Christopher Schultz
Ivano, On 6/27/23 09:15, Ivano Luberti wrote: We had another Linux server that should have been identical to the one where the problem was occuring. Tested the same software on that without the issue. So we cloned the latter and replaced the former. > Now everything works as expec

Re: problem with SSL connection java.security.NoSuchAlgorithmException: Error constructing implementation

2023-06-27 Thread Ivano Luberti
Hi Chris, thank you for your dedication. We had another Linux server that should have been identical to the one where the problem was occuring. Tested the same software on that without the issue. So we cloned the latter and replaced the former. Now everything works as expected. Before the

Re: problem with SSL connection java.security.NoSuchAlgorithmException: Error constructing implementation

2023-06-26 Thread Christopher Schultz
Ivano, On 6/8/23 06:10, Ivano Luberti wrote: Hi, all I have the following problem. [snip] My guess is that looking at the code in this general area would be helpful. If you are able to add debug logging in there to spoit-out some of the crypto configuration being used, I'm sure it

Re: problem with SSL connection java.security.NoSuchAlgorithmException: Error constructing implementation

2023-06-24 Thread Ivano Luberti
Hi Chris, thanks for that. No,  don't make nay configuration regarding use of any algorithm. I launch Java with same options in tomcat and in the stand alone client and I get two different behaviours Il 23/06/2023 21:51, Christopher Schultz ha scritto: Ivano, On 6/8/23 06:10, Ivano Luberti

Re: problem with SSL connection java.security.NoSuchAlgorithmException: Error constructing implementation

2023-06-23 Thread Christopher Schultz
Ivano, On 6/8/23 06:10, Ivano Luberti wrote: My web application executes an SSL connection but fails with the following exception  AxisFault: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextIm

Re: AW: problem with SSL connection java.security.NoSuchAlgorithmException: Error constructing implementation

2023-06-08 Thread Ivano Luberti
rtup.sh contain some option that could create a difference with respect to this matter? Il 08/06/2023 16:39, Thomas Hoffmann (Speed4Trade GmbH) ha scritto: Hello Ivano, -Ursprüngliche Nachricht- Von: Ivano Luberti Gesendet: Donnerstag, 8. Juni 2023 12:10 An:users@tomcat.apache.org Be

AW: problem with SSL connection java.security.NoSuchAlgorithmException: Error constructing implementation

2023-06-08 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Ivano, > -Ursprüngliche Nachricht- > Von: Ivano Luberti > Gesendet: Donnerstag, 8. Juni 2023 12:10 > An: users@tomcat.apache.org > Betreff: problem with SSL connection > java.security.NoSuchAlgorithmException: Error constructing implementation > > Hi,

problem with SSL connection java.security.NoSuchAlgorithmException: Error constructing implementation

2023-06-08 Thread Ivano Luberti
Hi, all I have the following problem. My web application executes an SSL connection but fails with the following exception  AxisFault: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl

Re: Jax-RS problem with Tomcat 10

2022-01-26 Thread Mark Thomas
nitializer) received MyApp in the 'classes' set of 'onStartup' method only when MyApp is bundled into a dependency. So far, the problem seems to relate to the jakarta.servlet.ServletContainerInitializer implementation. It is a change since servlet 3.0 spec. Is it intended by serv

Re: tomcat-10.0.x Problem https multiple IP

2022-01-24 Thread Christopher Schultz
Jaebo, On 1/21/22 06:42, Jaebo Nah wrote: Thank you for your help, I found the problem. Only one certificate may be contained in the KeyStore file. I had several certificates in the KeyStore file, and the Tomcat server 10.x always got the first certificate in the KeyStore file. With Tomcat 9.x

Jax-RS problem with Tomcat 10

2022-01-23 Thread Julien Bréda
7; set of 'onStartup' method only when MyApp is bundled into a dependency. So far, the problem seems to relate to the jakarta.servlet.ServletContainerInitializer implementation. It is a change since servlet 3.0 spec. Is it intended by servlet 5.0 spec or is it a bug in Tomcat 10.0.16 implementation ?

RE: tomcat-10.0.x Problem https multiple IP

2022-01-21 Thread Jaebo Nah
Dear all, Thank you for your help, I found the problem. Only one certificate may be contained in the KeyStore file. I had several certificates in the KeyStore file, and the Tomcat server 10.x always got the first certificate in the KeyStore file. With Tomcat 9.x you could specify the key alias

RE: tomcat-10.0.x Problem https multiple IP

2022-01-21 Thread Jaebo Nah
Hi Mark, I want to use 3 Tomcat on the Linux Server . For each Ip (DNS ALIAS) one Tomcat. I use this configuration with Tomcat 9.x and it works fine. Now I start following sever.xml but the Problem is the Same. Rgds correct Domian Name and IP (sorry for the confusion) 10.100.142.30

RE: tomcat-10.0.x Problem https multiple IP

2022-01-21 Thread Jaebo Nah
be found at https://www.pfandbriefbank.com/en/privacy/translate-to-english-europaeische-datenschutz-grundvero.html From: Jaebo Nah Sent: Friday, January 21, 2022 10:30 AM To: 'users@tomcat.apache.org' Subject: tomcat-10.0.x Problem https multiple IP Dear all, I want to use a Tomcat a

Re: tomcat-10.0.x Problem https multiple IP

2022-01-21 Thread Mark Thomas
On 21/01/2022 09:29, Jaebo Nah wrote: Dear all, I want to use a Tomcat apache-tomcat-10.0.14 with https . The Linux Server have multiple ip Address with different Domain Names 10.100.142.30  =   one.domain.loc 10.100.142.31  =   two.domain.loc 10.100.142.32  =   three.domain.loc When I try

Re: tomcat-10.0.x Problem https multiple IP

2022-01-21 Thread Olaf Kock
Dear Jaebo, On 21.01.22 10:29, Jaebo Nah wrote: >  10.100.142.31  =   two.domain.loc > > >   address=" two.domain.loc" > >   SSLEnabled="true" defaultSSLHostConfigName="10.100.142.32" > > >      protocols="TLSv1.2,+TLSv1.1,+TLSv1"> > > Above, I only left the lines from your mail that

tomcat-10.0.x Problem https multiple IP

2022-01-21 Thread Jaebo Nah
Dear all, I want to use a Tomcat apache-tomcat-10.0.14 with https . The Linux Server have multiple ip Address with different Domain Names 10.100.142.30 = one.domain.loc 10.100.142.31 = two.domain.loc 10.100.142.32 = three.domain.loc When I try to connect to the Tomcat with https://two

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2022-01-04 Thread Christopher Schultz
10 AM To: users@tomcat.apache.org Subject: Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem? Eric, On 12/30/21 19:03, Eric Robinson wrote: If I want to ignore the vendor's recommendation and try connection pooling anyway, is that something I can enable with a config file setting,

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2022-01-03 Thread Eric Robinson
to me soon hopefully. > -Original Message- > From: Christopher Schultz > Sent: Monday, January 3, 2022 9:10 AM > To: users@tomcat.apache.org > Subject: Re: Do I Need Network NameSpaces to Solve This > Tomcat+Connector/J Problem? > > Eric, > > On 12/30/21 19:0

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2022-01-03 Thread Christopher Schultz
n Sent: Thursday, December 30, 2021 12:00 PM To: Tomcat Users List Subject: RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem? Chris, Not pooling connections will very likely negatively affect performance. When you say "they ... have an issue with connection po

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Rob Sargent
ric Robinson >>> <mailto:eric.robin...@psmnv.com>> >>>> Sent: Thursday, December 30, 2021 12:00 PM >>>> To: Tomcat Users List >>> <mailto:users@tomcat.apache.org>> >>>> Subject: RE: Do I Need Network NameSpaces to Solve This >>>

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
12:00 PM > >> To: Tomcat Users List >> <mailto:users@tomcat.apache.org>> > >> Subject: RE: Do I Need Network NameSpaces to Solve This > >> Tomcat+Connector/J Problem? > >> > >> Chris, > >> > >>> Not pooling connections

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Rob Sargent
ber 30, 2021 12:00 PM >> To: Tomcat Users List > <mailto:users@tomcat.apache.org>> >> Subject: RE: Do I Need Network NameSpaces to Solve This >> Tomcat+Connector/J Problem? >> >> Chris, >> >>> Not pooling connections will very likely negative

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
y, December 30, 2021 12:00 PM > To: Tomcat Users List > Subject: RE: Do I Need Network NameSpaces to Solve This > Tomcat+Connector/J Problem? > > Chris, > > > Not pooling connections will very likely negatively affect performance. > > > > When you say "

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread José Cornado
Sent: Thursday, December 30, 2021 12:00 PM > > To: Tomcat Users List > > Subject: Re: Do I Need Network NameSpaces to Solve This > > Tomcat+Connector/J Problem? > > > > But they do not get a corresponding database instance? > > > > They do. Each tomcat ins

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
> José, > > > -Original Message- > > From: José Cornado > > Sent: Thursday, December 30, 2021 12:00 PM > > To: Tomcat Users List > > Subject: Re: Do I Need Network NameSpaces to Solve This > > Tomcat+Connector/J Problem? > > > >

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
José, > -Original Message- > From: José Cornado > Sent: Thursday, December 30, 2021 12:00 PM > To: Tomcat Users List > Subject: Re: Do I Need Network NameSpaces to Solve This > Tomcat+Connector/J Problem? > > But they do not get a corresponding database instance?

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread José Cornado
But they do not get a corresponding database instance? On Thu, Dec 30, 2021 at 10:51 AM Eric Robinson wrote: > José, > > > Is this setup going to be open to the world or just a big organization? > A big > > organization would put a cap on the number of users. Then maybe they > > could divide tho

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
Chris, > Not pooling connections will very likely negatively affect performance. > > When you say "they ... have an issue with connection pooling" do you mean > that they have a technical problem, or do you mean that there is some ill- > conceived policy against the

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
"most > people" don't need that kind of concurrency. > A fair question. The load is spread over multiple database servers, and they are capable of handling the connection count. The problem we've encountered in the past was on the client side, where it would exhaust the av

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
Stefan, > A third option could be to add something between database client and > server. Something on layer 4 like multiple HAProxy servers or simple NAT > gateways. Or more complex on layer 7 specfic products like ProxySQL or > MaxScale. They could even pool connections and reduce the load on the

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
José, > Is this setup going to be open to the world or just a big organization? A big > organization would put a cap on the number of users. Then maybe they > could divide those between the tomcat instances thus the db server. > It's a SaaS solution, where each customer organization gets its own

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
tances on the app server. When we increase the count to 500, the problem will reappear unless we can figure out a way to distribute client port usage. That's why I came up with the idea of using multiple source IPs on the app server. I am new to network namespaces, and thought that migh

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
Hi Simon, > I guess the database is not on the Tomcat host, otherwise you could connect > via unix domain socket to avoid the limitations of TCP port numbers. > > Otherwise I think you could run a db proxy where your Tomcat clients > connect locally via unix domain socket and the proxy relays the

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Christopher Schultz
Eric, On 12/29/21 19:23, Eric Robinson wrote: -Original Message- From: Mark Eggers Sent: Wednesday, December 29, 2021 6:18 PM To: users@tomcat.apache.org Subject: Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem? Eric: On 12/29/2021 1:04 PM, Eric Robinson

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Christopher Schultz
decade, we know that we could potentially host 500 or more separate tomcat instances on the same server without running into performance problems. So now we want to make it 500 parallel instances. Here’s the problem. When tomcat initiates an outbound connection (for example, with Connector/J

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Stefan Mayr
Am 30.12.2021 um 12:24 schrieb Mark Thomas: On 29/12/2021 21:04, Eric Robinson wrote: My question is, is there a better way? I can only think of variations on a theme. The ~64k limit assumes client IP, server IP and server port remain constant. i.e. just client port is varying. That sug

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread José Cornado
Is this setup going to be open to the world or just a big organization? A big organization would put a cap on the number of users. Then maybe they could divide those between the tomcat instances thus the db server. On Thu, Dec 30, 2021 at 4:24 AM Mark Thomas wrote: > On 29/12/2021 21:04, Eric

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Mark Thomas
On 29/12/2021 21:04, Eric Robinson wrote: My question is, is there a better way? I can only think of variations on a theme. The ~64k limit assumes client IP, server IP and server port remain constant. i.e. just client port is varying. That suggests there is a single IP for the database s

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Simon Matter
decade, we know that we could > potentially host 500 or more separate tomcat instances on the same server > without running into performance problems. So now we want to make it 500 > parallel instances. > > > Here's the problem. When tomcat initiates an outbound connection

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-29 Thread Eric Robinson
> Your problem seems to be in the client-to-db server side of things. Not > tomcat as a server. > In the context of this question, tomcat is the client. > On Wed, Dec 29, 2021 at 2:11 PM Eric Robinson > wrote: > > > We want to run a large number of tomcat inst

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-29 Thread Eric Robinson
> -Original Message- > From: Mark Eggers > Sent: Wednesday, December 29, 2021 6:18 PM > To: users@tomcat.apache.org > Subject: Re: Do I Need Network NameSpaces to Solve This > Tomcat+Connector/J Problem? > > Eric: > > On 12/29/2021 1:04 PM, Eric Robinson wro

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-29 Thread Mark Eggers
the past decade, we know that we could potentially host 500 or more separate tomcat instances on the same server without running into performance problems. So now we want to make it 500 parallel instances. Here's the problem. When tomcat initiates an outbound connection (for exam

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-29 Thread José Cornado
Your problem seems to be in the client-to-db server side of things. Not tomcat as a server. On Wed, Dec 29, 2021 at 2:11 PM Eric Robinson wrote: > We want to run a large number of tomcat instances on the same server > without virtualization or containerization. Each instance is execute

Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-29 Thread Eric Robinson
host 500 or more separate tomcat instances on the same server without running into performance problems. So now we want to make it 500 parallel instances. Here's the problem. When tomcat initiates an outbound connection (for example, with Connector/J to query a backend database) it est

Re: reporting a problem with LDAP auth to Windows Active Directory with Kerberos using the default spnegoDelegationQop="auth-conf" value for Tomcat 9.0.31 and 9.0.52

2021-09-19 Thread Michael Osipov
the problem. Here is our base pre-Tomcat upgrade configuration which was working for both LDAP user authentication and with Kerberos-enabled authentication (e.g. with the Tomcat Manager app). * Tomcat 9.0.30 running on Windows Server 2019 * Microsoft OpenJDK packaging, build 11.0.12

reporting a problem with LDAP auth to Windows Active Directory with Kerberos using the default spnegoDelegationQop="auth-conf" value for Tomcat 9.0.31 and 9.0.52

2021-09-14 Thread Tim Miller Dyck
Hello, I wanted to report an issue with Tomcat LDAP user authentication lookups with Tomcat container Kerberos security that I found in our environment when upgrading to version Tomcat 9.0.52 from 9.0.30 and what configuration settings bypassed the problem. Here is our base pre-Tomcat upgrade

Re: Problem posting to Tomcat ssl connector ..

2021-06-06 Thread John Dale (DB2DOM)
Just to note - this was fixed in the latest release of Tomcat and I'm humming along again .. But it would be good to track down what is happening to help folks who can't just upgrade like me. Side note - you'll recall that in the last year or so I've been on an upgrade tear from 7.x to present in

Re: Problem posting to Tomcat ssl connector ..

2021-06-01 Thread Mark H. Wood
On Fri, May 28, 2021 at 01:32:47PM -0600, John Dale wrote: > Page loads fine. > > Other pages load fine. > > SSL handshakes are working until .. > > An Ajax post with a base64 encoded image in the data. > > I debugged up to the request and it's fine. > > I debugged the server and it's not reac

Re: [OT] Problem posting to Tomcat ssl connector ..

2021-06-01 Thread Christopher Schultz
John, On 5/28/21 20:17, John Dale wrote: ran apt-get install tomcat9 and it upgraded these packages: libtomcat9-java tomcat9 tomcat9-common Still did not resolve the issue, however. Looking for a guide to manually upgrade a package installed with apt-get. > > [repeated from elsewhere in the

Solved my Problem posting base64 image to Tomcat ssl connector on raspberry pi with JQuery and Ajax ..

2021-05-29 Thread John Dale (DB2DOM)
I upgraded DB2DOM to 9.0.41 manually, updated systemd and consolidated all the files that were distributed by apt-get. Once apps were back up and running, still no luck. Upgraded DB2DOM to 9.0.46, same result. Upgraded to 10.0.6, globally searched and replaced javax.websocket and javax.servlet a

Re: [OT] Problem posting to Tomcat ssl connector ..

2021-05-28 Thread John Dale
ran apt-get install tomcat9 and it upgraded these packages: libtomcat9-java tomcat9 tomcat9-common Still did not resolve the issue, however. Looking for a guide to manually upgrade a package installed with apt-get. Suggestions? On 5/28/21, Christopher Schultz wrote: > John, > > On 5/28/21 15

Re: [OT] Problem posting to Tomcat ssl connector ..

2021-05-28 Thread John Dale
The thick plottens. When I do apt-cache show tomcat9: Package: tomcat9 Version: 9.0.31-1~deb10u4 ... S .. simple and good way to upgrade this via apt-get? Or will I have to manually be overwriting stuff (yuck). John On 5/28/21, Christopher Schultz wrote: > John, > > On 5/28/21 15:32,

Re: [OT] Problem posting to Tomcat ssl connector ..

2021-05-28 Thread John Dale
definitely related to the post size .. smaller images work, larger images do not work, but the larger images are only 500k, so it's not a maxpostsize issue. I'm running apache-tomcat-9.0.41, so this shouldn't apply: https://stackoverflow.com/questions/63050276/tomcat-9-long-https-request John

Re: [OT] Problem posting to Tomcat ssl connector ..

2021-05-28 Thread Christopher Schultz
John, On 5/28/21 15:32, John Dale wrote: I debugged the server and it's not reaching my component. > > Request post is around 300K. Tomcat 9 on a raspberry pi 4 (w00t!). Maybe you are still just waiting around for that tiny CPU to run all that bytecode. /snark Seriously, though, I'd b

Problem posting to Tomcat ssl connector ..

2021-05-28 Thread John Dale
Page loads fine. Other pages load fine. SSL handshakes are working until .. An Ajax post with a base64 encoded image in the data. I debugged up to the request and it's fine. I debugged the server and it's not reaching my component. Tomcat is killing the connection for some reason. Thought it

RE: JNDI ldaps Problem with SSO

2021-05-27 Thread Susan.Wood
Hi Christopher Enclosed is the stacktrace of the tomcat (localhost) 03-Mar-2021 15:57:15.221 SEVERE [http-nio-8080-exec-10] org.apache.catalina.realm.JNDIRealm.authenticate Exception performing authentication javax.naming.NamingException: [LDAP: error code 1 - 04DC: LdapErr: DSID-0C0907E

RE: JNDI ldaps Problem with SSO

2021-05-20 Thread Susan.Wood
> -Original Message- > From: Christopher Schultz > Sent: Donnerstag, 20. Mai 2021 18:37 > To: users@tomcat.apache.org > Subject: Re: JNDI ldaps Problem with SSO > > Susan, > > On 5/18/21 16:58, susan.w...@swisscom.com wrote: > > When we are using plain ldap 3268, a

Re: JNDI ldaps Problem with SSO

2021-05-20 Thread Christopher Schultz
ce and not just the message? -chris -Original Message- From: Christopher Schultz Sent: Dienstag, 18. Mai 2021 18:02 To: users@tomcat.apache.org Subject: Re: JNDI ldaps Problem with SSO Susan, On 5/18/21 09:43, susan.w...@swisscom.com wrote: Hi all apache-tomcat-8.0.36 java ve

  1   2   3   4   5   6   7   8   9   10   >