Hi Folks,
I need to integrate my jboss server and tomcat 5.0
web server(standalone) using JNDI.
I need explicitly mention JNDI properties in the
web server code for it to work.
p.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
p.put(Context.URL_PKG_PREFIXES,
"jboss.naming:org.jnp.interfaces");
p.put(Context.PROVIDER_URL, "192.168.1.84:1099");
Defining the parameters in the jndi.properties does
not work.
I looked up the old posts and tried this solution
too..
props.load(
servlet.getServletContext().getResourceAsStream(
"/WEB-INF/classes/jndi.properties" ) );
but no success.
Am i missing something here.
TIA
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]