[jboss-dev-forums] [JBoss AS 7 Development] - Re: remote JNDI
justdoit
do-not-reply at jboss.com
Thu Feb 16 06:09:16 EST 2012
justdoit [https://community.jboss.org/people/justdoit] created the discussion
"Re: remote JNDI"
To view the discussion, visit: https://community.jboss.org/message/717092#717092
--------------------------------------------------------------
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
[https://community.jboss.org/message/717092#717092]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120216/f1b2578b/attachment.html
More information about the jboss-dev-forums
mailing list