cancel
Showing results for 
Search instead for 
Did you mean: 

Java Mapping - add external jar for runtime use

KennethEriksen
Participant
0 Kudos
436

Hi,

I have implemented a java mapping which executes an XSLT transformation on the input XML. This way I can control (I hope) what XSLT processor is used, as I want to use the SAXON XSLT processor. The java mapping executes fine locally in NWDS.

But when executed runtime I get the following error in default_trace and the message stops in Integration Engine:

javax.xml.transform.TransformerFactoryConfigurationError: Provider net.sf.saxon.TransformerFactoryImpl not found

In my java mapping I have set the following:

System.setProperty("javax.xml.transform.TransformerFactory", "net.sf.saxon.TransformerFactoryImpl");

The TransformerFactoryImpl class is implemented in saxon9.jar.

Where do I store the saxon9.jar on the server so that it will find it during execution?

Any hints are most welcome!

Br,

Kenneth

View Entire Topic
stefan_grube
Active Contributor
0 Kudos

> Where do I store the saxon9.jar on the server so that it will find it during execution?

Any library used in Java mapping has to be uploaded as "Imported Archive", the same way as the Java mapping itself.

It must be stored in the same, or underlying SWVC.