In wso2 integration studio i created api with custom class mediator .Class mediotor i have configured loggers and jdbc connection .while running api class mediator is picking and logs are showing in console but for jdbc connection am getting the below exception "[2024-04-11 13:39:56,579] ERROR {Cdemo} - Error while executing JDBC operation java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver at org.apache.axis2.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:279)"
I have added external jars also but external jars not picking
need to resolve external jars not picking in class mediator in wso2 "[2024-04-11 13:39:56,579] ERROR {Cdemo} - Error while executing JDBC operation java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver at org.apache.axis2.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:279) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:315) at com.demo.Cdemo.mediate(Cdemo.java:29) at org.apache.synapse.mediators.ext.ClassM"
I found solution for this and in integration studio inbuilt micro integrator library folder we have to place the jdbc jar "IntegrationStudio\runtime\microesb\lib