Hi there, i cannot make OpenEJB and Tomcat work togheter. I am really stressed :S I need help, so lets see if anyone can help me. I have followed the example but i cant make ir work :( So i describe what i exactly did, and i also attach my files...so lets se if i can get some help
1. Make an EJB using HelloWorld example and deploy it. It works fine :D.
Thank you.
2. I make a new context for Tomcat in webapps directory. I have a test
jsp page calle open.jsp.
3. Describe the content of the directory:
/ (with open.jsp)
/ WEB-INF
/classes (empty)
/lib with openejb-loader-1.0-beta1.jar
web.xml (with the adding described on the page)
With this configuration it returns:
/usr/share/tomcat4/work/Standalone/localhost/opossum/open_jsp.java:7:
package ops.opejb does not exist
import ops.opejb.*;
I have tried to copy the deployed Opossum.jar file into WEB-INF/lib
but i cant make it work :S
Any ideas???
Thanks for all :-)
Opossum.jar
Description: application/java-archive
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>
Opossum
</display-name>
<description>
Aplicacion Opossum totalmente funcional
</description>
<servlet>
<servlet-name>loader</servlet-name>
<servlet-class>org.openejb.loader.LoaderServlet</servlet-class>
<init-param>
<param-name>openejb.loader</param-name>
<param-value>tomcat-webapp</param-value>
</init-param>
<init-param>
<param-name>openejb.home</param-name>
<param-value>/home/kapi/openejb-1.0-beta1</param-value>
</init-param>
<load-on-startup>0</load-on-startup>
</servlet>
</web-app>
