Not sure where we’re going with this line of enquiry, but reducing log4j2 level 
to warn and hitting up the fake property via GET parameter as you suggested 
shows…

155201 [http-nio-8082-exec-9] WARN  
com.opensymphony.xwork2.util.AbstractLocalizedTextProvider [] - Missing key 
[devmode.notification] in bundle [my.domain.controller.package]!
155205 [http-nio-8082-exec-9] WARN  
com.opensymphony.xwork2.util.AbstractLocalizedTextProvider [] - Missing key 
[devmode.notification] in bundle [my.domain.package]!
155207 [http-nio-8082-exec-9] WARN  
com.opensymphony.xwork2.util.AbstractLocalizedTextProvider [] - Missing key 
[devmode.notification] in bundle [my.domain.controller.package]!
155207 [http-nio-8082-exec-9] WARN  
com.opensymphony.xwork2.util.AbstractLocalizedTextProvider [] - Missing key 
[devmode.notification] in bundle [my.domain.package]!
155207 [http-nio-8082-exec-9] WARN  
com.opensymphony.xwork2.util.AbstractLocalizedTextProvider [] - Missing key 
[devmode.notification] in bundle [my.domain.controller.package]!
155207 [http-nio-8082-exec-9] WARN  
com.opensymphony.xwork2.util.AbstractLocalizedTextProvider [] - Missing key 
[devmode.notification] in bundle [my.domain.package]!
155207 [http-nio-8082-exec-9] WARN  
com.opensymphony.xwork2.util.AbstractLocalizedTextProvider [] - Missing key 
[devmode.notification] in bundle [my.domain.controller.package]!
155207 [http-nio-8082-exec-9] WARN  
com.opensymphony.xwork2.util.AbstractLocalizedTextProvider [] - Missing key 
[devmode.notification] in bundle [my.domain.package]!
155210 [http-nio-8082-exec-9] ERROR 
com.opensymphony.xwork2.interceptor.ParametersInterceptor [] - Developer 
Notification (set struts.devMode to false to disable this message):
Unexpected Exception caught setting 'IDontExist' on 'class 
my.domain.controller.LoginAction: Error setting expression 'IDontExist' with 
value ['true', ]


Followed by the now-traditional NPE-based errors because the Container isn’t 
being set in the Action.

This is now running 2.3.12 Struts on 8.0.21 Tomcat.

Later,

Andy



> On 12 Sep 2017, at 10:43, Yasser Zamani <yasser.zam...@live.com> wrote:
> 
> No, "DEBUG" level is not interesting for me now. Also, as I saw, it 
> seems this specific message is not dependent to devMode value [1].
> 
> Could you please reduce your log4j2 root level to only log "WARN" ? so 
> it'll be less puffy and simpler to examine.
> 
> Then please check if devMode works, open 
> http://yourIp:yourPort/yourContextPath/oneOfYourAction?iDontExist=test 
> in your browser. while that one action does not have iDontExist 
> property, I think you should see a warning from ParametersInterceptor on 
> output.
> 
> [1] 
> https://github.com/apache/struts/blob/master/core/src/main/java/com/opensymphony/xwork2/util/AbstractLocalizedTextProvider.java#L266
> 
> On 9/12/2017 1:17 PM, LAW Andy wrote:
>> 
>>> On 11 Sep 2017, at 22:50, LAW Andy <andy....@roslin.ed.ac.uk> wrote:
>>> 
>>> 
>>>> 
>>>> Did you try "devmode=true" and then examining output for any warning?
>>> 
>>> 
>>> I did. And there’s nothing obvious.
>>> 
>> 
>> Scrub that - there is something coming up (I think I must have been looking 
>> at the wrong debug output last night).
>> 
>> 6727 [http-nio-8082-exec-5] DEBUG 
>> com.opensymphony.xwork2.util.AbstractLocalizedTextProvider [] - Base class 
>> org.apache.catalina.loader.WebappClassLoader doesn't contain 
>> 'resourceEntries' field, trying with parent!
>> java.lang.NoSuchFieldException: resourceEntries
>> 
>> 
>> OK. That gives me a start.
>> 
>> 
>> Later,
>> 
>> Andy
>> 
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


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

Reply via email to