If we try to pack multiple datasources within an application (esb, war, ear) our current JCA deployer implementation raises the bellow exception, but our documentation doesn't provide any statement regarding this limitation: Caused by: java.lang.IllegalArgumentException: Multiple matching files not allowed: [FileHandler@1861471639[path=<myaplication>.esb/<myds>-ds.xml context=file:$JBOSS_HOME/server/$CONFIGURATION/deployreal=file:$JBOSS_HOME/server/$CONFIGURATION/deploy/<myaplication>.esb/<myds>-ds.xml], FileHandler@1212067177[path=<myapplication>.esb/<myds>-ds.xml context=file:$JBOSS_HOME/server/$CONFIGURATION/deploy real=file:$JBOSS_HOME/server/$CONFIGURATION/deploy/<myaplication>.esb/<myds>-ds.xml]] Actual results: We don't have any official statement regarding datasources definition files limitation Expected results: We should declare if deploying multiple datasources files within applications are allowed or not
Attention: Jesper Are you able to confirm the information provided by James Livingstone, as per comment 2 above?
Documentation issue - e.g. not allowed
I've added a warning not to attempt to deploy multiple datasource files in the application's archive file. The warning will appear in the next staged version of the Administration and Configuration Guide (v. 5.2.0-28 or later).
Revision 5.3.0-6 Chapter 17. Datasource Configuration -> Multiple Datasource Files Sentence "Deploying multiple datasource files is not supported in EAP5.2.0" should not mention EAP5.2.0 directly, there is only one documentation for EAP 5. Proposal: EAP 5.x Rest of text is ok.
Have removed the reference to 5.2.0 and used more generic '5' instead. Update is available for review at: http://documentation-devel.engineering.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/5/html-single/Administration_And_Configuration_Guide/index.html (version 5.3.0-7 or later)