|
RE: session persistence?: msg#00057java.enhydra.general
On St, 2002-10-16 at 09:50, Dragan Radakovic wrote: > 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). It does not work as you describe it. Even if I restart the application using the admin application it writes to log 2002.10.16 12:31:18: Enhydra,WARNING: Thread was not registered: Thread-14 and no session is preserved. > SessionManager.SessionHome.Mode = PAGE_TO_DISK > SessionManager.SessionHome.SaveOnRestart = true it also requires the PageThreshold to be set (even if it doesn't have any effect, as you say). > When Multiserver is shutdown propperly (from Admin application) all sessions > will be paged to disk This works, or rather would work, if it didn't throw "PagedSessionHome: failed to page out active and passive sessions. Caused by: java.io.NotSerializableException". But I guess that's my fault that my session object is not serializable. Does anybody here have an experience with using JSX in Enhydra? JSX is supposed to serialize anything... Petr
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: SOAP + DODS, Luís Fraga |
|---|---|
| Next by Date: | Re: session persistence?, Scott Dietrich |
| Previous by Thread: | RE: session persistence?, Dragan Radakovic |
| Next by Thread: | Re: session persistence?, Scott Dietrich |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |