Dmitri, I am going to use this discussion thread on how I plan to test what you reported in https://issues.jboss.org/browse/AS7-3102
I am going to start with a web application with a single servlet that has the @DataSourceDefinition annotation and see whether I can reproduce the bug. If unable to reproduce, then I will have to look at your ear setup.
Update: I have used the mvn archetype for JBoss that lets me create an ear with ejb jar and a web archive. Let me see if I can reproduce.
I deployed a test web app that contains the @DataSourceDefinition as outlined in https://community.jboss.org/wiki/AS7UtilisingMaskedPasswordsViaTheVault
Once the web app was accessed, I see that standalone.xml loses the vault options.
I think I have reproduced the bug and will investigate the cause for it.
Yes, that's correct. Thanks. I haven't try it yet but am going to do that as soon as it's downloadable.
Nevertheless I tried both, at least vault config for security sub-system and started a discussion https://community.jboss.org/message/642488#642488
I'm not realy sure what is the purpose of the sub-system's vault.