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

2024-04-22 Thread Lukasz Lenart
pon., 22 kwi 2024 o 22:40 Tellis, Wyatt
 napisał(a):
> We’ve run into this issue as well.  Using the workaround of specifying the 
> location via:
>
> 
>  
> org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
>  /WEB-INF/tiles.xml
> 
>
> doesn’t work.

You can specify all the files you are using by separating them by comma:
/WEB-INF/tiles1.xml,/WEB-INF/tiles2.xml,/WEB-INF/tiles3.xml


Regards
Lukasz

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



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

2024-04-22 Thread Tellis, Wyatt
We’ve run into this issue as well.  Using the workaround of specifying the 
location via:



 
org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
 /WEB-INF/tiles.xml


doesn’t work.

Wyatt



From: SARAVANAN SIVAGURU 
Sent: Monday, April 22, 2024 7:23 AM
To: Struts Users Mailing List 
Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

Also the very recent change which got merged with 7. 0. 0-M3 SNAPSHOT version 
had break the code and gave the same error as I mentioned below. Thanks and 
Regards, Saravanan. S FTMS/NFT APP-DEV Team Mob: - +91 9715644123. This e-mail 
may contain
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
Also the very recent change which got merged with 7.0.0-M3 SNAPSHOT version had 
break the code and gave the same error as I mentioned below.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:c0bdd50f-9ec9-4522-950c-c5ad452041b6]
This e-mail may contain confidential information. If you have received this 
e-mail in error, please notify the sender and then immediately delete it from 
your system. This email and the contents of an attachment to this e-mail may 
contain software viruses which could damage your own computer system. Although 
Nielsen has taken reasonable precautions to minimize this risk, it cannot 
accept liability for any damage you may sustain as a result of software viruses

From: SARAVANAN SIVAGURU 
mailto:saravanan.sivag...@nielseniq.com>>
Sent: Monday, April 22, 2024 7:11 PM
To: Struts Users Mailing List 
mailto:user@struts.apache.org>>
Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

Hi Luk

I have tested by cloning the PR and building in my local and facing the same 
issue as below mentioned.
When I tried with 6.4.0 version also am facing the same issue.

Exception
javax.servlet.ServletException: Filter execution threw an exception
  
com.acnielsen.gbs.prd.authentication.GbsAuthenticationFilter.doFilter(GbsAuthenticationFilter.java:86)
Root Cause
java.lang.NoSuchMethodError: 'org.apache.commons.lang3.Range 
org.apache.commons.lang3.Range.of(java.lang.Comparable, java.lang.Comparable)'
  
org.apache.commons.text.translate.NumericEntityEscaper.(NumericEntityEscaper.java:97)
  
org.apache.commons.text.translate.NumericEntityEscaper.between(NumericEntityEscaper.java:59)
  
org.apache.commons.text.StringEscapeUtils.(StringEscapeUtils.java:270)
  
com.opensymphony.xwork2.DefaultActionProxy.(DefaultActionProxy.java:87)
  
org.apache.struts2.factory.StrutsActionProxy.(StrutsActionProxy.java:34)
  
org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:30)
  
com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:60)
  
org.apache.struts2.dispatcher.Dispatcher.createActionProxy(Dispatcher.java:745)
  
org.apache.struts2.dispatcher.Dispatcher.prepareActionProxy(Dispatcher.java:731)
  
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:694)
  
org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:79)
  
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.handleRequest(StrutsPrepareAndExecuteFilter.java:157)
  
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.tryHandleRequest(StrutsPrepareAndExecuteFilter.java:140)
  
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:128)
  
com.acnielsen.gbs.prd.authentication.GbsAuthenticationFilter.doFilter(GbsAuthenticationFilter.java:86)

Am unable to proceed the request further and test the fix. It would be really 
grateful if you could provide any hint on fixing the issue. I have tried fixing 
the issue from morning by doing different approach
Have seen a archive email for the same issue - 
https://www.mail-archive.com/user@commons.apache.org/msg12862.html

I tried the resolution mentioned in the email, but that doesn't work for me.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:6042b1f8-1c1e-4078-b161-fcfc9c7c9df1]
This e-mail may contain confidential information. If you have received this 
e-mail in error, please notify the sender and then immediately delete it from 
your system. This email and the contents of an attachment to this e-mail may 
contain software viruses which could damage your own computer system. Although 
Nielsen has taken reasonable precautions to minimize this risk, it cannot 
accept liability for any damage you may sustain as a result of softwa

