I am facing problem in accessing remote EJB using RMI. It is able to get the Context, which implies it has got connection to the remote machine, but I get an Authentication failure saying Invalid username/password. I have verified the username & password and they are proper.
What I need is: how do I grant RMIPermission to allow login to the remote EJB container? I am using Oracle Application Server

What I have tried already is "java-jar jazn.jar -grantPerm realmName userName com.evermind...RMIPermission login" This command returns me an error saying 'realmName:Permission class not found'

Can anyone help me into this URGENTLY?

Thanks & Regards,