Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-20371

Docker Image Fails to start with Oracle DB

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Ready for Code Review
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 6.13.1
    • Fix Version/s: None
    • Component/s: Database, Docker, Docker Image
    • Labels:
      None

      Description

      The entrypoint-artifactory.sh file does a waitForDB check to access the database by parsing DB_URL.

       

      jdbc:oracle:thin:@<tns_entry>?TNS_ADMIN=<directory of the wallet> 
      

      For a URL that uses a TNS entry this doesn't work, presumably because the hostname is in the tnsnames.ora and not the URL. To get around this one has to modify the entry point and remove the check.

      Artifactory standalone in fact works fine with this DB configuration.

      A possible solution would be to include a property that tells the startup to ignore this check (DB_CHECK_IGNORE) or find some other way to verify the DB is up. 

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              amithk Amith Kumar
              Reporter:
              tsquier Tony Squier
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: