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.

          Form Name

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

            No work has yet been logged on this issue.

              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: