In v4.0 creating new Job results in “Could not initialize class org.apache.cxf.ws.security.policy.custom.DefaultAlgorithmSuiteLoader$GCMAlgorithmSuite” error

Document ID : KB000087988
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
java.lang.NoClassDefFoundError: Could not initialize class org.apache.cxf.ws.security.policy.custom.DefaultAlgorithmSuiteLoader$GCMAlgorithmSuite

When creating a Web Service SOAP Job using the RA Web Service SOAP Agent version 4.0 in Automic's Web Interface (AWI) the following error message is displayed.

0EMb0000001UtVN.png

Investigation

In the RA Web Service SOAP log file the following message is displayed when trace is enabled.

20170306/004115.290 - U02000048 TRACE file opened with flags '0000000000000001', max.trace: '9', memory trace: '0', search type: 'S', search string: ''.
20170306/004115.310 - U00003449 Output to the TRACE file is finished

And, messages similar to these are found in the trance log.

20170306/004115.298 - 1661 java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.uc4.be.util.InvokeUtil.invoke(InvokeUtil.java:107)
at com.uc4.be.util.InvokeUtil.invoke(InvokeUtil.java:54)
at com.uc4.ex.cit.CITJob.executeFormsRequest(CITJob.java:328)
at com.uc4.ex.cit.CITJob.execute(CITJob.java:179)
at com.uc4.ex.GUIJob.run(GUIJob.java:110)
at com.uc4.ex.ThreadPool$RunnableDecorator.run(ThreadPool.java:53)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.cxf.ws.security.policy.custom.DefaultAlgorithmSuiteLoader$GCMAlgorithmSuite

Environment:
OS Version: N/A
Cause:
Cause type:
Defect
Root Cause: The libary within the delivery was not setup correctly for the provided code.
Resolution:
Update to a fix version listed below or a newer version if available where the RA Web Service SOAP version allows any XML to be sent as a SOAP request.

This fix enables integration with external service providers which do not fulfill all WSDL standards.
 

Fix Status: Released

Fix Version(s):
RA Web Service.SOAP 4.1.0 - Available
Additional Information:
Workaround :
N/A