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 value for JBoss

 
Pranav Pal
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What would be the values of Context.INITIAL_CONTEXT_FACTORY and Context.PROVIDER_URL for JBoss App Server while looking up for a DataSource
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
InitialContextFactory is org.jnp.interfaces.NamingContextFactory and ProviderURL is jnp://localhost:1099 (replace localhost with appropriate hostname or IP).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic