Bug 798379

Summary: Customers can't deploy multiple datasources within his applications
Product: [JBoss] JBoss Enterprise Application Platform 5 Reporter: Vinicius <vmartine>
Component: doc-Admin_and_Config_GuideAssignee: Scott Mumford <smumford>
Status: CLOSED EOL QA Contact: Martin Simka <msimka>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.0.0, 5.1.0, 5.1.1, 5.1.2CC: jpederse, msimka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-03 00:40:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vinicius 2012-02-28 18:45:17 UTC
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

Comment 3 Russell Dickenson 2013-01-04 01:34:58 UTC
Attention: Jesper

Are you able to confirm the information provided by James Livingstone, as per comment 2 above?

Comment 4 Jesper Pedersen 2013-01-04 12:40:29 UTC
Documentation issue - e.g. not allowed

Comment 5 Scott Mumford 2013-01-22 21:48:23 UTC
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).

Comment 6 Martin Simka 2014-04-15 13:33:35 UTC
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.

Comment 7 Scott Mumford 2014-05-01 05:16:47 UTC
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)