• Post Reply Bookmark Topic Watch Topic
  • New Topic

context.provider_url

 
jazy smith
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Hashtable ht = new Hashtable();

ht.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");

ht.put(Context.PROVIDER_URL, providerurl);

ctx = new InitialContext(ht);

please tell me the 'providerurl' is the fixed value like INITIAL_CONTEXT_FACTORY ?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35743
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends on your application server. Since this isn't JDBC specific, I'm moving it to our JEE forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!