tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chris brown" <...@reflexe.fr>
Subject Re: 4.0.2/EJB InitialContext conflict
Date Tue, 29 Jan 2002 15:43:36 GMT
Quick related question:

I've noticed that when using ServletContext.getResource(), Tomcat returns a
URL in which "jndi://" is the protocol.  Would using the "nonaming" option
disable this?!

-Chris

----- Original Message -----
From: "Remy Maucherat" <remm@apache.org>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Tuesday, January 29, 2002 4:25 PM
Subject: Re: 4.0.2/EJB InitialContext conflict


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



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