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

Artifactory's entrypoint function, waitForDB, does not handle all oracle tns names

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Ready for Code Review
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Affects Version/s: 6.9.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Hello,

      while the JDBC driver for oracle is happy to support urls in the following format:

      (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myhost)(PORT=1524))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=servicename)))
      

      Artifactory's waitForDB does not parse it properly and does not try to wait for the DB to be up before starting.

      The script is even more strict than I thought. Only jdbc:oracle:thin:@server:port:SID is allowed, jdbc:oracle:thin:@server:port/SERVICE_NAME is also not supported by it

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              amithk Amith Kumar
              Reporter:
              rafael Rafael Cunha de Almeida
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-18903 -
                  SYNCHRONIZED
                  • Last Sync Date: