I want to configure JBoss to run Hypersonic (in-process mode). The hsqldb-ds.xml file is easy to modify, but I am running into a a problem. The application we are developing dynamically points to several datasources. However, I always want each datasource to go to the same Hypersonic in-process database. If I configure multiple datasource files with the same connection info, I will get a bean already deployed error, etc. Given a datasource file, is there a way to reference another already deployed datasource, instead of specifying a connection URL?
If there is a better way to do this, please let me know.