You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2006/12/08 05:28:57 UTC

[jira] Commented: (WW-1546) Spring plugin and HttpSession serialization

    [ http://issues.apache.org/struts/browse/WW-1546?page=comments#action_39032 ] 
            
Don Brown commented on WW-1546:
-------------------------------

If you don't want to see this exception, use a custom interceptor static that doesn't include the debugging interceptor.  The debugging interceptor stores a bunch of objects in the session to support the ajax-enabled debug console.  If you turn devMode off, you won't see this exception.

> Spring plugin and HttpSession serialization
> -------------------------------------------
>
>                 Key: WW-1546
>                 URL: http://issues.apache.org/struts/browse/WW-1546
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugins
>    Affects Versions: 2.0.2
>         Environment: Java 5 rev 10, tomcat 5.5.20, windows server 2003
>            Reporter: Dariusz Wojtas
>            Priority: Minor
>         Attachments: spring_plugin_serialization.txt
>
>
> [stacktrace in the attached file - it comes from stdout in tomcat/log]
> Using Struts 2.0.2 snapshot build from SVN (last weekend)
> My struts.properties:
> ------------------
> struts.devMode=true
> struts.enable.DynamicMethodInvocation=false
> struts.action.extension=action
> # http://cwiki.apache.org/WW/spring.html
> struts.objectFactory=spring
> struts.objectFactory.spring.autoWire=name
> ------------------
> I am using actions with setters for some of my Spring services.
> This lets Spring to inject them into my actions. Works perfectly.
> I do not store anything in the session scope, this is just a simple test app.
> For me it looks like some property/properties are not marked as transient.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira