Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-25 Thread Łukasz Lenart
You can try to downgrade commons-text to version 1.10.0 as then it
uses commons-lang3 3.12.0

https://central.sonatype.com/artifact/org.apache.commons/commons-text/1.10.0/dependencies


czw., 25 kwi 2024 o 13:13 SARAVANAN SIVAGURU
 napisał(a):
>
> Hi Luk
>
> I found the issue, the below email helps me to narrow down the issue - 
> https://lists.apache.org/thread/jswvr9ls6kxqncp2b0423tby1orvqgsg
>
> The dependency version which we used on the PR branch(feature/WW-5420-text), 
> 6.4.0 and 6.5.0-SNAPSHOT version has  commons-lang3 version as 3.14.0. 
> Whereas the latest Apache TomEE 8.x container has the version commons-lang3 - 
> 3.12.0.
> (Please find the attachment for more details)
>
> As the container libs has highest precendence when compared to the 
> application to load, we have a issue and getting the error as below,
> java.lang.NoClassDefFoundError: org/apache/commons/lang3/Range
>
> In order to run the application with Struts 6.4.0 and 6.5.0-SNAPSHOT we 
> should align the dependencies with same as the container library version.
> If there is any way to instruct the precedence of the library to the 
> application higher than the container please do let me know if now I doubt 
> this will work on the Apache TomEE web server of version 8.x
>
> I believe it is best to have the version same as the container one, please 
> review my comments and do let me know your thoughts on the same.
>
> Thanks and Regards,
> Saravanan.S
> FTMS/NFT APP-DEV Team
> 
> From: SARAVANAN SIVAGURU 
> Sent: Thursday, April 25, 2024 12:20 PM
> To: Struts Users Mailing List 
> Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | 
> Testing
>
> Hi Luk
>
> Thank you, let me check by taking the PR in my local and keep you posted.
>
> Thanks and Regards,
> Saravanan.S
> 
> From: Lukasz Lenart 
> Sent: Thursday, April 25, 2024 11:56 AM
> To: Struts Users Mailing List 
> Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | 
> Testing
>
> CAUTION: This email originated from outside of the organization. Do not click 
> links or open attachments unless you recognize the sender and know the 
> content is safe.
>
>
> I upgraded commons-text to ver 1.12.0
> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fstruts%2Fpull%2F924&data=05%7C02%7CSARAVANAN.SIVAGURU%40nielseniq.com%7C1aaf7a56d77745bc537108dc64f0bd53%7C6ac7a1f45fb14153bb4f12d2020a1f7d%7C0%7C0%7C638496232335496749%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=HAoWZZIb2ts2PQyWu90jd6IHh4cGrVLKoSRZHXcR2Tw%3D&reserved=0
>
> śr., 24 kwi 2024 o 15:27 SARAVANAN SIVAGURU
>  napisał(a):
> >
> > Hi Luk
> >
> > Even for 6.4 version am facing the issue irrespective of changing the 
> > dependency version or not on common-text.
> >
> > Thanks and Regards,
> > Saravanan.S
> > 
> > From: SARAVANAN SIVAGURU 
> > Sent: Tuesday, April 23, 2024 6:45 PM
> > To: Struts Users Mailing List 
> > Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | 
> > Testing
> >
> > Hi Luk
> >
> > Please find the attachment for the 6.5 version dependency.
> >
> > Thanks and Regards,
> > Saravanan.S
> > 
> > From: SARAVANAN SIVAGURU 
> > Sent: Tuesday, April 23, 2024 2:31 PM
> > To: Struts Users Mailing List 
> > Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | 
> > Testing
> >
> > CAUTION: This email originated from outside of the organization. Do not 
> > click links or open attachments unless you recognize the sender and know 
> > the content is safe.
> >
> >
> > Sure, I will do
> >
> > Thanks and Regards,
> > Saravanan.S
> > 
> > From: Lukasz Lenart 
> > Sent: Tuesday, April 23, 2024 2:29 PM
> > To: Struts Users Mailing List 
> > Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | 
> > Testing
> >
> > CAUTION: This email originated from outside of the organization. Do not 
> > click links or open attachments unless you recognize the sender and know 
> > the content is safe.
> >
> >
> > wt., 23 kwi 2024 o 10:54 SARAVANAN SIVAGURU
> >  napisał(a):
> >
> > > Hi Luk
> > >
> > > Somehow I was unable to share the report files as a attachment in html
> > > format. Am attaching the text file, output of the gradle dependencies
> > > command for the my application.
> > >
> >
> > This is for Struts 6.4.0, but could you use Struts 6.5.0-SNAPSHOT and
> > re-post the dependencies?
> >
> >
> > Thanks in advance
> > Lukasz
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional command

Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-25 Thread SARAVANAN SIVAGURU
Hi Luk

