HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted

We have an issue when the Integration Server 8.2 class loader loads classes from WS-Stack and not from WEB-INF/lib of a web application running on the IS built-in tomcat.

The class loader loads the axis-saaj.jar from WS-Stack (apache implementation version 1.4.1), instead of loading the saaj-impl-1.3.jar (Sun implementation version 1.3) from the WEB-INF/lib of our web application. This breaks Web Service clients created with the Apache CXF / JAX-WS framework producing the following error: “HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.” while running the web application on a standalone Tomcat is working without any errors.

Does anyone have an idea how to force the IS class loader to use the classes from sun’s saaj-impl-1.3.jar?

Additional information:

This topic covers IS class loading quite well but unluckily does not cover class loader for web applications deployed to IS built-in tomcat: http://techcommunity.softwareag.com/web/guest/pwiki/-/wiki/Main/webMethods+Integration+Server+Class-Loading