On Fri, 10 Aug 2001, Steven Caswell wrote:
> I understand that Tomcat does not "support" EJB in the
> sense that it does not provide a container. However,
> I'm trying to access an EJB being served by Sun's
> Reference Implementation. I can't figure out how to
> get Tomcat to find the com.sun classes necessary to
> create the JNDI initial context. If I put the
> j2ee.jar in the webapp's WEB-INF\lib path, Tomcat
> simply can't find the right classes. If I put
> j2ee.jar in Tomcat's lib path, Tomcat won't start. Is
> there a simple way for me to configure either Tomcat
> or my webapp to find the appropriate JNDI classes?
> TIA
>
To use EJBs inside the J2EE RI, you'll need to run your web apps inside
the RI's servlet container (which happens to be Tomcat -- J2EE RI 1.2 has
a modified version of Tomcat 3.0, while J2EE RI 1.3 includes Tomcat 4.0).
Craig McClanahan