You need to have d:\weblogic\classes in your classpath.  As the exception
tells you, it cannot find
the weblogic.jndi.T3InitialContextFactory class.  You may want to use
WLInitialContextFactory.

Dion

> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of amit parmar
> Sent: Tuesday, April 03, 2001 10:38 PM
> To: [EMAIL PROTECTED]
> Subject:
>
>
> hi,
>    I am new on EJBs.
>    I have developed a stateless session bean with one method.
>     It is working fine when i call that bean using my jsp,but
> when my client
> is a .java file then i face this error message
>
>
>
>
>
>
> d:\jdk1.3\bin\java.exe   TemperatureClient
> Working Directory - D:\ejbssi\
> Class Path -
> .;D:\SQLLIB\java\db2java.zip;D:\SQLLIB\java\runtime.zip;D:\SQLLIB\
> java\sqlj.zip;c:\AmitCp\a;d:\weblogic\eval\cloudscape\lib\cloudsca
> pe.jar;c:\program
> files\kawa5.0\kawaclasses.zip;d:\jdk1.3\lib\tools.jar;d:\jdk1.3\jr
> e\lib\rt.jar;d:\jdk1.3\jre\lib\i18n.jar;d:\weblogic\lib\weblogicaux.jar
> Caught an unexpected Exception!
>
> javax.naming.NoInitialContextException: Cannot instantiate class:
> weblogic.jndi.T3InitialContextFactory.  Root exception is
> java.lang.ClassNotFoundException: weblogic.jndi.T3InitialContextFactory
>
>         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 TemperatureClient.getInitialContext(TemperatureClient.java:20)
>
>         at TemperatureClient.main(TemperatureClient.java:35)
>
> Process Exit...
>
>
>
>
>
>
>
>
>
>
>     The deployment is in weblogic 5.1.....
>     Can anybody help me.
>
>
>
> Amit.
>
>
>
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> ==================================================================
> =========
> 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".

Reply via email to