StrutsPrepareAndExecuteFilter.doFilter() - Takes up to 60 seconds for certain 
cases
-----------------------------------------------------------------------------------

                 Key: WW-3786
                 URL: https://issues.apache.org/jira/browse/WW-3786
             Project: Struts 2
          Issue Type: Bug
          Components: Dispatch Filter
    Affects Versions: 2.1.8
         Environment: RHEL + Tomcat with Struts 2.1.8 and Spring 3.x
            Reporter: Black Pearl


Hi Struts Team...

We use New Relic - a software which kinds of breaks down every web transaction. 
While monitoring the transactions taking longest time, we came across multiple 
actions with a single issue where 99% of the time is attributed to this filter 
call.

Here is how we have configured the web.xml
...
        <filter>
                <filter-name>struts</filter-name>
                
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
                 <init-param>
                <param-name>disableActionScanning</param-name>
                <param-value>true</param-value>         
        </init-param>
        <init-param>
                <param-name>actionPackages</param-name>
                <param-value>com.xxx.application.webapp.*</param-value>
        </init-param>
        </filter>
        <filter-mapping>
                <filter-name>struts</filter-name>
                <url-pattern>/*</url-pattern>
        </filter-mapping>
...

Let me know if you all need any more information to help me out on this.

Thanks,
BP.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to