Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
Trunk
-
None
-
Patch
Description
Hello,
Using the "setbaseurl()" method of the "notificationServices" class, we found a problem when loading definitions from "web.XML" files. Indeed, when checking "web.xml" files by the "parseWebXmlFile" method of the "WebAppUtil" class, errors are generated. These errors are not blocking but they pollute the logs.
By searching more precisely we found that the definition of the "<web-app>" tags in the web.xml files was incomplete. Indeed according to the documentation the tag must be made up this way:
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0">
By modifying all "web.xml" files there is no more error
The following patch modifies the "<web-app>" declaration of all web.xml files for all components.
Attachments
Attachments
Issue Links
- duplicates
-
OFBIZ-6993 Cannot find the declaration of element 'web-app' in version 3.0 files.
-
- Closed
-