IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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

IS Java compilation error: No method .. in class

  • 1.  IS Java compilation error: No method .. in class

    Posted Mon February 20, 2023 09:22 AM

    On Integration Server, when writing Java services using external libraries (JARs), sometimes this error is thrown:

    com.wm.app.b2b.server.ServiceException: [ISS.0026.9106] No method ... in class ...

    This error means that something went wrong during compilation but Integration Server is not willing to share any information with you on this particular topic. To find out what is actually going on:

    1. Go to {SAG_HOME}/IntegrationServer/instances/default/bin
    2. Run sh jcode.sh makeall <PackageName> (which is sort of what IS is doing when compiling)

    On your terminal you’ll get a proper error stack and explanation. Usually this is a missing class or similar.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods
    #Service-Designer


  • 2.  RE: IS Java compilation error: No method .. in class

    Posted Tue February 21, 2023 07:49 AM

    After oodles of frustration, there seem to be three likely causes for this:

    1. A simple compilation error that is poorly reported on (use code instead to find what is wrong)
    2. Jar loading issues (the problem goes away if you stop using the package class loader)
    3. Conflicting Jar library versions

    In case of #2 (which is easily tried by modifying the manifest.v3 and reloading the package), I do not have a solution yet but will post when found.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services
    #Service-Designer


  • 3.  RE: IS Java compilation error: No method .. in class

    Posted Tue February 21, 2023 10:02 AM

    My experiences with this have all turned out to be item 3 – JAR files that conflict in some way.

    That said, we rarely do this so this data point may not be helpful in terms of what to focus upon. Only have a couple of 3rd party JARs and we never create our own (rarely have a need).


    #Service-Designer
    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: IS Java compilation error: No method .. in class

    Posted Tue February 21, 2023 10:21 AM

    Thanks for your input. Indeed, JAR conflicts remain an issue. Especially since the JARs shipped with IS are generally old and outdated.


    #Integration-Server-and-ESB
    #Service-Designer
    #Flow-and-Java-services
    #webMethods