RE: Struts2 6.4.0 - Announcements 2024

2024-04-22 Thread Brunstein, David
Thank you Luckasz!

https://struts.apache.org/announce-2024.html


Please update the link under the Home > Announcements option.

Thanks (again),
Davo


From: Lukasz Lenart 
Sent: Monday, April 22, 2024 12:46 PM
To: Brunstein, David 
Cc: Struts Users Mailing List 
Subject: Re: Struts2 6.4.0 - Announcements 2024

Hi David, pon. , 22 kwi 2024 o 19: 42 Brunstein, David  napisał(a): > > Hi Lukasz, > > Are you planning to publish a new 
Announcements 2024 for the new Struts2 version 6. 4. 0? > The curent page 
https: //urldefense. com/v3/__https: //struts. apache. org/announce-2023. 
html__;!!IqQd2s6KUyvHwNLtrw!s5lqv5rBQAYPNiIt8lfep5Sxo8n50fMNSLZVwdrkT6jw21kVME3BwAClogCzdhe9w8L1zgHrGIE9Z0iMlg5HJx96cUREgCs$


Hi David,



pon., 22 kwi 2024 o 19:42 Brunstein, David 
mailto:david.brunst...@gov.mb.ca>>

napisał(a):

>

> Hi Lukasz,

>

> Are you planning to publish a new Announcements 2024 for the new Struts2 
> version 6.4.0?

> The curent page 
> https://urldefense.com/v3/__https://struts.apache.org/announce-2023.html__;!!IqQd2s6KUyvHwNLtrw!s5lqv5rBQAYPNiIt8lfep5Sxo8n50fMNSLZVwdrkT6jw21kVME3BwAClogCzdhe9w8L1zgHrGIE9Z0iMlg5HJx96cUREgCs$



Yes, this was already announced



https://urldefense.com/v3/__https://lists.apache.org/list.html?announcements@struts.apache.org__;!!IqQd2s6KUyvHwNLtrw!s5lqv5rBQAYPNiIt8lfep5Sxo8n50fMNSLZVwdrkT6jw21kVME3BwAClogCzdhe9w8L1zgHrGIE9Z0iMlg5HJx96W3Cj5gI$

https://urldefense.com/v3/__https://struts.apache.org/announce-2024*a20240419__;Iw!!IqQd2s6KUyvHwNLtrw!s5lqv5rBQAYPNiIt8lfep5Sxo8n50fMNSLZVwdrkT6jw21kVME3BwAClogCzdhe9w8L1zgHrGIE9Z0iMlg5HJx96jcGO8so$



Cheers

Lukasz



PS. Please subscribe to the User Mailing List

https://urldefense.com/v3/__https://struts.apache.org/mail.html__;!!IqQd2s6KUyvHwNLtrw!s5lqv5rBQAYPNiIt8lfep5Sxo8n50fMNSLZVwdrkT6jw21kVME3BwAClogCzdhe9w8L1zgHrGIE9Z0iMlg5HJx96KTyXKEg$


Re: Struts2 6.4.0 - Announcements 2024

2024-04-22 Thread Lukasz Lenart
Great, fixed!
https://github.com/apache/struts-site/pull/237

