Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6787

Administration console - launching javascript tasks doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • None

      Steps to reproduce:
      upload javascript

      • click on cache container -> Configuration -> Tasks -> Create new script
      • fill in the mandatory parameter (e.g. Task name: simpleTask, Language: javascript, Execution mode: local, script body: console.debug("test"))
      • click create script task button

      run the script:

      • click on cache container -> Tasks execution -> Launch new task
      • fill in the mandatory parameter (e.g. Task: simpleTask, cache: localCache, originator node: master/server-one)
      • click Launch task button

      result:
      console shows error:
      Error Some unexpected problem happened when launching the task: DGISPN0118: Failed to invoke operation: ISPN026003: Script execution error

      web browser console shows:
      POST XHR http://admin:adminPass9!@localhost:9990/management [HTTP/1.1 401 Unauthorized 23ms]

            Unassigned Unassigned
            rmacor Roman Macor (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: