I believe the class you should be using in verson 4 websphere is: com.ibm.websphere.naming.WsnInitialContextFactory
I take it that you are running an external client program rather than your ejb client being a servlet? -----Original Message----- From: Ashwani Kalra [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 6:57 AM To: [EMAIL PROTECTED] Subject: Exception on websphere while creating InitialContext. Hi, the code below ctx = new InitialContext(p); Where P is Properties object which has PROVIDER_URL="iiop://localhost:9019"; INITIAL_CONTEXT_FACTORY="com.ibm.ejs.ns.jndi.CNInitialContextFactory"; is giving me following exception java.lang.NoClassDefFoundError: com/ibm/rmi/iiop/ORB at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:488) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106) at java.net.URLClassLoader.defineClass(URLClassLoader.java:243) at java.net.URLClassLoader.access$100(URLClassLoader.java:51) at java.net.URLClassLoader$1.run(URLClassLoader.java:190) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:183) at java.lang.ClassLoader.loadClass(ClassLoader.java:294) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281) at java.lang.ClassLoader.loadClass(ClassLoader.java:250) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310) at com.ibm.ejs.ras.TraceEvent.<init>(TraceEvent.java:612) Do I require this class. Where it will be ? I am using WAS 4.0 AE TIA Ashwani DISCLAIMER: The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee. Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized. If you are not the intended recipient please notify us immediately by returning the e-mail to the originator. ==========================================================================To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
