2 Replies Latest reply on Mar 31, 2014 12:35 PM by Mike Hostetler

    Using IronJacamar to use database authenication

    Mike Hostetler Newbie

      I already put a question on the WildFly Forum but have gotten no answers. You can read some context here:

      Database authentication datasource -- howto?

       

      I have a datasource object that always re-authenticates to the database via the username and password given by the user.  But, after digging into how Wildfly works, when IronJacamar connects with User A, that connection is placed in the pool. So when User B connects, it gives User A's connection instead of called "getConnection" on my datasource.

       

      How can I get IronJacamar to not pool, or always called "getConnection" on my datasource (yes, I realize that they are really the same thing)? Or what other scheme would you recommend to get this working?