Pages

Monday, March 13, 2017

DataInstall Errors: "Java.Lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver

DataInstall Errors: "Java.Lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver


Symptoms:


Find that when the following command is executed to start the DataInstall process -

jre oracle.apps.per.DataInstall <apps username> <apps password> thin <connection>


the following error occurs:

java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
at oracle.apps.per.DataInstall.connect(Compiled Code)
at oracle.apps.per.DataInstall.main(Compiled Code)


Cause:

This error is due to using the wrong syntax in the DataInstall command.


Solution:

Need to run the following command against the database tier:

java oracle.apps.per.DataInstall <un> <pw> thin <host:port: sid>

where:

<un> is the username of the main apps account
<pw> is the password for this account
<host:port: sid> represents the database connection information

For example: java oracle.apps.per.DataInstall apps apps thin dbsvr1:1521:testdb


Reference metalink Doc ID 438183.1

No comments:

Post a Comment