Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-11235

web.xml parser error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • Trunk
    • Trunk
    • ALL COMPONENTS
    • 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

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gpierre Gaudin Pierre
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: