How to package Saxon-PE or Saxon-EE license with the bundle ?

Solution Unverified - Updated -

Issue

  • Fuse comes with Saxon-HE, but user needs some other functionality so user is trying to use Saxon-PE in the container.
  • User's environment is in fabric mode.
  • How to disable Saxon-HE from Fuse container?
  • How to load Saxon-PE license into Fuse container?
  • Because of license not getting picked up properly, user is facing below error.
[pache.camel.spring.Main.main()] XsltErrorListener              ERROR Cannot find a matching 1-argument function named {java:xxx.yyy.zzz.Custom2XML}convert(). Reflexive calls to Java methods require a Saxon-PE or Saxon-EE license, and none was found; SystemID: ; Line#: 378; Column#: 90
net.sf.saxon.trans.XPathException: Cannot find a matching 1-argument function named {java:xxx.yyy.zzz.Custom2XML}convert(). Reflexive calls to Java methods require a Saxon-PE or Saxon-EE license, and none was found
    at net.sf.saxon.expr.parser.XPathParser.grumble(XPathParser.java:267)[saxon9pe-0.0.1-SNAPSHOT.jar:]
    at net.sf.saxon.expr.parser.XPathParser.grumble(XPathParser.java:235)[saxon9pe-0.0.1-SNAPSHOT.jar:]
    at net.sf.saxon.expr.parser.XPathParser.reportMissingFunction(XPathParser.java:2503)[saxon9pe-0.0.1-SNAPSHOT.jar:]
    at net.sf.saxon.expr.parser.XPathParser.parseFunctionCall(XPathParser.java:2433)[saxon9pe-0.0.1-SNAPSHOT.jar:]

Environment

  • Red Hat JBoss Fuse
    • 6.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.