[jboss-user] [EJB 3.0] - NameNotFoundException

t.jayanandan do-not-reply at jboss.com
Fri Sep 22 05:34:23 EDT 2006


i used ejb3.0 in jboss4.0.4.While look up for remote bean it throws NameNotFoundException

i used lookup code:-
                          Stock stock = (Stock) initialContext.lookup("StockBean/remote");

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.provider.url=jnp://192.168.0.91:1099

i included all the jars in the path.
But it still throws StockBean not found.NameNotFoundException
This code works in jboss 4.0.3spi,but not in jboss4.0.4
Please help me.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973507#3973507

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973507



More information about the jboss-user mailing list