The moose likes Other JSE/JEE APIs and the fly likes How to set Context.INITIAL_CONTEXT_FACTORY Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "How to set Context.INITIAL_CONTEXT_FACTORY" Watch "How to set Context.INITIAL_CONTEXT_FACTORY" New topic
Author

How to set Context.INITIAL_CONTEXT_FACTORY

Xinyi Zhang
Ranch Hand

Joined: Apr 28, 2001
Posts: 42
Hello, everyone,
How to set Context.INITIAL_CONTEXT_FACTORY in different environment? Such as OpenLDAP and TomCat Server.
Thanks
------------------
<b><i>Xinyi</i></b>


Xinyi
Adam Hardy
Ranch Hand

Joined: Oct 09, 2001
Posts: 563
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?


I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
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


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
 
 
subject: How to set Context.INITIAL_CONTEXT_FACTORY
 
Threads others viewed
How to set default value for a radio button?
How to set "commentList" attribute in HFSJ p. 441 example?
Set character formatting in Excel using POI
exception in running cmp in jboss4.0.2
How to display XML documents using JSP?
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com