Issue Details (XML | Word | Printable)

Key: GDS-361
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: William Draï
Reporter: Rafique Anwar
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
GraniteDS

SeamServiceContext serialization problem

Created: 19/Mar/09 09:55 AM   Updated: 25/Mar/09 12:07 PM   Resolved: 25/Mar/09 12:07 PM
Component/s: Seam services
Affects Version/s: None
Fix Version/s: 2.0.0_B1


 Description  « Hide
I am trying to use tomcat session persistence, it fails due to this:
{{{
Cannot serialize session attribute org.granite.tide.seam.serviceContext for session 2F7456979AB83CEF10E58BD66677FA6F
java.io.NotSerializableException: org.granite.logging.Log4jLogger
}}}

Can you please make the logger transient or static?

BTW, do we really need to store seam service context is session?

William Draï added a comment - 25/Mar/09 12:07 PM
It's already done in 2.0 b1.

It's necessary to serialize the SeamServiceContext because it contains a few things necessary to Tide, such as the list of remotely observed events.