thanks. The spelling was the problem.

Is there a way to specify this in an xml file, so the application does not need to this,
but the system administrators can modify it when/if they move the app server?


thanks,
Walter Moore

Filip Hanik wrote:

I have added these parameters to tomcat (in catalina.bat):
-Djava.naming.provider.url=t3://lac-appserv.corp.fedex.com:7001
-Djava.naming.factory.intial=weblogic.jndi.WLInitialContextFactory



(check your spelling of ^^^^^ initial)


instead of adding these to catalina.bat, you may want to do this

Hashtable props = new Hashtable();
props.put("java.naming.provider.url","t3://lac-appserv.corp.fedex.com:7001")
;
props.put("java.naming.factory.initial","weblogic.jndi.WLInitialContextFacto
ry");
Context ctx = new InitialContext(props);

Filip



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to