Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-14853

ManagedConnectionFactory DataSource should be lazily initialized

XMLWordPrintable

      Currently the DataSource is initialized at component start time, however when deploying inside Tomcat users have encountered issues where the JNDI datasource is not yet available at component start time. To workaround this, we can simply make the DataSource initialization lazy and perform it on the first call to ConnectionFactory#getConnection.

              remerson@redhat.com Ryan Emerson
              remerson@redhat.com Ryan Emerson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: