saaj classloading issue with Spring custom module

Latest response

We are migrating our enterprise web application from JBoss EAP 5.2 to JBoss EAP 6.3. We use the Spring Framework for our web services. Therefore, we've created a custom Spring module. The module is being loaded successfully. I'm sure of that because I can step through Spring code during a debugging session (I have the Spring source jars).

Our web services implementation has a dependency on the class "SOAPMessageFactory1_1Impl". This class can be found in the "com.sun.xml.messaging.saaj" module.
We've added this module as a dependency in the module.xml file of the Spring custom module. The issue we are having is a java.lang.ClassNotFoundException is being thrown with regard to the "SOAPMessageFactory1_1Impl class. The following Spring class is throwing the class not found exception : "". So, we need help in understanding and resolving this issue. I've attached our module.xml file, as well as a snippet of the stack trace as well as the relevant portion of our jboss-deployment-structure file .

Bob Corcoran



I should also add that the issue above only arose after we created the custom Spring module. Prior to that we deployed the Spring jars in the EAR. The "SOAPMessageFactory1_1Impl class was successfully found. It is included in the JRE's rt.jar file. We created the Spring custom module because even though the Spring classes were being loaded via the EAR, the spring handlers weren't being loaded (stack trace: Unable to locate Spring NamespaceHandler for XML schema namespace []).

Hi Bob, apologies for the delay in getting back to you on this. I would suggest you raise a support case for this question as it looks like we'll need to the full stack trace and possibly a reproducer to understand what it is you are doing and the error you are getting.

Thanks Mustafa