I'm in the process of deploying my custom resource adapter but I'm a bit confused on one point. I"ve written a file named adm-ds.xml using one of the examples as a base. The file has this general structure:
LOTS MORE STUFF
I've inserted this file along with my resource adapter - adm.rar - in the deploy directory. There are no complaints from the JBOSS deployer when I start the server. However when I try to get a connection factory from a servlet I end up getting a ClassCastException because what's bound to the java:/ADMCtrCF jndi name is an instance of org.jboss.resource.adapter.jdbc.WrapperDataSource and not an instance of the appropriate implementation class from my Resource Adapter. I'm not surprised by this becasue there is nothing in adm-ds.xml which ties it to my Resource Adapter. My question then after this long-winded description is: What does the JBOSS deployer use to tie a given *-ds.xml file to a specific Resource Adapter Deployment? Thanks in advance to anyone who can shed some light on this.
You can disregard this post. I found, in another thread, a ponter to the newly released JCAConfig.pdf which cleared up my confusion. Thanks.