Revision: 1474
          http://stripes.svn.sourceforge.net/stripes/?rev=1474&view=rev
Author:   bengunter
Date:     2012-02-17 04:50:52 +0000 (Fri, 17 Feb 2012)
Log Message:
-----------
Applied fix for STS-843 from 1.5.x branch

Modified Paths:
--------------
    
trunk/stripes/src/net/sourceforge/stripes/controller/DynamicMappingFilter.java

Property Changed:
----------------
    trunk/


Property changes on: trunk
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/1.5.x:1463-1464,1466,1468-1469,1471
   + /branches/1.5.x:1463-1464,1466,1468-1469,1471,1473

Modified: 
trunk/stripes/src/net/sourceforge/stripes/controller/DynamicMappingFilter.java
===================================================================
--- 
trunk/stripes/src/net/sourceforge/stripes/controller/DynamicMappingFilter.java  
    2012-02-17 04:47:49 UTC (rev 1473)
+++ 
trunk/stripes/src/net/sourceforge/stripes/controller/DynamicMappingFilter.java  
    2012-02-17 04:50:52 UTC (rev 1474)
@@ -467,6 +467,10 @@
     protected synchronized void initStripesFilter(HttpServletRequest request,
             HttpServletResponse response) throws ServletException {
         try {
+            // Check if another thread got into this method before the current 
thread
+            if (getStripesFilter() != null)
+                return;
+
             log.info("StripesFilter not initialized. Checking the situation in 
web.xml ...");
             Document document = parseWebXml();
             NodeList filterNodes = eval("/web-app/filter/filter-class[text()='"

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to