My Oracle Support Banner

NoClassDefFoundError Error When Running repository_patch.sh (Doc ID 2992295.1)

Last updated on JANUARY 04, 2024

Applies to:

Oracle GoldenGate Veridata - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

$Domain_Home/veridata/bin/repository_patch.sh causes a NoClassDefFoundError error.


$ ./repository_patch.sh

2023-11-21 02:51:27.535 NOTIFICATION OGGV-70402 WLS domain home argument passed to the patching script is <Domain_Home>/veridata/bin/../..
2023-11-21 02:51:27.581 NOTIFICATION OGGV-70412 JdbcUrl used in datasource xml: jdbc:oracle:thin:@<IPAddress>:<Port>/<FQDN>
2023-11-21 02:51:27.582 NOTIFICATION OGGV-70413 Jdbc driver class used in datasource xml: oracle.jdbc.xa.client.OracleXADataSource
2023-11-21 02:51:27.582 NOTIFICATION OGGV-70414 DB user used in datasource xml: <DB_User>
[OGGV-70409: You are about to patch the repository and database details are -
 Database URL ::  jdbc:oracle:thin:@<IPAddress>:<Port>/<FQDN>
 Database User :: <DB_User>
 Make sure database backup have taken up before proceeding next steps.
][OGGV-70410: Enter Veridata database repository password:]
2023-11-21 02:51:37.322 NOTIFICATION OGGV-70403 Veridata config file location: <Domain_Home>/veridata/bin/../../config/veridata/veridata.cfg
2023-11-21 02:51:37.323 NOTIFICATION OGGV-70405 Database name key from Veridata config file: ORACLE_OCI
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
        at org.apache.commons.beanutils.ConvertUtilsBean.<init>(ConvertUtilsBean.java:154)
        at org.apache.commons.beanutils.BeanUtilsBean.<init>(BeanUtilsBean.java:113)
        at org.apache.commons.beanutils.BeanUtilsBean$1.initialValue(BeanUtilsBean.java:64)
        at org.apache.commons.beanutils.BeanUtilsBean$1.initialValue(BeanUtilsBean.java:60)
        at org.apache.commons.beanutils.ContextClassLoaderLocal.get(ContextClassLoaderLocal.java:154)
        at org.apache.commons.beanutils.BeanUtilsBean.getInstance(BeanUtilsBean.java:76)
        at org.apache.commons.beanutils.ConvertUtilsBean.getInstance(ConvertUtilsBean.java:138)
        at org.apache.commons.beanutils.ConvertUtils.register(ConvertUtils.java:352)
        at org.apache.commons.jelly.TagLibrary.<clinit>(TagLibrary.java:49)
        at com.goldengate.installer.jelly.JellySQLInstaller.<clinit>(JellySQLInstaller.java:47)
        at com.goldengate.veridata.repository.api.AbstractScriptDatabaseAction.<init>(AbstractScriptDatabaseAction.java:33)
        at com.goldengate.veridata.repository.database.UpgradeDatabaseAction.<init>(UpgradeDatabaseAction.java:5)
        at com.goldengate.veridata.repository.RepositoryHelper.getUpgradeDatabaseAction(RepositoryHelper.java:579)
        at com.goldengate.veridata.repository.RepositoryHelper.upgradeDatabase(RepositoryHelper.java:738)
        at com.goldengate.veridata.repository.patch.RepositoryPatch.patchGenericUpgrade(RepositoryPatch.java:124)
        at com.goldengate.veridata.repository.patch.RepositoryPatch.main(RepositoryPatch.java:59)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
        at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:359)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        ... 16 more

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.