Re: [tools] Toolbox preventing session serialization

Claude Brisson <[email protected]> Thu, 06 Mar 2014 09:32:47 +0100
Newsgroups gmane.comp.jakarta.velocity.user
Message-ID <[email protected]>
The Toolbox itself is seralizable. But it's enough to have only one 
non-serializable object inside the toolbox. There should be more 
informations in the stack trace.

   Claude

On 06/03/2014 00:26, Christopher Schultz wrote:
> All,
>
> I don't believe this was happening to me in the past, but I'm starting
> to see a session key "org.apache.velocity.tools.Toolbox" that is not
> serializable in my sessions. This means that I can't maintain my session
> across a restart.
>
> The only recent change that I made was this in my web.xml:
>
> -      <param-name>org.apache.velocity.toolbox</param-name>
> +      <param-name>org.apache.velocity.tools</param-name>
>
> I don't have any session-scoped tools in my tools.xml file. Why am I
> getting a Toolbox in my session? Can I remove it?
>
> Thanks,
> -chris
>