DOYENSYS Knowledge Portal




We Welcome you to visit our DOYENSYS KNOWLEDGE PORTAL : Doyensys Knowledge Portal




Monday, August 19, 2013

Adpreclone.pl fails with RC-50007: Could not create cloning stage area

Issue :
adpreclone.pl fails with RC-50007: Could not create cloning stage area.

Can see the entire log below.

# Calling StageAppsTechStack...
Evaluated internal cloning stage: /application_r12/apps/apps_st/comn/clone
Creating Staging Area
Creating bin directory
UNZIP used: UnZip 5.50 of 17 February 2002, by Info-ZIP.  Maintained by C. Spieler.  Send
Copying /application_r12/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tmp to /application_r12/apps/apps_st/comn/clone//context/apps/adxmlctx.tmp
Creating html directory
Creating jre directory
Directory /application_r12/apps/apps_st/comn/clone/jre already exists.
Attempting to delete: /application_r12/apps/apps_st/comn/clone/jre
Failed to copy JRE from /application_r12/apps/tech_st/10.1.3/appsutil/jdk/jre to /application_r12/apps/apps_st/comn/clone/jre
Cloning Stage Area already exists, updating existing area.
Creating jlib directory
Copied /application_r12/apps/tech_st/10.1.3/lib/xmlparserv2.jar to /application_r12/apps/apps_st/comn/clone/jlib/xmlparserv2.jar
Copied /application_r12/apps/apps_st/comn/java/classes/oracle/apps/ad to /application_r12/apps/apps_st/comn/clone/jlib/java/oracle/apps
Copied /application_r12/apps/tech_st/10.1.3/jdbc/lib/ojdbc14.jar to /application_r12/apps/apps_st/comn/clone/jlib/ojdbc14.jar
Copying file from /application_r12/apps/apps_st/appl/ad/12.0.0/bin to /application_r12/apps/apps_st/comn/clone/bin
Copy OUI from /application_r12/apps/tech_st/10.1.3/oui/jlib to /application_r12/apps/apps_st/comn/clone//jlib/oui/
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/xmlparserv2.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/srvm.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/OraInstaller.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/OraInstallerNet.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/share.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/oneclick.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/ewt3.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/ewt3-nls.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/jewt4.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/jewt4-nls.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/help4.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/help4-nls.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/InstHelp.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/InstImages.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/oracle_ice.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/swingaccess.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/ewt3-swingaccess.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/classes12.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/prereq.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/ouica.jar
copying /application_r12/apps/apps_st/comn/clone//jlib/oui//jlib/deinstall.jar
Copy OUI from /application_r12/apps/tech_st/10.1.3/oui/lib to /application_r12/apps/apps_st/comn/clone//oui/
Could not generate new Clone stage base area


StackTrace -
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
        at java.lang.Thread.run(Thread.java:662)

Caused by: java.lang.Exception: RC-50007: Could not create cloning stage area at /application_r12/apps/apps_st/comn/clone/


Cause :
Improper permission of jre under $IAS_ORACLE_HOME

Solution:
1. change the permission to 755 for the folder $IAS_ORACLE_HOME/appsutil/jdk/jre
Take a backup of $IAS_ORACLE_HOME/appsutil/jdk/jre
change the permission
chmod -R 755 $IAS_ORACLE_HOME/appsutil/jdk/jre
2. Take a backup and remove the clone folder from $COMMON_TOP

3. Run adpreclone.pl and retest the issue.


1 comment:

Sridevi K said...

Regards
Sridevi Koduru (Senior Oracle Apps Trainer Oracleappstechnical.com)
LinkedIn profile - https://in.linkedin.com/in/sridevi-koduru-9b876a8b
Please Contact for One to One Online Training on Oracle Apps Technical, Financials, SCM, SQL, PL/SQL, D2K at training@oracleappstechnical.com | +91 - 9581017828.