Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3786

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

    Details

    • Flags:
      Important

      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

      	<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.

        Attachments

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              blackpearl76 Black Pearl
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: