Handler needs a license for successful execution. If the Handler is not able to find a valid license it will throw an exception at the initialization stage.
OnixS::BrokerTec::Settings structure exposes OnixS::BrokerTec::Settings::licenseDir parameter which allows to instruct the Handler where to look for a license. By default, the Handler looks for a license in the current directory for the application which uses the Handler. Handler also assumes that license file has "lic" extension.
Following example demonstrates how supply license to the Handler: