Did you include a META-INF/MANIFEST.MF with the class path in the war or were you counting on the class path given in the ejb jar's manifest?

We have been successful in using library classes in the ear from servlets by having the following structure in the war

[war root]
|- WEB-INF
| |- web.xml
|- META-INF
|- MANIFEST.MF {including class path to lib/dependency.jar}

our typical ear structure:
[ear root]
|- ejbmodule1.jar
|- webapp.war
|- lib
|- dependency.jar

I don't know if the configuration of classloading for jbossweb affects this. We've been using the default setting in JBoss 3.0.4

/Fredrik Lindgren

Eric Jain wrote:
What is the latest version that you tested where it did not work?

3.2-RC2

No problem with loading classes from ejb jars, either. Furthermore, servlets
in the war have access to all classes that are loaded by the ejbs, but won't
load any classes from jars in the ear lib directory on their own, it seems.


--
Eric Jain



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to