Migration from 8.2 to 9.12

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

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

1 Like

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.