Adding a Java class


I added

to C:\Program Files\Inductive Automation\Ignition\data\ignition.conf

And, I’ve restarted the Ignition Gateway service.

I see

INFO | jvm 1 | 2017/01/12 14:47:38 | sys-package-mgr: processing modified jar, ‘C:\Program Files\Inductive Automation\Ignition\lib\javax.websocket.jar’



But, when I

from javax.websocket import *

I get

ImportError: No module named javax.websocket

Any clues would be appreciated.

This approach will only load that jar for gateway scripts. Scripts that run in the client don’t have access to the gateway’s jars, only the system jars on each local workstation and the jars packaged into the app by modules.