JBoss Community

Re: remote JNDI

created by justdoit in JBoss AS 7 Development - View the full discussion

thanks for the quick response.

 

 

I'm getting ClassNotFoundException for the sentence, on Jboss nightly build 604:

env.put(Context.INITIAL_CONTEXT_FACTORY, org.jboss.naming.remote.client.InitialContextFactory.class.getName());

 

Caused by: java.lang.ClassNotFoundException: org.jboss.naming.remote.client.InitialContextFactory from....

 

 

 

Another thing, could you please check if this lookup is correct:

  context.lookup("remote:" + appName + "/" + moduleName + "/" + distinctName + "/" + beanName + "!" + viewClassName);

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community