bitronix.tm.resource.ResourceConfigurationException: cannot create JDBC datasource named DEFAULT_transactional_DS

GitHub | jenshp | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    H2 database does not start when using a non-embedded runtime directory in tomcat

    GitHub | 9 months ago | jenshp
    bitronix.tm.resource.ResourceConfigurationException: cannot create JDBC datasource named DEFAULT_transactional_DS
  2. 0

    Problem with JDBC Url (h2 server mode)

    Google Groups | 3 years ago | Stefan Beigel
    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:tcp://localhost//data". Use an absolute path, ~/name, ./name, or the baseDir setting instead. [90011-178] at org.h2.message.DbException.getJdbcSQLException(DbException.java:344<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=344&build=178>) at org.h2.message.DbException.get(DbException.java:178<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=178&build=178>) at org.h2.engine.ConnectionInfo.getName(ConnectionInfo.java:392<http://h2database.com/html/source.html?file=org/h2/engine/ConnectionInfo.java&line=392&build=178>) at org.h2.engine.Engine.openSession(Engine.java:42<http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=42&build=178>) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:142<http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=142&build=178>) at org.h2.engine.Engine.createSession(Engine.java:125<http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=125&build=178>)
  3. 0

    Out Of Memory Error: Java heap space

    Google Groups | 8 years ago | Alexander.Sirenko
    org.h2.jdbc.JdbcSQLException: Out of memory.; SQL statement: SCRIPT [90108-169] at org.h2.message.DbException.getJdbcSQLException(DbException.java:329<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=329&build=169>) at org.h2.message.DbException.get(DbException.java:158<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=158&build=169>) at org.h2.command.Command.executeQuery(Command.java:195<http://h2database.com/html/source.html?file=org/h2/command/Command.java&line=195&build=169>) at org.h2.server.TcpServerThread.process(TcpServerThread.java:308<http://h2database.com/html/source.html?file=org/h2/server/TcpServerThread.java&line=308&build=169>)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Corrupted Database - unable to recover

    Google Groups | 5 years ago | beetle
    org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException"; SQL statement: SELECT * FROM JESIG [50000-155] at org.h2.message.DbException.getJdbcSQLException(DbException.java:327<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=327&build=155>) at org.h2.message.DbException.get(DbException.java:156<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=156&build=155>) at org.h2.command.Command.executeQuery(Command.java:185<http://h2database.com/html/source.html?file=org/h2/command/Command.java&line=185&build=155>) at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:173<http://h2database.com/html/source.html?file=org/h2/jdbc/JdbcStatement.java&line=173&build=155>) at org.h2.server.web.WebApp.getResult(WebApp.java:1304<http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=1304&build=155>) at org.h2.server.web.WebApp.query(WebApp.java:994<http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=994&build=155>) at org.h2.server.web.WebApp$1.next(WebApp.java:960<http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=960&build=155>) at org.h2.server.web.WebThread.process(WebThread.java:166<http://h2database.com/html/source.html?file=org/h2/server/web/WebThread.java&line=166&build=155>)
  6. 0

    add identity an primary key after filling

    Google Groups | 9 years ago | kavenchuk
    org.h2.jdbc.JdbcSQLException: Timeout trying to lock table SYS [50200-69] at org.h2.message.Message.getSQLException(Message.java:91 <http://h2database.com/html/source.html?file=org/h2/message/Message.java&line=91&build=69>) at org.h2.message.Message.getSQLException(Message.java:95 at org.h2.message.Message.getSQLException(Message.java:73 <http://h2database.com/html/source.html?file=org/h2/message/Message.java&line=73&build=69>) at org.h2.table.TableData.lock(TableData.java:377 at org.h2.engine.Database.removeMeta(Database.java:698 <http://h2database.com/html/source.html?file=org/h2/engine/Database.java&line=698&build=69>) at org.h2.engine.Database.update(Database.java:1112 at org.h2.schema.Sequence.flush(Sequence.java:104 <http://h2database.com/html/source.html?file=org/h2/schema/Sequence.java&line=104&build=69>) at org.h2.table.Column.updateSequenceIfRequired(Column.java:269 at org.h2.table.Column.validateConvertUpdateSequence(Column.java:251 <http://h2database.com/html/source.html?file=org/h2/table/Column.java&line=251&build=69>) at org.h2.table.Table.validateConvertUpdateSequence(Table.java:469 at org.h2.command.dml.Insert.update(Insert.java:117 <http://h2database.com/html/source.html?file=org/h2/command/dml/Insert.java&line=117&build=69>) at <http://h2database.com/html/source.html?file=org/h2/command/ddl/AlterTableAlterColumn.java&line=368&build=69>) at org.h2.command.ddl.AlterTableAlterColumn.copyData(AlterTableAlterColumn.java:316 <http://h2database.com/html/source.html?file=org/h2/command/ddl/AlterTableAlterColumn.java&line=316&build=69>) org.h2.command.ddl.AlterTableAlterColumn.update(AlterTableAlterColumn.java:152 <http://h2database.com/html/source.html?file=org/h2/command/ddl/AlterTableAlterColumn.java&line=152&build=69>) at org.h2.command.CommandContainer.update(CommandContainer.java:69 <http://h2database.com/html/source.html?file=org/h2/command/CommandContainer.java&line=69&build=69>) at org.h2.command.Command.executeUpdate(Command.java:197 at org.h2.server.TcpServerThread.process(TcpServerThread.java:248 <http://h2database.com/html/source.html?file=org/h2/server/TcpServerThread.java&line=248&build=69>) at org.h2.server.TcpServerThread.run(TcpServerThread.java:104

    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

      Error while creating file "/db" [90062-192]

      at org.h2.message.DbException.getJdbcSQLException()
    2. H2 Database Engine
      JdbcDataSource.getXAConnection
      1. org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
      2. org.h2.message.DbException.get(DbException.java:179)
      3. org.h2.message.DbException.get(DbException.java:155)
      4. org.h2.store.fs.FilePathDisk.createDirectory(FilePathDisk.java:274)
      5. org.h2.store.fs.FileUtils.createDirectory(FileUtils.java:42)
      6. org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:309)
      7. org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:308)
      8. org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:73)
      9. org.h2.engine.Database.getPageStore(Database.java:2463)
      10. org.h2.engine.Database.open(Database.java:692)
      11. org.h2.engine.Database.openDatabase(Database.java:270)
      12. org.h2.engine.Database.<init>(Database.java:264)
      13. org.h2.engine.Engine.openSession(Engine.java:64)
      14. org.h2.engine.Engine.openSession(Engine.java:176)
      15. org.h2.engine.Engine.createSessionAndValidate(Engine.java:154)
      16. org.h2.engine.Engine.createSession(Engine.java:137)
      17. org.h2.engine.Engine.createSession(Engine.java:27)
      18. org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:349)
      19. org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:118)
      20. org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:102)
      21. org.h2.Driver.connect(Driver.java:72)
      22. org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:190)
      23. org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:353)
      23 frames
    3. Bitronix Transaction Manager :: Core
      PoolingDataSource.init
      1. bitronix.tm.resource.jdbc.PoolingDataSource.createPooledConnection(PoolingDataSource.java:422)
      2. bitronix.tm.resource.jdbc.PoolingDataSource.createPooledConnection(PoolingDataSource.java:52)
      3. bitronix.tm.resource.common.XAPool.createPooledObject(XAPool.java:472)
      4. bitronix.tm.resource.common.XAPool.growUntilMinPoolSize(XAPool.java:466)
      5. bitronix.tm.resource.common.XAPool.init(XAPool.java:105)
      6. bitronix.tm.resource.common.XAPool.<init>(XAPool.java:98)
      7. bitronix.tm.resource.jdbc.PoolingDataSource.buildXAPool(PoolingDataSource.java:99)
      8. bitronix.tm.resource.jdbc.PoolingDataSource.init(PoolingDataSource.java:86)
      8 frames
    4. org.moqui.impl
      MoquiContextListener.contextInitialized
      1. org.moqui.impl.context.TransactionInternalBitronix.getDataSource(TransactionInternalBitronix.groovy:133)
      2. org.moqui.impl.entity.EntityDatasourceFactoryImpl.init(EntityDatasourceFactoryImpl.groovy:82)
      3. org.moqui.impl.entity.EntityFacadeImpl.initAllDatasources(EntityFacadeImpl.groovy:191)
      4. org.moqui.impl.entity.EntityFacadeImpl.<init>(EntityFacadeImpl.groovy:120)
      5. org.moqui.impl.context.ExecutionContextFactoryImpl.initEntityFacade(ExecutionContextFactoryImpl.groovy:689)
      6. org.moqui.impl.context.ExecutionContextFactoryImpl.<init>(ExecutionContextFactoryImpl.groovy:197)
      7. org.moqui.impl.webapp.MoquiContextListener.contextInitialized(MoquiContextListener.groovy:69)
      7 frames
    5. Glassfish Core
      HostConfig$DeployWar.run
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)
      2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
      3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
      4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
      5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
      6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
      7. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:939)
      8. org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1812)
      8 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames