Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a very simple talend mediation route which reads a xml file and applied xpath on it.
Xpath is : "max(/Employees/Employee/DateOfJoining/dateTime(.))"
To get this working, I had to load external jar 'saxon-he-9.4.0.7.jar'. This route runs fine in talend open studio but when I deploy it in talend runtime container, it is throwing error "javax.xml.transform.TransformerException: Could not find function: max"
I know that external jar files are not embedded in OSGI bundle by default and to configure it, we need to edit route manifest.
So in 'Dependencies' tab in talend studio i checked the checkbox for this jar file and exported the route(see screenshot). But getting the same error.
I put the saxon jar file in lib folder of container also tried putting it in lib\ext folder of container but no luck.
FYI : I am using talend open studio 6.1.0 and same runtime. I also tried it in talend open studio 5.6.2 and same runtime but the issue is same over there.
I checked the manifest file after the route is exported and I can see following
Bundle-ClassPath: .,lib/saxon-he-9.4.0.7.jar,...
Please help!
Hello,
Here exists a jira issue:https://jira.talendforge.org/browse/TESB-14958
It has been fixed on V 6.1
Could you please a look at this related topic about:https://community.talend.com/t5/Design-and-Development/How-to-deploy-external-jars-to-Talend-Runtime... to see if it is OK with you?
Best regards
Sabrina