Hi,
I have tried out the example available at thread 4212

using JBOSS 4.2.2 GA as webserver and MyEclipse as IDE. I got the following error. Can you please guide me on this?

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(U nknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unkn own Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx (Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at org.jboss.tutorial.stateless.client.Client.main(Cl ient.java:15)


Thanks
Gowri