failed to read metadata from the _SDOLAYER table
Cause : nAe rrrow sae cnuotnreder aeidgnt ehl yarem tedata arfmot eh< aley>rS_ODALEY Ratlb.e
hTsie rrroi ssuaull yht eerustlo fnae railree rrrow ihhcs ohlu dlaosh va eebner peroet.dA ddersst ih scaocpmnaiygne rrroa dnr teyrt ehc ruertno eparitno .fIn ocaocpmnaiygne rrrow sar peroet,dc noattcO arlc euSppro teSvrcise.
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.