IntelliJ Java IDE
The moose likes BEA/Weblogic and the fly likes cannot instantiate weblogic.jndi.WLInitialContextFactory Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "cannot instantiate weblogic.jndi.WLInitialContextFactory" Watch "cannot instantiate weblogic.jndi.WLInitialContextFactory" New topic
Author

cannot instantiate weblogic.jndi.WLInitialContextFactory

Erin Baron
Greenhorn

Joined: Nov 01, 2000
Posts: 26
I have VisualCafe4.0 and weblogicserver5.1.0 trial versions when i try to execute the EJB

In AppConsole getting error as
WebGain Java! JustInTime Compiler Version 4.00.002(x) for JDK 1.2
Copyright (C) 2000 WebGain, Inc.
[Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]javax
.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFacto
ry
at javax.naming.spi.NamingManager.getDefaultInitialContextFactory(NamingManager.java:720
)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:768)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:169)
at javax.naming.InitialContext.<init>(InitialContext.java:146)
at Base1Client.getInitialContext(Base1Client.java:56)
at Base1Client.main(Base1Client.java, Compiled Code)
press any key to exit...
If you do not want this console to remain after the VM exits,
clear the "Keep Executed App Console" setting in your Visual Cafe
environment options
Any help from anybody!!
ivorytower99
Greenhorn

Joined: Oct 19, 2001
Posts: 1
Hi,
I'm having the same problem when I try to run from VisualCafe and WL5.1. How did you solve the problem ?
Thanks
 
 
subject: cannot instantiate weblogic.jndi.WLInitialContextFactory
 
Threads others viewed
Running the headfirst ejb 1st chapter
Can't find class weblogic/ejbc
Cannot instantiate class: weblogic.jndi.WLInitialContextFacto
Can't find class weblogic/ejbc
Runtime Exception - could not connect to EJB server
MyEclipse, The Clear Choice