tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Grøntoft Dybdahl <gront...@yahoo.no>
Subject jndi.properties not found in app. classpath
Date Tue, 09 Jan 2001 15:40:07 GMT
Looking up an EJB in jBoss from Tomcat 3.2.1 works
if Tomcat is started with 
-Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
-Djava.naming.factory.url.pkgs=org.jnp.interfaces
-Djava.naming.provider.url=localhost

but not if the same information is provided in a
jndi.properties file placed in WEB-INF/classes dir of
my application.

Is the latter method incorrect?

erik


_______________________________________________________
Do You Yahoo!?
Del dine bilder med andre på http://no.photos.yahoo.com

Mime
View raw message