Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EA209200D48 for ; Wed, 29 Nov 2017 07:39:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E8995160C04; Wed, 29 Nov 2017 06:39:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3B20D160BF6 for ; Wed, 29 Nov 2017 07:39:06 +0100 (CET) Received: (qmail 42832 invoked by uid 500); 29 Nov 2017 06:39:05 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 42822 invoked by uid 99); 29 Nov 2017 06:39:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Nov 2017 06:39:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D87E8C0D4D for ; Wed, 29 Nov 2017 06:39:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.011 X-Spam-Level: X-Spam-Status: No, score=-99.011 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KB_WAM_FROM_NAME_SINGLEWORD=0.2, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id fhvJLo9EjHbC for ; Wed, 29 Nov 2017 06:39:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id ED50B5F46D for ; Wed, 29 Nov 2017 06:39:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 25460E2598 for ; Wed, 29 Nov 2017 06:39:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 8ADFC21057 for ; Wed, 29 Nov 2017 06:39:00 +0000 (UTC) Date: Wed, 29 Nov 2017 06:39:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4873) NotSerializableException - org.apache.struts2.dispatcher.StrutsRequestWrapper MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 29 Nov 2017 06:39:07 -0000 [ https://issues.apache.org/jira/browse/WW-4873?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1627025= 2#comment-16270252 ]=20 ASF GitHub Bot commented on WW-4873: ------------------------------------ yasserzamani opened a new pull request #188: WW-4873 Removes request and re= sponse from DefaultActionInvocation whe=E2=80=A6 URL: https://github.com/apache/struts/pull/188 =20 =20 =E2=80=A6n serializes ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. =20 For queries about this service, please contact Infrastructure at: users@infra.apache.org > NotSerializableException - org.apache.struts2.dispatcher.StrutsRequestWra= pper > -------------------------------------------------------------------------= ---- > > 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.x > > > We are attempting to test session replication on our websphere servers bu= t run into the given error when websphere tries to serialize the session.= =20 > {code} > [10/18/17 10:33:38:094 EDT] 00000335 WASSession E MTMBuffWrapper getBy= tes write object exception. e=3D java.io.NotSerializableException: org.apac= he.struts2.dispatcher.StrutsRequestWrapper > {code} > It appears the ActionInvocation stores the ActionContext which stores the= offending property: com.opensymphony.xwork2.dispatcher.HttpServletRequest = --> StrutsRequestWrapper=20 > After a little digging we narrowed it down to our use of the TokenSession= StoreInterceptor which stores the value in the session and uses it to redir= ect the failed request to the original one. Is this intended/expected? Or i= s there no requirement that the contents in the session be serializable - i= n which case we would have to look to our own solution. -- This message was sent by Atlassian JIRA (v6.4.14#64029)