I'm just trying this to see what will happen on the demo server. For now I get errors in the log that are not workable. Has it seems it helped BJ, I want to try and I don't want to put to much time in this.
No theory here, pragmatism. IT is not a sound theory anyway, we all know that, 
without tests we fail.
Anyway we may revert if someone see any problems with "/error:" added to the 
path, I can't see any.

Jacques

From: "Scott Gray" <scott.g...@hotwaxmedia.com>
Perhaps someone could explain to me why exactly this was necessary?

The ControlServlet has no problem whatsoever finding error pages and they do not have to be on the allowedPaths list for it to use them.

Did anyone look into it before taking BJ's hard-to-understand word for it? There may well be a valid reason to add this path to the allowedPaths list but the reason given by BJ is not it.

And finally, I am sick and tired of this "I have no idea what I'm doing but maybe it'll help and can't hurt" attitude. If you don't 100% know what you're doing then don't commit, end of story.

Thanks
Scott

On 13/06/2010, at 8:47 AM, jler...@apache.org wrote:

Author: jleroux
Date: Sat Jun 12 20:47:08 2010
New Revision: 954135

URL: http://svn.apache.org/viewvc?rev=954135&view=rev
Log:
A patch from BJ Freeman "complete web.xml for error reporting" 
(https://issues.apache.org/jira/browse/OFBIZ-3820) - OFBIZ-3820

BJ: when there is an error, the control servlet looks for an error path in 
<param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.

JLR: This will maybe help to better understand some errors on demo servers, and 
can't hurt

Modified:
   ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/web.xml
   ofbiz/trunk/applications/accounting/webapp/ap/WEB-INF/web.xml
   ofbiz/trunk/applications/accounting/webapp/ar/WEB-INF/web.xml
   ofbiz/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/web.xml
   ofbiz/trunk/applications/content/webapp/content/WEB-INF/web.xml
   ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/web.xml
   ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/web.xml
   ofbiz/trunk/applications/marketing/webapp/marketing/WEB-INF/web.xml
   ofbiz/trunk/applications/marketing/webapp/sfa/WEB-INF/web.xml
   ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/web.xml
   ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/web.xml
   ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/web.xml
   ofbiz/trunk/applications/product/webapp/facility/WEB-INF/web.xml
   ofbiz/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml
   ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/web.xml
   ofbiz/trunk/framework/bi/webapp/bi/WEB-INF/web.xml
   ofbiz/trunk/framework/example/webapp/birt/WEB-INF/web.xml
   ofbiz/trunk/framework/example/webapp/example/WEB-INF/web.xml
   ofbiz/trunk/framework/exampleext/webapp/exampleext/WEB-INF/web.xml
   ofbiz/trunk/framework/resources/templates/web.xml
   ofbiz/trunk/framework/testtools/webapp/testtools/WEB-INF/web.xml
   ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml
   ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/web.xml
   ofbiz/trunk/specialpurpose/assetmaint/webapp/ismgr/WEB-INF/web.xml
   ofbiz/trunk/specialpurpose/ebay/webapp/ebay/WEB-INF/web.xml
   ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/WEB-INF/web.xml
   ofbiz/trunk/specialpurpose/ecommerce/webapp/ecomclone/WEB-INF/web.xml
   ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml
   ofbiz/trunk/specialpurpose/googlebase/webapp/googlebase/WEB-INF/web.xml
   
ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/WEB-INF/web.xml
   ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/web.xml
   ofbiz/trunk/specialpurpose/myportal/webapp/myportal/WEB-INF/web.xml
   ofbiz/trunk/specialpurpose/oagis/webapp/oagis/WEB-INF/web.xml
   ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/WEB-INF/web.xml
   ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/web.xml
   ofbiz/trunk/specialpurpose/shark/webapp/shark/WEB-INF/web.xml
   ofbiz/trunk/specialpurpose/webpos/webapp/webpos/WEB-INF/web.xml

Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/web.xml 
(original)
+++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/web.xml Sat 
Jun 12 20:47:08 2010
@@ -65,7 +65,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/applications/accounting/webapp/ap/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/ap/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/ap/WEB-INF/web.xml (original)
+++ ofbiz/trunk/applications/accounting/webapp/ap/WEB-INF/web.xml Sat Jun 12 
20:47:08 2010
@@ -61,7 +61,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/applications/accounting/webapp/ar/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/ar/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/ar/WEB-INF/web.xml (original)
+++ ofbiz/trunk/applications/accounting/webapp/ar/WEB-INF/web.xml Sat Jun 12 
20:47:08 2010
@@ -65,7 +65,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/web.xml 
(original)
+++ ofbiz/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/web.xml Sat 
Jun 12 20:47:08 2010
@@ -65,7 +65,7 @@
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
-            
<param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/static:/js</param-value>
+ <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/static:/js</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/applications/content/webapp/content/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/webapp/content/WEB-INF/web.xml (original)
+++ ofbiz/trunk/applications/content/webapp/content/WEB-INF/web.xml Sat Jun 12 
20:47:08 2010
@@ -60,7 +60,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/web.xml (original)
+++ ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/web.xml Sat Jun 
12 20:47:08 2010
@@ -60,7 +60,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: 
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/web.xml 
(original)
+++ ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/web.xml 
Sat Jun 12 20:47:08 2010
@@ -59,7 +59,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/applications/marketing/webapp/marketing/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/webapp/marketing/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/webapp/marketing/WEB-INF/web.xml 
(original)
+++ ofbiz/trunk/applications/marketing/webapp/marketing/WEB-INF/web.xml Sat Jun 
12 20:47:08 2010
@@ -65,7 +65,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/applications/marketing/webapp/sfa/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/webapp/sfa/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/webapp/sfa/WEB-INF/web.xml (original)
+++ ofbiz/trunk/applications/marketing/webapp/sfa/WEB-INF/web.xml Sat Jun 12 
20:47:08 2010
@@ -60,7 +60,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/web.xml (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/web.xml Sat Jun 12 
20:47:08 2010
@@ -61,7 +61,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/products:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/products:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/web.xml (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/web.xml Sat Jun 12 
20:47:08 2010
@@ -65,7 +65,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
-            
<param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/static:/js</param-value>
+ <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/static:/js</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/web.xml (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/web.xml Sat Jun 12 
20:47:08 2010
@@ -60,7 +60,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/applications/product/webapp/facility/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/WEB-INF/web.xml (original)
+++ ofbiz/trunk/applications/product/webapp/facility/WEB-INF/web.xml Sat Jun 12 
20:47:08 2010
@@ -65,7 +65,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css:/ShippingAPI.dll</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css:/ShippingAPI.dll</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml (original)
+++ ofbiz/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml Sat Jun 12 
20:47:08 2010
@@ -54,7 +54,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/web.xml 
(original)
+++ ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/web.xml Sat 
Jun 12 20:47:08 2010
@@ -65,7 +65,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/framework/bi/webapp/bi/WEB-INF/web.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/bi/webapp/bi/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/framework/bi/webapp/bi/WEB-INF/web.xml (original)
+++ ofbiz/trunk/framework/bi/webapp/bi/WEB-INF/web.xml Sat Jun 12 20:47:08 2010
@@ -54,7 +54,7 @@
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/framework/example/webapp/birt/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/webapp/birt/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/webapp/birt/WEB-INF/web.xml (original)
+++ ofbiz/trunk/framework/example/webapp/birt/WEB-INF/web.xml Sat Jun 12 
20:47:08 2010
@@ -191,7 +191,7 @@ under the License.
        
<init-param><param-name>disableContextSecurity</param-name><param-value>N</param-value></init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css:/frameset:/run:/preview:/download:/parameter:/document:/output:/extract:/webcontent:/CancelTask.jsp</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css:/frameset:/run:/preview:/download:/parameter:/document:/output:/extract:/webcontent:/CancelTask.jsp</param-value>
        </init-param>
        
<init-param><param-name>errorCode</param-name><param-value>403</param-value></init-param>
        
<init-param><param-name>redirectPath</param-name><param-value>/control/main</param-value></init-param>

Modified: ofbiz/trunk/framework/example/webapp/example/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/webapp/example/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/webapp/example/WEB-INF/web.xml (original)
+++ ofbiz/trunk/framework/example/webapp/example/WEB-INF/web.xml Sat Jun 12 
20:47:08 2010
@@ -59,7 +59,7 @@ under the License.
        
<init-param><param-name>disableContextSecurity</param-name><param-value>N</param-value></init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        
<init-param><param-name>errorCode</param-name><param-value>403</param-value></init-param>
        
<init-param><param-name>redirectPath</param-name><param-value>/control/main</param-value></init-param>

Modified: ofbiz/trunk/framework/exampleext/webapp/exampleext/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/exampleext/webapp/exampleext/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/framework/exampleext/webapp/exampleext/WEB-INF/web.xml 
(original)
+++ ofbiz/trunk/framework/exampleext/webapp/exampleext/WEB-INF/web.xml Sat Jun 
12 20:47:08 2010
@@ -49,7 +49,7 @@ under the License.
        
<init-param><param-name>disableContextSecurity</param-name><param-value>N</param-value></init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        
<init-param><param-name>errorCode</param-name><param-value>403</param-value></init-param>
        
<init-param><param-name>redirectPath</param-name><param-value>/control/main</param-value></init-param>

Modified: ofbiz/trunk/framework/resources/templates/web.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/resources/templates/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/framework/resources/templates/web.xml (original)
+++ ofbiz/trunk/framework/resources/templates/web.xml Sat Jun 12 20:47:08 2010
@@ -39,7 +39,7 @@
        
<init-param><param-name>disableContextSecurity</param-name><param-value>N</param-value></init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        
<init-param><param-name>errorCode</param-name><param-value>403</param-value></init-param>
        
<init-param><param-name>redirectPath</param-name><param-value>/control/main</param-value></init-param>

Modified: ofbiz/trunk/framework/testtools/webapp/testtools/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/webapp/testtools/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/framework/testtools/webapp/testtools/WEB-INF/web.xml (original)
+++ ofbiz/trunk/framework/testtools/webapp/testtools/WEB-INF/web.xml Sat Jun 12 
20:47:08 2010
@@ -59,7 +59,7 @@
        
<init-param><param-name>disableContextSecurity</param-name><param-value>N</param-value></init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        
<init-param><param-name>errorCode</param-name><param-value>403</param-value></init-param>
        
<init-param><param-name>redirectPath</param-name><param-value>/control/main</param-value></init-param>

Modified: ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml Sat Jun 12 
20:47:08 2010
@@ -75,7 +75,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/applet:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/applet:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: 
ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/web.xml 
(original)
+++ ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/web.xml Sat 
Jun 12 20:47:08 2010
@@ -69,7 +69,7 @@
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/specialpurpose/assetmaint/webapp/ismgr/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/webapp/ismgr/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/webapp/ismgr/WEB-INF/web.xml 
(original)
+++ ofbiz/trunk/specialpurpose/assetmaint/webapp/ismgr/WEB-INF/web.xml Sat Jun 
12 20:47:08 2010
@@ -69,7 +69,7 @@
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/specialpurpose/ebay/webapp/ebay/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebay/webapp/ebay/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebay/webapp/ebay/WEB-INF/web.xml (original)
+++ ofbiz/trunk/specialpurpose/ebay/webapp/ebay/WEB-INF/web.xml Sat Jun 12 
20:47:08 2010
@@ -54,7 +54,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/WEB-INF/web.xml 
(original)
+++ ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/WEB-INF/web.xml Sat 
Jun 12 20:47:08 2010
@@ -54,7 +54,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecomclone/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecomclone/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecomclone/WEB-INF/web.xml 
(original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecomclone/WEB-INF/web.xml Sat 
Jun 12 20:47:08 2010
@@ -60,7 +60,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
-            
<param-value>/control:/products:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images</param-value>
+ <param-value>/error:/control:/products:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml 
(original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml Sat 
Jun 12 20:47:08 2010
@@ -68,7 +68,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
-            
<param-value>/control:/products:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images</param-value>
+ <param-value>/error:/control:/products:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: 
ofbiz/trunk/specialpurpose/googlebase/webapp/googlebase/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googlebase/webapp/googlebase/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/googlebase/webapp/googlebase/WEB-INF/web.xml 
(original)
+++ ofbiz/trunk/specialpurpose/googlebase/webapp/googlebase/WEB-INF/web.xml Sat 
Jun 12 20:47:08 2010
@@ -54,7 +54,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: 
ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- 
ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/WEB-INF/web.xml 
(original)
+++ 
ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/WEB-INF/web.xml 
Sat Jun 12 20:47:08 2010
@@ -64,7 +64,7 @@
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: 
ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/web.xml 
(original)
+++ ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/web.xml Sat 
Jun 12 20:47:08 2010
@@ -54,7 +54,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/specialpurpose/myportal/webapp/myportal/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/webapp/myportal/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/myportal/webapp/myportal/WEB-INF/web.xml 
(original)
+++ ofbiz/trunk/specialpurpose/myportal/webapp/myportal/WEB-INF/web.xml Sat Jun 
12 20:47:08 2010
@@ -54,7 +54,7 @@
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/specialpurpose/oagis/webapp/oagis/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/webapp/oagis/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/webapp/oagis/WEB-INF/web.xml (original)
+++ ofbiz/trunk/specialpurpose/oagis/webapp/oagis/WEB-INF/web.xml Sat Jun 12 
20:47:08 2010
@@ -54,7 +54,7 @@
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css:/js</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css:/js</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/WEB-INF/web.xml 
(original)
+++ ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/WEB-INF/web.xml Sat 
Jun 12 20:47:08 2010
@@ -60,7 +60,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
-            
<param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/script</param-value>
+            
<param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/script</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: 
ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/web.xml 
(original)
+++ ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/web.xml Sat 
Jun 12 20:47:08 2010
@@ -54,7 +54,7 @@
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css:/static:/js</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css:/static:/js</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/specialpurpose/shark/webapp/shark/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/shark/webapp/shark/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/shark/webapp/shark/WEB-INF/web.xml (original)
+++ ofbiz/trunk/specialpurpose/shark/webapp/shark/WEB-INF/web.xml Sat Jun 12 
20:47:08 2010
@@ -59,7 +59,7 @@ under the License.
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value> + <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>

Modified: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/WEB-INF/web.xml?rev=954135&r1=954134&r2=954135&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/WEB-INF/web.xml (original)
+++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/WEB-INF/web.xml Sat Jun 12 
20:47:08 2010
@@ -59,7 +59,7 @@
        </init-param>
        <init-param>
            <param-name>allowedPaths</param-name>
-            
<param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images</param-value>
+            
<param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images</param-value>
        </init-param>
        <init-param>
            <param-name>errorCode</param-name>





Reply via email to