Ok, i figured out how to do it.
Duplicate the 3 mbeans:
that are in the yoursdatasource-service.xml
it works fine.
One solution is to duplicate 3 mbeans:
change the OtherDS
so, if you update the yourdatasource-service.xml
and duplicate the 3 mbeans above, you can connect to has
many databases you need.
take a look in the "Quick start guide" here :
Chapter 10 : Connecting to databases and other resource managers has all that you need ;-)