webwork 框架下 apache + 6个weblogic集群,出现找不到action的错误

09-04-03 claram
操作系统:Microsoft Windows Server 2003 Enterprise x64 Edition service pack 2

web服务器:apache + weblogic9.2,apache集群6个weblogic

web框架:webwork2.1.7

数据库服务器:oracle10.2.0.1.0

在用户操作集中的时段系统日志记录的错误如下:

2009-04-03 08:42:05,614 [[ACTIVE] ExecuteThread: '98' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR com.opensymphony.webwork.dispatcher.ServletDispatcher - Could not find action

com.opensymphony.xwork.config.ConfigurationException: There is no Action mapped for action name dirreview1

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

at com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:45)

at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:270)

at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:237)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)

at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)

at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)

at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)

at com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:67)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3212)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)

at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)

at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)

at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

系统中根本没有这个action(dirreview1),系统中有(dirReview1),r是大写的。系统虽然报错但仍能正常运行,本人找不出错误原因,希望各位高手给予帮助。

[该贴被admin于2009-04-03 11:48修改过]

freebox
2009-04-03 14:49
这不是说dirReview1本身配置不对,可能原因是其它地方引用了dirreview1,而它找不到这个配置。例如其它某些action有chain或redirect到dirreview1的配置,但是找不到。建议使用editplus等进行目录检索,找出所有对dirreview1的引用并检查。

猜你喜欢