I found the issue, the below email helps me to narrow down the issue - 
https://lists.apache.org/thread/jswvr9ls6kxqncp2b0423tby1orvqgsg

The dependency version which we used on the PR branch(feature/WW-5420-text), 
6.4.0 and 6.5.0-SNAPSHOT version has  commons-lang3 version as 3.14.0. Whereas 
the latest Apache TomEE 8.x container has the version commons-lang3 - 3.12.0.
(Please find the attachment for more details)

As the container libs has highest precendence when compared to the application 
to load, we have a issue and getting the error as below,
java.lang.NoClassDefFoundError: org/apache/commons/lang3/Range

In order to run the application with Struts 6.4.0 and 6.5.0-SNAPSHOT we should 
align the dependencies with same as the container library version.
If there is any way to instruct the precedence of the library to the 
application higher than the container please do let me know if now I doubt this 
will work on the Apache TomEE web server of version 8.x

I believe it is best to have the version same as the container one, please 
review my comments and do let me know your thoughts on the same.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team

From: SARAVANAN SIVAGURU 
Sent: Thursday, April 25, 2024 12:20 PM
To: Struts Users Mailing List 
Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

Hi Luk

Thank you, let me check by taking the PR in my local and keep you posted.

Thanks and Regards,
Saravanan.S

From: Lukasz Lenart 
Sent: Thursday, April 25, 2024 11:56 AM
To: Struts Users Mailing List 
Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


I upgraded commons-text to ver 1.12.0
https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fstruts%2Fpull%2F924&data=05%7C02%7CSARAVANAN.SIVAGURU%40nielseniq.com%7C1aaf7a56d77745bc537108dc64f0bd53%7C6ac7a1f45fb14153bb4f12d2020a1f7d%7C0%7C0%7C638496232335496749%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=HAoWZZIb2ts2PQyWu90jd6IHh4cGrVLKoSRZHXcR2Tw%3D&reserved=0

śr., 24 kwi 2024 o 15:27 SARAVANAN SIVAGURU
 napisał(a):
>
> Hi Luk
>
> Even for 6.4 version am facing the issue irrespective of changing the 
> dependency version or not on common-text.
>
> Thanks and Regards,
> Saravanan.S
> 
> From: SARAVANAN SIVAGURU 
> Sent: Tuesday, April 23, 2024 6:45 PM
> To: Struts Users Mailing List 
> Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | 
> Testing
>
> Hi Luk
>
> Please find the attachment for the 6.5 version dependency.
>
> Thanks and Regards,
> Saravanan.S
> 
> From: SARAVANAN SIVAGURU 
> Sent: Tuesday, April 23, 2024 2:31 PM
> To: Struts Users Mailing List 
> Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | 
> Testing
>
> CAUTION: This email originated from outside of the organization. Do not click 
> links or open attachments unless you recognize the sender and know the 
> content is safe.
>
>
> Sure, I will do
>
> Thanks and Regards,
> Saravanan.S
> 
> From: Lukasz Lenart 
> Sent: Tuesday, April 23, 2024 2:29 PM
> To: Struts Users Mailing List 
> Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | 
> Testing
>
> CAUTION: This email originated from outside of the organization. Do not click 
> links or open attachments unless you recognize the sender and know the 
> content is safe.
>
>
> wt., 23 kwi 2024 o 10:54 SARAVANAN SIVAGURU
>  napisał(a):
>
> > Hi Luk
> >
> > Somehow I was unable to share the report files as a attachment in html
> > format. Am attaching the text file, output of the gradle dependencies
> > command for the my application.
> >
>
> This is for Struts 6.4.0, but could you use Struts 6.5.0-SNAPSHOT and
> re-post the dependencies?
>
>
> Thanks in advance
> Lukasz

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org