users@glassfish.java.net

Disabling Session Persistence

From: <glassfish_at_javadesktop.org>
Date: Thu, 11 Dec 2008 08:47:26 PST

Version = Sun Java System Application Server Enterprise Edition 8.2 (build b30-p02)

Having the following in web.xml:

<session-config>
    <session-manager persistence-type="memory" />
</session-config>

Or having the following in domain.xml:

<web-container-availability availability-enabled="false" http-session-store-pool-name="jdbc/hastore" persistence-frequency="web-method" persistence-scope="session" persistence-store-health-check-enabled="false" persistence-type="memory" sso-failover-enabled="false"/>

Doesn't seem to work. When I shutdown either the server or the nodes while there's active session on it I get the following in server.log at shutdown:

Cannot serialize session attribute someBean for session 26e078c12f1ce2bc66233138e59f java.io.NotSerializableException

What am I missing?
[Message sent by forum member 'nthomassin' (nthomassin)]

http://forums.java.net/jive/thread.jspa?messageID=321273