I have deployed ejbs on Jboss application server and I am calling the ejb's from web server(tomcat) which
is on different machine.
I have done the configurations for JNDI look up.
Context ctx = new InitialContext(env);
When the servlet is called it throws exception
java.security.AccessControlException: access denied (java.io.FilePermission
C: omcat-4.1webappsdxdamsweb1.0WEB-INFclassesjndi.properties read)
I tried modifying catalina.policy file for the permission still it is giving me those errors.
Can someone please help me. PLease write to me at [email protected]
if you do have an answer.