I don't know if this helps but I used to get similar problems with Tomcat.
One of the items I was putting into the session wasn't Serializable. I fixed
that (just implemented the Serializable interface) and I haven't seen any
problems since on context reloading.


> -----Original Message-----
> From: Matt Ho [mailto:[EMAIL PROTECTED]
> Sent: Sunday, July 06, 2003 6:15 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] A Couple Observations
> 
> 
> Yeah, I saw this one as well when I was looking through the Tomcat 
> stuff.  The issue is that the IoC stuff assumes that the 
> sessionCreated 
> method of *SessionLifecycleListener will get called when a 
> new session 
> is started.  There are cases in Tomcat where this doesn't 
> happen.  I'll 
> put a fix in CVS for this evening and make sure to include Tomcat as 
> part of the build process.
> 
> M
> 
> Bjorn A wrote:
> > On Sat, 05 Jul 2003 23:27:40 -0700, Matt Ho <[EMAIL PROTECTED]> wrote:
> > 
> >>
> >> Anthony Eden wrote:
> >>
> >>> I just pulled down the current WebWork2 code from the CVS 
> and have a 
> >>> couple of observations:
> >>
> >>
> >> Whoops!  Some of these were my fault.  Thanks for catching them.
> >>
> >> I've gone ahead and fixed all the issues on your list that I could 
> >> reproduce and updated associated the unit test.  The 
> following listed 
> >> below I can't reproduce however:
> >>
> >>> 1.) The example application has several broken parts:
> >>>
> >>> - Example 1: Error executing action: Unknown action name: 
> >>> com.opensymphony.webwork.example.counter.SimpleCounter
> >>> - Example 2: Error executing action: Unknown action name: 
> >>> com.opensymphony.webwork.example.counter.SimpleCounter
> >>
> > Hi, Björn here.
> > Ny first post here!
> > I keep getting the same error, not all the time thou ...
> > I have a working application.
> > The mentioned error occures when i:
> > Execute action in webbrowser (view: velocity) WORKING
> > Change an action (recompile)
> > Tomcat reloads the context (auto)
> > I reload the webbrowser. NOT WORKING
> > 
> > It does NOT occure however, when i:
> > Execute action in webbrowser (view: velocity) WORKING
> > Change an action (recompile)
> > Tomcat reloads the context (auto)
> > Close the browser
> > I reopen the browser, and execute the action. WORKING
> > 
> > Worth mentioning:
> > All these actions use a ww2 component in the session scope.
> > I use windows xp, tomcat 4.1.24, latest ww2 and xwork, 
> opera 7 and ie 6
> > 
> > Log-messages when error occurs:
> > java.lang.IllegalArgumentException: Unknown action name: 
> > com.limepark.ww2.test.TestAction
> >     at 
> > 
> com.opensymphony.xwork.DefaultActionInvocation.createAction(De
> faultActionInvocation.java:174) 
> > 
> >     at 
> > 
> com.opensymphony.xwork.PicoActionInvocation.createAction(PicoA
> ctionInvocation.java:50) 
> > 
> >     at 
> > 
> com.opensymphony.xwork.DefaultActionInvocation.init(DefaultAct
> ionInvocation.java:220) 
> > 
> >     at 
> > 
> com.opensymphony.xwork.DefaultActionInvocation.<init>(DefaultA
> ctionInvocation.java:63) 
> > 
> >     at 
> > 
> com.opensymphony.xwork.DefaultActionInvocation.<init>(DefaultA
> ctionInvocation.java:56) 
> > 
> >     at 
> > 
> com.opensymphony.xwork.PicoActionInvocation.<init>(PicoActionI
> nvocation.java:25) 
> > 
> >     at 
> > 
> com.opensymphony.xwork.PicoActionProxyFactory.createActionInvo
> cation(PicoActionProxyFactory.java:29) 
> > 
> >     at 
> > 
> com.opensymphony.xwork.DefaultActionProxy.prepare(DefaultActio
> nProxy.java:134) 
> > 
> >     at 
> > 
> com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultAction
> Proxy.java:78) 
> > 
> >     at 
> > 
> com.opensymphony.xwork.PicoActionProxyFactory.createActionProx
> y(PicoActionProxyFactory.java:40) 
> > 
> >     at 
> > 
> com.opensymphony.webwork.dispatcher.ServletDispatcher.service(
> ServletDispatcher.java:162) 
> > 
> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >     at 
> > 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(ApplicationFilterChain.java:247) 
> > 
> >     at 
> > 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterChain.java:193) 
> > 
> >     at 
> > 
> com.opensymphony.webwork.lifecycle.PicoRequestLifecycleFilter.
> doFilter(PicoRequestLifecycleFilter.java:60) 
> > 
> >     at 
> > 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(ApplicationFilterChain.java:213) 
> > 
> >     at 
> > 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterChain.java:193) 
> > 
> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_06
> 1203_01/01
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to