Allen-Bradley Driver Faulted on New Install

Good day,

I just installed Ignition 8.1.44 onto a VM as an SQL Bridge and Historian, and I noticed the Allen-Bradley Driver is faulted.

I intend to connect to Allen-Bradley CompactLogix processors of firmware V21+.

These are the logs provided by the Modules information:

Unable to load hook class "com.inductiveautomation.xopc.drivers.module.XOPCDriversModuleHook" for module "com.inductiveautomation.opcua.drivers.ablegacy".



com.inductiveautomation.ignition.common.modules.ModuleLoadException: Unable to load hook class "com.inductiveautomation.xopc.drivers.module.XOPCDriversModuleHook" for module "com.inductiveautomation.opcua.drivers.ablegacy".
	at com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl$LoadedModule.loadHook(ModuleManagerImpl.java:2375)
	at com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl$LoadedModule.load(ModuleManagerImpl.java:2048)
	at com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl.loadModules(ModuleManagerImpl.java:1217)
	at com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl.init(ModuleManagerImpl.java:382)
	at com.inductiveautomation.ignition.gateway.IgnitionGateway.startupInternal(IgnitionGateway.java:993)
	at com.inductiveautomation.ignition.gateway.redundancy.RedundancyManagerImpl.startup(RedundancyManagerImpl.java:307)
	at com.inductiveautomation.ignition.gateway.IgnitionGateway.initRedundancy(IgnitionGateway.java:777)
	at com.inductiveautomation.ignition.gateway.IgnitionGateway.lambda$initInternal$1(IgnitionGateway.java:700)
	at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$ThrowableCatchingRunnable.run(BasicExecutionEngine.java:550)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/inductiveautomation/xopc/driver/common/AbstractDriverModuleHook
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(Unknown Source)
	at java.base/java.security.SecureClassLoader.defineClass(Unknown Source)
	at java.base/java.net.URLClassLoader.defineClass(Unknown Source)
	at java.base/java.net.URLClassLoader$1.run(Unknown Source)
	at java.base/java.net.URLClassLoader$1.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.net.URLClassLoader.findClass(Unknown Source)
	at com.inductiveautomation.ignition.gateway.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:37)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	at com.inductiveautomation.ignition.gateway.modules.ModuleClassLoader.loadClass(ModuleClassLoader.java:85)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	at com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl$LoadedModule.loadHook(ModuleManagerImpl.java:2347)
	... 14 more
Caused by: java.lang.ClassNotFoundException: com.inductiveautomation.xopc.driver.common.AbstractDriverModuleHook
	at java.base/java.net.URLClassLoader.findClass(Unknown Source)
	at com.inductiveautomation.ignition.gateway.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:37)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	at com.inductiveautomation.ignition.gateway.modules.ModuleClassLoader.loadClass(ModuleClassLoader.java:85)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	... 27 more

8.1.44 (b2024102210)
Azul Systems, Inc. 17.0.12

If more information is needed, let me know.

The error is from the legacy driver, not the v21+ driver. Not that it isn't potentially significant, but may not be the crisis for your situation that you think.

Can you get a screenshot of the modules page in the gateway?

1 Like

Here is the images requested.

You need the OPC UA module as well. Not sure why the driver module even loaded without it.

Ah, that makes sense. I'll get that installed ASAP.

Restarted the driver with OPC-UA installed and it works. Thank you for the help.

For better performance, you'll want to switch to the Logix driver also instead of the Allen Bradley driver. The driver you have loaded is the one for older firmware, not v21+

Good catch, and it's not for better performance, it's just for the driver to work at all! The legacy driver can't read tags on v21+ firmware.