This content has been marked as final.
Show 1 reply
-
1. Re: Do I need to define data sources in standalone.xml?
wdfink Jan 9, 2014 3:19 PM (in response to sjbarry)With former JBoss versions the database are defined in *-ds.xml files.
Until AS7 this has changed and you should use standalone or domain configuration to be able to manage the datasource.
You might use the -ds.xml files in development and drop it into the standalone/deployments folder, but this feature is not recommended for production.
I prefer creating DS in the configuration, you might use a simple CLI script to add the datasource