Servlet Instances are not saved between restarts, but session data is!
I had a problem where I thought the servlet was not being recreated, but
it turned out that my data was stored in the user session.
-Aaron
Hancock, David (DHANCOCK) wrote:
>Do WebKit servlets ("normal" ones, not PSPs) get restored from cache when
>WebKit is restarted? I see the options for CacheServletClasses and
>CacheServletInstances, and I see directories under <workdir>/Cache for the
>various Kits. I also see an option to let PSPs survive across restarts.
>
>But do "normal" servlets in the cache survive a restart? If so, can that be
>turned off without turning off caching the servlets and classes prior to a
>restart?
>
>Please accept my apologies if this doesn't make sense; I'm trying to
>understand some weird behavior we just encountered: We made a config file
>change (external to Webware) and restarted WebKit (by stopping and
>starting). When we restarted, some of the servlets that should have read
>that config file and been changed (with a different domain name for running
>an external program) appeared NOT to have seen the change. That is, they
>continued using the old domain name.
>
>Thanks for any insights you can offer.
>
>Thanks, and
>Cheers!
>--
>David Hancock | dhancock@... | 410-266-4384
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Webware-discuss mailing list
>Webware-discuss@...
>https://lists.sourceforge.net/lists/listinfo/webware-discuss
>
>
|