Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invoking EJBs across the Servers

suhas walanjoo
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
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.NamingContextFactory");
env.put("java.naming.provider.url", "comp194:1099");
env.put("", "yes");
Context ctx = new InitialContext(env);
When the servlet is called it throws exception access denied (
C:\tomcat-4.1\webapps\dxdamsweb1.0\WEB-INF\classes\ read)
I tried modifying catalina.policy file for the permission still it is giving me those errors.
Can someone please help me. If you do know the answer or want to commmunicate with me please write
Suhas Walanjoo
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic