[
https://issues.apache.org/jira/browse/OOZIE-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682263#comment-13682263
]
Rohini Palaniswamy commented on OOZIE-1410:
-------------------------------------------
Wrote a simple test.
{noformat}
SAXBuilder builder = new SAXBuilder();
Document document = (Document) builder.build(new
File("/projects/apache/trunk/oozie/webapp/src/main/webapp/WEB-INF/web.xml"));
System.out.println(document);
XMLOutputter out = new XMLOutputter(Format.getPrettyFormat());
out.output(document, System.out);
{noformat}
xi:include should be within <webapp> for it to work but the schema does not
allow it. So need to use ENTITY
{noformat}
<!DOCTYPE web-app [
<!ENTITY web-common SYSTEM "web-common.xml">
]>
<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_2_5.xsd"
version="2.5">
&web-common;
</web-app>
{noformat}
Was getting error "White spaces are required between publicId and systemId."
for below config so added the xmlns config.
{noformat}
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd"[
<!ENTITY web-common PUBLIC "web-common.xml">
]>
{noformat}
> V2 servlets are missing from ssl-web.xml
> ----------------------------------------
>
> Key: OOZIE-1410
> URL: https://issues.apache.org/jira/browse/OOZIE-1410
> Project: Oozie
> Issue Type: Bug
> Components: security
> Affects Versions: trunk
> Reporter: Robert Kanter
> Assignee: Robert Kanter
> Fix For: trunk
>
> Attachments: OOZIE-1410_NOT_WORKING.patch
>
>
> The V2 servlets added to web.xml are missing from ssl-web.xml; which means
> they won't be available when https is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira