This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes INITIAL_CONTEXT_FACTORY value for JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "INITIAL_CONTEXT_FACTORY value for JBoss" Watch "INITIAL_CONTEXT_FACTORY value for JBoss" New topic


Pranav Pal
Ranch Hand

Joined: Nov 04, 2007
Posts: 74
What would be the values of Context.INITIAL_CONTEXT_FACTORY and Context.PROVIDER_URL for JBoss App Server while looking up for a DataSource

Hakuna Matata!
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10433

InitialContextFactory is org.jnp.interfaces.NamingContextFactory and ProviderURL is jnp://localhost:1099 (replace localhost with appropriate hostname or IP).

[My Blog] [JavaRanch Journal]
It is sorta covered in the JavaRanch Style Guide.
subject: INITIAL_CONTEXT_FACTORY value for JBoss
It's not a secret anymore!