• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to set Context.INITIAL_CONTEXT_FACTORY

 
Xinyi Zhang
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, everyone,
How to set Context.INITIAL_CONTEXT_FACTORY in different environment? Such as OpenLDAP and TomCat Server.
Thanks
------------------
<b><i>Xinyi</i></b>
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i see you from your questions you're not getting much help. i doubt i can help but at least you know there are other people out there with similar problems.
what do you mean by a different environment? What do you have Context.INITIAL_CONTEXT_FACTORY set to now? What do you want to set it to?
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Xinyi Zhang:
How to set Context.INITIAL_CONTEXT_FACTORY in different environment? Such as OpenLDAP and TomCat Server.

How you set it up depends on the requirements of the environment. You can take a look at the JNDI tutorial as it covers OpenLDAP.
http://java.sun.com/products/jndi/tutorial/basics/prepare/software.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!