Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is the Sun apps 8.1 INITIAL_CONTEXT_FACTORY ?

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thank you for reading ,
What is the Sun apps 8.1 INITIAL_CONTEXT_FACTORY ? and PROVIDER_URL ?
It is diffrent in application servers ? and i found no place in the web
containing all of this constant as a refrence .
I searched all of the Apps 8.1 docs which is shipped with it , with no luck
 
raj sekar
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Check/post you query to Sun forum....

http://swforum.sun.com/jive/category.jspa?categoryID=35
 
raj sekar
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try this:

com.sun.jndi.cosnaming.CNCtxFactory

Properties env = new Properties();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
env.put(Context.PROVIDER_URL, "iiop://localhost:2809/");
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic