In the URL to conect to the database at the end of the URL the database to be used should be specified e.g.
You're talking about editing the mysql-ds.xml file right?
What if I want to deploy two different applications:
- one using MyDb-1, and
- one using MyDb-2
Is there a way to specify the database to use in the application's deployment descriptors rather than JBoss's?
Putting this information in login-config.xml in the security-domain deffinition for each application would also be alright. Is it possible?