cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Arbogast <>
Subject Re: NotSerializableException ?
Date Sat, 30 Apr 2005 16:14:19 GMT
> Upon container shutdown, Spring (or maybe the container itself) tries to
> be a good citizen and serialize the session to disk. Now there are some
> components/classes in flowscript that are not serializable, hence the
> session serialization fails and you get this stacktrace.

And your guess is good. I think my problem comes from a ServiceLocator
singleton I use to access my Spring services. It's not a class of my
own, it's automatically generated by AndroMDA and it has a shutdown()
method which releases resources. It should release that
NotSerializable transaction manager but the problem is how can I
automatically call this method after each request or at least just
before my application is shut down ?

Sebastien ARBOGAST

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message