Actually now you mention it.. I noticed something too..

My app is structured thus:

-myear.ear
        -lib/
                jdom.jar
                junit.jar
        +blah.war
        -blah.jar
                -META-INF/
                        Manifest.mf
                +otherstuff
        +META-INF/
                

In the manifest of my ejb jar I have

Manifest-Version:1.0
Class-Path: ./lib/jdom.jar ./lib/junit.jar

Now in Jboss-3.0.2 everything works fine and my servlets can access the
jdom classes..

However in Jboss-3.0.4 I get ClassNotFound org.jdom.Element thrown from
my servlets.

I had a sniff around.. currently I am happy that it works with 3.0.2..

Can anyone shed light on this?
Is there anything that I need to set in my WAR file like a Manifest.mf?

I want to keep my third party libs in one place and I don't want to
clutter the Jboss dist. so I want to avoid putting a copy in WEB-INF/lib

Yours
Phil




On Fri, 2002-11-15 at 00:35, Sebastian Hauer wrote:
> It works for me using 3.0.4/Jetty.
> I have some thrirdparty jars in my .ear/.war/WEB-INF/lib.
> Where inside your EAR is the code located that can't access the stuff in
> WEB-INF/lib?
> I would guess that it might be some kind of a classloader scope problem
> but that seems strange with JBoss' new UnifiedClassloader concept.
> 
> Sebastian
> 
> > -----Original Message-----
> > From: Sonnek, Ryan [mailto:Ryan.Sonnek@;bpc.com] 
> > Sent: Thursday, November 14, 2002 3:31 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: [JBoss-user] JBoss 3.0.4 w/ Jetty Classloader
> > 
> > 
> > I can't tell where this problem is, but the classloader of my 
> > ear file seems to be failing.  i've got an ear file packaged 
> > with a war file.  within the war's WEB-INF/lib i have a jar 
> > file with reporting classes.  i'm continually getting a class 
> > not found exception.  if i pull the jar file out of the 
> > WEB-INF/lib and put it in JBOSS_HOME/server/custom/lib, the 
> > classes are found.  it isn't a big deal to have them in 
> > custom/lib, but why wouldn't it work in WEB-INF/lib?  i used 
> > to store them in WEB-INF/lib with 2.4.4 w/ tomcat.  has 
> > something changed, or is this a jetty thing?
> > 
> > Ryan
> > Ryan J. Sonnek
> > Brown Printing Company
> > J2EE Application Developer
> > 507.835.0803
> > <mailto:ryan.sonnek@;bpc.com>
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by: To learn the basics of securing 
> > your web site with SSL, click here to get a FREE TRIAL of a Thawte 
> > Server Certificate: http://www.gothawte.com/rd524.html
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED] 
> > https://lists.sourceforge.net/lists/listinfo/j> boss-user
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by: To learn the basics of securing 
> > your web site with SSL, click here to get a FREE TRIAL of a Thawte 
> > Server Certificate: http://www.gothawte.com/rd524.html
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED] 
> > https://lists.sourceforge.net/lists/listinfo/j> boss-user
> > 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: To learn the basics of securing 
> your web site with SSL, click here to get a FREE TRIAL of a Thawte 
> Server Certificate: http://www.gothawte.com/rd524.html
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to