tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "G.C. Miller" <gc.mil...@triforcetech.com>
Subject Tomcat 4 and JNDI Question
Date Sun, 02 Sep 2001 04:20:08 GMT
How can I set
java.naming.factory.initial
java.naming.provider.url
java.naming.factory.url.pkgs

I have tried putting a jndi.properties file in common/classes, common/lib,
WEB-INF/classes, and WEB-INF/lib  - didn't work.
I have also tried modifing catalina.sh as below

 else
    $JAVA_HOME/bin/java $CATALINA_OPTS -classpath $CP \
     -Dcatalina.home=$CATALINA_HOME \
     -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
\
     -Djava.naming.provider.url=jnp://localhost:1099 \
     -Djava.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces \
     org.apache.catalina.startup.Bootstrap "$@" start \
     >> $CATALINA_HOME/logs/catalina.out 2>&1 &
  fi

Still didn't work.

Any Ideas?

THanks,

G.C. Miller


Mime
View raw message