tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <Craig.McClana...@eng.sun.com>
Subject Re: EJB
Date Thu, 16 Nov 2000 03:20:31 GMT
Peter Knight wrote:

> I have tried to invoke EJB's from TOMCAT and get:
>
> Internal Servlet Error:
> javax.servlet.ServletException: Need to specify class name in environment or
> system property:
> Root cause:
> javax.naming.NoInitialContextException: Need to specify class name in
> environment or system property: e.t.c.
>
> The EJB resides in an Oracle 8i 8.1.6 database.
> I have included the EJB API and the two EJB jar files in the class path and
> it doesn't seem to matter what I do, I cannot get it to work!!
> PLEASE PLEASE HELP ME!
>

Tomcat by itself does not support the JNDI context lookup stuff as described for
J2EE applications.  You will need to run on a server that embeds Tomcat and
provides the extra functionality required, such as the J2EE RI, or JBoss.

>
> Regards Peter Knight
>
>

Craig McClanahan



Mime
View raw message