Hi, my web application is running in JBoss4.0.0. From this web app Im trying to access Remote EJB. The EJB is using org.jboss.security.ClientLoginModule. So Im using Login Context to login to the subject and I succeed in it. Only the first time i am getting the EJB. Next time Im getting error like "java.rmi.ServerException: EJBException:; nested exception is:javax.ejb.EJBException: checkSecurityAssociation; CausedByException is:Authentication exception, principal=null". If I restart the jboss and then I can able to get EJB once. What will be the reason?. ClientLoginmodule and JBoss are new to me.