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] [Commented] (OFBIZ-11235) web.xml parser error
Date Sat, 05 Oct 2019 07:49:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-11235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16945008#comment-16945008

Gaudin Pierre commented on OFBIZ-11235:

Hi Jacques,


Indeed it is exactly the same problem. I hadn't found this JIRA... The solution is the same.
I'll close my JIRA in that case.

> 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"
> 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

View raw message