Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034653Openbravo ERPA. Platformpublic2016-11-30 10:242016-12-16 18:39
0034653: non existing url request displays axis services
When Openbravo is deployed in Tomcat>=7 and an invalid URL path is requested, default axis page is served.

This is caused by this fix [1][2] in Tomcat that serves welcome pages if there's a mapping for them even they are not backed by a physical file. Openbravo defines in the generated web.xml, index.jws as a welcome page and *.jws urls are mapped to be served by org.apache.axis.transport.http.AxisServlet which displays this page.

[1] [^]
[2] [^]
1. Request any invalid URL ending with /. Ie.: [^]
  -> ERROR: Axis services page is served (see attached image)
     EXPECTED: Error 404 (not found) should be displayed instead
Remove index.jws from welcome pages as it is useless.
No tags attached.
related to defect 0027244 closed alostale Tomcat 7 is not supported 
related to defect 0037683 closed alostale Axis services page is always available 
related to design defect 0040536 closed alostale Remove support for axis 
png Selection_130.png (28,938) 2016-11-30 10:26
Issue History
2016-11-30 10:24alostaleNew Issue
2016-11-30 10:24alostaleAssigned To => platform
2016-11-30 10:24alostaleModules => Core
2016-11-30 10:24alostaleTriggers an Emergency Pack => No
2016-11-30 10:24alostaleAssigned Toplatform => alostale
2016-11-30 10:24alostaleReview Assigned To => caristu
2016-11-30 10:25alostaleSummarynon existent url request displays axis services => non existing url request displays axis services
2016-11-30 10:26alostaleFile Added: Selection_130.png
2016-11-30 10:26alostaleSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=13916#r13916
2016-11-30 10:29alostaleRelationship addedrelated to 0027244
2016-11-30 10:31alostaleRelationship addedrelated to 0030183
2016-11-30 10:34hgbotCheckin
2016-11-30 10:34hgbotNote Added: 0091924
2016-11-30 10:34hgbotStatusnew => resolved
2016-11-30 10:34hgbotResolutionopen => fixed
2016-11-30 10:34hgbotFixed in SCM revision => [^]
2016-12-01 10:13caristuNote Added: 0091952
2016-12-01 10:13caristuStatusresolved => closed
2016-12-01 10:13caristuFixed in Version => 3.0PR17Q1
2016-12-16 18:39hudsonbotCheckin
2016-12-16 18:39hudsonbotNote Added: 0092671
2018-02-01 19:29caristuRelationship addedrelated to 0037683
2019-04-05 11:01caristuRelationship addedrelated to 0040536

2016-11-30 10:34   
Repository: erp/devel/pi
Changeset: 2040ebbc99144a38fea74a40727c157f03472541
Author: Asier Lostalé <asier.lostale <at>>
Date: Wed Nov 30 10:31:54 2016 +0100
URL: [^]

fixed bug 34653: non existing url request displays axis services

  Removed index.jws from the list of welcome files in web.xml as in Tomcat >= 7
  it was causing axis webservices to be displayed for non existing urls.

  In any case it is useless to define this as welcome page.

M src-wad/src/org/openbravo/wad/web.xml
2016-12-01 10:13   
Code reviewed + tested OK: axis services page not displayed after requesting a non existing URL.
2016-12-16 18:39   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: [^]
Maturity status: Test