Revision: 1473
http://stripes.svn.sourceforge.net/stripes/?rev=1473&view=rev
Author: bengunter
Date: 2012-02-17 04:47:49 +0000 (Fri, 17 Feb 2012)
Log Message:
-----------
Fixed STS-843: DynamicMappingFilter may create multiple instances of
StripesFilter
Modified Paths:
--------------
branches/1.5.x/stripes/src/net/sourceforge/stripes/controller/DynamicMappingFilter.java
Modified:
branches/1.5.x/stripes/src/net/sourceforge/stripes/controller/DynamicMappingFilter.java
===================================================================
---
branches/1.5.x/stripes/src/net/sourceforge/stripes/controller/DynamicMappingFilter.java
2012-02-10 05:22:47 UTC (rev 1472)
+++
branches/1.5.x/stripes/src/net/sourceforge/stripes/controller/DynamicMappingFilter.java
2012-02-17 04:47:49 UTC (rev 1473)
@@ -489,6 +489,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