pon., 22 kwi 2024 o 19:51 Brunstein, David 
napisał(a):
>
> Thank you Luckasz!
>
>
>
> https://struts.apache.org/announce-2024.html
>
>
>
>
>
> Please update the link under the Home > Announcements option.
>
>
>
> Thanks (again),
>
> Davo
>
>
>
>
>
> From: Lukasz Lenart 
> Sent: Monday, April 22, 2024 12:46 PM
> To: Brunstein, David 
> Cc: Struts Users Mailing List 
> Subject: Re: Struts2 6.4.0 - Announcements 2024
>
>
>
> Hi David, pon. , 22 kwi 2024 o 19: 42 Brunstein, David  gov. mb. ca> napisał(a): > > Hi Lukasz, > > Are you planning to publish a new 
> Announcements 2024 for the new Struts2 version 6. 4. 0? > The curent page 
> https: //urldefense. com/v3/__https: //struts. apache. org/announce-2023. 
> html__;!!IqQd2s6KUyvHwNLtrw!s5lqv5rBQAYPNiIt8lfep5Sxo8n50fMNSLZVwdrkT6jw21kVME3BwAClogCzdhe9w8L1zgHrGIE9Z0iMlg5HJx96cUREgCs$
>
> Hi David,
>
>
>
> pon., 22 kwi 2024 o 19:42 Brunstein, David 
>
> napisał(a):
>
> >
>
> > Hi Lukasz,
>
> >
>
> > Are you planning to publish a new Announcements 2024 for the new Struts2 
> > version 6.4.0?
>
> > The curent page 
> > https://urldefense.com/v3/__https://struts.apache.org/announce-2023.html__;!!IqQd2s6KUyvHwNLtrw!s5lqv5rBQAYPNiIt8lfep5Sxo8n50fMNSLZVwdrkT6jw21kVME3BwAClogCzdhe9w8L1zgHrGIE9Z0iMlg5HJx96cUREgCs$
>
>
>
> Yes, this was already announced
>
>
>
> https://urldefense.com/v3/__https://lists.apache.org/list.html?announcements@struts.apache.org__;!!IqQd2s6KUyvHwNLtrw!s5lqv5rBQAYPNiIt8lfep5Sxo8n50fMNSLZVwdrkT6jw21kVME3BwAClogCzdhe9w8L1zgHrGIE9Z0iMlg5HJx96W3Cj5gI$
>
> https://urldefense.com/v3/__https://struts.apache.org/announce-2024*a20240419__;Iw!!IqQd2s6KUyvHwNLtrw!s5lqv5rBQAYPNiIt8lfep5Sxo8n50fMNSLZVwdrkT6jw21kVME3BwAClogCzdhe9w8L1zgHrGIE9Z0iMlg5HJx96jcGO8so$
>
>
>
> Cheers
>
> Lukasz
>
>
>
> PS. Please subscribe to the User Mailing List
>
>

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



Re: Struts2 6.4.0 - Announcements 2024

2024-04-22 Thread Lukasz Lenart
Hi David,

pon., 22 kwi 2024 o 19:42 Brunstein, David 
napisał(a):
>
> Hi Lukasz,
>
> Are you planning to publish a new Announcements 2024 for the new Struts2 
> version 6.4.0?
> The curent page https://struts.apache.org/announce-2023.html

Yes, this was already announced

https://lists.apache.org/list.html?announceme...@struts.apache.org
https://struts.apache.org/announce-2024#a20240419

Cheers
Lukasz

PS. Please subscribe to the User Mailing List
https://struts.apache.org/mail.html

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



Struts2 6.4.0 - Announcements 2024

2024-04-22 Thread Brunstein, David
Hi Lukasz,

Are you planning to publish a new Announcements 2024 for the new Struts2 
version 6.4.0?
The curent page https://struts.apache.org/announce-2023.html

Thanks,
Davo






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

2024-04-22 Thread Lukasz Lenart
Could you run "gradle dependencies" and post the outcome?


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

2024-04-22 Thread SARAVANAN SIVAGURU
Also the very recent change which got merged with 7.0.0-M3 SNAPSHOT version had 
break the code and gave the same error as I mentioned below.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:c0bdd50f-9ec9-4522-950c-c5ad452041b6]
This e-mail may contain confidential information. If you have received this 
e-mail in error, please notify the sender and then immediately delete it from 
your system. This email and the contents of an attachment to this e-mail may 
contain software viruses which could damage your own computer system. Although 
Nielsen has taken reasonable precautions to minimize this risk, it cannot 
accept liability for any damage you may sustain as a result of software viruses

From: SARAVANAN SIVAGURU 
Sent: Monday, April 22, 2024 7:11 PM
To: Struts Users Mailing List 
Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

Hi Luk

I have tested by cloning the PR and building in my local and facing the same 
issue as below mentioned.
When I tried with 6.4.0 version also am facing the same issue.

Exception
javax.servlet.ServletException: Filter execution threw an exception
  
com.acnielsen.gbs.prd.authentication.GbsAuthenticationFilter.doFilter(GbsAuthenticationFilter.java:86)
Root Cause
java.lang.NoSuchMethodError: 'org.apache.commons.lang3.Range 
org.apache.commons.lang3.Range.of(java.lang.Comparable, java.lang.Comparable)'
  
