| Article: |
Deploying Web Applications to Tomcat | |
| Subject: | I am not able access a EJB from a servlet running on a tomcat webroser | |
| Date: | 2003-02-24 06:36:13 | |
| From: | modiba | |
|
I have just started learning Java. I have created an entity bean and deployed on a j2ee refernce server. I have included Client.jar file in CLASSPATH variableThen I created a standalone application and it works fine. Now I am trying to use it in servlet deployed on a tom cat web server I get following error message- javax.servlet.ServletException: Servlet execution threw an exception at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) ... .... root cause
|
||
Showing messages 1 through 1 of 1.
-
I am not able access a EJB from a servlet running on a tomcat webroser
2004-01-13 11:50:27 anonymous2 [View]



try to put your ejb.jar and j2ee.jar in the WEB-INF/lib/...
instead.
It seems that Tomcat doesnt consider at all the classpath .
Hope it helps
Rachid K.