[standalone@localhost:9999 /] /subsystem=datasources/data-source=java\:\/jdbc\/MyOracle:test-connection-in-pool
"outcome" => "failed",
"failure-description" => "Operation handler failed: java.util.NoSuchElementException: \"data-source\" => \"java:/jdbc/MyOracle\"",
"rolled-back" => true
Looking at your standalone.xml, you don't have any such datasource by that JNDI name. If you want to use that JNDI name then you'll have to first create a datasource with that jndi name, else use the correct jndi name from among the deployed datasources.