org.apache.commons.text.translate.NumericEntityEscaper.(NumericEntityEscaper.java:97)
  
org.apache.commons.text.translate.NumericEntityEscaper.between(NumericEntityEscaper.java:59)
  
org.apache.commons.text.StringEscapeUtils.(StringEscapeUtils.java:270)
  
com.opensymphony.xwork2.DefaultActionProxy.(DefaultActionProxy.java:87)
  
org.apache.struts2.factory.StrutsActionProxy.(StrutsActionProxy.java:34)
  
org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:30)
  
com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:60)
  
org.apache.struts2.dispatcher.Dispatcher.createActionProxy(Dispatcher.java:745)
  
org.apache.struts2.dispatcher.Dispatcher.prepareActionProxy(Dispatcher.java:731)
  
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:694)
  
org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:79)
  
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.handleRequest(StrutsPrepareAndExecuteFilter.java:157)
  
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.tryHandleRequest(StrutsPrepareAndExecuteFilter.java:140)
  
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:128)
  
com.acnielsen.gbs.prd.authentication.GbsAuthenticationFilter.doFilter(GbsAuthenticationFilter.java:86)

Am unable to proceed the request further and test the fix. It would be really 
grateful if you could provide any hint on fixing the issue. I have tried fixing 
the issue from morning by doing different approach
Have seen a archive email for the same issue - 
https://www.mail-archive.com/user@commons.apache.org/msg12862.html

I tried the resolution mentioned in the email, but that doesn't work for me.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:6042b1f8-1c1e-4078-b161-fcfc9c7c9df1]
This e-mail may contain confidential information. If you have received this 
e-mail in error, please notify the sender and then immediately delete it from 
your system. This email and the contents of an attachment to this e-mail may 
contain software viruses which could damage your own computer system. Although 
Nielsen has taken reasonable precautions to minimize this risk, it cannot 
accept liability for any damage you may sustain as a result of software viruses

From: SARAVANAN SIVAGURU 
Sent: Monday, April 22, 2024 3:06 PM
To: Struts Users Mailing List 
Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

Got it, I will test the PR specifically by cloning in local.

Any idea on below issue? When I test with the 7.0.0-M4 version am not facing 
issue somehow am facing in 6.5-SNAPSHOT version.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:b5ded316-c7c5-479c-994d-1be0dca7cbf0]
This e-mail may contain confidential information. If you have received this 
e-mail in error, please notify the sender and then immediately delete it from 
your system. This email and the contents of an attachment to this e-mail may 
contain software viruses which could damage your own computer system. Although 
Nielsen has taken reasonable precautions to minimize this risk, it cannot 
accept liability for any damage you may sustain as a result of software viruses

From: Lukasz Lenart 
Sent: Monday,

Re: Struts 6.4.0: is there a Tiles breaking change?

2024-04-22 Thread Matias Rodriguez
thanks; in advance, the workaround exposed here
 fixes the issue:

 
 
org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG

/WEB-INF/tiles.xml



El lun, 22 abr 2024 a la(s) 10:31 a.m., Lukasz Lenart (
lukaszlen...@apache.org) escribió:

> pon., 22 kwi 2024 o 15:16 Matias Rodriguez
>  napisał(a):
> >
> > hi! I'm getting an exception when moving from version *6.3.0.2*; should
> we
> > add some annotations or something? thanks!
>
> > Struts has detected an unhandled exception:
> > *Messages*:
> > - Cannot find definition named 'indexServidor'
>
> It's probably related to this issue
> https://issues.apache.org/jira/browse/WW-5419
>
> You can find a fix here and if you can please test it :)
> https://github.com/apache/struts/pull/920
>
>
> Cheers
> Lukasz
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


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

2024-04-22 Thread SARAVANAN SIVAGURU
Hi Luk

I have tested by cloning the PR and building in my local and facing the same 
issue as below mentioned.
When I tried with 6.4.0 version also am facing the same issue.

Exception
javax.servlet.ServletException: Filter execution threw an exception
  
