]
Roman Macor commented on ISPN-6787:
-----------------------------------
There are no errors in server log. I just used the the simple one line script from
JIRA's description: console.debug("test");
Administration console - launching javascript tasks doesn't work
----------------------------------------------------------------
Key: ISPN-6787
URL:
https://issues.jboss.org/browse/ISPN-6787
Project: Infinispan
Issue Type: Bug
Components: JMX, reporting and management
Reporter: Roman Macor
Attachments: Screenshot-launch-javascript.png
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]