Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0034653 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2016-11-30 10:24 | 2016-12-16 18:39 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR17Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 2040ebbc9914 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | caristu | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0034653: non existing url request displays axis services | |||||||
Description | 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] https://bz.apache.org/bugzilla/show_bug.cgi?id=47378 [^] [2] https://github.com/apache/tomcat/commit/fe53ca9bdefcbe427710f7dc615ec82f4693fe9e [^] | |||||||
Steps To Reproduce | 1. Request any invalid URL ending with /. Ie.: https://livebuilds.openbravo.com/erp_pi_pgsql/dummy/ [^] -> ERROR: Axis services page is served (see attached image) EXPECTED: Error 404 (not found) should be displayed instead | |||||||
Proposed Solution | Remove index.jws from welcome pages as it is useless. | |||||||
Tags | No tags attached. | |||||||
Attached Files | Selection_130.png [^] (28,938 bytes) 2016-11-30 10:26
| |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||
|
Notes | |
(0091924) hgbot (developer) 2016-11-30 10:34 |
Repository: erp/devel/pi Changeset: 2040ebbc99144a38fea74a40727c157f03472541 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed Nov 30 10:31:54 2016 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/2040ebbc99144a38fea74a40727c157f03472541 [^] 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 --- |
(0091952) caristu (developer) 2016-12-01 10:13 |
Code reviewed + tested OK: axis services page not displayed after requesting a non existing URL. |
(0092671) hudsonbot (developer) 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: https://code.openbravo.com/erp/devel/main/rev/dc8bf00badd0 [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2016-11-30 10:24 | alostale | New Issue | |
2016-11-30 10:24 | alostale | Assigned To | => platform |
2016-11-30 10:24 | alostale | Modules | => Core |
2016-11-30 10:24 | alostale | Triggers an Emergency Pack | => No |
2016-11-30 10:24 | alostale | Assigned To | platform => alostale |
2016-11-30 10:24 | alostale | Review Assigned To | => caristu |
2016-11-30 10:25 | alostale | Summary | non existent url request displays axis services => non existing url request displays axis services |
2016-11-30 10:26 | alostale | File Added: Selection_130.png | |
2016-11-30 10:26 | alostale | Steps to Reproduce Updated | View Revisions |
2016-11-30 10:29 | alostale | Relationship added | related to 0027244 |
2016-11-30 10:31 | alostale | Relationship added | related to 0030183 |
2016-11-30 10:34 | hgbot | Checkin | |
2016-11-30 10:34 | hgbot | Note Added: 0091924 | |
2016-11-30 10:34 | hgbot | Status | new => resolved |
2016-11-30 10:34 | hgbot | Resolution | open => fixed |
2016-11-30 10:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2040ebbc99144a38fea74a40727c157f03472541 [^] |
2016-12-01 10:13 | caristu | Note Added: 0091952 | |
2016-12-01 10:13 | caristu | Status | resolved => closed |
2016-12-01 10:13 | caristu | Fixed in Version | => 3.0PR17Q1 |
2016-12-16 18:39 | hudsonbot | Checkin | |
2016-12-16 18:39 | hudsonbot | Note Added: 0092671 | |
2018-02-01 19:29 | caristu | Relationship added | related to 0037683 |
2019-04-05 11:01 | caristu | Relationship added | related to 0040536 |
Copyright © 2000 - 2009 MantisBT Group |