Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-3040

Add ValidConnectionCheckers to ejbca-ds.xml and ocsp-ds.xml

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Install-script
    • Labels:
      None
    • Issue discovered during:
      Customer

      Description

      Currently if the connection to the database is lost (for instance because of network problem or because the database was shutdown) it is not restored again. This can be fixed by including a ValidConnectionChecker in the datastore. Currently there is an generic example but it would be better if we included the correct implementation for the chosen database by default.

      Example:
      <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.PostgreSQLValidConnectionChecker</valid-connection-checker-class-name>

      For instance there could be an parameter <!-@VALIDCONNECTIONCHECKER@-> or similar in the datastore template file that would be replaced by the post-process deployment script.

      See ejbca-ds.xml for the classnames for other databases.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marcus.lundblad@primekey.se Marcus Lundblad
              Reporter:
              markus Markus KilÄs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: