aspose file tools*
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 Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "INITIAL_CONTEXT_FACTORY value for JBoss" Watch "INITIAL_CONTEXT_FACTORY value for JBoss" New topic
Author

INITIAL_CONTEXT_FACTORY value for JBoss

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
Marshal

Joined: Jul 20, 2005
Posts: 10066
    
163

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