Skip to content

Instantly share code, notes, and snippets.

@marti1125
Created March 27, 2014 12:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marti1125/9806765 to your computer and use it in GitHub Desktop.
Save marti1125/9806765 to your computer and use it in GitHub Desktop.
standalone-datasource
<datasources>
<datasource jndi-name="java:jboss/datasources/UnifiedPushDS" pool-name="UnifiedPushDS" enabled="true" use-java-context="true">
<connection-url>jdbc:mysql://localhost:3306/unifiedpush</connection-url>
<driver>com.mysql.jdbc.Driver</driver>
<security>
<user-name>root</user-name>
<password>mysql</password>
</security>
</datasource>
<drivers>
<driver name="mysql" module="com.mysql">
<xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>
</driver>
</drivers>
</datasources>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment