Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-3163

Driver not available when running Stash as Windows service using $STASH_HOME/lib

      From: https://answers.atlassian.com/questions/140373/stash-as-service-fails-to-find-mysql-driver

      A fatal error has occurred
      
      The following problem occurred which prevents Atlassian Stash from starting correctly:
      
      The database, as currently configured, is not accessible.Stash is configured to use the mysql driver (com.mysql.jdbc.Driver) but it is not available. Please follow the instructions to install the driver as per Connecting Stash to MySQL.
      

      The problem is that the path for the connector jar (mysql-connector-java-5.1.x-bin.jar) needs to be <stash-installation-dir>/atlassian-stash/WEB_INF/lib when stash is started as a service (<stash-installation-dir>/lib might also work). The path <stash-home>/lib specified in the install guide works when stash is started from the console.

            [BSERV-3163] Driver not available when running Stash as Windows service using $STASH_HOME/lib

            Renata Dornelas made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 122723 ]
            Owen made changes -
            Workflow Original: Stash Workflow - Restricted [ 1447201 ] New: JAC Bug Workflow v3 [ 3136070 ]
            Owen made changes -
            Workflow Original: Stash Workflow [ 494966 ] New: Stash Workflow - Restricted [ 1447201 ]
            Jeff Thomas made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 122723 ] New: This issue links to "Page (Atlassian Documentation)" [ 122723 ]
            Jeff Thomas made changes -
            Remote Link New: This issue links to "Page (Atlassian Documentation)" [ 122723 ]
            Jeff Thomas made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 115908 ] New: This issue links to "Page (Atlassian Documentation)" [ 115908 ]
            Jeff Thomas made changes -
            Remote Link New: This issue links to "Page (Atlassian Documentation)" [ 115908 ]
            Jeff Thomas made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 115615 ] New: This issue links to "Page (Atlassian Documentation)" [ 115615 ]
            Jeff Thomas made changes -
            Remote Link New: This issue links to "Page (Atlassian Documentation)" [ 115615 ]
            Adam Brokes made changes -
            Labels Original: da-environment da-missed-use-case da-no-qa da-windows New: da-environment da-missed-use-case da-no-qa da-service da-windows

              dpenkin@atlassian.com Daniil Penkin
              ssaasen Stefan Saasen (Inactive)
              Affected customers:
              4 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: