webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Adapter throws NoClassDefFoundError

  • 1.  Adapter throws NoClassDefFoundError

    Posted Sun November 24, 2002 08:44 PM

    Hi,

    we are running ActiveWorks 4.1 Broker on a Windows 2000 ServicePack 3 installation. One of our adapters throws a NoClassDefFoundError when it gets instantiated. The class is in a jar file that we dropped into the java/jre/lib/ext directory of the ActiveWorks installation.
    Apparently ActiveWorks is not using this directory to locate it’s resources, though. Where is the classpath defined that it uses? Any hints what could cause this problem otherwise?

    Thanks,
    Sven


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Adapter throws NoClassDefFoundError

    Posted Sun November 24, 2002 09:28 PM

    I guess that you could solve the problem in 2 ways:
    1). Place your jar file in the webMethods/lib directory
    2). Add the jar file manually in CLASSPATH or SYSTEMCLASSPATH parameters in your adapters.cfg file. You need the jar file in the SYSTEMCLASSPATH if the jar is needed for the introspection of the main adapter class. Otherwise, if the jar file is only needed later for running it is enough to put it in the CLASSPATH (which you can also do in the Java tab of the Adapter Config tool).


    #Integration-Server-and-ESB
    #webMethods