com.acnielsen.gbs.prd.authentication.GbsAuthenticationFilter.doFilter(GbsAuthenticationFilter.java:86)
Root Cause
java.lang.NoSuchMethodError: 'org.apache.commons.lang3.Range 
org.apache.commons.lang3.Range.of(java.lang.Comparable, java.lang.Comparable)'
  
org.apache.commons.text.translate.NumericEntityEscaper.(NumericEntityEscaper.java:97)
  
org.apache.commons.text.translate.NumericEntityEscaper.between(NumericEntityEscaper.java:59)
  
org.apache.commons.text.StringEscapeUtils.(StringEscapeUtils.java:270)
  
com.opensymphony.xwork2.DefaultActionProxy.(DefaultActionProxy.java:87)
  
org.apache.struts2.factory.StrutsActionProxy.(StrutsActionProxy.java:34)
  
org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:30)
  
com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:60)
  
org.apache.struts2.dispatcher.Dispatcher.createActionProxy(Dispatcher.java:745)
  
org.apache.struts2.dispatcher.Dispatcher.prepareActionProxy(Dispatcher.java:731)
  
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:694)
  
org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:79)
  
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.handleRequest(StrutsPrepareAndExecuteFilter.java:157)
  
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.tryHandleRequest(StrutsPrepareAndExecuteFilter.java:140)
  
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:128)
  
com.acnielsen.gbs.prd.authentication.GbsAuthenticationFilter.doFilter(GbsAuthenticationFilter.java:86)

Am unable to proceed the request further and test the fix. It would be really 
grateful if you could provide any hint on fixing the issue. I have tried fixing 
the issue from morning by doing different approach
Have seen a archive email for the same issue - 
https://www.mail-archive.com/user@commons.apache.org/msg12862.html

I tried the resolution mentioned in the email, but that doesn't work for me.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:6042b1f8-1c1e-4078-b161-fcfc9c7c9df1]
This e-mail may contain confidential information. If you have received this 
e-mail in error, please notify the sender and then immediately delete it from 
your system. This email and the contents of an attachment to this e-mail may 
contain software viruses which could damage your own computer system. Although 
Nielsen has taken reasonable precautions to minimize this risk, it cannot 
accept liability for any damage you may sustain as a result of software viruses

From: SARAVANAN SIVAGURU 
Sent: Monday, April 22, 2024 3:06 PM
To: Struts Users Mailing List 
Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

Got it, I will test the PR specifically by cloning in local.

Any idea on below issue? When I test with the 7.0.0-M4 version am not facing 
issue somehow am facing in 6.5-SNAPSHOT version.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:b5ded316-c7c5-479c-994d-1be0dca7cbf0]
This e-mail may contain confidential information. If you have received this 
e-mail in error, please notify the sender and then immediately delete it from 
your system. This email and the contents of an attachment to this e-mail may 
contain software viruses which could damage your own computer system. Although 
Nielsen has taken reasonable precautions to minimize this risk, it cannot 
accept liability for any damage you may sustain as a result of software viruses

From: Lukasz Lenart 
Sent: Monday, April 22, 2024 3:03 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.


This fix wasn't integrated with the SNAPSHOT version yet - it exists
only in the PR, if you want to test it you must clone the PR locally
and build it.

pon., 22 kwi 2024 o 11:08 SARAVANAN SIVAGURU
 napisał(a):
>
> Hi Luk
>
> Faced any issues during the testing of the fix with 6.5-SNAPSHOT version like 
> below,
>
> java.lang.NoSuchMethodError: 'org.apache.commons.lang3.Range 
> org.apache.commons.lang3.Range.of(java.lang.Comparable, java.lang.Comparable)'
> org.apache.commons.text.translate.NumericEntityEscaper.(NumericEntityEscaper.java:97)
> org.apache.commons.text.translate.NumericEntityEscaper.between(NumericEntityEscape

Re: Struts 6.4.0: is there a Tiles breaking change?

2024-04-22 Thread Lukasz Lenart
pon., 22 kwi 2024 o 15:16 Matias Rodriguez
 napisał(a):
>
> hi! I'm getting an exception when moving from version *6.3.0.2*; should we
> add some annotations or something? thanks!

> Struts has detected an unhandled exception:
> *Messages*:
> - Cannot find definition named 'indexServidor'

It's probably related to this issue
https://issues.apache.org/jira/browse/WW-5419

You can find a fix here and if you can please test it :)
https://github.com/apache/struts/pull/920


