Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-12537

Util DbH2ServerStartup failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.7
    • 2.8
    • examples
    • None
    • Docs Required, Release Notes Required

    Description

      DbH2ServerStartup fails with exception:

      Exception in thread "main" class org.apache.ignite.IgniteException: Failed to start database TCP server
      	at org.apache.ignite.examples.util.DbH2ServerStartup.main(DbH2ServerStartup.java:86)
      Caused by: org.h2.jdbc.JdbcSQLNonTransientConnectionException: Database "mem:ExampleDb" not found, and IFEXISTS=true, so we cant auto-create it [90146-199]
      	at org.h2.message.DbException.getJdbcSQLException(DbException.java:617)
      	at org.h2.message.DbException.getJdbcSQLException(DbException.java:427)
      	at org.h2.message.DbException.get(DbException.java:205)
      	at org.h2.message.DbException.get(DbException.java:181)
      	at org.h2.engine.Engine.openSession(Engine.java:67)
      	at org.h2.engine.Engine.openSession(Engine.java:201)
      	at org.h2.engine.Engine.createSessionAndValidate(Engine.java:178)
      	at org.h2.engine.Engine.createSession(Engine.java:161)
      	at org.h2.server.TcpServerThread.run(TcpServerThread.java:160)
      	at java.lang.Thread.run(Thread.java:748)
      
      	at org.h2.message.DbException.getJdbcSQLException(DbException.java:617)
      	at org.h2.engine.SessionRemote.done(SessionRemote.java:607)
      	at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:143)
      	at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:431)
      	at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:317)
      	at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:169)
      	at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:148)
      	at org.h2.Driver.connect(Driver.java:69)
      	at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:189)
      	at org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:352)
      	at org.h2.jdbcx.JdbcDataSource.getPooledConnection(JdbcDataSource.java:384)
      	at org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(JdbcConnectionPool.java:234)
      	at org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java:199)
      	at org.apache.ignite.examples.util.DbH2ServerStartup.populateDatabase(DbH2ServerStartup.java:56)
      	at org.apache.ignite.examples.util.DbH2ServerStartup.main(DbH2ServerStartup.java:74)

      This issue blocks all store examples

      Attachments

        Issue Links

          Activity

            People

              tledkov-gridgain Taras Ledkov
              tledkov-gridgain Taras Ledkov
              Andrey Mashenkov Andrey Mashenkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m