I found the problem. The problem is I tick the ORB > IIOP Client Authentication > Required checkbox on glassfish admin console. When I set the required as false, I can use the non-default realm.
[Message sent by forum member 'thlee86']
http://forums.java.net/jive/thread.jspa?messageID=485534