Red Hat Bugzilla – Bug 798379
Customers can't deploy multiple datasources within his applications
Last modified: 2015-07-02 20:40:52 EDT
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]]
We don't have any official statement regarding datasources definition files limitation
We should declare if deploying multiple datasources files within applications are allowed or not
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:
(version 5.3.0-7 or later)