• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem in running the client for SessionBean

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic