Skip to content

Instantly share code, notes, and snippets.

@rwngwn
Created July 8, 2015 07:24
Show Gist options
  • Save rwngwn/a11bc35605ab408ebce7 to your computer and use it in GitHub Desktop.
Save rwngwn/a11bc35605ab408ebce7 to your computer and use it in GitHub Desktop.
if (outcome != sucess) of /subsystem=datasources/xa-data-source=test_mysql:read-resource
xa-data-source add --name=test_mysql --jndi-name=java:jboss/datasources/test_mysql --driver-name=mysql --user-name=marek --password=hardtoguess
/subsystem=datasources/xa-data-source=test_mysql/xa-datasource-properties=ServerName:add(value=10.1.1.1)
/subsystem=datasources/xa-data-source=test_mysql/xa-datasource-properties=Port:add(value=3306)
/subsystem=datasources/xa-data-source=test_mysql/xa-datasource-properties=DatabaseName:add(value=kitchensink)
end-if
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment