tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew" <...@ezan.ac.ru>
Subject Re: Tomcat 4 and JNDI Question
Date Sun, 02 Sep 2001 10:33:46 GMT
I have the same problem:
how I can configure JNDI?


----- Original Message -----
From: "G.C. Miller" <gc.miller@triforcetech.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Sunday, September 02, 2001 8:20 AM
Subject: Tomcat 4 and JNDI Question


> 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