This content has been marked as final.
Show 3 replies
-
1. Re: Failed to lookup(srp/SRPServerInterface)
starksm64 Mar 9, 2004 8:07 AM (in response to meera13)The jndi properties needed to connect to the server need to be passed in as SRPLoginModule options.
-
2. Re: Failed to lookup(srp/SRPServerInterface)
meera13 Mar 9, 2004 10:49 AM (in response to meera13)Thanks a lot for your attention but could you please tell me how to specify jndi properties needed to connect to the server which need to be passed in as SRPLoginModule ?
I tried doing
Properties p = new Properties( );
// ... specify the JNDI properties specific to the vendor
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, "localhost:1099");
InitialContext jndi = new InitialContext(p);
but no success.
Thanks in advance! -
3. Re: Failed to lookup(srp/SRPServerInterface)
meera13 Mar 9, 2004 12:05 PM (in response to meera13)thanks a lot anyways I figured it out ....
Cheers!
Meera