change yr wlinitialcontesxt to t3initialcontext
and then try to run it.
also set the myserver settings as default with protocol as t3
Ketan Puri
Associate
HCL Perot Systems
(Youngest CMM Level 5 company)
Ph 91-11-91 4581236-41 Ext. 3240
[EMAIL PROTECTED], [EMAIL PROTECTED]
NOIDA, INDIA.
> -----Original Message-----
> From: Ashish Bhatia [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, August 30, 2000 6:42 PM
> To: [EMAIL PROTECTED]
> Subject: Another Weblogic issue
>
> Hi,
> I have written a stateless session bean and a java bean to access
> this stateless session bean. The EJB is deployed in Weblogic 5.0 sp4. The
> following error message is displayed whenever the client program tries to
> get the initial context.
>
> Please help as to where am I going wrong.
>
>
> C:\jdk1.3\bin\java.exe client
> Working Directory - C:\ntt\
> Class Path -
> c:\jdk1.3\lib\tools.jar;c:\jdk1.3\bin;c:\jdk1.3\jre\lib\rt.jar;C:\j2sdkee1
> .2
> .1\lib\j2ee.jar;C:\ntt\LoginProject.jar
>
> Naming Excepton occurredCannot instantiate class:
> weblogic.jndi.WLInitialContextFactory
>
> Cannot instantiate class: weblogic.jndi.WLInitialContextFactory
>
> javax.naming.NoInitialContextException: Cannot instantiate class:
> weblogic.jndi.WLInitialContextFactory. Root exception is
> java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory
>
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:195)
> at
> com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:45)
> at
> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:655)
> at
> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
> at javax.naming.InitialContext.init(InitialContext.java:222)
> at javax.naming.InitialContext.<init>(InitialContext.java:198)
> at WorkerLoginBean.validateLogon(WorkerLoginBean.java:102)
> at client.main(client.java:11)
> Caught an unexpected exception!
>
> java.lang.Exception
> at WorkerLoginBean.validateLogon(WorkerLoginBean.java:129)
> at client.main(client.java:11)
>
> Thanks
> Ashish Bhatia
>
>
> Visit http://www.NetVarsity.com for online learning
>
> ==========================================================================
> =
> 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".
===========================================================================
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".