3 Replies Latest reply: Dec 1, 2011 1:08 AM by Stefano Maestri RSS

CLI rejects xa-data-source-properties in  JBoss AS 7.1.0.Beta1

r.reimann Newbie

When i try to add a XA-Datasource via the CLI in AS 7.1.0.Beta1 it fails if i provide xa-data-source-properties in the add operation:

 

[standalone@localhost:9999 /] /subsystem=datasources/xa-data-source="TestDS":add(jndi-name="java:/TestDS", driver-name="h2", pool-name="testPool",xa-data-source-properties={"ServerName"=>"localhost"}) 
'xa-data-source-properties' is not found among the supported properties: [xa-datasource-class, jndi-name, driver-name, new-connection-sql, pool-name, url-delimiter, url-selector-strategy-class-name, use-java-context, max-pool-size, min-pool-size, pool-prefill, pool-use-strict-min, interleaving, no-tx-separate-pool, pad-xid, same-rm-override, wrap-xa-resource, user-name, password, security-domain, reauth-plugin-class-name, reauth-plugin-properties, flush-strategy, prepared-statements-cache-size, share-prepared-statements, track-statements, allocation-retry, allocation-retry-wait-millis, blocking-timeout-wait-millis, idle-timeout-minutes, query-timeout, use-try-lock, set-tx-query-timeout, transaction-isolation, check-valid-connection-sql, exception-sorter-class-name, exception-sorter-properties, stale-connection-checker-class-name, stale-connection-checker-properties, valid-connection-checker-class-name, valid-connection-checker-properties, background-validation-millis, background-validation, use-fast-fail, validate-on-match, xa-resource-timeout, spy, use-ccm, recovery-username, recovery-password, recovery-security-domain, recovery-plugin-class-name, recovery-plugin-properties, no-recovery]

 

The same command succedes in AS 7.0.2:

 

[standalone@localhost:9999 /] /subsystem=datasources/xa-data-source="TestDS":add(jndi-name="java:/TestDS", driver-name="h2", pool-name="testPool",xa-data-source-properties={"ServerName"=>"localhost"}) 
{"outcome" => "success"}

 

Were there any intentional changes in 7.1.0.Beta1 or is this a bug?