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

ManagedConnectionFactory DataSource should be lazily initialized

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: