Cannot find bean XXXForm in any scope
-------------------------------------
Key: STR-2857
URL: http://issues.apache.org/struts/browse/STR-2857
Project: Struts Action 1
Type: Bug
Components: Taglibs
Versions: 1.2.4
Environment: Internet explorer 6
Reporter: Raghava
We are getting 'Cannot find bean XXXXForm in any scope' exception on our
production server at least 6 times a day and we have no clue how to reproduce
the bug.
The exception is happening in JSP which is having following code.
-------------------------------------------------------------------------------------------------------------------------
<bean:write name="XXXXForm" property="XXXXValue" />
-------------------------------------------------------------------------------------------------------------------------
and action which is leading to this JSP in xxx-strust-config.xml is
-------------------------------------------------------------------------------------------------------------------------
<action path="/xxxAction" type="xxx"
name="XXXForm" scope="session">
<set-property property="useCase" value="XXXUseCase"/>
<forward name="xxx" path="/xxxx.jsp"/>
</action>
-------------------------------------------------------------------------------------------------------------------------
Exception is
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Caused by: javax.servlet.ServletException: Cannot find bean XXXForm in any scope
at
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
at
org.apache.jsp.oms.multiDownloadInitiator_jsp._jspService(multiDownloadInitiator_jsp.java:296)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at
com.conject.ng.webapp.common.faces.renderer.NGWidgetRenderer.processForward(NGWidgetRenderer.java:150)
-------------------------------------------------------------------------------------------------------------------------
As i said we tried to reproduce the bug to fix it but no luck
Thanks in advance.
Raghava
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira