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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to