logo       

RE: session persistence?: msg#00055

java.enhydra.general

Subject: RE: session persistence?

When use
SessionManager.MemoryPersistence = true
sessions are held into memory while JVM is running (i.e. when you restart
Multiserver, you also restart JVM).
This option is usefull when you stop/start Enhydra application in Admin
application (without shutdown Multiserver).

If you wish to save sessions during restart of Multiserver, you must use
options:
SessionManager.SessionHome.Mode = PAGE_TO_DISK
SessionManager.SessionHome.SaveOnRestart = true

with SessionManager.MemoryPersistence = false,
because when is true, above options are ignored.

When Multiserver is shutdown propperly (from Admin application) all sessions
will be paged to disk
(SessionManager force all sessions to be paged when is shutdown propperly,
however parameter SessionManager.SessionHome.PageTimeThreshold doesn't have
effect in this case).

Dragan

Toogether Belgrade

-----Original Message-----
From: enhydra-admin@xxxxxxxxxxx [mailto:enhydra-admin@xxxxxxxxxxx]On Behalf
Of Petr Stehlik
Sent: 15. oktobar 2002 15:25
To: enhydra@xxxxxxxxxxx
Subject: Re: Enhydra: session persistence?


On Út, 2002-10-15 at 14:03, Petr Stehlik wrote:
> SessionManager.MemoryPersistence = true
>
> But somehow it's not enough.

To be more specific: I tried both the MemoryPersistence and also the
SessionHome.SaveOnRestart but everytime I restart the multiserver I see
in the log:

2002.10.15 15:12:06: Enhydra,WARNING: Thread was not registered:
Thread-8

And then all sessions are lost and each user must log in again.

What am I doing wrong?

Petr



_______________________________________________
Enhydra mailing list
Enhydra@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/enhydra


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise