I am creating a session bean ..and simply i am calling my bean from a standalone class ..and i m getting following exception ,, I am using WSAD5.1
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:657) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:255) at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:292) at javax.naming.InitialContext.lookup(InitialContext.java:359)
"Yogesh", you have previously been warned on one or more occasions regarding adjusting your display name to meet JavaRanch standards. This is not optional. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it prior to your next post.
Be aware that accounts with invalid display names are removed.