Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1964

AbstractDataSourceService#stop() doesn't stop anything

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.Beta1
    • 7.1.0.Alpha1
    • JCA
    • None
    • Hide

      Currently the ConnectionManager is not exposed through WrapperDataSource, so no amount of casting seems to allow access to shut it down per JBJCA-672.

      Show
      Currently the ConnectionManager is not exposed through WrapperDataSource, so no amount of casting seems to allow access to shut it down per JBJCA-672 .

      The Service<T> for DataSources has a stop() method which simply nulls out its value, but doesn't stop/shutdown/destroy/clean-up anything else.

          public synchronized void stop(StopContext stopContext) {
      
              sqlDataSource = null;
          }
      
      

      In IRC, Jesper referenced JBJCA-672, resolved for IronJacamar 1.0.5

              jpederse@redhat.com Jesper Pedersen
              bmcwhirt@redhat.com Bob McWhirter (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: