I could understand if the classes inside my ejb-jar could not access the jar
files in WEB-INF/lib, but I'm getting the class not found from a jsp page.
here's my ear's package structure.  i've tried various Class-Path options
for the manifest.mf inside the ear, ejb-jar, and war.  so far, i'm still
only able to get this to work if the files are in server/config/lib.

.ear
  common-classes.jar
  myejb-jar.jar
  mywar.war
    WEB-INF/lib/jfreereport.jar

ear's manifest:
Manifest-Version: 1.0
Created-By: Apache Ant 1.5.1
Built-By: RyanS
Class-Path: ./common-classes.jar

myejb-jar.jar's manifest:
Manifest-Version: 1.0
Created-By: Apache Ant 1.5.1
Built-By: RyanS
Class-Path: ./common-classes.jar

mywar.war's manifest:
Manifest-Version: 1.0
Created-By: Apache Ant 1.5.1
Built-By: RyanS
Class-Path: ./common-classes.jar

everything looks right to me.

-----Original Message-----
From: Sebastian Hauer [mailto:sebastian.hauer@;sknt.com]
Sent: Thursday, November 14, 2002 6:35 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] JBoss 3.0.4 w/ Jetty Classloader


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