Out of curiorsity, in regards to this, and the other post...Is there any particular reason why you want the *-ds.xml file inside your RAR file? Typically these are kept outside of the module to allow for configuration and hot deployment.
Thanks for your prompt reply Weston.
I need to provide the connector, and indeed the whole application, as something that just works out of the box. The end users are free to deploy to a number of application servers, including JBoss. I've found that the most portable way to do this was to bundle everything into an EAR and include appserver specific depoyment descriptors in the archives itself.
Yes, I did initially keep -ds.xml outside the module while I was debugging and tweeking. Now that I have arrived at the desired settings, I have tucked it inside the module.
Just to reiterate, this approach of bundling -ds.xml within the module works when I deploy the module standalone (as a RAR), but doesn't work when the module is within an EAR.
Thanks for your comments.