HI,
    I am deploying a big EAR in WL 6.1 on solaris and I am bundling FOP
1.20.3 with it, I am
also including avalon 4.0 and logkit 1.0 jars within it as they are needed
by fop.jar.  Whenever I
try to construct a "Driver()" class I get a NoClassDefFoundError on the
org.apache.framework.logger.Loggable
interface that it needs.  The strange thing is that when I do the following
:

try {
  ClassLoader cl = this.getClass().getClassLoader();

  cl.loadClass("org.apache.avalon.framework.logger.Loggable"); //
.........this works OK

  // the following .... fails with NoClassDefFoundError on Loggable
  org.apache.fop.apps.Driver d = new org.apache.fop.apps.Driver(); 

} catch (Throwable t) {
  cat.error("failed:", t);
}

It DOES work when I put the necessary jars on the  server startup class
path, however it would obviously be
better to be able to bundle the 3rd party jars within my EAR ....... I know
this seems like it would be a general
weblogic classloader question - but I have had no problems with any other
3rd party jars that are similar to
this one.  

Has anyone else had these kinds of problems ?

Cheers,
Brian.

Brian Dowd (mailto:[EMAIL PROTECTED])
Global Volatility Convertible Bonds Technology
phone: 020 7260 1375





------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the 
designated recipient(s) named above.  If you are not the intended recipient of 
this message you are hereby notified that any review, dissemination, 
distribution or copying of this message is strictly prohibited.  This 
communication is for information purposes only and should not be regarded as an 
offer to sell or as a solicitation of an offer to buy any financial product, an 
official confirmation of any transaction, or as an official statement of Lehman 
Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  
Therefore, we do not represent that this information is complete or accurate 
and it should not be relied upon as such.  All information is subject to change 
without notice.


Reply via email to