bitronix.tm.resource.ResourceConfigurationException

tip

Check if you're not creating unused SQL entities, as it might cause this exception.


rafaelrafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • H2 Oracle decode function
    via Stack Overflow by SvRekaa
    ,
  • Failover @Type for h2?
    via Stack Overflow by xenoterracide
    ,
  • Connecting to H2 server from DbVisualizer
    via Stack Overflow by balteo
    ,
  • Scala Play Anorm: Placeholder not replaced
    via by Unknown author,
  • ODBC Error
    via by Jeff Gunther,
  • gerrit as a windows service
    via by Unknown author,
    • bitronix.tm.resource.ResourceConfigurationException: cannot create JDBC datasource named DEFAULT_transactional_DS at bitronix.tm.resource.jdbc.PoolingDataSource.init(PoolingDataSource.java:90) at org.moqui.impl.context.TransactionInternalBitronix.getDataSource(TransactionInternalBitronix.groovy:133) at org.moqui.impl.entity.EntityDatasourceFactoryImpl.init(EntityDatasourceFactoryImpl.groovy:82) at org.moqui.impl.entity.EntityFacadeImpl.initAllDatasources(EntityFacadeImpl.groovy:191) at org.moqui.impl.entity.EntityFacadeImpl.<init>(EntityFacadeImpl.groovy:120) at org.moqui.impl.context.ExecutionContextFactoryImpl.initEntityFacade(ExecutionContextFactoryImpl.groovy:689) at org.moqui.impl.context.ExecutionContextFactoryImpl.<init>(ExecutionContextFactoryImpl.groovy:197) at org.moqui.impl.webapp.MoquiContextListener.contextInitialized(MoquiContextListener.groovy:69) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:939) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1812) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.h2.jdbc.JdbcSQLException: Error while creating file "/db" [90062-192] 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.store.fs.FilePathDisk.createDirectory(FilePathDisk.java:274) at org.h2.store.fs.FileUtils.createDirectory(FileUtils.java:42) at org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:309) at org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:308) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:73) at org.h2.engine.Database.getPageStore(Database.java:2463) at org.h2.engine.Database.open(Database.java:692) at org.h2.engine.Database.openDatabase(Database.java:270) at org.h2.engine.Database.<init>(Database.java:264) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) 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:349) at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:118) at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:102) at org.h2.Driver.connect(Driver.java:72) at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:190) at org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:353) at bitronix.tm.resource.jdbc.PoolingDataSource.createPooledConnection(PoolingDataSource.java:422) at bitronix.tm.resource.jdbc.PoolingDataSource.createPooledConnection(PoolingDataSource.java:52) at bitronix.tm.resource.common.XAPool.createPooledObject(XAPool.java:472) at bitronix.tm.resource.common.XAPool.growUntilMinPoolSize(XAPool.java:466) at bitronix.tm.resource.common.XAPool.init(XAPool.java:105) at bitronix.tm.resource.common.XAPool.<init>(XAPool.java:98) at bitronix.tm.resource.jdbc.PoolingDataSource.buildXAPool(PoolingDataSource.java:99) at bitronix.tm.resource.jdbc.PoolingDataSource.init(PoolingDataSource.java:86) ... 20 more

    Users with the same issue

    tvrmsmithtvrmsmith
    2 times, last one,
    guizmaiiguizmaii
    34 times, last one,
    batwalrus76batwalrus76
    4 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    aidoanaidoan
    1 times, last one,
    143 more bugmates