This content has been marked as final. Show 8 replies
Make sure you place the thrid party jar file at the right place and check wheather its getting include in classpath.
4. Where to keep the third party .jar files in SOA 10g and SOA 11g to make use inside SOA
In SOA 10g - $OC4J_HOME/j2ee/home/applib directory
In SOA 11g - FUSION_HOME/Oracle_SOA1/soa/modules/oracle.soa.ext_11.1.1/
Yes, I have already imported the jar by copying the jar to ORACLE_HOME/soa/modules/oracle.soa.ext_11.1.1, ran the ant command and bouncing the server after that.
I can see that the jar has been imported into the weblogic classpath, else the bpel wouldn't have compiled.
I have a try-catch block in the java embedding activity where try block gives a call to the custom jar.
In the audit trail, the java embedding activity just says Null Pointer Exception.
I also tried inserting log4j in the custom jar, but unfortunately, that wasn't very helpful.
In that case, i think the null pointer is surfaced not because of jar file, Some programtic i believe.
Use below function to check for each value of the java code in em console.
When you work with Java Embedded, you wont be able to see the output in console.
To see the output value in the console, use the below function
addAuditTrailEntry("Status is: " status);+
If it would have been a programmatic error, then, it should have errored out while testing in a standalone manner.
But it doesn't error out while being called from another java program.
Also, I can't use addAuditTrailEntry because, it is erroring inside the jar.
So, I think, I need to take a closer look at the custom jar.