aravind kopparthi wrote:
and also defined one in META-INF/jboss.xml ( just to avoid the Jboss specific annotation(@SecureDomain) in EJBs ) j_security_check was working fine but not ejbs.
That's too little information to even guess what might be wrong. Enable Security level TRACE level (Q4 here http://community.jboss.org/wiki/SecurityFAQ) and see if it shows any issues.