Meena Rajani [
http://community.jboss.org/people/MeenaRajani] created the discussion
"Re: newbie question: ejb3 tutorial examples"
To view the discussion, visit:
http://community.jboss.org/message/579040#579040
--------------------------------------------------------------
Hi
I am getting the same error with the same example. How you added add jnp-client.jar . I am
using I am using Elipse Helios and Jboss 6. I creted a java project with exisiting build
file.
The error stack is
Exception in thread "main" javax.naming.NoInitialContextException: Need to
specify class name in environment or system property, or as an applet parameter, or in an
application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.jboss.tutorial.stateless.client.Client.main(Client.java:34)
Can you please reply in detail as I am stucked with eclipse and Jboss for more than 3
weeks.
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/579040#579040]
Start a new discussion in EJB3 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]