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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content