A resource adaptor is not a complete deployment in jboss.
It is just a skeleton that can be deployed mutiple times using
You have to add a -ds.xml telling jboss how to deploy it.
Probably the easiest solution is to add a jboss-app.xml to the
META-INF of your ear. It goes in a module.
It should also work if you add a -ds.xml to the root of the rar.
I have no idea about "server/samples". I've worked on the jboss
for two years. There has been no such directory during that time.