I read somewhere in the forums that maybe I should not supply a hostname and factory
while trying to get the initial context. I tried that, and that did not solve the
problem. Hence, I did this:
props = new Properties();
// JBOSS DOES NOT LIKE THE FOLLOWING TWO LINES... GO FIGURE.
// props.put(Context.INITIAL_CONTEXT_FACTORY,providerFactory);
// props.put(Context.PROVIDER_URL, jndiProviderUrl);
if (user != null)
{
props.put(Context.SECURITY_PRINCIPAL, user);
}
if (password != null)
{
props.put(Context.SECURITY_CREDENTIALS, password);
}
propCache.put(key,props);
}
Context out=new InitialContext(props);
HELP!!!!!!!!!!!!!!!!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832969#3832969
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832969
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development