Cheers
Lukasz

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



Struts 6.4.0: is there a Tiles breaking change?

2024-04-22 Thread Matias Rodriguez
hi! I'm getting an exception when moving from version *6.3.0.2*; should we
add some annotations or something? thanks!

*struts.xml extract:*






indexServidor



*exception:*
Struts Problem Report

Struts has detected an unhandled exception:
*Messages*:
- Cannot find definition named 'indexServidor'
*File*: org/apache/tiles/core/impl/mgmt/CachingTilesContainer.java
*Line number*: 108
--
Stacktraces
*org.apache.tiles.core.definition.NoSuchDefinitionException: Cannot find
definition named 'indexServidor'*


org.apache.tiles.core.impl.mgmt.CachingTilesContainer.render(CachingTilesContainer.java:108)
org.apache.struts2.views.tiles.TilesResult.doExecute(TilesResult.java:140)

org.apache.struts2.result.StrutsResultSupport.execute(StrutsResultSupport.java:206)

com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:377)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:284)

com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:179)

com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)

org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:49)

com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.doIntercept(ConversionErrorInterceptor.java:143)

com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

org.apache.struts2.interceptor.parameter.ParametersInterceptor.doIntercept(ParametersInterceptor.java:204)

com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

org.apache.struts2.interceptor.parameter.ParametersInterceptor.doIntercept(ParametersInterceptor.java:204)

com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:202)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

org.apache.struts2.interceptor.ActionFileUploadInterceptor.intercept(ActionFileUploadInterceptor.java:142)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:200)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:101)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:161)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:175)

com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)

com.

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

2024-04-22 Thread SARAVANAN SIVAGURU
Got it, I will test the PR specifically by cloning in local.

Any idea on below issue? When I test with the 7.0.0-M4 version am not facing 
issue somehow am facing in 6.5-SNAPSHOT version.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:b5ded316-c7c5-479c-994d-1be0dca7cbf0]
This e-mail may contain confidential information. If you have received this 
e-mail in error, please notify the sender and then immediately delete it from 
your system. This email and the contents of an attachment to this e-mail may 
contain software viruses which could damage your own computer system. Although 
Nielsen has taken reasonable precautions to minimize this risk, it cannot 
accept liability for any damage you may sustain as a result of software viruses

From: Lukasz Lenart 
Sent: Monday, April 22, 2024 3:03 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.


This fix wasn't integrated with the SNAPSHOT version yet - it exists
only in the PR, if you want to test it you must clone the PR locally
and build it.

pon., 22 kwi 2024 o 11:08 SARAVANAN SIVAGURU
 napisał(a):
>
> Hi Luk
>
> Faced any issues during the testing of the fix with 6.5-SNAPSHOT version like 
> below,
>
> java.lang.NoSuchMethodError: 'org.apache.commons.lang3.Range 
> org.apache.commons.lang3.Range.of(java.lang.Comparable, java.lang.Comparable)'
> org.apache.commons.text.translate.NumericEntityEscaper.(NumericEntityEscaper.java:97)
> org.apache.commons.text.translate.NumericEntityEscaper.between(NumericEntityEscaper.java:59)
> org.apache.commons.text.StringEscapeUtils.(StringEscapeUtils.java:271)
> com.opensymphony.xwork2.DefaultActionProxy.(DefaultActionProxy.java:87)
> org.apache.struts2.factory.StrutsActionProxy.(StrutsActionProxy.java:34)
> org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:30)
> com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:60)
> org.apache.struts2.dispatcher.Dispatcher.createActionProxy(Dispatcher.java:781)
> org.apache.struts2.dispatcher.Dispatcher.prepareActionProxy(Dispatcher.java:767)
> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:730)
> org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:79)
> org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.handleRequest(StrutsPrepareAndExecuteFilter.java:163)
> org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.tryHandleRequest(StrutsPrepareAndExecuteFilter.java:146)
> org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:134)
> com.acnielsen.gbs.prd.authentication.GbsAuthenticationFilter.doFilter(GbsAuthenticationFilter.java:86)

Not sure why do you get this, I would clean the workspace first

