You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2012/12/09 19:05:21 UTC
[jira] [Updated] (WW-3786) StrutsPrepareAndExecuteFilter.doFilter()
- Takes up to 60 seconds for certain cases
[ https://issues.apache.org/jira/browse/WW-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart updated WW-3786:
------------------------------
Description:
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
{code: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>
{code}
Let me know if you all need any more information to help me out on this.
Thanks,
BP.
was:
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.
> 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
> Labels: StrutsPrepareAndExecuteFilter, struts,, struts2,
> Fix For: 2.3.8
>
> Attachments: ASF.LICENSE.NOT.GRANTED--screenshot-web trasaction trace.jpg
>
>
> 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
> {code: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>
> {code}
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira