Bug 798379 - Customers can't deploy multiple datasources within his applications
Summary: Customers can't deploy multiple datasources within his applications
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss Enterprise Application Platform 5
Classification: JBoss
Component: doc-Admin_and_Config_Guide
Version: 5.0.0,5.1.0,5.1.1,5.1.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Scott Mumford
QA Contact: Martin Simka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-28 18:45 UTC by Vinicius
Modified: 2018-11-26 17:29 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-07-03 00:40:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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)


Note You need to log in before you can comment on or make changes to this bug.