Re: [Actionframework-users] bug: request components and changed action config
Status: Inactive
Brought to you by:
ptoman
From: Petr T. <Pet...@pi...> - 2002-09-24 16:01:45
|
> If I turn on reloadActionConfig and if I have "request" level > components, then I get this when I change the action config file and > reload a page: > > java.lang.IllegalStateException: Cannot get component with "request" > persistence from non-servlet thread > > A fix would be to either copy over more state (such as > threadSessions) between the two, or to modify the existing runtime > instance instead of replacing it. I'm thinking of another solution... Try to replace line 345 in ActionServlet: runtime.destroy(); with destroySession(); runtime.destroy(); prepareSession(request); and tell me if it works, please :) Petr -- [ http://dione.zcu.cz/~toman40 - Pet...@pi... - ICQ=22957959 ] |