IBM Support

Why did UOW fail with "Failed to instantiate driver" exception?

Question & Answer


Question

My UOW failed with the following error:
(9) Operation failed with failure category [Internal Error]
(10) [Caused by: Failed to get driver to determine driver type and support level (OperationFailedException)]
(11) [Caused by: Failed to instantiate driver CST-ab2d2376-d9c3-bb36-7255-90cd4b9c991c (DriverException)]
What could be the problem?

Answer

You want to check the worker.log for more information regarding the error.
If you find log messages similar to the following:
2020.02.20 06:08:20 GMT+00:00 OperationRunner-001-IBMTEST2  ERROR WORKER IBMTEST2 com.intelliden.drivers.MetadataLocatorImpl :: Metadata dir /opt/IBM/tivoli/netcool/ncm/drivers/metadata/Metadata-eb7d8719-f9a6-4fb1-972a-cd5115d1dfca/ used by driver CST-ab2d2376-d9c3-bb36-7255-90cd4b9c991c does not exist!
2020.02.20 06:08:20 GMT+00:00 OperationRunner-001-IBMTEST2  ERROR WORKER IBMTEST2 com.intelliden.drivers.MetadataLocatorImpl :: Metadata dir /opt/IBM/tivoli/netcool/ncm/drivers/metadata/Metadata-9ae3aa99-8a81-49a2-a5fb-3b015726955b/ used by driver CST-ab2d2376-d9c3-bb36-7255-90cd4b9c991c does not exist!
2020.02.20 06:08:20 GMT+00:00 OperationRunner-001-IBMTEST2  ERROR WORKER IBMTEST2 com.intelliden.drivers.MetadataLocatorImpl :: Metadata dir /opt/IBM/tivoli/netcool/ncm/drivers/metadata/Metadata-2144f5e9-095c-4705-93cb-288edcc8baed/ used by driver CST-ab2d2376-d9c3-bb36-7255-90cd4b9c991c does not exist!
2020.02.20 06:08:20 GMT+00:00 OperationRunner-001-IBMTEST2  ERROR WORKER IBMTEST2 com.intelliden.drivers.MetadataLocatorImpl :: Metadata dir /opt/IBM/tivoli/netcool/ncm/drivers/metadata/Metadata-7d0771c5-a119-4dd1-8f18-d8e7b3dd2552/ used by driver CST-ab2d2376-d9c3-bb36-7255-90cd4b9c991c does not exist!
2020.02.20 06:08:20 GMT+00:00 OperationRunner-001-IBMTEST2  ERROR WORKER IBMTEST2 com.intelliden.drivers.DriverFactory :: Failed to instantiate driver CST-ab2d2376-d9c3-bb36-7255-90cd4b9c991c
java.lang.ClassNotFoundException: com.intelliden.drivers.omnidriver.OmniDriver
at java.net.URLClassLoader.findClass(URLClassLoader.java:600)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:777)
at java.lang.ClassLoader.loadClass(ClassLoader.java:750)
at java.lang.ClassLoader.loadClass(ClassLoader.java:731)
Then, that means at the worker server that executed the UOW (in the example, the worker server was IBMTEST2) does not contain the metadata files needed by the driver.
To resolve that, you need to sync the drivers directory (at least for those missing directories reported in the worker.log) across all the worker servers:
Once the task is completed, you could run the UOW again.

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS7UH9","label":"Tivoli Netcool Configuration Manager"},"Component":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
25 February 2020

UID

ibm13168363