Unknown JDBC Driver Class org.h2.Driver

Recently I was playing around with versions of other plugins I was using and in the process I seem to have done something to my h2 driver and started getting this error when I tried to open Jira in my browser. Redownloading the repository to another folder and running Jira from there fixed the problem and I was able to continue developing my plugin. 

Today this error started popping up again and this time redownloading to another folder doesn't work (and is not really a solution if this keeps happening) .  I think this may be related to atlas-clean as I ran that command just before the error came up and I don't recall running it since I "fixed" the problem (not 100% sure though).

Does anyone have any clues as to what may be the cause? I've added the last part of the output from atlas-debug below for extra info.

[INFO] [talledLocalContainer] ****************
[INFO] [talledLocalContainer] JIRA starting...
[INFO] [talledLocalContainer] ****************
[INFO] [talledLocalContainer] 
[INFO] [talledLocalContainer] 2017-06-02 15:05:40,557 localhost-startStop-1 INFO      [atlassian.jira.startup.JiraStartupLogger] 
[INFO] [talledLocalContainer] 
[INFO] [talledLocalContainer] ___ Environment _____________________________
[INFO] [talledLocalContainer] 
[INFO] [talledLocalContainer]      JIRA Build                                    : 6.4.11#64026-sha1:78f6ec473a3f058bd5d6c30e9319c7ab376bdb9c
[INFO] [talledLocalContainer]      Build Date                                    : Tue Aug 25 00:00:00 GMT 2015
[INFO] [talledLocalContainer]      JIRA Installation Type                        : unknown
[INFO] [talledLocalContainer]      Application Server                            : Apache Tomcat/7.0.52 - Servlet API 3.0
[INFO] [talledLocalContainer]      Java Version                                  : 1.8.0_121 - Oracle Corporation
[INFO] [talledLocalContainer]      Current Working Directory                     : /home/jonbr/Documents/Repositories/Skyggnir/skyggnir/skyggnir-plugin/target/container/tomcat7x/cargo-jira-home
[INFO] [talledLocalContainer]      Maximum Allowable Memory                      : 455MB
[INFO] [talledLocalContainer]      Total Memory                                  : 233MB
[INFO] [talledLocalContainer]      Free Memory                                   : 175MB
[INFO] [talledLocalContainer]      Used Memory                                   : 58MB
[INFO] [talledLocalContainer]      Memory Pool: Code Cache                       : Code Cache: init = 2555904(2496K) used = 10507136(10260K) committed = 10878976(10624K) max = 251658240(245760K)
[INFO] [talledLocalContainer]      Memory Pool: Metaspace                        : Metaspace: init = 0(0K) used = 20200960(19727K) committed = 20840448(20352K) max = -1(-1K)
[INFO] [talledLocalContainer]      Memory Pool: Compressed Class Space           : Compressed Class Space: init = 0(0K) used = 2268896(2215K) committed = 2490368(2432K) max = 1073741824(1048576K)
[INFO] [talledLocalContainer]      Memory Pool: PS Eden Space                    : PS Eden Space: init = 34078720(33280K) used = 10990832(10733K) committed = 124256256(121344K) max = 124780544(121856K)
[INFO] [talledLocalContainer]      Memory Pool: PS Survivor Space                : PS Survivor Space: init = 5242880(5120K) used = 5404848(5278K) committed = 26214400(25600K) max = 26214400(25600K)
[INFO] [talledLocalContainer]      Memory Pool: PS Old Gen                       : PS Old Gen: init = 89653248(87552K) used = 44734072(43685K) committed = 94371840(92160K) max = 358088704(349696K)
[INFO] [talledLocalContainer]      JVM Input Arguments                           : -Xmx512m -XX:MaxPermSize=256m -Xdebug -Xrunjdwp:transport=dt_socket,address=5010,suspend=n,server=y -Xms128m -XX:PermSize=48m -Dbaseurl=http://jonbr-ThinkPad-T460s:2990/jira -Dplugin.root.directories=/home/jonbr/Documents/Repositories/Skyggnir/skyggnir/skyggnir-plugin -Dcargo.servlet.uriencoding=UTF-8 -Dcom.atlassian.jira.startup.LauncherContextListener.SYNCHRONOUS=true -Dplugin.resource.directories=/home/jonbr/Documents/Repositories/Skyggnir/skyggnir/skyggnir-plugin/src/main/resources -Datlassian.dev.mode=true -Djava.awt.headless=true -Djira.home=/home/jonbr/Documents/Repositories/Skyggnir/skyggnir/skyggnir-plugin/target/jira/home -Dcargo.datasource.datasource=cargo.datasource.url=jdbc:hsqldb:/home/jonbr/Documents/Repositories/Skyggnir/skyggnir/skyggnir-plugin/target/jira/home/database|cargo.datasource.driver=org.hsqldb.jdbcDriver|cargo.datasource.username=sa|cargo.datasource.password=|cargo.datasource.jndi=jdbc/JiraDS|cargo.datasource.type=javax.sql.DataSource -Datlassian.sdk.version=6.2.11 -Dcatalina.home=/home/jonbr/Documents/Repositories/Skyggnir/skyggnir/skyggnir-plugin/target/container/tomcat7x/apache-tomcat-7.0.52 -Dcatalina.base=/home/jonbr/Documents/Repositories/Skyggnir/skyggnir/skyggnir-plugin/target/container/tomcat7x/cargo-jira-home -Djava.io.tmpdir=/home/jonbr/Documents/Repositories/Skyggnir/skyggnir/skyggnir-plugin/target/container/tomcat7x/cargo-jira-home/temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/home/jonbr/Documents/Repositories/Skyggnir/skyggnir/skyggnir-plugin/target/container/tomcat7x/cargo-jira-home/conf/logging.properties
[INFO] [talledLocalContainer]      Java Compatibility Information                : JIRA version = 6.4.11, Java Version = 1.8.0_121
[INFO] [talledLocalContainer] 
[INFO] [talledLocalContainer] 2017-06-02 15:05:40,756 localhost-startStop-1 INFO      [atlassian.jira.startup.JiraHomeStartupCheck] The jira.home directory '/home/jonbr/Documents/Repositories/Skyggnir/skyggnir/skyggnir-plugin/target/jira/home' is validated and locked for exclusive use by this instance.
[INFO] [talledLocalContainer] 2017-06-02 15:05:40,764 localhost-startStop-1 INFO      [jira.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /home/jonbr/Documents/Repositories/Skyggnir/skyggnir/skyggnir-plugin/target/jira/home/dbconfig.xml
[INFO] [talledLocalContainer] 2017-06-02 15:05:40,849 localhost-startStop-1 FATAL      [atlassian.jira.startup.JiraStartupLogger] Driver for the database Uknown not found. Ensure it is installed in the 'lib' directory.
[INFO] [talledLocalContainer] 2017-06-02 15:05:40,954 localhost-startStop-1 INFO      [jira.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /home/jonbr/Documents/Repositories/Skyggnir/skyggnir/skyggnir-plugin/target/jira/home/dbconfig.xml
[INFO] [talledLocalContainer] 2017-06-02 15:05:40,957 localhost-startStop-1 FATAL      [atlassian.jira.startup.JiraStartupLogger] Driver for the database Uknown not found. Ensure it is installed in the 'lib' directory.
[INFO] [talledLocalContainer] 2017-06-02 15:05:40,958 localhost-startStop-1 ERROR      [atlassian.jira.startup.BootstrapContainerLauncher] A fatal error occurred during bootstrapping. JIRA has been locked.
[INFO] [talledLocalContainer] java.lang.IllegalArgumentException: Unknown JDBC Driver Class org.h2.Driver
[INFO] [talledLocalContainer] 	at com.atlassian.jira.config.database.DatabaseType$1.get(DatabaseType.java:96)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.config.database.DatabaseType$1.get(DatabaseType.java:92)
[INFO] [talledLocalContainer] 	at com.google.common.base.Optional$Absent.or(Optional.java:276)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.config.database.DatabaseType.forJdbcDriverClassName(DatabaseType.java:84)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.BootstrapContainerLauncher.getErrorMessageForDatabase(BootstrapContainerLauncher.java:121)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.BootstrapContainerLauncher.bootstrapJIRAWhenDBIsNotSetup(BootstrapContainerLauncher.java:90)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.BootstrapContainerLauncher.bootstrapJIRA(BootstrapContainerLauncher.java:62)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.BootstrapContainerLauncher.start(BootstrapContainerLauncher.java:31)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.DefaultJiraLauncher.preDbLaunch(DefaultJiraLauncher.java:98)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.DefaultJiraLauncher.access$000(DefaultJiraLauncher.java:33)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:85)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:34)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:81)
[INFO] [talledLocalContainer] 	at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:72)
[INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
[INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
[INFO] [talledLocalContainer] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
[INFO] [talledLocalContainer] 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
[INFO] [talledLocalContainer] 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
[INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
[INFO] [talledLocalContainer] 	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
[INFO] [talledLocalContainer] 	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
[INFO] [talledLocalContainer] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[INFO] [talledLocalContainer] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[INFO] [talledLocalContainer] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[INFO] [talledLocalContainer] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[INFO] [talledLocalContainer] 	at java.lang.Thread.run(Thread.java:745)
[INFO] [talledLocalContainer] 2017-06-02 15:05:40,962 localhost-startStop-1 INFO      [atlassian.jira.startup.ChecklistLauncher] Setting system property 'atlassian.webresource.disable.minification' to 'true' for development mode.
[INFO] [talledLocalContainer] 2017-06-02 15:05:40,963 localhost-startStop-1 INFO      [atlassian.jira.startup.ChecklistLauncher] Setting system property 'atlassian.mail.senddisabled' to 'true' for development mode.
[INFO] [talledLocalContainer] 2017-06-02 15:05:40,963 localhost-startStop-1 INFO      [atlassian.jira.startup.ChecklistLauncher] Setting system property 'atlassian.mail.fetchdisabled' to 'true' for development mode.
[INFO] [talledLocalContainer] 2017-06-02 15:05:40,964 localhost-startStop-1 INFO      [atlassian.jira.startup.ChecklistLauncher] Setting system property 'com.atlassian.gadgets.dashboard.ignoreCache' to 'true' for development mode.
[INFO] [talledLocalContainer] 2017-06-02 15:05:40,964 localhost-startStop-1 INFO      [atlassian.jira.startup.ChecklistLauncher] Setting system property 'atlassian.disable.caches' to 'true' for development mode.
[INFO] [talledLocalContainer] 2017-06-02 15:05:40,964 localhost-startStop-1 INFO      [atlassian.jira.startup.ChecklistLauncher] Setting system property 'jira.websudo.is.disabled' to 'true' for development mode.
[INFO] [talledLocalContainer] 2017-06-02 15:05:40,964 localhost-startStop-1 INFO      [atlassian.jira.startup.ChecklistLauncher] Setting system property 'jira.i18n.reloadbundles' to 'true' for development mode.
[INFO] [talledLocalContainer] 2017-06-02 15:05:40,964 localhost-startStop-1 INFO      [atlassian.jira.startup.JiraStartupLogger] Running JIRA startup checks.
[INFO] [talledLocalContainer] 2017-06-02 15:05:40,964 localhost-startStop-1 FATAL      [atlassian.jira.startup.JiraStartupLogger] Startup check failed. JIRA will be locked.
[INFO] [talledLocalContainer] 2017-06-02 15:05:41,102 localhost-startStop-1 INFO      [atlassian.jira.startup.LauncherContextListener] Memory Usage:
[INFO] [talledLocalContainer] ---------------------------------------------------------------------------------
[INFO] [talledLocalContainer]   Heap memory     :  Used:   49 MiB.  Committed:  244 MiB.  Max:  485 MiB
[INFO] [talledLocalContainer]   Non-heap memory :  Used:   37 MiB.  Committed:   38 MiB.  Max: 1264 MiB
[INFO] [talledLocalContainer] ---------------------------------------------------------------------------------
[INFO] [talledLocalContainer]   TOTAL           :  Used:   86 MiB.  Committed:  281 MiB.  Max: 1749 MiB
[INFO] [talledLocalContainer] ---------------------------------------------------------------------------------
[INFO] [talledLocalContainer] Jun 02, 2017 3:05:41 PM org.apache.catalina.core.ApplicationContext log
[INFO] [talledLocalContainer] INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
[INFO] [talledLocalContainer] 2017-06-02 15:05:41,330 localhost-startStop-1 ERROR      [jira.web.dispatcher.JiraWebworkActionDispatcher] 
[INFO] [talledLocalContainer] 
[INFO] [talledLocalContainer] ******************************************
[INFO] [talledLocalContainer] JIRA startup failed, JIRA has been locked.
[INFO] [talledLocalContainer] ******************************************
[INFO] [talledLocalContainer] 
[INFO] [talledLocalContainer] Jun 02, 2017 3:05:41 PM org.apache.catalina.startup.HostConfig deployWAR
[INFO] [talledLocalContainer] INFO: Deploying web application archive /home/jonbr/Documents/Repositories/Skyggnir/skyggnir/skyggnir-plugin/target/container/tomcat7x/cargo-jira-home/webapps/cargocpc.war
[INFO] [talledLocalContainer] Jun 02, 2017 3:05:41 PM org.apache.catalina.startup.HostConfig deployDirectory
[INFO] [talledLocalContainer] INFO: Deploying web application directory /home/jonbr/Documents/Repositories/Skyggnir/skyggnir/skyggnir-plugin/target/container/tomcat7x/cargo-jira-home/webapps/manager
[INFO] [talledLocalContainer] Jun 02, 2017 3:05:41 PM org.apache.catalina.startup.HostConfig deployDirectory
[INFO] [talledLocalContainer] INFO: Deploying web application directory /home/jonbr/Documents/Repositories/Skyggnir/skyggnir/skyggnir-plugin/target/container/tomcat7x/cargo-jira-home/webapps/host-manager
[INFO] [talledLocalContainer] Jun 02, 2017 3:05:41 PM org.apache.coyote.AbstractProtocol start
[INFO] [talledLocalContainer] INFO: Starting ProtocolHandler ["http-bio-2990"]
[INFO] [talledLocalContainer] Jun 02, 2017 3:05:41 PM org.apache.coyote.AbstractProtocol start
[INFO] [talledLocalContainer] INFO: Starting ProtocolHandler ["ajp-bio-8009"]
[INFO] [talledLocalContainer] Jun 02, 2017 3:05:41 PM org.apache.catalina.startup.Catalina start
[INFO] [talledLocalContainer] INFO: Server startup in 10290 ms
[INFO] [talledLocalContainer] Tomcat 7.x started on port [2990]
[INFO] jira started successfully in 26s at http://jonbr-ThinkPad-T460s:2990/jira
[INFO] Type Ctrl-D to shutdown gracefully
[INFO] Type Ctrl-C to exit

 

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Friday in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

31 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you