After the hardfork



  • @haitch , would this be the problem? The config file for the new 2.2.0 says maria.db. I believe my old wallet was h2? So I would rather not download a new db. What goes in the config file to make it like my old db?

    # Database connection JDBC url
    # Append ;AUTO_SERVER=TRUE to enable automatic mixed mode access.
    DB.Url=jdbc:mariadb://localhost:3306/burstwallet
    DB.Username=
    DB.Password=


  • admin

    @rds Try:

    DB.Url = jdbc:h2:./burst_db/burst;DB_CLOSE_ON_EXIT=False

    But I recommend MariaDB over H2 - H2 is fragile vs. MariaDB



  • @haitch , here's what I got after doing what you said:

    Java found at: C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe
    May 29, 2018 3:22:11 PM brs.Burst loadProperties
    INFO: Initializing Burst Reference Software (BRS) version 2.2.0
    May 29, 2018 3:22:12 PM org.ehcache.core.EhcacheManager createCache
    INFO: Cache 'account' created in EhcacheManager.
    [INFO] 2018-05-29 15:22:12 brs.Burst - DB.Username undefined. Default: >null<
    [INFO] 2018-05-29 15:22:12 brs.Burst - DB.Password undefined. Default: >null<
    [SEVERE] 2018-05-29 15:22:13 com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Exception during pool initialization.
    org.h2.jdbc.JdbcSQLException: Wrong user name or password [28000-196]
    at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
    at org.h2.message.DbException.get(DbException.java:179)
    at org.h2.message.DbException.get(DbException.java:155)
    at org.h2.message.DbException.get(DbException.java:144)
    at org.h2.engine.Engine.validateUserAndPassword(Engine.java:336)
    at org.h2.engine.Engine.createSessionAndValidate(Engine.java:162)
    at org.h2.engine.Engine.createSession(Engine.java:137)
    at org.h2.engine.Engine.createSession(Engine.java:27)
    at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:116)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:100)
    at org.h2.Driver.connect(Driver.java:69)
    at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
    at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
    at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
    at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
    at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
    at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
    at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:81)
    at brs.db.sql.Db.init(Db.java:94)
    at brs.Burst.loadWallet(Burst.java:189)
    at brs.Burst.init(Burst.java:169)
    at brs.Burst.main(Burst.java:150)
    [SEVERE] 2018-05-29 15:22:13 brs.Burst - com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Wrong user name or password [28000-196]
    java.lang.RuntimeException: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Wrong user name or password [28000-196]
    at brs.db.sql.Db.init(Db.java:107)
    at brs.Burst.loadWallet(Burst.java:189)
    at brs.Burst.init(Burst.java:169)
    at brs.Burst.main(Burst.java:150)
    Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Wrong user name or password [28000-196]
    at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:569)
    at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:555)
    at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
    at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:81)
    at brs.db.sql.Db.init(Db.java:94)
    ... 3 more
    Caused by: org.h2.jdbc.JdbcSQLException: Wrong user name or password [28000-196]
    at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
    at org.h2.message.DbException.get(DbException.java:179)
    at org.h2.message.DbException.get(DbException.java:155)
    at org.h2.message.DbException.get(DbException.java:144)
    at org.h2.engine.Engine.validateUserAndPassword(Engine.java:336)
    at org.h2.engine.Engine.createSessionAndValidate(Engine.java:162)
    at org.h2.engine.Engine.createSession(Engine.java:137)
    at org.h2.engine.Engine.createSession(Engine.java:27)
    at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:116)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:100)
    at org.h2.Driver.connect(Driver.java:69)
    at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
    at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
    at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
    at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
    at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
    ... 6 more
    [INFO] 2018-05-29 15:22:13 brs.Burst - Shutting down...
    Exception in thread "Thread-1" java.lang.NullPointerException
    at brs.Burst.shutdown(Burst.java:289)
    at brs.Burst.shutdown(Burst.java:279)
    at java.lang.Thread.run(Unknown Source)
    Press any key to continue . . .