Did you specify the SNAPSHOT repository? SNAPSHOT versions are not
available in the Maven Central so you must provide additional settings
https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstruts.apache.org%2Fbuilds.html%23test-builds&data=05%7C02%7CSARAVANAN.SIVAGURU%40nielseniq.com%7Cf4758df9fa6940bc2ee908dc62af4973%7C6ac7a1f45fb14153bb4f12d2020a1f7d%7C0%7C0%7C638493752192129396%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=p6wvJ%2BWR4OVrPgevgrUbD9qGXmoMV%2BRe6tvMUN9HfRs%3D&reserved=0

Cheers
Lukasz

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



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

2024-04-22 Thread Lukasz Lenart
This fix wasn't integrated with the SNAPSHOT version yet - it exists
only in the PR, if you want to test it you must clone the PR locally
and build it.

pon., 22 kwi 2024 o 11:08 SARAVANAN SIVAGURU
 napisał(a):
>
> Hi Luk
>
> Faced any issues during the testing of the fix with 6.5-SNAPSHOT version like 
> below,
>
> java.lang.NoSuchMethodError: 'org.apache.commons.lang3.Range 
> org.apache.commons.lang3.Range.of(java.lang.Comparable, java.lang.Comparable)'
> org.apache.commons.text.translate.NumericEntityEscaper.(NumericEntityEscaper.java:97)
> org.apache.commons.text.translate.NumericEntityEscaper.between(NumericEntityEscaper.java:59)
> org.apache.commons.text.StringEscapeUtils.(StringEscapeUtils.java:271)
> com.opensymphony.xwork2.DefaultActionProxy.(DefaultActionProxy.java:87)
> org.apache.struts2.factory.StrutsActionProxy.(StrutsActionProxy.java:34)
> org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:30)
> com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:60)
> org.apache.struts2.dispatcher.Dispatcher.createActionProxy(Dispatcher.java:781)
> org.apache.struts2.dispatcher.Dispatcher.prepareActionProxy(Dispatcher.java:767)
> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:730)
> org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:79)
> org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.handleRequest(StrutsPrepareAndExecuteFilter.java:163)
> org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.tryHandleRequest(StrutsPrepareAndExecuteFilter.java:146)
> org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:134)
> com.acnielsen.gbs.prd.authentication.GbsAuthenticationFilter.doFilter(GbsAuthenticationFilter.java:86)

Not sure why do you get this, I would clean the workspace first

Did you specify the SNAPSHOT repository? SNAPSHOT versions are not
available in the Maven Central so you must provide additional settings
https://struts.apache.org/builds.html#test-builds

Cheers
Lukasz

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



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

2024-04-22 Thread SARAVANAN SIVAGURU
Hi Luk

Faced any issues during the testing of the fix with 6.5-SNAPSHOT version like 
below,

java.lang.NoSuchMethodError: 'org.apache.commons.lang3.Range 
org.apache.commons.lang3.Range.of(java.lang.Comparable, java.lang.Comparable)'

org.apache.commons.text.translate.NumericEntityEscaper.(NumericEntityEscaper.java:97)

org.apache.commons.text.translate.NumericEntityEscaper.between(NumericEntityEscaper.java:59)

org.apache.commons.text.StringEscapeUtils.(StringEscapeUtils.java:271)

com.opensymphony.xwork2.DefaultActionProxy.(DefaultActionProxy.java:87)

org.apache.struts2.factory.StrutsActionProxy.(StrutsActionProxy.java:34)

org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:30)

com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:60)

org.apache.struts2.dispatcher.Dispatcher.createActionProxy(Dispatcher.java:781)

org.apache.struts2.dispatcher.Dispatcher.prepareActionProxy(Dispatcher.java:767)

org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:730)

org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:79)

org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.handleRequest(StrutsPrepareAndExecuteFilter.java:163)

org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.tryHandleRequest(StrutsPrepareAndExecuteFilter.java:146)

org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:134)

com.acnielsen.gbs.prd.authentication.GbsAuthenticationFilter.doFilter(GbsAuthenticationFilter.java:86)

I have attached the web.xml and the build gradle files for your reference.
I have the following dependencies as a part of my build gradle which is same as 
the version used on the struts - 6.5
api("org.apache.commons:commons-lang3:3.14.0")
api("org.apache.commons:commons-text:1.11.0")

Please do let me know if you have any questions.

Thanks and Regards,
Saravanan.S
<>

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