You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Dowd, Brian" <bd...@lehman.COM> on 2002/03/11 12:54:07 UTC

Loggable NoClassDefFoundError in FOP 1.20.3 and WL 6.1

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:bdowd@lehman.com)
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.



Re: Loggable NoClassDefFoundError in FOP 1.20.3 and WL 6.1

Posted by "Peter B. West" <pb...@powerup.com.au>.
Dowd, Brian wrote:

>HI,
>    I am deploying a big EAR in WL 6.1 on solaris ...
>

Brian,

I assume this is for some clandestine eavesdropping operation.

Peter