Skip to Content
Former Member
Jan 18, 2012 at 08:57 AM

SAP PI 7.0 does not recognize Bouncy Castle libraries


We are following this blog (PGP Encryption/Decryption using java code). This blog in the second step says that we need to deploy the bouncy castle libraries in the j2re1.4.2_17libext directory. To do this, we have copy-pasted the bcprov-ext-jdk14-146.jar and bcpg-jdk14-146.jar in /oracle/PID/102_64/jre/1.4.2/lib/ext directory, and then we have restarted our PI server.

When we test our mapping program, in sxmb_moni we have the next error:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Receiver Grouping


-" xmlns:SOAP="" SOAP:mustUnderstand="">







<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Incompatible class versions (linkage error)</SAP:Stack>



And the next trace:

<Trace level="3" type="T">Load f1e87441-3b3a-11e0-8c64-f8adac150b2c, http://XXXXXXXXXX, -1, org/bouncycastle/jce/provider/BouncyCastleProvider.class.</Trace>

<Trace level="3" type="T">Search org/bouncycastle/jce/provider/BouncyCastleProvider.class (http://producte_intermedi.csi, -1) in swcv f1e87441-3b3a-11e0-8c64-f8adac150b2c.</Trace>

<Trace level="3" type="T">Does not found exact entry. Search in other namspaces.</Trace>

<Trace level="3" type="T">Search org/bouncycastle/jce/provider/BouncyCastleProvider.class (-1) in swcv f1e87441-3b3a-11e0-8c64-f8adac150b2c without namespace.</Trace>

<Trace level="1" type="T">Class not found: org.bouncycastle.jce.provider.BouncyCastleProvider</Trace>

<Trace level="1" type="T"> Unable to find resource org/bouncycastle/jce/provider/BouncyCastleProvider.class (http://XXXXXXXXX, f1e87441-3b3a-11e0-8c64-f8adac150b2c, -1) at at at

Can anybody help us to find the reason why our server can not recognize those libraries?