Rickard �berg wrote:
>
> Hey
>
> Holger Baxmann wrote:
> > public SimpleTest() {
> > try {
> > System.out.print("Trying the context...");
> > Properties prop = new Properties();
> > prop.put(Context.INITIAL_CONTEXT_FACTORY,
> > "org.jnp.naming.interfaces.NamingContextFactory");
> > prop.put(Context.URL_PKG_PREFIXES,
> > "org.jnp.naming.interfaces");
> > prop.put(Context.PROVIDER_URL,
> > "127.0.0.1");
> > Context ecc = new InitialContext(prop);
>
> Tip: put the JNDI properties in a file called "jndi.properties" which
> should be accessible through the classpath. Much easier to change
> without recompiling.
>
yeah and the file is already there
marc
> /Rickard
>
> --
> Rickard �berg
>
> @home: +46 13 177937
> Email: [EMAIL PROTECTED]
> http://www.dreambean.com
> Question reality
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]