Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 The Software Craftsman this week in the Agile 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: 10405

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

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: INITIAL_CONTEXT_FACTORY value for JBoss