Hi all,
I'm trying to process XML data in a connector and to do this, I've tried
using the Jakarta libs and even the older "javax.xml.bind" lib. The
latter is used in the Generic connector. So I tried to do the same, but
I always have the classical "Implementation of JAXB-API has not been
found on module path or classpath" error, whatever implementation lib
for JAXB I deploy in ManifoldCF.
For example, I've tried adding these jars for "javax.xml.bind":
jaxb-api-2.3.0.jar
jaxb-core-2.3.0.jar
jaxb-impl-2.3.0.jar
jaxb-runtime-2.3.5.jar
The jaxb-runtime-2.3.5.jar contains the JAXB implementation required,
but I still have the error as if the library wasn't loaded in the
classpath. I've tried to put these dependencies in "connector-lib" and
"connector-common-lib"
When I launch the connector methods in JUnit it works, but not deployed
in MCF.
It seems that the CMIS connector uses Apache CXF to process XML data,
but I don't see these dependencies in the deployed MCF.
Has anyone processed XML data in a connector since the move to Java 11
(as this changes the JAXB implementation search)? Or at least, can I
have an explanation of how classes are loaded into the MCF agent?
--
Best Regards,
Guylaine
France Labs – Your knowledge, now
Datafari Enterprise Search – Découvrez la version 6 / Discover our version 6
www.datafari.com <http://www.datafari.com>