Uploaded image for project: 'OpenICF'
  1. OpenICF
  2. OPENICF-971

Disable Javascript engine in ICF

    XMLWordPrintable

    Details

      Description

      An ICF connector may call a script engine to run an action.

      ICF offers Groovy and Javascript.

      Groovy is loaded in a specific way

      ICF discovers and instantiate JavaScript engine using the standard javax.script.ScriptEngineManager

      This works with Unit tests but it does not work within IDM.

      If ICF needs Javascript, no engine seem available in the ScriptEngineManager.

      class loader + OSGi issue?

      If ICF needs Groovy, it will still try to cache an instance of the Javascript engine, which will throw an exception the very first time an action script is called.

      See OPENICF-961

       

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gael Gael Allioux
              Reporter:
              gael Gael Allioux
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: