This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

INITIAL_CONTEXT_FACTORY

 
alec stewart stewart
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which initial_context_factory should i use in case of weblogic 8.1
when i am using
prop.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
it gives the error:
javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContex
tFactory [Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFact
ory]
 
John Vergis
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Try including weblogic.jar while compiling in your classpath. This should solve your problem.
Regards
Johnny
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic