Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-1862

Default JavaScript engine not available in the deployment

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2018.2.0
    • Fix Version/s: 2018.4.1
    • Component/s: None
    • Labels:
      None
    • Story Points:
      5
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Create a file named META-INF/services/javax.script.ScriptEngineFactory with the following content:

      jdk.nashorn.api.scripting.NashornScriptEngineFactory
      
      Show
      Create a file named META-INF/services/javax.script.ScriptEngineFactory with the following content: jdk.nashorn.api.scripting.NashornScriptEngineFactory

      Description

      Nashorn - the default javascript engine (or NashornScriptEngineFactory respectively) is not found, i.e. factory.getEngineByName("JavaScript") returns null. The class is available but the service provider is not found.

      Reproducer: https://github.com/EricWittmann/wf-swarm-nashorn-reproducer (thanks to Eric Wittman)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mkouba Martin Kouba
                  Reporter:
                  mkouba Martin Kouba
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: