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(DefaultActionInvocation.java:174)


at com.opensymphony.xwork.PicoActionInvocation.createAction(PicoActionInvocation.java:50)

at com.opensymphony.xwork.DefaultActionInvocation.init(DefaultActionInvocation.java:220)

at com.opensymphony.xwork.DefaultActionInvocation.<init>(DefaultActionInvocation.java:63)

at com.opensymphony.xwork.DefaultActionInvocation.<init>(DefaultActionInvocation.java:56)

at com.opensymphony.xwork.PicoActionInvocation.<init>(PicoActionInvocation.java:25)

at com.opensymphony.xwork.PicoActionProxyFactory.createActionInvocation(PicoActionProxyFactory.java:29)

at com.opensymphony.xwork.DefaultActionProxy.prepare(DefaultActionProxy.java:134)

at com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.java:78)

at com.opensymphony.xwork.PicoActionProxyFactory.createActionProxy(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.internalDoFilter(ApplicationFilterChain.java:247)


at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

at com.opensymphony.webwork.lifecycle.PicoRequestLifecycleFilter.doFilter(PicoRequestLifecycleFilter.java:60)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.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_061203_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to