I had a problem just like this recently.   I ended up hacking around it by
putting a second copy of common.jar in WEB-INF/lib.   As far as the
ejb1.jar - create a client version of the jar (home and remote i/f classes
only) and put that in WEB-INF/lib.

Sorry this isn't more helpful!

----- Original Message -----
From: "Adison" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 26, 2001 2:59 AM
Subject: [JBoss-user] JSP compilation error (JBoss+Tomcat)


> Hi all,
>
> I am deploying an EAR that contains EJB and WAR.
> The EJB and WAR both uses some common classes (stored in a JAR file, say
> common.jar)
>
> So here's the structure of the EAR file:
>
> example.ear
>   META-INF/
>     application.xml
>   web.war
>     META-INF/
>       MANIFEST.MF (Class-Path: lib/common.jar ejb1.jar)
>     (some jsp files)
>   ejb1.jar
>     META-INF/
>       MANIFEST.MF (Class-Path: lib/common.jar)
>   lib/
>     common.jar
>
>
> The EAR deploys just fine. However, when I tried to run the JSP (Apache
> Jasper), it complains about not finding the classes in both common.jar
> and ejb1.jar.
>
> BTW, the application.xml specifies both the web.war and ejb1.jar modules
> (but no common.jar).
>
> Have I packaged it right?
>
> Thanks for any help.
>
> Adison
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


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

Reply via email to