• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB deployment?

 
Tom Barns
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Marco Barenkamp
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!