struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J C <jcyh24...@yahoo.ca.INVALID>
Subject Re: Struts 2.5.21 test build is ready
Date Fri, 08 Nov 2019 01:01:59 GMT
(Sorry about the separate thread for reply)

Hello Markus.

If you have expressions in your application longer than the default limit in 2.5.21 (200),
that may be causing the exception (and hopefully also the WARN output).

Please try applying a configuration change for your application (replace 1024 with whatever
is the largest expression length you need for your application):

(if using struts.properties) -
struts.ognl.expressionMaxLength=1024

(if using struts.xml) -
<constant name="sstruts.ognl.expressionMaxLength" value="1024" />

and see if that resolves the failure ?

Please reply to the dev list to let us know if that helps or not.

Thanks,

James.

> It is reported in WARN level:
>
> WARN com.opensymphony.xwork2.ognl.OgnlValueStack - Could not evaluate
> this expression due to security constraints:
>
> Markus
>
>> Am 07.11.19 um 23:12 schrieb info@flyingfischer.ch:
>> See new errors like this:
>>
>> Caused by: java.lang.SecurityException: This expression exceeded maximum
>> allowed length:..
>>
>> followed by a longer OGNL expression in JSP.
>>
>> Markus
>>
>>> Am 07.11.19 um 20:57 schrieb Lukasz Lenart:
>>> Hi,
>>>
>>> Please take a time and test the bits - any help is appreciated. Please
>>> report any problems. I'll call for a vote in a few days if no problems
>>> will be spotted.
>>>
>>> Staging Maven repo
>>> https://repository.apache.org/content/groups/staging/
>>> Standalone artifacts
>>> https://dist.apache.org/repos/dist/dev/struts/2.5.21/
>>>
>>> Release notes
>>> https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.21
>>>
>>>
>>> Kind regards
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message