Migrating Jython to OpenHAB 3

Some month ago I converted all my DSL rules to JSR-233 Jython using the openhab-helper-libraries. I’m quiet happy with the results. Now, with OpenHAB 3 being officially released I’m wondering if there is a migration path for Jython Scripts to Openhab3 ?

I migrated to OpenHAB 3 using the openhabian-config tools and was hoping, that my scripts will still be executed. However: I’m struggeling with a lot of problems. For example with exceptions like this:

bundle org.openhab.core.automation.module.script:3.0.0 (134)[org.openhab.core.automation.module.script.internal.provider.ScriptModuleTypeProvider(86)] : The setScriptEngineFactory method has thrown an exception
java.lang.NoClassDefFoundError: javax/script/ScriptEngineFactory

  1. Question: Is it possible to use JSR223 automation and the openhab-helper-libraries in OpenHAB 3 ?
  2. Question: If yes: Can anyone give me a hint on the necessary migration steps?

These are not yet available for OH3.