copy $JBOSS_HOME/docs/examples/jca/mysql-service.xml to $JBOSS_HOME/server/defaultdeploy !Of course you need to change it to meet your requirement.Regards!