Jump to content

How to Create Custom XPath Functions with external jar in TIBCO BWCE


Giuseppe Vallesi

Recommended Posts

Hello,

 

I followed this official tibco guide, to create an xpath custom function, this makes use of an external java library, so i added these external library as shown by this other guideadding-a-jar-to-a-bw6-plugin-project

At designtime the applicationworks perfectly, at runtime after call custom function goes into error:

kubectl logs -f testplugin-dc565f544-9bqxm | grep CausedBy

TIBCO-BW-CORE-500054: Activity [putOut] XSLT transformation error.

com.tibco.pvm.dataexch.xml.util.exceptions.PmxException: PVM-XML-106027: Transformation failed for XSLT input '

com.tibco.pvm.dataexch.xml.util.exceptions.PmxException: PVM-XML-106027: Transformation failed for XSLT input '

com.tibco.xml.cxf.runtime.exceptions.FunctionException: XPath function {http://my.custom.function.com}MimeType exception: Provider for class javax.xml.parsers.SAXParserFactory cannot be created

TIBCO-BW-CORE-500054: Activity [putOut] XSLT transformation error.

com.tibco.pvm.dataexch.xml.util.exceptions.PmxException: PVM-XML-106027: Transformation failed for XSLT input '

com.tibco.pvm.dataexch.xml.util.exceptions.PmxException: PVM-XML-106027: Transformation failed for XSLT input '

com.tibco.xml.cxf.runtime.exceptions.FunctionException: XPath function {http://my.custom.function.com}MimeType exception: Could not initialize class org.apache.tika.mime.MimeTypesReader

 

Can someone help me

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...