NaturalOracle DataGaurd tutorial Series Coming Soon!! Natural
For Any queries, please mail us at support@funoracleapps.com

Cloning running 'adcfgclone.pl appsTier' fails on script txkExecSetJaznCredentials.pl

2 comments
If while cloning the target system we are encountering the below error.

Error:

If we check the log file we can found that the clone is failing on script txkExecSetJaznCredentials.pl.

Exception in thread "main" java.lang.NoClassDefFoundError: oracle/apps/ad/tools/configuration/JaznCredentialManager

Caused by: java.lang.ClassNotFoundException: oracle.apps.ad.tools.configuration.JaznCredentialManager

 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

 at java.security.AccessController.doPrivileged(Native Method)

 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

 at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

 at java.lang.ClassLoader.loadClass(ClassLoader.java:252)

 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

Could not find the main class: oracle.apps.ad.tools.configuration.JaznCredentialManager.  Program will exit.
 

.end err out.


Cause:

Environment variable $CLASSPATH is set before running  'adcfgclone.pl appsTier'.


If Environment variable $CLASSPATH is set before running  'adcfgclone.pl appsTier'. The script  txkExecSetJaznCredentials.pl will keep using it.

If the $CLASSPATH is not set, txkExecSetJaznCredentials.pl will set it according to the value passed in context file.

So if the $CLASSPATH is set incorrectly before running clone, the error occurs.
 

Solution:

1. Run command "unset CLASSPATH".

2. Retest the issue.

2 comments :

  1. I am technology Enthusiast. Your blog is really awesome, attractive and impressive. I like the way you think. it is very useful for Java SE & Java EE Learners. Your article adds best knowledge to our Java Online Training in India. or learn thru Java Online Training in India Students. or learn thru JavaScript Online Training in India. Appreciating the persistence you put into your blog and detailed information you provide. Kindly keep blogging.

    ReplyDelete