java.lang.ClassNotFoundException: com.sun.transform.engine.xslt.saxon.SaxonConfig Exception while Installing sun-xslt-engine with XSLT 2.0

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

java.lang.ClassNotFoundException: com.sun.transform.engine.xslt.saxon.SaxonConfig Exception while Installing sun-xslt-engine with XSLT 2.0

Akshay
This post has NOT been accepted by the mailing list yet.
Hello,

I am trying to install xsltse.jar service engine in OpenESB but getting below exception while starting it. I need to use XSLT 2.0 for XML transformation.

Exception :

2016-11-11T10:27:38.726+0530 WARNING [com.sun.transform.engine.EngineConfig] (RMI TCP Connection(17)-192.168.89.1) TRAPI-6001: Failed to create EngineConfig instance: com.sun.transform.engine.xslt.saxon.SaxonConfig
java.lang.ClassNotFoundException: com.sun.transform.engine.xslt.saxon.SaxonConfig
        at com.sun.jbi.framework.CustomClassLoader.loadClass(CustomClassLoader.java:281)
        at com.sun.jbi.framework.CustomClassLoader.loadClass(CustomClassLoader.java:133)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:348)
        at com.sun.jbi.common.util.Util.newInstance(Util.java:128)
        at com.sun.jbi.common.util.Util.find(Util.java:97)
        at com.sun.transform.engine.EngineConfig.newInstance(EngineConfig.java:87)
        at com.sun.transform.engine.EngineConfig.newInstance(EngineConfig.java:82)
        at com.sun.jbi.engine.xslt.XsltseComponentManager.initEndpointManager(XsltseComponentManager.java:122)
        at com.sun.jbi.component.toolkit.lifecycle.impl.AbstractComponentManager.init(AbstractComponentManager.java:277)
        at com.sun.jbi.engine.xslt.XsltseComponentManager.init(XsltseComponentManager.java:60)

Version: OpenESB 3.1.0
OS : Windows

Does anybody face this issue ever. Kindly, provide your inputs on this.

Regards,
Akshay
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: java.lang.ClassNotFoundException: com.sun.transform.engine.xslt.saxon.SaxonConfig Exception while Installing sun-xslt-engine with XSLT 2.0

Akshay
This post has NOT been accepted by the mailing list yet.
Hello Friends,

I did resolved my issue.

Thanks,
Akshay
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: java.lang.ClassNotFoundException: com.sun.transform.engine.xslt.saxon.SaxonConfig Exception while Installing sun-xslt-engine with XSLT 2.0

hammad.karamat
This post has NOT been accepted by the mailing list yet.
Great. 

Please share what you did to resolve with all of us.


-------- Original message --------
From: "Akshay [via OpenESB Community Forum]" <ml-node+[hidden email]>
Date: 28/11/2016 9:10 p.m. (GMT+05:00)
To: Hammad Karamat Dar <[hidden email]>
Subject: Re: java.lang.ClassNotFoundException: com.sun.transform.engine.xslt.saxon.SaxonConfig Exception while Installing sun-xslt-engine with XSLT 2.0

Hello Friends,

I did resolved my issue.

Thanks,
Akshay


To start a new topic under OpenESB Community Forum, email ml-node+[hidden email]
To unsubscribe from OpenESB Community Forum, click here.
NAML
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: java.lang.ClassNotFoundException: com.sun.transform.engine.xslt.saxon.SaxonConfig Exception while Installing sun-xslt-engine with XSLT 2.0

Akshay
This post has NOT been accepted by the mailing list yet.
Hello,

Following are the steps to achieve this

1. Go to ESB home location $OPENESB_HOME and navigate to OE-Components folder.
2. Copy the jar file saxonlib.jar from above location and copy to $OPENESB_HOME\OE-Instance\libext folder.
3. Create 2 folders with name as sun-bpel-engine (This is for setting BPEL engine to use 2.0 version) and sun-xslt-engine (This is for setting XSL engine to use 2.0 version).
4. Extract saxonlib.jar to both of the above folders created in step 3.
5. Finally, go to your neatbeans or Open ESB Admin console and change Transformation Engine property to XSLT_2_0 for both sun-bpel-engine and sun-xslt-engine service engines.

This configuration is useful for doing XSLT 2.0 Transformation.

Regards,
Akshay
Loading...