I'm having problems making my EJB Home/Remote interfaces available to my
web-application. 

Following the instructions in the manual
(http://www.jboss.org/documentation/HTML/ch11s55.html), I've created an EAR
file with the following layout:

    META-INF/
    META-INF/MANIFEST.MF
    META-INF/application.xml
    ejb-app.jar
    web-app.war
    lib/
    lib/log4j.jar
    lib/util.jar

The contents of ejb-app.war/META-INF/MANIFEST.MF are

    Manifest-Version: 1.0
    Created-By: Ant 1.4alpha
    Class-Path: lib/log4j.jar lib/util.jar

and web-app.war/META-INF/MANIFEST.MF contains

    Manifest-Version: 1.0
    Created-By: Ant 1.4alpha
    Class-Path: ejb-app.jar lib/log4j.jar lib/util.jar

The com.cortexeb.ejb.product.ProductEntry class DOES seems to be available
to the web-app class-loader ... I can call it from a servlet.  

However, I'm having problems with JSPs, as shown below:

    org.apache.jasper.JasperException: Unable to compile class for 
JSP/home/mikew/Servers/JBoss-2.2.2_Tomcat-3.2.2/jboss/bin/work/localhost_8080%2Fcorshop/_0002fproduct_0002fdetail_0002ejspdetail_jsp_0.java:102:
 Class com.cortexeb.ejb.product.ProductEntry not found.

Putting ejb-app.jar into WEB-INF/lib works, but that's rather a grubby
work-around (I don't like having to duplicate the jar-file).

Is this a known problem?  I'm running JBoss-2.2.2/Tomcat-3.2.2.

-- 
Mike


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to