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

JIRA 6.2 Throws StackOverflowError When Database Connector is not found

    XMLWordPrintable

    Details

      Description

      Steps to reproduce:

      1. install JIRA 6.2 and try to connect it to database. Eg: MySQL
      2. do not copy the MySQL connector into the JIRA_Install/lib directory
      3. start up JIRA and it will throws Error:
        2014-02-17 22:29:47,907 localhost-startStop-1 FATAL      [atlassian.jira.startup.BootstrapContainerLauncher] An Error occurred during BootstrapContainerLauncher servlet context initialisation - null.
        java.lang.StackOverflowError
        	at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
        	at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242)
        	at java.io.File.exists(File.java:813)
        	at sun.misc.URLClassPath$FileLoader.getResource(URLClassPath.java:1080)
        	at sun.misc.URLClassPath.getResource(URLClassPath.java:199)
        	at java.net.URLClassLoader$1.run(URLClassLoader.java:358)
        	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        	at java.security.AccessController.doPrivileged(Native Method)
        	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        	at java.lang.Class.forName0(Native Method)
        	at java.lang.Class.forName(Class.java:270)
        	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1689)
        	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547)
        	at java.lang.Class.forName0(Native Method)
        	at java.lang.Class.forName(Class.java:190)
        	at com.atlassian.jira.config.database.DatabaseDriverRegisterer.registerDriver(DatabaseDriverRegisterer.java:70)
        	at com.atlassian.jira.config.database.JdbcDatasource.registerDriver(JdbcDatasource.java:92)
        ...
        

        this ERROR message is not informative compare to previous versions. Notes: In previous version, ERROR message can be found in the JIRA logs file when the Database Connector is not copied correctly:

        FATAL      [atlassian.jira.startup.JiraStartupLogger] Driver for the database MySQL not found. Ensure it is installed in the 'lib' directory.
        

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jalbion Janet Albion (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: