tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remy Maucherat" <r...@apache.org>
Subject Re: 4.0.2/EJB InitialContext conflict
Date Tue, 29 Jan 2002 15:25:39 GMT
> I have a web/EJB application that ran in Tomcat 3.  It calls
InitialContext()
> assuming that it will get the EJB server's service implementation of jndi
so
> that it can locate various enterprise beans.
>
> Within tomcat4, when I call InitialContext(), I appear to be getting
tomcat's
> jndi implementation and not the EJB server's.
>
> How do I cause my EJB server's jndi implementation to have precedence over
the
> tomcat4 implementation?

Use the nonaming command line option.
Or you can also declare your IC implementation when launching the JVM (I
think code has been added so that Tomcat won't override it, although Tomcat
will still attempt to provide the J2EE ENC functionality).

Remy


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message