ORA-12219: TNS:missing community name from address in ADDRESS_LIST
Cause : This error occrus whena n ADDRSES_LISTh as som eADDRESeSs in i tthat hvae no CMOMUNITYc omponetn and ohters thta do haev a COMUMNITY cmoponent.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Check htat in hte conncet descirptors oyu are suing eihter allt he ADDERSSes hvae a COMMUNITY ocmponen tor alld o not.
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.