Re: Karaf: Unable to find driver for protocol 'modbus'

2020-06-08 Thread Cesar Garcia
Hello Alessio, Perform the test with the "feature" that you put online, and I can see that the services associated with the drivers are active. karaf@root()> service:list PlcDriver [org.apache.plc4x.java.api.PlcDriver] - org.apache.plc4x.driver.code = modbus

Re: Karaf: Unable to find driver for protocol 'modbus'

2020-06-08 Thread Alessio Bernesco Làvore
Thank you Julian, i've tried to install th Aries SPI Bundle: 176 │ Active │ 80 │ 1.3.0 │ Apache Aries SPI Fly Dynamic Weaving Bundle But i'm still unable to resolve the drivers. Ale On Mon, Jun 8, 2020 at 8:13 PM Julian Feinauer wrote: > Hi Alessio, > > if I remember

Re: Karaf: Unable to find driver for protocol 'modbus'

2020-06-08 Thread Julian Feinauer
Hi Alessio, if I remember correctly you need the Aries SPI Fly package loaded. In Plain PLC4X we use ServiceLoader to discover drivers. If you have nothing like Aries SPI Fly which mediates and "immitates" the ServiceLoader then you dont get a wiring between the DriverManager and the driver.

Karaf: Unable to find driver for protocol 'modbus'

2020-06-08 Thread Alessio Bernesco Làvore
Hello everyone, i've created a simple class reading values from a ModBus PLC. I'm trying to use it inside Karaf, but at start the class is unable to find the modbus driver. I've compiled and installed in Karaf the "driver-s7-feature", with added the modbus driver: