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

ManagedConnectionFactory DataSource should be lazily initialized

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 14.0.9.Final, 15.0.0.Final
    • Loaders and Stores
    • None

      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: