users@glassfish.java.net

Is persistence-type="file" for webapp working?

From: <glassfish_at_javadesktop.org>
Date: Fri, 25 May 2007 05:18:45 PDT

Is this feature working in glassfish V2?

I try to use it in my web-app, here is my sun-web.xml:

<sun-web-app>
        <context-root>/KE</context-root>
        <session-config>
                <session-manager persistence-type="file">
                        <manager-properties>
                                <property name="persistenceFrequency" value="web-method"/>
                        </manager-properties>
                        <store-properties>
                                <property name="persistenceScope" value="session"/>
                                <property name="directory" value="testsession" />
                        </store-properties>
                </session-manager>
        </session-config>

</sun-web-app>


But nothing happens. Directory domain1/session-store is empty. There is no error messages in server.log.

What could be wrong?
Thank you.
[Message sent by forum member 'hazurek' (hazurek)]

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