It sounds to me that one of the required dependencies is no longer present in 1-14-0-apigee-3 .
In some cases when I publish a Java callout, I assume the dependencies, like BouncyCastle or slf4j, are available in Apigee. You can see that in the pom.xml file of that callout , which has this snip in the ant plugin used during the package phase:
<!-- exclude files we can count on. -->
<exclude name="lib/slf4j-api-${slf4j.version}.jar"/>
<exclude name="lib/bc*-jdk15on-*.jar"/>
In the case of this particular callout, the required jars are:
bcutil-jdk15on-1.70.jar
slf4j-api-1.7.14.jar
bcpkix-jdk15on-1.70.jar
bcprov-jdk15on-1.70.jar
Strictly speaking , excluding dependencies like this from the packaging phase is risky. Apigee doesn’t make any guarantees that it supplies a set of “common” or “popular” Java JARs for use by callouts. Apigee of course is built on Java and uses many JARs itself, and at least up until now, the JARs Apigee packages for itself could also be used by callouts. But there has been no guarantee.
The Apigee documentation has always said that you must explicitly provide all dependencies for any JARs you use in JavaCallouts. For years, those JARs have been available and have been resolvable, so it hasn’t been a problem. I am not familiar with the payload for 1-14-0-apigee-3 , but I suppose it is possible that one or more of those JARs are no longer available.
If this is the problem , then the solution is one of these things:
- manually obtain the Bouncy castle jars and slf4j jars
- comment-out those two lines from the pom.xml file, and rebuild the callout jar. This will assemble all the JARs necessary for this callout, and place them into the bundle/apiproxy/resources/java directory.
…and THEN, you must supply those jars as resources in your environment, or (probably less wise) as resources for this particular proxy.
There is another possibility, and that is that the security permissions have changed in 1-14-0-apigee-3 ., and those permissions now prevent loading of classes that previously were permitted.
That seems less likely. I haven’t read any release notes. Maybe you have?