[infinispan-issues] [JBoss JIRA] (ISPN-6787) Administration console - launching javascript tasks doesn't work
Roman Macor (JIRA)
issues at jboss.org
Thu Jun 16 11:05:00 EDT 2016
[ https://issues.jboss.org/browse/ISPN-6787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Macor closed ISPN-6787.
-----------------------------
Resolution: Won't Fix
It's not a bug. Running proper script works.
Example of working script:
cache.put("key", "value");
cache.get("key");
> 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]
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list