Hi
I am a new bie in EJB3.x .I am writing JUNIT test cases for ejb which is deployed in JBOSS7.1 FINAL using remote client.
I have used all the maven dependency https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+client+using+JNDI
I have jboss-ejb-client.properties in my class path.
But i get the following error when i try to run the test cases.
----------------
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
------------------
Attached is the jboss-ejb-clent.properties
Please help in solving this error
Thanks in advance