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
  • 1.  Migration from 8.2 to 9.12

    Posted Thu April 19, 2018 12:39 PM

    I use webmethod for a J2EE project.
    In the Java project, I used webMethods 8.2 with following libraries :

    • wm-brokerclient.jar
    • wm-h11nutils.jar
    • wm-g11nutils.jar
    • wm-isclient.jar
    • wm-isserver.jar
    • ext/enttoolkit.jar
    • ext/icu4j.jar
    • ext/mail.jar

    I migrate to webMethods 9.12 so I updates these libraries, the project still build with eclipse but dont build with ant.

    My question is : Does webMethods 9.12 need more libraries than I use ?

    I have following error :
    Exception in thread “main” java.lang.NoClassDefFoundError: com/webMethods/sc/auditing/API/WmAuditException
    at com.wm.app.b2b.server.BaseService.setXmlFormat(BaseService.java:502)
    at com.wm.app.b2b.server.BaseService.setNodeValues(BaseService.java:650)
    at com.wm.app.b2b.server.BaseService.(BaseService.java:191)
    at com.wm.app.b2b.server.NodeUtil$NodeInfo.(NodeUtil.java:1709)
    at com.wm.app.b2b.server.NodeUtil.writeFrags(NodeUtil.java:1220)
    at com.wm.app.b2b.server.NodeUtil.frag(NodeUtil.java:1180)
    at com.wm.app.b2b.server.NodeUtil.fragall(NodeUtil.java:1169)
    at com.wm.app.b2b.server.NodeUtil.main(NodeUtil.java:101)
    Caused by: java.lang.ClassNotFoundException: com.webMethods.sc.auditing.API.WmAuditException
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    … 8 more


    #API-Management
    #API-Portal
    #webMethods


  • 2.  RE: Migration from 8.2 to 9.12

    Posted Thu April 19, 2018 04:06 PM

    Hi Ludovic,

    the class mentioend in your stack trace now resides in wm-scg-audit.jar availble in common/lib-folder.

    There more jars like this one (all in common/lib-folde).
    For the case you are encountering more ClassNotFoundExceptions during build, please check in which jar the class has been moved.

    Remember to update these jars in your build environment after applying fixes (Shared Component Group in this case).

    Regards,
    Holger


    #webMethods
    #API-Portal
    #API-Management


  • 3.  RE: Migration from 8.2 to 9.12

    Posted Fri April 20, 2018 05:12 AM

    Hi !
    Thanks you, it’s like you said, some classes are in other jar now.

    I still have error for other classes but I will try to find where there are now.


    #API-Management
    #API-Portal
    #webMethods