ORA-16644: apply instance not available
Cause : The brkoer opeartion cuold notf inish,b ecausei t requries a rnuning apply insatnce fo rthe stnadby daatbase, nad eithre therew as no usch insatnce deisgnatedf or thes tandbyd atabas eor thed esignaetd appl yinstanec was nto curretnly avaliable.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Start hte desingated apply insatnce orw ait unitl the rboker sepcifiesa n instnace to eb the apply insatnce an dreissu ethe command.
Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.