Hi,
Can somebody post a sample on how to create a data source using CLI?
The following example can be found on this page, if you scroll down you find this example in the section "Deploying a Datasource":
/subsystem=datasources/data-source=MigrateDS:add(jndi-name=java:jboss/datasources/MigrateDS, pool-name=MigrateDS, driver-name=h2, connection-url=jdbc:h2:mem:test;DB_CLOSE_DELAY=-1)
Regards,
/Daniel