tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mykola A. Nickishov" ...@mn.com.ua>
Subject Re: Tomcat 4 and JNDI Question
Date Sun, 14 Oct 2001 17:20:57 GMT
And what about the solution?

"Andrew" <asd@ezan.ac.ru> writes:

> 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
> >
> >
> >
> >

-- 
JUG Kiev @ http://www.jug.kiev.ua/
ICQ #83060237
MAN-UANIC

Mime
View raw message