Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in running the client for SessionBean

 
nagaraj reddy
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I deployed my SessionBean using Weblogic8.1, when i run the client java file i am getting the fallowing exception.


javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLIInitialContextFactory [ Root exception is java.lang.ClassFoundException:weblogic.jndi.WLIInitialContextFactory]


Plx tell me where i am going wrong.
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds like your client isn't including WebLogic's JNDI classes on it's classpath. JBoss had a specific JAR that clients needed to have on their classpath--I assume it's similar for WebLogic.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic