Decision
I found a solution here in stackoferflow :)
I needed to place my jar file with mysql connector in jboss / server / default / lib. Although I do not understand it, since I added this jar file as a dependency and was placed in the lib folder during deployment.
source share