RE: Tomcat 9.0.65 suspected memory leak

2023-02-10 Thread Chen Levy
Thanks Mark, workaround seem to be working Chen > -Original Message- > From: Mark Thomas > Sent: Thursday, February 9, 2023 12:41 > To: users@tomcat.apache.org > Subject: Re: Tomcat 9.0.65 suspected memory leak > > On 09/02/2023 13:25, Mark Thomas wrote: > >

Re: Tomcat 9.0.65 suspected memory leak

2023-02-09 Thread Mark Thomas
On 09/02/2023 13:25, Mark Thomas wrote: On 09/02/2023 13:04, Mark Thomas wrote: On 04/02/2023 22:06, Chen Levy wrote: Mark, I believe a change in Tomcat 9.0.65 causes it to accumulate open connections: I took a fresh Tomcat, unzipped and modified server.xml with only the following: 1.

Re: Tomcat 9.0.65 suspected memory leak

2023-02-09 Thread Mark Thomas
On 09/02/2023 13:04, Mark Thomas wrote: On 04/02/2023 22:06, Chen Levy wrote: Mark, I believe a change in Tomcat 9.0.65 causes it to accumulate open connections: I took a fresh Tomcat, unzipped and modified server.xml with only the following: 1. Changed port 8080 to port 80 2. Changed port

Re: Tomcat 9.0.65 suspected memory leak

2023-02-09 Thread Mark Thomas
On 04/02/2023 22:06, Chen Levy wrote: Mark, I believe a change in Tomcat 9.0.65 causes it to accumulate open connections: I took a fresh Tomcat, unzipped and modified server.xml with only the following: 1. Changed port 8080 to port 80 2. Changed port 8443 to port 443 3. Uncommented the nio

RE: Tomcat 9.0.65 suspected memory leak

2023-02-04 Thread Chen Levy
> -Original Message- > From: Mark Thomas > Sent: Monday, September 19, 2022 13:02 > To: users@tomcat.apache.org > Subject: Re: Tomcat 9.0.65 suspected memory leak > > On 15/09/2022 14:11, Chen Levy wrote: > > Hello Experts > > > > We’ve recently

RE: Tomcat 9.0.65

2022-12-26 Thread alik alikov
Mark please answer me I really can't see your message when I open it, and how can I send you needed information with normally formatting bec yours mail bot formating it with escaping line breaks 21.12.2022, 13:38, Mark Thomas < mailto:ma...@apache.org ma...@apache.org >

RE: Tomcat 9.0.65

2022-12-26 Thread alik alikov
Can you help me with my problem? 21.12.2022, 13:38, Mark Thomas < mailto:ma...@apache.org ma...@apache.org >

RE: Tomcat 9.0.65 trailing slashes redirects

2022-12-22 Thread alik alikov
private Context addWebapp(final Host host, final String url, final String name, final String path, final PluginDescriptor pluginDescriptor, final AddContextListener contextAddListened) { silence(host, url); final PluginManager manager = PluginManager.lookup(getClass().getClassLoader()); final

RE: Tomcat 9.0.65

2022-12-22 Thread alik alikov
. 21.12.2022, 13:38, Tomcat Users List < mailto:users@tomcat.apache.org users@tomcat.apache.org > Main lundagrossisten site lundagrossisten.se web application 1 0 client-error-logging-servlet com.gridnine.platform.server.lundase.web.servlet.ClientErrorLoggingServlet

RE: Tomcat 9.0.65

2022-12-22 Thread alik alikov
And sometimes I don't see your message when I opened them 21.12.2022, 13:38, Mark Thomas < mailto:ma...@apache.org ma...@apache.org >

RE: Tomcat 9.0.65

2022-12-22 Thread alik alikov
Hello can I attach the files to these messages? 21.12.2022, 13:38, Mark Thomas < mailto:ma...@apache.org ma...@apache.org >

Re: Tomcat 9.0.65

2022-12-21 Thread Mark Thomas
The information you posted is missing line breaks and is extremely difficult to parse. Please re-post with line breaks. Mark On 21/12/2022 08:02, alik alikov wrote: Main lundagrossisten site lundagrossisten.se web application 1 0client-error-logging-servlet

RE: Tomcat 9.0.65

2022-12-21 Thread alik alikov
Main lundagrossisten site lundagrossisten.se web application 1 0 client-error-logging-servlet com.gridnine.platform.server.lundase.web.servlet.ClientErrorLoggingServlet client-error-logging-servlet /client-error/* warehouses-servlet

RE: Tomcat 9.0.65

2022-12-20 Thread alik alikov
for local lunch we use proxy on js: proxy: {'/api/': { target: 'http://localhost:8080/', changeOrigin: false, },'/': { target: 'http://localhost:8080/lundase', changeOrigin: false } }, for normal lunch we use apache2.conf: RewriteCond %{REQUEST_URI} ^(/api/|/mapi/|/binary/|/rpc/invoker/)

RE: Tomcat 9.0.65

2022-12-20 Thread alik alikov
private Context addWebapp(final Host host, final String url, final String name, final String path, final PluginDescriptor pluginDescriptor, final AddContextListener contextAddListened) { silence(host, url); final PluginManager manager = PluginManager.lookup(getClass().getClassLoader()); final

Re: Tomcat 9.0.65

2022-12-20 Thread Mark Thomas
You'll need to provide: - The httpd proxy configuration - the context path - the servlet mapping(s) - the code that generates the problematic link - the URL of the request that triggers the problem Mark On 20/12/2022 07:37, alik alikov wrote: Hello I have some problems with trailing slashes.

RE: Tomcat 9.0.65 Failed stop jpf application in shell mode

2022-12-12 Thread alik alikov
Thanks a lot it's work 12.12.2022, 11:00, Mark Thomas < mailto:ma...@apache.org ma...@apache.org > On 12/12/2022 04:40, alik alikov wrote: > When I try to shut down the application in the IDE console by 'q' application doesn't stopped. > > Thread Dump in attachments. > > Console log: > > dec 08,

RE: Tomcat 9.0.65 Failed stop jpf application in shell mode

2022-12-12 Thread alik alikov
Okay thank you I'll try it 12.12.2022, 11:00, Mark Thomas < mailto:ma...@apache.org ma...@apache.org > On 12/12/2022 04:40, alik alikov wrote: > When I try to shut down the application in the IDE console by 'q' application doesn't stopped. > > Thread Dump in attachments. > > Console log: > > dec

Re: Tomcat 9.0.65 Failed stop jpf application in shell mode

2022-12-12 Thread Mark Thomas
On 12/12/2022 04:40, alik alikov wrote: When I try to shut down the application in the IDE console by 'q' application doesn't stopped. Thread Dump in attachments. Console log: dec 08, 2022 12:59:21 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler

RE: Tomcat 9.0.65

2022-12-11 Thread alik alikov
I did it because bot send me invalid something on my messages I think my sended message wasn't sent 12.12.2022, 10:52, Mark Thomas < mailto:ma...@apache.org ma...@apache.org >

Re: Tomcat 9.0.65

2022-12-11 Thread Mark Thomas
Please don't re-post the same question multiple times. It won't get your question answered any faster. Mark On 12/12/2022 06:20, alik alikov wrote: Tomcat 9.0.65 When I try to shut down the application in the IDE console by 'q' application doesn't stopped. Thread Dump in attachments.

Re: Tomcat 9.0.65 Clustering in Azure Kubernetes Service (AKS)

2022-10-01 Thread Chew Kok Hoor
Hi all, Just an update for anyone interested. I ditched the idea because there are times the sessions are somehow just not copied correctly, and this is just a 2 node cluster. As I am using AKS load balancer, I am not able to use ip_hash for nginx. Instead I am now using redisson (I am

Re: Tomcat 9.0.65 suspected memory leak

2022-09-19 Thread Mark Thomas
On 15/09/2022 14:11, Chen Levy wrote: Hello Experts We’ve recently upgraded some of our production servers to Tomcat 9.0.65; every upgraded server crashed with java.lang.OutOfMemoryError within an hour or so under load. The exact same setup (same application, Linux kernel, Java version

Re: Tomcat 9.0.65 Clustering in Azure Kubernetes Service (AKS)

2022-08-18 Thread Chew Kok Hoor
Hi Chris, Following are my setup. It seems to work but I am not sure if I did things correctly: 1. In my server.xml, I followed the setup in javadoc https://tomcat.apache.org/tomcat-9.0-doc/api/org/apache/catalina/tribes/membership/cloud/DNSMembershipProvider.html for the cluster tag.

Re: Tomcat 9.0.65 Clustering in Azure Kubernetes Service (AKS)

2022-08-17 Thread Christopher Schultz
All, If you are havig issues with the CloudMembershipService, I would highly recommend that you continue to have this discussion. The original author (remm) was mostly targeting OpenShift (he works for RedHat, so it's not a surprise) but it doesn't mean that its support cannot expand to

Re: Tomcat 9.0.65 Clustering in Azure Kubernetes Service (AKS)

2022-08-16 Thread Thomas Meyer
Am 15. August 2022 03:47:18 MESZ schrieb Chew Kok Hoor : >Hi Thomas, Hi, >Thanks for pointing me to another option which is the >DNSMembershipService. > >Hope you can help to clarify two things in the dns-membership-service.yml: > >1. For spec.port, is port mandatory? Or can it be

Re: Tomcat 9.0.65 Clustering in Azure Kubernetes Service (AKS)

2022-08-14 Thread Chew Kok Hoor
Hi Thomas, Thanks for pointing me to another option which is the DNSMembershipService. Hope you can help to clarify two things in the dns-membership-service.yml: 1. For spec.port, is port mandatory? Or can it be any other number? I checked the source code for DNSMembershipService.java

Re: Tomcat 9.0.65 Clustering in Azure Kubernetes Service (AKS)

2022-08-14 Thread Thomas Meyer
Hi, Two remarks from my side: 1. CloudMembershipService is not so usable, and seems to originally target OpenShift. To make it work you need to create ServiceAccount and give read permission for listing all pods in namespace. This seems to be missing in your case. It also has some assumptions