Hi there,

This error has occurred after run the class file:

# java -classpath :/software/bea/wlserver6.1/lib/weblogic.jar MBSTesting
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:643)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:283)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at MBSTesting.main(MBSTesting2.java:22)

anyone can help me?

TQ

Neo