Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4773

CLI pretends that it's possible to change JDBC job repository JNDI name even for in-memory repository type

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Out of Date
    • Affects Version/s: 9.0.0.CR2
    • Fix Version/s: None
    • Component/s: Batch
    • Labels:
      None

      Description

      [standalone@localhost:9990 /] /subsystem=batch:read-attribute(name=job-repository-type)
      {
          "outcome" => "success",
          "result" => "in-memory"
      }
      [standalone@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@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@localhost:9990 /] :reload
      {
          "outcome" => "success",
          "result" => undefined
      }
      [standalone@localhost:9990 /] /subsystem=batch/job-repository=jdbc:read-attribute(name=jndi-name)
      {
          "outcome" => "success",
          "result" => undefined
      }
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jamezp James Perkins
                  Reporter:
                  pjelinek Pavel Jelinek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: