Question

11
Replies
205
Views
Devan Member since 2014 34 posts
Virtusa
Posted: 3 years ago
Last activity: 3 years 7 months ago
Closed
Solved

Exception in thread "main" java.lang.IllegalArgumentException: Unable to load class: oracle.jdbc.OracleDriver

Hi team,

We are trying to update the application from 7.1.9 to 7.2.2.

While running the Updating the data schema step, im getting the bellow error in the step of apply UDF.: Apply UDFs inner: Load UDF

Error:

[java] Exception in thread "main" java.lang.IllegalArgumentException: Unable to load class: oracle.jdbc.OracleDriver
[java] at com.pega.pegarules.install.ConnectionWrapper.get(ConnectionWrapper.java:333)
[java] at com.pega.pegarules.install.ConnectionWrapper.createStatement(ConnectionWrapper.java:352)
[java] at com.pega.pegarules.install.udf.loaders.OracleUDFJarLoader.installJarOnOracle(OracleUDFJarLoader.java:124)
[java] at com.pega.pegarules.install.udf.loaders.OracleUDFJarLoader.load(OracleUDFJarLoader.java:73)
[java] at com.pega.pegarules.install.UDFManager$AbstractUDFExecutor.loadUDFJar(UDFManager.java:348)
[java] at com.pega.pegarules.install.UDFManager$ExecuteUDFWithOutTransaction.executeInner(UDFManager.java:293)
[java] at com.pega.pegarules.install.UDFManager$AbstractUDFExecutor.execute(UDFManager.java:357)
[java] at com.pega.pegarules.install.UDFManager.process(UDFManager.java:178)
[java] at com.pega.pegarules.install.UDFManager.main(UDFManager.java:129)
[java] Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
[java] at java.net.URLClassLoader$1.run(Unknown Source)
[java] at java.net.URLClassLoader$1.run(Unknown Source)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(Unknown Source)
[java] at java.lang.ClassLoader.loadClass(Unknown Source)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
[java] at java.lang.ClassLoader.loadClass(Unknown Source)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Unknown Source)
[java] at com.pega.pegarules.install.ConnectionWrapper.get(ConnectionWrapper.java:331)
[java] ... 8 more

We have mentioned the properties file as mentioned in the instruction document. And too tried with changing the parameter "bypass.pega.schema" as empty.

in both steps, we are getting the same Error.

Could someone suggest us to resolve the issue.

Attached the log file too

Thanks

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Low-Code App Development Upgrades
Moderation Team has archived post
Share this page LinkedIn