I run jboss in standalone mode and have set my datasource in the standalone.xml to the following:
standalone.xml
got the same error like you before
instead of %jbosshome%\modules\com\microsoft\sqlserver\jdbc\
try %jbosshome%\modules\com\microsoft\sqlserver\jdbc\main
and put the .jar of the jdbc driver and the module.xml overthere.