tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Walter Moore <wbmo...@fedex.com>
Subject Re: javax.naming.NameNotFoundException: Name blah.blahHome is not bound in this context
Date Fri, 23 Jan 2004 14:31:17 GMT
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message