org.h2.jdbc.JdbcSQLException: Wrong user name or password [8004-140]

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    WSO2 ESB 4.9.0 fails to start with security vault enabled

    Stack Overflow | 6 months ago | Matthieu Morillon
    org.h2.jdbc.JdbcSQLException: Wrong user name or password [8004-140]
  2. 0

    WSO2 Server instance is not starting for message mediation sample 10

    Stack Overflow | 2 years ago | user2674285
    org.h2.jdbc.JdbcSQLException: File corrupted while reading record: "1940 of 1814". Possible solution: use the recovery tool [90030-140]
  3. 0

    WSO2 API Manager 1.6 file corrupted error

    Stack Overflow | 3 years ago | Rafa Hernández
    org.h2.jdbc.JdbcSQLException: File corrupted while reading record: "958 of 958". Possible solution: use the recovery tool [90030-140]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    App loads in white page

    GitHub | 2 years ago | marcellodesales
    org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode [90020-176]
  6. 0

    Not able to access the h2 database file in application

    Stack Overflow | 1 year ago | Sagar
    org.h2.jdbc.JdbcSQLException: A file path that is implicitly relative to the current working directory is not allowed in the database URL "jdbc:h2:C:UserssagarDatabasedb-viewer.mv:viewer;INIT=CREATE SCHEMA IF NOT EXISTS VIEWER;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE". Use an absolute path, ~/name, ./name, or the baseDir setting instead. [90011-187]
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.h2.jdbc.JdbcSQLException

    Wrong user name or password [8004-140]

    at org.h2.message.DbException.getJdbcSQLException()
  2. H2 Database Engine
    Driver.connect
    1. org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
    2. org.h2.message.DbException.get(DbException.java:167)
    3. org.h2.message.DbException.get(DbException.java:144)
    4. org.h2.message.DbException.get(DbException.java:133)
    5. org.h2.engine.Engine.validateUserAndPassword(Engine.java:277)
    6. org.h2.engine.Engine.getSession(Engine.java:133)
    7. org.h2.engine.Session.createSession(Session.java:122)
    8. org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:241)
    9. org.h2.engine.SessionRemote.createSession(SessionRemote.java:219)
    10. org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:111)
    11. org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:95)
    12. org.h2.Driver.connect(Driver.java:73)
    12 frames
  3. org.apache.tomcat
    DataSourceProxy.getConnection
    1. org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:278)
    2. org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182)
    3. org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701)
    4. org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635)
    5. org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188)
    6. org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:128)
    6 frames
  4. org.wso2.carbon
    BundleCheckActivator.start
    1. org.wso2.carbon.user.core.claim.dao.ClaimDAO.getDialectCount(ClaimDAO.java:158)
    2. org.wso2.carbon.user.core.common.DefaultRealm.populateProfileAndClaimMaps(DefaultRealm.java:429)
    3. org.wso2.carbon.user.core.common.DefaultRealm.init(DefaultRealm.java:105)
    4. org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:230)
    5. org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:96)
    6. org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:109)
    7. org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:68)
    8. org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
    8 frames
  5. Eclipse OSGi
    BundleContextImpl$1.run
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
    1 frame
  6. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  7. Eclipse OSGi
    StartLevelManager.dispatchEvent
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
    2. org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
    3. org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
    4. org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
    5. org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
    6. org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
    7. org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
    8. org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
    9. org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
    10. org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
    11. org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
    11 frames
  8. Eclipse OSGi
    EventManager$EventThread.run
    1. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    2. org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
    2 frames