ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gaudin Pierre (Jira)" <j...@apache.org>
Subject [jira] [Closed] (OFBIZ-11235) web.xml parser error
Date Mon, 07 Oct 2019 06:19:00 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-11235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gaudin Pierre closed OFBIZ-11235.
---------------------------------
    Resolution: Duplicate

Duplicate with : OFBIZ-6993

> web.xml parser error
> --------------------
>
>                 Key: OFBIZ-11235
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11235
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Gaudin Pierre
>            Priority: Minor
>             Fix For: Trunk
>
>         Attachments: OFBIZ-11235_webxmlParserError.patch
>
>
> 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|https://docs.oracle.com/cd/E14571_01/web.1111/e13712/web_xml.htm#WBAPP502]
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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message