How to externalise/separate the EAP 6 datasource config like EAP 5
Issue
-
Currently EAP 6 expects database connections within the standalone.xml file however this is managed by a central operations team which defines a template standalone.xml. The config is locked down and no app specific config is allowed in the configuration.
- What other way could we allow teams to configure the datasource other than the -ds.xml file as this is now deprecated even though it does work.
- Is there another way to configure the datasource without having to edit the standalone.xml as this process doesn't make sense for merging app specific config to operational runtime of config.
-
The datasource is managed by another team and we can't have access to password. How can I get a comparable configuration to the *ds.xml in EAP 5? The standalone.xml cannot contain application specific information i.e datasource credentials, hostname, port etc
- Multiple apps use different datasources. Is there a way to decouple the datasource config from the standalone.xml?
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
