Cadet 1st Class
Cadet 1st Class
168 views

PPM Support Tip: ksc_run_java command needs a javax.xml.ws.spi.Provider in 9.14

A new KCS article was published: KM00639659

 

 

When running ksc_run_java command, get an unknown error due to "No ClassLoaders found" for DescriptionFactory

Command issue found in 9.14 version - missing javax.xml.ws.spi.Provider file



Client created a custom Java Class to use Web Services.

When calling the Java Class with the special command "ksc_run_java", getting the below error:

ERROR server:com.kintana.crt.server.CRTExecutionManager Batch ID: 123456:com.kintana.core.server.UncaughtExceptionDefaultHandler:2013/10/09-10:03:23.841 GMT: An unknown error has occurred. For more information, please contact your PPM administrator and provide the following GUID number:
GUID=3851F238-B110-693A-6A72-0F218535960B
nested detail:org/apache/axis2/jaxws/description/DescriptionFactory

An unknown error has occurred. For more information, please contact your PPM administrator and provide the following GUID number:
GUID=3851F238-B110-693A-6A72-0F218535960B
    at com.kintana.core.server.UncaughtExceptionDefaultHandler.uncaughtException(UncaughtExceptionDefaultHandler.java:24)
Caused by: java.lang.NoClassDefFoundError: org/apache/axis2/jaxws/description/DescriptionFactory
    at com.kintana.core.server.execution.CommandExecutionAgent.doExecuteCommands(CommandExecutionAgent.java:826)
    at com.kintana.core.server.execution.CommandExecutionAgent.executeCommands(CommandExecutionAgent.java:713)
    at com.kintana.core.server.execution.BaseExecutionManager.executeBatchForRegularExecution(BaseExecutionManager.java:1162)
    at com.kintana.core.server.execution.BaseExecutionManager.executeBatch(BaseExecutionManager.java:1093)
    at com.kintana.core.server.execution.BaseExecutionManager.run(BaseExecutionManager.java:841)
Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.apache.axis2.jaxws.description.DescriptionFactory
    ... 5 more



Defect QCCR1L53088

For the third party package Axis 2, when PPM upgrading from 9.10 to 9.14, axis2-1.2-XX.jar are added, though not all of them.

To fix this issue, please do the following:
1. Stop Project and Portfolio Management (PPM)
2. Go to PPM_HOME/server/SERVER_NAME/deploy/itg.war/WEB-INF/classes/META-INF/services
If there does not exist such folder path, just create it.
3. Copy the attached javax.xml.ws.spi.Provider file (obtain from KCS article) to this location.
4. Restart PPM.

“HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
Labels (1)
0 Likes
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.