JSR223 / Javascript not starting

My openHAB 2.5 installation (on windows) has been running fine for 18 months, using Javascript for automation.

A week ago I upgraded to 2.5.12 and everything seemed to be working properly at first, but after a reboot suddenly none of my Javascript is running.

I’ve tried progressively more desperate measures to figure out what’s happening, but I’m stumped.

  • I’ve done a fresh install of openHAB 2.5.12, and installed only the helper libraries and HelloWorld.js
  • I’ve tried the most recent Zulu builds of both Java 8 and Java 11
  • I’ve turned on all the logging I can find

Here’s all I get in my logs:

2021-03-01 00:35:01.492 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to (elided).
2021-03-01 00:35:07.070 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'test.items'
2021-03-01 00:35:07.585 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'test.sitemap'
2021-03-01 00:35:07.757 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'test.things'
2021-03-01 00:35:09.335 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2021-03-01 00:35:10.604 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://10.0.10.88:8080
2021-03-01 00:35:10.618 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://10.0.10.88:8443
2021-03-01 00:35:11.119 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2021-03-01 00:35:11.179 [INFO ] [ebuilder.internal.HomeBuilderServlet] - Started Home Builder at /homebuilder
2021-03-01 00:35:11.257 [INFO ] [openhab.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2021-03-01 00:35:11.726 [DEBUG] [.AutomationResourceBundlesEventQueue] - Process bundle event 2, for automation bundle 'org.openhab.core.automation' 
2021-03-01 00:35:11.726 [DEBUG] [.AutomationResourceBundlesEventQueue] - Process bundle event 32, for automation bundle 'org.openhab.core.automation.module.script.rulesupport' 
2021-03-01 00:35:11.757 [DEBUG] [vider.AbstractResourceBundleProvider] - Parse rules from bundle 'org.openhab.core.automation' 
2021-03-01 00:35:11.757 [DEBUG] [vider.AbstractResourceBundleProvider] - Parse rules from bundle 'org.openhab.core.automation.module.script.rulesupport' 
2021-03-01 00:35:11.929 [DEBUG] [e.automation.internal.RuleEngineImpl] - ModuleHandlerFactory added CoreModuleHandlerFactory
2021-03-01 00:35:11.929 [DEBUG] [e.automation.internal.RuleEngineImpl] - ModuleHandlerFactory added EphemerisModuleHandlerFactory
2021-03-01 00:35:11.929 [DEBUG] [e.automation.internal.RuleEngineImpl] - ModuleHandlerFactory added TimerModuleHandlerFactory
2021-03-01 00:35:11.929 [DEBUG] [e.automation.internal.RuleEngineImpl] - ModuleHandlerFactory added AnnotatedActionModuleTypeProvider
2021-03-01 00:35:12.101 [DEBUG] [e.automation.internal.RuleEngineImpl] - ModuleHandlerFactory added AnnotatedThingActionModuleTypeProvider
2021-03-01 00:35:12.132 [DEBUG] [e.automation.internal.RuleEngineImpl] - ModuleHandlerFactory added MediaModuleHandlerFactory
2021-03-01 00:35:13.851 [DEBUG] [ipt.internal.ScriptEngineManagerImpl] - Initialized a generic ScriptEngineFactory for Oracle Nashorn (1.8.0_282-b08): supports ECMAScript (ECMA - 262 Edition 5.1) with file extensions [js], names [nashorn, Nashorn, js, JS, JavaScript, javascript, ECMAScript, ecmascript], and mimetypes [application/javascript, application/ecmascript, text/javascript, text/ecmascript]
2021-03-01 00:35:13.851 [DEBUG] [ipt.internal.ScriptEngineManagerImpl] - Initialized a custom ScriptEngineFactory for Oracle Nashorn (1.8.0_282-b08): supports ECMAScript (ECMA - 262 Edition 5.1) with file extensions [js], names [nashorn, Nashorn, js, JS, JavaScript, javascript, ECMAScript, ecmascript], and mimetypes [application/javascript, application/ecmascript, text/javascript, text/ecmascript]
2021-03-01 00:35:13.867 [DEBUG] [ipt.internal.ScriptEngineManagerImpl] - Removed GenericScriptEngineFactory
2021-03-01 00:35:13.867 [DEBUG] [ipt.internal.ScriptEngineManagerImpl] - Removed NashornScriptEngineFactory
2021-03-01 00:35:13.929 [DEBUG] [ipt.internal.ScriptEngineManagerImpl] - Initialized a generic ScriptEngineFactory for Oracle Nashorn (1.8.0_282-b08): supports ECMAScript (ECMA - 262 Edition 5.1) with file extensions [js], names [nashorn, Nashorn, js, JS, JavaScript, javascript, ECMAScript, ecmascript], and mimetypes [application/javascript, application/ecmascript, text/javascript, text/ecmascript]
2021-03-01 00:35:13.961 [DEBUG] [ipt.internal.ScriptEngineManagerImpl] - Initialized a custom ScriptEngineFactory for Oracle Nashorn (1.8.0_282-b08): supports ECMAScript (ECMA - 262 Edition 5.1) with file extensions [js], names [nashorn, Nashorn, js, JS, JavaScript, javascript, ECMAScript, ecmascript], and mimetypes [application/javascript, application/ecmascript, text/javascript, text/ecmascript]
2021-03-01 00:35:13.961 [DEBUG] [e.automation.internal.RuleEngineImpl] - ModuleHandlerFactory added ScriptModuleHandlerFactory
2021-03-01 00:35:14.023 [DEBUG] [e.automation.internal.RuleEngineImpl] - ModuleHandlerFactory added ScriptedCustomModuleHandlerFactory
2021-03-01 00:35:14.023 [DEBUG] [e.automation.internal.RuleEngineImpl] - ModuleHandlerFactory added ScriptedPrivateModuleHandlerFactory

… and then nothing. No script starting, no error messages.

What can I do to debug this further?

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.