Veridata Jagent is returning Unhandled exception 'java.lang.NoClassDefFoundError' (Doc ID 1488034.1)

Last updated on JULY 17, 2017

Applies to:

Oracle GoldenGate Veridata - Version 3.0.0.6 and later
Information in this document applies to any platform.
***Checked for relevance on 01-Jul-2014***

Symptoms

Using the Veridata Jagent when attempting to start, it returns an error in the veridata-agent.log:

INFO:2013-01-28 11:32:32,314 (Session: 3) - Received command: START    VERIAGT    PARAMS    veridatafile source1359401552310.rpt      [VeridataAgent$Handler:getRequest, line 455]
ERROR:2013-01-28 11:32:32,464 (Session: 3) - 'gg' could not connect to database: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Error during pool creation in Universal Connection Pool Manager MBean; Error during pool creation in Universal Connection Pool Manager MBean; Error during pool creation in Universal Connection Pool Manager; Invalid Universal Connection Pool configuration: java.sql.SQLException: Unable to create factory class instance with provided factory class name: java.lang.ClassNotFoundException: oracle.jdbc.pool.OracleDataSource; Unable to create factory class instance with provided factory class name: java.lang.ClassNotFoundException: oracle.jdbc.pool.OracleDataSource; oracle.jdbc.pool.OracleDataSource [OracleDatabase:connect, line 1713]

It can also occur when testing the connect to the DB in the Veridata web:

Could not log into database, check username and password
Agent message (1): Agent replied with error code
Agent remote message (101): Unhandled exception 'java.lang.NoClassDefFoundError': com.goldengate.veridata.jdbcx.db2.DB2DataSource

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms