Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5729

Jobs service fails when the DB is not empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.13.0.Final
    • 1.9.1.Final
    • Job Service
    • None
    • False
    • False
    • undefined
    • Hide

      1. start the DB
      2. create a table into the DB (manually with a SQL client)
      3. start the jobs service

      Show
      1. start the DB 2. create a table into the DB (manually with a SQL client) 3. start the jobs service
    • 2021 Week 37-39 (from Sep 13), 2021 Week 40-42 (from Oct 4), 2021 Week 43-45 (from Oct 25)

      The jobs service expect an empty DB, otherwise it fails during the start up with no error messages.

      The jobs service logs the following lines and then dies:

      2021-08-19 09:28:31,890 kogito-jobs-service INFO [org.kie.kogito.jobs.service.json.JacksonConfiguration:-1] (main) Jackson customization initialized.
      2021-08-19 09:28:32,129 kogito-jobs-service INFO [org.flywaydb.core.internal.license.VersionPrinter:-1] (main) Flyway Community Edition 7.9.2 by Redgate
      2021-08-19 09:28:32,274 kogito-jobs-service INFO [org.flywaydb.core.internal.database.base.BaseDatabaseType:-1] (main) Database: jdbc:postgresql://thehost:5432/kogito (PostgreSQL 13.3)
      

              tdolphin-1 Tiago Dolphine (Inactive)
              dmarrazz@redhat.com Donato Marrazzo
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: