Re: STRUTS_EXAMPLES_1_1_0

2025-03-03 Thread Greg Huber
OK thanks, https://struts.apache.org/ links at the top seem broken?  Could not find the releases page? btw for STRUTS_EXAMPLES_1_1_0 in the pom should it be java 17?   UTF-8 17 17     6.3.0.2     2.23.1 9.4.46.v20220331 true     2.14.1 2.14.1     On 03/03/2025 09:46, Lukasz Lenar

Re: STRUTS_EXAMPLES_1_1_0

2025-03-03 Thread Ing. Andrea Vettori
Hello, I created https://issues.apache.org/jira/browse/WW-5537. Thank you! > On 3 Mar 2025, at 10:47, Lukasz Lenart wrote: > > Andrea, would you mind creating a JIRA ticket targeting Struts 6 and > describing the problem? > > pt., 28 lut 2025 o 21:51 Ing. Andrea vettori > napisał(a): >> >> W

Re: STRUTS_EXAMPLES_1_1_0

2025-03-03 Thread Lukasz Lenart
Andrea, would you mind creating a JIRA ticket targeting Struts 6 and describing the problem? pt., 28 lut 2025 o 21:51 Ing. Andrea vettori napisał(a): > > We have a few web apps on each server (and a few servers) with a load > balancer in front of everything. It’s a convenience to be able to hot

Re: STRUTS_EXAMPLES_1_1_0

2025-03-03 Thread Lukasz Lenart
pt., 28 lut 2025 o 12:28 Greg Huber napisał(a): > > | https://github.com/apache/struts-examples/tree/STRUTS_EXAMPLES_1_1_0 > > Thanks, missed it, and its not oblivious using the branch name. Maybe a > note somewhere on the landing page? I created a Github Release out of the tag and added a note t

Re: STRUTS_EXAMPLES_1_1_0

2025-02-28 Thread Ing. Andrea vettori
We have a few web apps on each server (and a few servers) with a load balancer in front of everything. It’s a convenience to be able to hot deploy an app without turning the entire server off. With the amount of classes that leak we get oom on metaspace very frequently. — Ing. Andrea Vettori Si

Re: STRUTS_EXAMPLES_1_1_0

2025-02-28 Thread Greg Huber
As a matter of interest why would you be repeatedly redeploying your app in production if you are not using it? On 28/02/2025 15:14, Ing. Andrea Vettori wrote: Do I have to open a bug report or is this thread sufficient such that someone with look into it ? Thank you for your help on this issu

Re: STRUTS_EXAMPLES_1_1_0

2025-02-28 Thread Ing. Andrea Vettori
Do I have to open a bug report or is this thread sufficient such that someone with look into it ? Thank you for your help on this issue > On 28 Feb 2025, at 16:09, Greg Huber wrote: > > Confirming, the leak is present on v6 struts an on jdk 8,11 and 17. > > At last we can reproduce the pro

Re: STRUTS_EXAMPLES_1_1_0

2025-02-28 Thread Greg Huber
Confirming, the leak is present on v6 struts an on jdk 8,11 and 17. At last we can reproduce the problem easily. The following web applications were stopped (reloaded, undeployed), but their classes from previous runs are still loaded in memory, thus causing a memory leak (use a profiler t

Re: STRUTS_EXAMPLES_1_1_0

2025-02-28 Thread Ing. Andrea Vettori
I didn’t touch that setting. If I check a class file from the war I find it has target 17 (version 61) javap -verbose HelloWorldAction.class Compiled from "HelloWorldAction.java" public class org.apache.struts.helloworld.action.HelloWorldAction extends com.opensymphony.xwork2.ActionSupport m

Re: STRUTS_EXAMPLES_1_1_0

2025-02-28 Thread Greg Huber
|It seems to me that you’ve compiled struts example war with one jdk and are running tomcat with a different one? |I did everything with the same jdk version, to be precise it is  The parent has: 17 17 6.3.0.2 If I change this to 1.8, and test, (on  8,11,17) I do get the leak when undeploying

Re: STRUTS_EXAMPLES_1_1_0

2025-02-28 Thread Ing. Andrea Vettori
It seems to me that you’ve compiled struts example war with one jdk and are running tomcat with a different one? I did everything with the same jdk version, to be precise it is openjdk version "17.0.14" 2025-01-21 OpenJDK Runtime Environment Temurin-17.0.14+7 (build 17.0.14+7) OpenJDK 64-Bit Ser