Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Problem invoking ejbs across servers

  Asked By: Harley    Date: Jun 26    Category: Java    Views: 589
  

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.

env.put
(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFac
tory");
env.put("java.naming.provider.url", "comp194:1099");
env.put("java.naming.rmi.security.manager", "yes");
Context ctx = new InitialContext(env);

When the servlet is called it throws exception

java.security.AccessControlException: access denied
(java.io.FilePermission C:\tomcat-4.1\webapps\dxdamsweb1.0\WEB-
INF\classes\jndi.properties read)

I tried modifying catalina.policy file for the permission still it is
giving me those errors.

Can someone please help me.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Problem invoking ejbs across servers Or get search suggestion and latest updates.




Tagged: