[jboss-jira] [JBoss JIRA] (WFLY-4773) CLI pretends that it's possible to change JDBC job repository JNDI name even for in-memory repository type

Cheng Fang (JIRA) issues at jboss.org
Fri Jun 12 10:35:17 EDT 2015


     [ https://issues.jboss.org/browse/WFLY-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cheng Fang reassigned WFLY-4773:
--------------------------------

    Assignee: James Perkins  (was: Cheng Fang)


> CLI pretends that it's possible to change JDBC job repository JNDI name even for in-memory repository type
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-4773
>                 URL: https://issues.jboss.org/browse/WFLY-4773
>             Project: WildFly
>          Issue Type: Bug
>          Components: Batch
>    Affects Versions: 9.0.0.CR2
>            Reporter: Pavel Jelinek
>            Assignee: James Perkins
>            Priority: Minor
>
> {code}
> [standalone at localhost:9990 /] /subsystem=batch:read-attribute(name=job-repository-type)
> {
>     "outcome" => "success",
>     "result" => "in-memory"
> }
> [standalone at localhost:9990 /] /subsystem=batch/job-repository=jdbc:write-attribute(name=jndi-name,value=java:jboss/datasources/ExampleDS)
> {
>     "outcome" => "success",
>     "response-headers" => {
>         "operation-requires-reload" => true,
>         "process-state" => "reload-required"
>     }
> }
> [standalone at localhost:9990 /] /subsystem=batch/job-repository=jdbc:read-attribute(name=jndi-name)
> {
>     "outcome" => "success",
>     "result" => "java:jboss/datasources/ExampleDS",
>     "response-headers" => {"process-state" => "reload-required"}
> }
> [standalone at localhost:9990 /] :reload
> {
>     "outcome" => "success",
>     "result" => undefined
> }
> [standalone at localhost:9990 /] /subsystem=batch/job-repository=jdbc:read-attribute(name=jndi-name)
> {
>     "outcome" => "success",
>     "result" => undefined
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list