I went a bit further. I added a META-INF/jboss-classloading.xml file with this content in the .rar file
Now my .war does not see my .rar anymore. My problem now is that my datasource neither. What do i need to add to my datasource file to specify which domain to use?