Each classloader has its own space, so I guess there is a loader problem.
Ive had similar problems using the URL Class loader. Basically need to
ensure that all the classes are available in each class loader

HTH

J

-----Original Message-----
From: Adison [mailto:[EMAIL PROTECTED]]
Sent: 26 September 2001 08:00
To: [EMAIL PROTECTED]
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