This content has been marked as final.
Show 3 replies
-
1. Re: Getting java.sql.Connection from WildFly 13 datasource when passing user and password as arguments
simkam Jul 2, 2018 7:17 AM (in response to sergiu_pienar)1 of 1 people found this helpfulHi,
how does your datasource definition look like? Just a guess but you might be missing datasource attribute allow-multiple-users=true.
-
2. Re: Getting java.sql.Connection from WildFly 13 datasource when passing user and password as arguments
sergiu_pienar Jul 2, 2018 2:54 PM (in response to simkam)This is the config: https://pastebin.com/S4MEEuTY Sorry for not posting here but the embedded editor isn't that bright...not sure where I should add the mentioned attribute. Thanks.
-
3. Re: Getting java.sql.Connection from WildFly 13 datasource when passing user and password as arguments
simkam Jul 3, 2018 3:02 AM (in response to sergiu_pienar)1 of 1 people found this helpfulTry to add attribute allow-multiple-users=true
<datasource ...> .... <pool> .... <allow-multiple-users>true</allow-multiple-users> ..... </pool> .... </datasource>