Hi I'm new to ejb,this is the first time i try to deploy an ejb. I've created an enterprise bean using visualcafe and i got the jar file and i put under myserver directory. i tried to execute the client and i got the following error: [Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialCont extFactory]javax.naming.NoInitialContextException: Cannot instantiate class: web logic.jndi.WLInitialContextFactory please let me know how to link somehowe visualcafe to weblogic and what do i need to get the bean deployed. thanks.
Thanks for your help.
Marco Barenkamp
Ranch Hand
Joined: Aug 27, 2001
Posts: 94
posted
0
Hi, You do not have the weblogic specific classes on your classpath. Try the run the setenv skript that is situated in the bin folder (if you are using WebLogic 5) otherwise search for setenv.sh resp. setenv.bat. After running the script, it should work fine. Good luck! ------------------ Marco Barenkamp ____________________________________________ L M I N T E R N E T S E R V I C E S AG Senior Trainer & Architect, Sun Certified Programmer for the Java2 Platform Sun Certified Web Component Developer for the Java2 Platform Sun Certified Developer for the Java 2 Platform Sun Certified Enterprise Architect for the Java 2 Platform Enterprise Edition (PI)
Marco Barenkamp<br />_ _ _ _ _ ________________________ _ _ _ _ _ <br />L M I N T E R N E T S E R V I C E S AG<br /> <br />Head of Software Development<br /> <br /> <br />BEA Certified Enterprise Developer<br />Sun Certified Programmer for the Java2 Platform<br />Sun Certified Web Component Developer for the Java2 Platform<br />Sun Certified Developer for the Java 2 Platform <br />Sun Certified Business Component Developer for the Java 2 Platform <br />Sun Certified Enterprise Architect for the Java 2 Platform Enterprise Edition<br /> <br />LMIS AG