I propose to initialize jmsra above from a system property with "jms-ra.rar" being the default in case the system property hasn't been set. This way we avoid the DTD issue.
And where that system property would be initialized?
You will end up having to add a XML somewhere anyway.. since it's not acceptable adding -D at run.sh.
So, I propose some MBean or something like it that will change the defalut name. (Or set the system property if you like).
We need to be able to configure what's the default name using
We just can't rely on the -D to define the behaviour of the resource adapters on this case.