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

Hudson commented on WW-4873:
----------------------------

SUCCESS: Integrated in Jenkins build Struts-master-JDK7 #74 (See 
[https://builds.apache.org/job/Struts-master-JDK7/74/])
WW-4873 Makes ActionInvocation not serializable (yasserzamani: rev 
4738d1d80228f86da880ed207294349566a260a2)
* (edit) 
plugins/dwr/src/main/java/org/apache/struts2/validators/DWRValidator.java
* (edit) core/src/main/java/com/opensymphony/xwork2/ActionInvocation.java
* (edit) 
plugins/sitemesh/src/main/java/org/apache/struts2/sitemesh/OldDecorator2NewStrutsDecorator.java
* (edit) 
plugins/rest/src/main/java/org/apache/struts2/rest/RestActionInvocation.java
* (edit) core/src/main/java/org/apache/struts2/util/InvocationSessionStore.java
* (edit) 
core/src/test/java/com/opensymphony/xwork2/spring/interceptor/TestActionInvocation.java
* (edit) 
plugins/json/src/test/java/org/apache/struts2/json/JSONInterceptorTest.java
* (edit) core/src/main/java/com/opensymphony/xwork2/DefaultActionInvocation.java
* (edit) 
core/src/main/java/com/opensymphony/xwork2/mock/MockActionInvocation.java
* (edit) 
core/src/test/java/com/opensymphony/xwork2/DefaultActionInvocationTest.java
WW-4873 Makes InvocationSessionStore$InvocationContext transient (yasserzamani: 
rev 2941416a1832393a25a9bb823f5763fc7851da23)
* (edit) core/src/main/java/org/apache/struts2/util/InvocationSessionStore.java
* (edit) 
core/src/test/java/org/apache/struts2/util/InvocationSessionStoreTest.java


> NotSerializableException - org.apache.struts2.dispatcher.StrutsRequestWrapper
> -----------------------------------------------------------------------------
>
>                 Key: WW-4873
>                 URL: https://issues.apache.org/jira/browse/WW-4873
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.5.13
>            Reporter: Michael Hum
>            Assignee: Yasser Zamani
>             Fix For: 2.5.15
>
>
> We are attempting to test session replication on our websphere servers but 
> run into the given error when websphere tries to serialize the session. 
> {code}
> [10/18/17 10:33:38:094 EDT] 00000335 WASSession    E MTMBuffWrapper getBytes 
> write object exception. e= java.io.NotSerializableException: 
> org.apache.struts2.dispatcher.StrutsRequestWrapper
> {code}
> It appears the ActionInvocation stores the ActionContext which stores the 
> offending property: com.opensymphony.xwork2.dispatcher.HttpServletRequest --> 
> StrutsRequestWrapper 
> After a little digging we narrowed it down to our use of the 
> TokenSessionStoreInterceptor which stores the value in the session and uses 
> it to redirect the failed request to the original one. Is this 
> intended/expected? Or is there no requirement that the contents in the 
> session be serializable - in which case we would have to look to our own 
> solution.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to