I faced the following error while configuring database when cloning apps 11i with 10g database and it happens directly after entering the path of the third data_top (by the way the script will always assume you have 4 data_tops even if you have more/less data_tops)
StackTrace:
java.lang.NullPointerException
at oracle.apps.ad.context.CloneContext.createContextFileForDbhomes(CloneContext.java:2816)
at oracle.apps.ad.context.CloneContext.getInputFromUsers(CloneContext.java:1485)
at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:627)
at oracle.apps.ad.context.CloneContext.main(CloneContext.java:6085)
On metalink there was the solution on Note:427981.1 Subject:RC-50004 When Specifying DATA_TOPS While Cloning a 10.2 Database
And the solution is to apply a patch with a version of CloneContext.java above 115.203. the following are possibilities patches
Patch 5473292, Patch 5732291, Patch 5604818, Patch 5456078, Patch 5474116
Well I did not do that because this means that I have to apply the patch and recopy the database, which take time.
So I recreate the database manually using control file. And when try to open the database I issued
SQL>alter database open resetlogs;
It failed with the following
alter database open resetlogs
*
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: '/ora_dev/data/system01.dbf'
Even though the database was completely down when I copied it I faced this error the good thing is 2 days ago I was reading bas post http://basklaassen.blogspot.com/2008/01/recover-database.html
I followed the steps for recovery and provided the path to my online log files and the recovery completed successfully.
Next down time for the production database for sure I will apply one of the patches above.
Hope that helped
Fadi
Showing posts with label clone. Show all posts
Showing posts with label clone. Show all posts
Sunday, March 16, 2008
Wednesday, June 27, 2007
Multi to Single node Cloning issue
A friend called me yesterday he was facing the following error when he tried to clone from multi node to single node cloning
"Could not create the high water mark manifest..Please re-run the program to create the manifest required for merging APPL_TOPs"
He faced this error after he run the (perl adpreclone.pl appsTier merge) and then he cancel it while running and then he run it again on the other node then he recived this error.
According to metalink notes 372819.1 and 372758.1 he should reapply the AD.I.x patch again to the node and then run Maintain snapshot and then run the perl adpreclone.pl appsTier merge again, we did so and every thing went fine.
Hope that helped and by the way this will be my last post before my Eye LASIK Surgery which is scheduled tomorrow morning at 8:30 a.m.
Fadi
"Could not create the high water mark manifest..Please re-run the program to create the manifest required for merging APPL_TOPs"
He faced this error after he run the (perl adpreclone.pl appsTier merge) and then he cancel it while running and then he run it again on the other node then he recived this error.
According to metalink notes 372819.1 and 372758.1 he should reapply the AD.I.x patch again to the node and then run Maintain snapshot and then run the perl adpreclone.pl appsTier merge again, we did so and every thing went fine.
Hope that helped and by the way this will be my last post before my Eye LASIK Surgery which is scheduled tomorrow morning at 8:30 a.m.
Fadi
Thursday, May 24, 2007
Small issue after cloning
After I cloned my production system I faced the following error when I run adadmin or adpatch
"
AD code level : [11i.AD.I.4]
The Applications System names per the APPL_TOP and the database are different.
Applications System name per the APPL_TOP: clone
Applications System name per the database: prod
If you continue, the Applications System name per the APPL_TOP will be ignored.
Do you wish to continue [No] ?
"
To solve it I had to run the following update statement on my clone database
update FND_PRODUCT_GROUPSset APPLICATIONS_SYSTEM_NAME ='clone' ;commit;
Hope that helped
fadi
"
AD code level : [11i.AD.I.4]
The Applications System names per the APPL_TOP and the database are different.
Applications System name per the APPL_TOP: clone
Applications System name per the database: prod
If you continue, the Applications System name per the APPL_TOP will be ignored.
Do you wish to continue [No] ?
"
To solve it I had to run the following update statement on my clone database
update FND_PRODUCT_GROUPSset APPLICATIONS_SYSTEM_NAME ='clone' ;commit;
Hope that helped
fadi
Thursday, February 08, 2007
Cloning after Appling Patch 4676589 ATG_PF.RUP 4
If you applied the ATG_PF.RUP 4 patch you will face the following error when running the perl command
perl adpreclone.pl dbTier or appsTier
ERROR
Global symbol "$resultclone" requires explicit package name at adpreclone.pl
line 525.
syntax error at adpreclone.pl line 527, near "$resultclone !"
syntax error at adpreclone.pl line 530, near "}"
Execution of adpreclone.pl aborted due to compilation errors
There are 2 solutions to this error:
-applying one of the patches (5132155,5225940,5235401).
Or
- You can make the following changes in the file adpreclone.pl 115.49, replace the following and retest the issue.
Replace:
$resultclone = system "$syscmd";
# added for bug #4448838
if($resultclone ! = 0 )
With:
my $resultclone = system "$syscmd";
# added for bug #4448838
if($resultclone != 0 )
enjoy cloning
fadi
perl adpreclone.pl dbTier or appsTier
ERROR
Global symbol "$resultclone" requires explicit package name at adpreclone.pl
line 525.
syntax error at adpreclone.pl line 527, near "$resultclone !"
syntax error at adpreclone.pl line 530, near "}"
Execution of adpreclone.pl aborted due to compilation errors
There are 2 solutions to this error:
-applying one of the patches (5132155,5225940,5235401).
Or
- You can make the following changes in the file adpreclone.pl 115.49, replace the following and retest the issue.
Replace:
$resultclone = system "$syscmd";
# added for bug #4448838
if($resultclone ! = 0 )
With:
my $resultclone = system "$syscmd";
# added for bug #4448838
if($resultclone != 0 )
enjoy cloning
fadi
Subscribe to:
Posts (Atom)