On Feb 19, 2007, at 8:14 AM, Kamalanathan Raman wrote:
Hi,
We are using Geronimo 1.1.1. Our application uses struts.
Every action file will be invoke from a file called
“SecurityFilter.java” which implements Filter.
But in some of the instances action file is not invoked.
Including the logs when successfully invoking the action file and
when failed to invoke.
Log when action file is successfully invoked:
17:49:11,485 DEBUG [RequestProcessor] processForwardConfig
(ForwardConfig[name=success_add_org_EN,path=/73d113fd/admin/
createOrganization.do?
actionType=new_action,redirect=false,contextRelative=false])
17:49:11,485 DEBUG [RequestUtils] Get module name for path /
73d113fd/admin/createOrganization.do
17:49:11,485 DEBUG [RequestUtils] Module name found: default
17:49:11,485 DEBUG [RequestProcessor] Processing a 'GET' for path '/
73d113fd/admin/createOrganization'
17:49:11,485 DEBUG [RequestUtils] Looking for ActionForm bean
instance in scope 'request' under attribute key 'organizationForm'
17:49:11,485 DEBUG [RequestUtils] Creating new ActionForm instance
of type 'com.symcor.wiradmin.organization.web.forms.OrganizationForm'
17:49:11,485 DEBUG [RequestProcessor] Storing ActionForm bean
instance in scope 'request' under attribute key 'organizationForm'
17:49:11,485 DEBUG [RequestProcessor] Populating bean properties
from this request
17:49:11,485 DEBUG [RequestProcessor] Looking for Action instance
for class
com.symcor.wiradmin.organization.web.actions.CreateOrganizationAction
Log when action file is not invoked:
17:49:11,485 DEBUG [RequestProcessor] processForwardConfig
(ForwardConfig[name=success_EN,path=/WEB-INF/web/symcor/common/jsps/
admin/createOrganization.jsp,redirect=false,contextRelative=false])
17:50:12,238 DEBUG [RequestUtils] Get module name for path /
73d113fd/admin/createProfile.do
17:50:12,238 DEBUG [RequestUtils] Module name found: default
17:50:12,238 DEBUG [RequestProcessor] Processing a 'POST' for path
'/73d113fd/admin/createProfile'
17:50:12,238 DEBUG [RequestUtils] Looking for ActionForm bean
instance in scope 'request' under attribute key 'profileForm'
17:50:12,238 DEBUG [RequestUtils] Creating new ActionForm instance
of type 'com.symcor.wiradmin.organization.web.forms.ProfileForm'
17:50:12,238 DEBUG [RequestProcessor] Storing ActionForm bean
instance in scope 'request' under attribute key 'profileForm'
17:50:12,238 DEBUG [RequestProcessor] Populating bean properties
from this request
17:50:12,254 ERROR [SecurityFilter] doFilter(ServletRequest sreq,
ServletResponse sres,FilterChain chain)SecurityFilter.doFilter :
Exception
Seems that it is not able to get the action instance
CreateProfileAction.
Not able to figure out why its so. Any clues?
Hi Kamal,
Pretty hard to say from the information given. What is the exception
(with stacktrace) that SecurityFilter is receiving?
--kevan