Description of problem: CLI did not throw any error message and just ignored the invalid attribute while using in batch mode.If we use same CLI command in non-batch mode it throws exception. In following CLI command we are using invalid attribute "blocking-timeout-millis", valid attribute is "blocking-timeout-wait-millis" Batch mode: ========== [standalone@localhost:9999 /] batch [standalone@localhost:9999 / #] /subsystem=datasources/data-source=TestDS:add(connection-url="jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE",driver-name=h2,jndi-name=java:/jboss/datasources/TestDS,blocking-timeout-millis=1000) [standalone@localhost:9999 / #] run-batch The batch executed successfully [standalone@localhost:9999 /] Standalone command: ================== [standalone@localhost:9999 /] /subsystem=datasources/data-source=TestDS:add(connection-url="jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE",driver-name=h2,jndi-name=java:/jboss/datasources/TestDS,blocking-timeout-millis=1000) 'blocking-timeout-millis' is not found among the supported properties: [share-prepared-statements, driver-class, prepared-statements-cache-size, spy, password, max-pool-size, set-tx-query-timeout, jndi-name, url-delimiter, enabled, connectable, blocking-timeout-wait-millis, statistics-enabled, pool-use-strict-min, validate-on-match, transaction-isolation, jta, valid-connection-checker-class-name, allocation-retry-wait-millis, exception-sorter-properties, background-validation-millis, track-statements, use-fast-fail, flush-strategy, stale-connection-checker-class-name, exception-sorter-class-name, background-validation, check-valid-connection-sql, reauth-plugin-class-name, allow-multiple-users, url-selector-strategy-class-name, user-name, use-ccm, reauth-plugin-properties, driver-name, stale-connection-checker-properties, datasource-class, idle-timeout-minutes, query-timeout, use-java-context, valid-connection-checker-properties, min-pool-size, allocation-retry, security-domain, new-connection-sql, connection-url, use-try-lock, pool-prefill] Actual results: jboss-cli.sh ignoring invalid attribute when used in batch mode Expected results: jboss-cli.sh should throw exception while using invalid attribute in batch mode
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions
Verified EAP 6.4.12.CP.CR1
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.