struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4416) LocalizedTextUtil should suppress exception with tomcat8
Date Mon, 29 Dec 2014 10:30:16 GMT

    [ https://issues.apache.org/jira/browse/WW-4416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14260011#comment-14260011
] 

Hudson commented on WW-4416:
----------------------------

SUCCESS: Integrated in Struts-JDK7-pull-request #21 (See [https://builds.apache.org/job/Struts-JDK7-pull-request/21/])
WW-4416 Adds support to clear cache under Tomcat 8 (lukaszlenart: rev a35c3ef4f6211268e04f4c167f14650c88505628)
* xwork-core/src/main/java/com/opensymphony/xwork2/util/LocalizedTextUtil.java


> LocalizedTextUtil should suppress exception with tomcat8
> --------------------------------------------------------
>
>                 Key: WW-4416
>                 URL: https://issues.apache.org/jira/browse/WW-4416
>             Project: Struts 2
>          Issue Type: Improvement
>            Reporter: zhouyanming
>            Assignee: Lukasz Lenart
>             Fix For: 2.3.21
>
>
> running struts2 with tomcat-8.0.14 will throw exception.
> {code:java}
> couldn't clear tomcat cache
> java.lang.NoSuchFieldException: resourceEntries
> 	at java.lang.Class.getDeclaredField(Class.java:1953)
> 	at com.opensymphony.xwork2.util.LocalizedTextUtil.clearMap(LocalizedTextUtil.java:859)
> 	at com.opensymphony.xwork2.util.LocalizedTextUtil.clearTomcatCache(LocalizedTextUtil.java:842)
> 	at com.opensymphony.xwork2.util.LocalizedTextUtil.reloadBundles(LocalizedTextUtil.java:821)
> 	at com.opensymphony.xwork2.util.LocalizedTextUtil.reloadBundles(LocalizedTextUtil.java:797)
> 	at com.opensymphony.xwork2.util.LocalizedTextUtil.findDefaultText(LocalizedTextUtil.java:214)
> 	at com.opensymphony.xwork2.util.LocalizedTextUtil.getDefaultMessage(LocalizedTextUtil.java:666)
> 	at com.opensymphony.xwork2.util.LocalizedTextUtil.findText(LocalizedTextUtil.java:542)
> 	at com.opensymphony.xwork2.util.LocalizedTextUtil.findText(LocalizedTextUtil.java:370)
> 	at com.opensymphony.xwork2.TextProviderSupport.getText(TextProviderSupport.java:208)
> 	at com.opensymphony.xwork2.TextProviderSupport.getText(TextProviderSupport.java:123)
> 	at com.opensymphony.xwork2.ActionSupport.getText(ActionSupport.java:103)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message