Uploaded image for project: 'Jira Server and Data Center'
  1. Jira Server and Data Center
  2. JRASERVER-45974

Database type returns UNKNOWN on PostgreSQL database

    XMLWordPrintable

Details

    Description

      From: https://ecosystem.atlassian.net/browse/AO-692

      In JIRA 7.0.0 we get "UNKNOWN" in method: moduleMetaData().getDatabaseType() in some of our environments using postgreSQL.

      The database configuration is:

      <?xml version="1.0" encoding="UTF-8"?>
      
      <jira-database-config>
        <name>defaultDS</name>
        <delegator-name>default</delegator-name>
        <database-type>postgres72</database-type>
        <schema-name>public</schema-name>
        <jdbc-datasource>
          <url>jdbc:postgresql://localhost:5432/jiradb</url>
          <driver-class&gt;org.postgresql.Driver</driver-class&gt;
          <username>jiradbuser</username>
          <password>xxxxxxx</password>
          <pool-min-size>20</pool-min-size>
          <pool-max-size>20</pool-max-size>
          <pool-max-wait>30000</pool-max-wait>
          <pool-max-idle>20</pool-max-idle>
          <pool-remove-abandoned>true</pool-remove-abandoned>
          <pool-remove-abandoned-timeout>300</pool-remove-abandoned-timeout>
        </jdbc-datasource>
      </jira-database-config>
      
      

      This is very urgent to us and more or less a blocker in our development. Please let us know if we could provide some more information.

      How can this happen? Is there something we could do to avoid this? Any recommendation?

      Cheers //Mathias [RIADA]

      Attachments

        Issue Links

          Activity

            People

              acourtis alex
              acourtis alex
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: