Description of problem: Talend is not working properly with dom4j - 2.0.0. It give exception about DocumentToFlat.java 08:55:03 [javac] /home/jenkins/workspace/ovirt-dwh_master_check-patch-fcraw-x86_64/ovirt-dwh/rpmbuild/BUILD/ovirt-engine-dwh-4.2.2/ovirt-engine-dwh/routines/src/main/java/routines/system/DocumentToFlat.java:51: error: incompatible types: List<Node> cannot be converted to List<AbstractNode> 08:55:03 [javac] nodes = loopXpath.selectNodes(doc); 08:55:03 [javac] ^ 08:55:03 [javac] /home/jenkins/workspace/ovirt-dwh_master_check-patch-fcraw-x86_64/ovirt-dwh/rpmbuild/BUILD/ovirt-engine-dwh-4.2.2/ovirt-engine-dwh/routines/src/main/java/routines/system/DocumentToFlat.java:187: error: incompatible types: List<Node> cannot be converted to List<AbstractNode> 08:55:03 [javac] nodes = loopXpath.selectNodes(doc); 08:55:03 [javac] ^ 08:55:04 [javac] Note: Some input files use unchecked or unsafe operations. 08:55:04 [javac] Note: Recompile with -Xlint:unchecked for details. 08:55:04 [javac] 2 errors 08:55:04 [javac] 1 warning 08:55:04 08:55:04 BUILD FAILED Currently we switched to using the dom4j provided by ovirt-engine-wildfly. See patchs: https://gerrit.ovirt.org/#/c/87476/ and https://gerrit.ovirt.org/#/c/87451/. This means that on a dwh machine separate from the engine, we needlessly pull all of wildfly (170MB uncompressed) to get a single 307KB file (dom4j). Version-Release number of selected component (if applicable): 4.2.0 How reproducible: 100% Steps to Reproduce: 1. Install dwh on a seperate machine 2. See that dom4j - 2.0.0 is installed without wildfly 3. Check that DWH is running. Actual results: Works only with legacy dom4j 1.6.0. Expected results: DWH should use dom4j -2.0.0 Additional info:
Severity? Why do we plan to fix it in 4.3.0?
(In reply to Yaniv Kaul from comment #1) > Severity? > Why do we plan to fix it in 4.3.0? Because this means that on a dwh machine separate from the engine, we needlessly pull all of wildfly (170MB uncompressed) to get a single 307KB file (dom4j).
I open an upstream issue for this https://jira.talendforge.org/browse/TDI-40133
Package ovirt-engine-dwh has installed only dom4j-2.0.0-4.fc28.noarch (no wildfly package) and dwh installed and running. verified in ovirt-engine-dwh-4.3.0-0.0.master.20180705143643.fc28.noarch on Fedora release 28 (Twenty Eight)
This bugzilla is included in oVirt 4.2.7 release, published on November 2nd 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.7 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.
Closed by mistake, moving back to qa -> verified
This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.