Open urbandroid opened 10 months ago
I realized it was javax so javaee code base so i made some changes to run with Wildfly 31 https://github.com/urbandroid/graphql-example2/tree/jakarta10
i get this error any guess?
05:29:27,601 INFO [stdout] (ServerService Thread Pool -- 78) org.h2.message.DbException: Log file error: "/opt/jboss/target/data/person.trace.db", cause: "org.h2.message.DbException: Error while creating file ""/opt/jboss/target"" [90062-224]" [90034-224] 05:29:27,601 ERROR [stderr] (ServerService Thread Pool -- 78) org.h2.message.DbException: Log file error: "/opt/jboss/target/data/person.trace.db", cause: "org.h2.message.DbException: Error while creating file ""/opt/jboss/target"" [90062-224]" [90034-224] 05:29:27,602 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.get(DbException.java:212) 05:29:27,602 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.TraceSystem.logWritingError(TraceSystem.java:327) 05:29:27,603 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.TraceSystem.openWriter(TraceSystem.java:348) 05:29:27,603 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.TraceSystem.writeFile(TraceSystem.java:296) 05:29:27,604 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.TraceSystem.write(TraceSystem.java:280) 05:29:27,604 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.Trace.error(Trace.java:187) 05:29:27,604 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.engine.Database.
(Database.java:397) 05:29:27,605 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.engine.Engine.openSession(Engine.java:92) 05:29:27,605 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.engine.Engine.openSession(Engine.java:222) 05:29:27,605 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.engine.Engine.createSession(Engine.java:201) 05:29:27,606 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:343) 05:29:27,606 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.jdbc.JdbcConnection. (JdbcConnection.java:125) 05:29:27,606 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:339) 05:29:27,606 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:516) 05:29:27,607 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:439) 05:29:27,607 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.createConnectionEventListener(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:1328) 05:29:27,607 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.getConnection(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:505) 05:29:27,608 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.AbstractPool.getSimpleConnection(AbstractPool.java:688) 05:29:27,608 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.AbstractPool.getConnection(AbstractPool.java:653) 05:29:27,608 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:624) 05:29:27,608 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:440) 05:29:27,609 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:789) 05:29:27,609 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:152) 05:29:27,609 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.as.connector@31.0.0.Final//org.jboss.as.connector.subsystems.datasources.WildFlyDataSource.getConnection(WildFlyDataSource.java:47) 05:29:27,610 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122) 05:29:27,610 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:428) 05:29:27,611 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.doTheWork(JtaIsolationDelegate.java:164) 05:29:27,611 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.lambda$delegateWork$1(JtaIsolationDelegate.java:75) 05:29:27,611 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.doInSuspendedTransaction(JtaIsolationDelegate.java:107) 05:29:27,612 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.delegateWork(JtaIsolationDelegate.java:72) 05:29:27,612 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.getJdbcEnvironmentUsingJdbcMetadata(JdbcEnvironmentInitiator.java:276) 05:29:27,612 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:107) 05:29:27,612 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:68) 05:29:27,613 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:130) 05:29:27,613 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263) 05:29:27,613 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:238) 05:29:27,614 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:215) 05:29:27,614 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:52) 05:29:27,614 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:136) 05:29:27,614 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:247) 05:29:27,615 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:215) 05:29:27,615 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.boot.internal.MetadataBuilderImpl.resolveWrapperArrayHandling(MetadataBuilderImpl.java:1024) 05:29:27,616 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.boot.internal.MetadataBuilderImpl$MetadataBuildingOptionsImpl. (MetadataBuilderImpl.java:629) 05:29:27,616 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.boot.internal.MetadataBuilderImpl. (MetadataBuilderImpl.java:139) 05:29:27,616 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.boot.MetadataSources.getMetadataBuilder(MetadataSources.java:164) 05:29:27,617 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl. (EntityManagerFactoryBuilderImpl.java:277) 05:29:27,617 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl. (EntityManagerFactoryBuilderImpl.java:198) 05:29:27,617 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:35) 05:29:27,619 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:102) 05:29:27,619 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate.jipijapa-hibernate6@31.0.0.Final//org.jboss.as.jpa.hibernate.TwoPhaseBootstrapImpl. (TwoPhaseBootstrapImpl.java:27) 05:29:27,619 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate.jipijapa-hibernate6@31.0.0.Final//org.jboss.as.jpa.hibernate.HibernatePersistenceProviderAdaptor.getBootstrap(HibernatePersistenceProviderAdaptor.java:220) 05:29:27,620 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl.createContainerEntityManagerFactoryBuilder(PhaseOnePersistenceUnitServiceImpl.java:239) 05:29:27,622 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl$1$1.run(PhaseOnePersistenceUnitServiceImpl.java:110) 05:29:27,623 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl$1$1.run(PhaseOnePersistenceUnitServiceImpl.java:89) 05:29:27,624 ERROR [stderr] (ServerService Thread Pool -- 78) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) 05:29:27,624 ERROR [stderr] (ServerService Thread Pool -- 78) at org.wildfly.security.elytron-base@2.2.3.Final//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:664) 05:29:27,624 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl$1.run(PhaseOnePersistenceUnitServiceImpl.java:122) 05:29:27,625 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) 05:29:27,625 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) 05:29:27,625 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) 05:29:27,626 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) 05:29:27,626 ERROR [stderr] (ServerService Thread Pool -- 78) at java.base/java.lang.Thread.run(Thread.java:840) 05:29:27,626 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.threads@2.4.0.Final//org.jboss.threads.JBossThread.run(JBossThread.java:513) 05:29:27,627 ERROR [stderr] (ServerService Thread Pool -- 78) Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Log file error: "/opt/jboss/target/data/person.trace.db", cause: "org.h2.message.DbException: Error while creating file ""/opt/jboss/target"" [90062-224]" [90034-224] 05:29:27,627 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:566) 05:29:27,627 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:489) 05:29:27,628 ERROR [stderr] (ServerService Thread Pool -- 78) ... 63 more 05:29:27,628 ERROR [stderr] (ServerService Thread Pool -- 78) Caused by: org.h2.message.DbException: Error while creating file "/opt/jboss/target" [90062-224] 05:29:27,629 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.get(DbException.java:212) 05:29:27,629 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.store.fs.disk.FilePathDisk.createDirectory(FilePathDisk.java:391) 05:29:27,629 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectory(FileUtils.java:85) 05:29:27,629 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:382) 05:29:27,630 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:381) 05:29:27,630 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.TraceSystem.openWriter(TraceSystem.java:338) 05:29:27,630 ERROR [stderr] (ServerService Thread Pool -- 78) ... 60 more 05:29:27,631 ERROR [stderr] (ServerService Thread Pool -- 78) Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Error while creating file "/opt/jboss/target" [90062-224] 05:29:27,631 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:566) 05:29:27,631 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:489) 05:29:27,632 ERROR [stderr] (ServerService Thread Pool -- 78) ... 66 more 05:29:27,632 ERROR [stderr] (ServerService Thread Pool -- 78) Caused by: java.nio.file.AccessDeniedException: /opt/jboss/target 05:29:27,632 ERROR [stderr] (ServerService Thread Pool -- 78) at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90) 05:29:27,633 ERROR [stderr] (ServerService Thread Pool -- 78) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) 05:29:27,633 ERROR [stderr] (ServerService Thread Pool -- 78) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) 05:29:27,633 ERROR [stderr] (ServerService Thread Pool -- 78) at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:397) 05:29:27,633 ERROR [stderr] (ServerService Thread Pool -- 78) at java.base/java.nio.file.Files.createDirectory(Files.java:700) 05:29:27,634 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.store.fs.disk.FilePathDisk.createDirectory(FilePathDisk.java:382) 05:29:27,634 ERROR [stderr] (ServerService Thread Pool -- 78) ... 64 more 05:29:27,635 WARN [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (ServerService Thread Pool -- 78) IJ000604: Throwable while attempting to get a new connection: null: jakarta.resource.ResourceException: IJ031084: Unable to create connection at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:532) at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:439) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.createConnectionEventListener(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:1328) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.getConnection(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:505) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.AbstractPool.getSimpleConnection(AbstractPool.java:688) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.AbstractPool.getConnection(AbstractPool.java:653) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:624) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:440) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:789) at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:152) at org.jboss.as.connector@31.0.0.Final//org.jboss.as.connector.subsystems.datasources.WildFlyDataSource.getConnection(WildFlyDataSource.java:47) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:428) at org.hibernate@6.4.2.Final//org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.doTheWork(JtaIsolationDelegate.java:164) at org.hibernate@6.4.2.Final//org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.lambda$delegateWork$1(JtaIsolationDelegate.java:75) at org.hibernate@6.4.2.Final//org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.doInSuspendedTransaction(JtaIsolationDelegate.java:107) at org.hibernate@6.4.2.Final//org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.delegateWork(JtaIsolationDelegate.java:72) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.getJdbcEnvironmentUsingJdbcMetadata(JdbcEnvironmentInitiator.java:276) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:107) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:68) at org.hibernate@6.4.2.Final//org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:130) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:238) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:215) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:52) at org.hibernate@6.4.2.Final//org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:136) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:247) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:215) at org.hibernate@6.4.2.Final//org.hibernate.boot.internal.MetadataBuilderImpl.resolveWrapperArrayHandling(MetadataBuilderImpl.java:1024) at org.hibernate@6.4.2.Final//org.hibernate.boot.internal.MetadataBuilderImpl$MetadataBuildingOptionsImpl. (MetadataBuilderImpl.java:629) at org.hibernate@6.4.2.Final//org.hibernate.boot.internal.MetadataBuilderImpl. (MetadataBuilderImpl.java:139) at org.hibernate@6.4.2.Final//org.hibernate.boot.MetadataSources.getMetadataBuilder(MetadataSources.java:164) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl. (EntityManagerFactoryBuilderImpl.java:277) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl. (EntityManagerFactoryBuilderImpl.java:198) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:35) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:102) at org.hibernate.jipijapa-hibernate6@31.0.0.Final//org.jboss.as.jpa.hibernate.TwoPhaseBootstrapImpl. (TwoPhaseBootstrapImpl.java:27) at org.hibernate.jipijapa-hibernate6@31.0.0.Final//org.jboss.as.jpa.hibernate.HibernatePersistenceProviderAdaptor.getBootstrap(HibernatePersistenceProviderAdaptor.java:220) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl.createContainerEntityManagerFactoryBuilder(PhaseOnePersistenceUnitServiceImpl.java:239) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl$1$1.run(PhaseOnePersistenceUnitServiceImpl.java:110) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl$1$1.run(PhaseOnePersistenceUnitServiceImpl.java:89) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at org.wildfly.security.elytron-base@2.2.3.Final//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:664) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl$1.run(PhaseOnePersistenceUnitServiceImpl.java:122) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at java.base/java.lang.Thread.run(Thread.java:840) at org.jboss.threads@2.4.0.Final//org.jboss.threads.JBossThread.run(JBossThread.java:513) Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Error while creating file "/opt/jboss/target" [90062-224] at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:566) at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at deployment.wildfly-example.war//org.h2.message.DbException.get(DbException.java:212) at deployment.wildfly-example.war//org.h2.store.fs.disk.FilePathDisk.createDirectory(FilePathDisk.java:391) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectory(FileUtils.java:85) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:382) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:381) at deployment.wildfly-example.war//org.h2.mvstore.db.Store. (Store.java:106) at deployment.wildfly-example.war//org.h2.engine.Database. (Database.java:326) at deployment.wildfly-example.war//org.h2.engine.Engine.openSession(Engine.java:92) at deployment.wildfly-example.war//org.h2.engine.Engine.openSession(Engine.java:222) at deployment.wildfly-example.war//org.h2.engine.Engine.createSession(Engine.java:201) at deployment.wildfly-example.war//org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:343) at deployment.wildfly-example.war//org.h2.jdbc.JdbcConnection. (JdbcConnection.java:125) at deployment.wildfly-example.war//org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:339) at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:516) ... 49 more Caused by: java.nio.file.AccessDeniedException: /opt/jboss/target at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:397) at java.base/java.nio.file.Files.createDirectory(Files.java:700) at deployment.wildfly-example.war//org.h2.store.fs.disk.FilePathDisk.createDirectory(FilePathDisk.java:382) ... 61 more 05:29:27,638 WARN [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator] (ServerService Thread Pool -- 78) HHH000342: Could not obtain connection to query metadata: java.lang.NullPointerException: Cannot invoke "org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(java.sql.SQLException, String)" because the return value of "org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.sqlExceptionHelper()" is null at org.hibernate@6.4.2.Final//org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.doTheWork(JtaIsolationDelegate.java:186) at org.hibernate@6.4.2.Final//org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.lambda$delegateWork$1(JtaIsolationDelegate.java:75) at org.hibernate@6.4.2.Final//org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.doInSuspendedTransaction(JtaIsolationDelegate.java:107) at org.hibernate@6.4.2.Final//org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.delegateWork(JtaIsolationDelegate.java:72) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.getJdbcEnvironmentUsingJdbcMetadata(JdbcEnvironmentInitiator.java:276) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:107) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:68) at org.hibernate@6.4.2.Final//org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:130) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:238) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:215) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:52) at org.hibernate@6.4.2.Final//org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:136) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:247) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:215) at org.hibernate@6.4.2.Final//org.hibernate.boot.internal.MetadataBuilderImpl.resolveWrapperArrayHandling(MetadataBuilderImpl.java:1024) at org.hibernate@6.4.2.Final//org.hibernate.boot.internal.MetadataBuilderImpl$MetadataBuildingOptionsImpl.
(MetadataBuilderImpl.java:629) at org.hibernate@6.4.2.Final//org.hibernate.boot.internal.MetadataBuilderImpl. (MetadataBuilderImpl.java:139) at org.hibernate@6.4.2.Final//org.hibernate.boot.MetadataSources.getMetadataBuilder(MetadataSources.java:164) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl. (EntityManagerFactoryBuilderImpl.java:277) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl. (EntityManagerFactoryBuilderImpl.java:198) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:35) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:102) at org.hibernate.jipijapa-hibernate6@31.0.0.Final//org.jboss.as.jpa.hibernate.TwoPhaseBootstrapImpl. (TwoPhaseBootstrapImpl.java:27) at org.hibernate.jipijapa-hibernate6@31.0.0.Final//org.jboss.as.jpa.hibernate.HibernatePersistenceProviderAdaptor.getBootstrap(HibernatePersistenceProviderAdaptor.java:220) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl.createContainerEntityManagerFactoryBuilder(PhaseOnePersistenceUnitServiceImpl.java:239) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl$1$1.run(PhaseOnePersistenceUnitServiceImpl.java:110) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl$1$1.run(PhaseOnePersistenceUnitServiceImpl.java:89) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at org.wildfly.security.elytron-base@2.2.3.Final//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:664) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl$1.run(PhaseOnePersistenceUnitServiceImpl.java:122) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at java.base/java.lang.Thread.run(Thread.java:840) at org.jboss.threads@2.4.0.Final//org.jboss.threads.JBossThread.run(JBossThread.java:513) 05:29:27,671 WARN [org.hibernate.orm.deprecation] (ServerService Thread Pool -- 78) HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 05:29:27,694 INFO [org.hibernate.cache.internal.RegionFactoryInitiator] (ServerService Thread Pool -- 78) HHH000025: Second-level cache region factory [org.infinispan.hibernate.cache.v62.InfinispanRegionFactory] 05:29:27,794 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 78) Envers integration enabled? : true 05:29:28,023 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 78) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'wildfly-example.war#PersonDS' 05:29:29,925 INFO [stdout] (ServerService Thread Pool -- 78) Hibernate: drop table if exists Address cascade 05:29:32,650 INFO [stdout] (ServerService Thread Pool -- 78) org.h2.message.DbException: Log file error: "/opt/jboss/target/data/person.trace.db", cause: "org.h2.message.DbException: Error while creating file ""/opt/jboss/target"" [90062-224]" [90034-224] 05:29:32,650 ERROR [stderr] (ServerService Thread Pool -- 78) org.h2.message.DbException: Log file error: "/opt/jboss/target/data/person.trace.db", cause: "org.h2.message.DbException: Error while creating file ""/opt/jboss/target"" [90062-224]" [90034-224] 05:29:32,652 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.get(DbException.java:212) 05:29:32,652 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.TraceSystem.logWritingError(TraceSystem.java:327) 05:29:32,653 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.TraceSystem.openWriter(TraceSystem.java:348) 05:29:32,653 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.TraceSystem.writeFile(TraceSystem.java:296) 05:29:32,654 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.TraceSystem.write(TraceSystem.java:280) 05:29:32,655 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.Trace.error(Trace.java:187) 05:29:32,655 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.engine.Database.
(Database.java:397) 05:29:32,656 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.engine.Engine.openSession(Engine.java:92) 05:29:32,656 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.engine.Engine.openSession(Engine.java:222) 05:29:32,657 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.engine.Engine.createSession(Engine.java:201) 05:29:32,658 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:343) 05:29:32,659 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.jdbc.JdbcConnection. (JdbcConnection.java:125) 05:29:32,661 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:339) 05:29:32,665 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:516) 05:29:32,665 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:439) 05:29:32,665 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.createConnectionEventListener(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:1328) 05:29:32,666 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.getConnection(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:505) 05:29:32,666 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.AbstractPool.getSimpleConnection(AbstractPool.java:688) 05:29:32,666 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.AbstractPool.getConnection(AbstractPool.java:653) 05:29:32,666 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:624) 05:29:32,666 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:440) 05:29:32,667 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:789) 05:29:32,667 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:152) 05:29:32,667 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.as.connector@31.0.0.Final//org.jboss.as.connector.subsystems.datasources.WildFlyDataSource.getConnection(WildFlyDataSource.java:47) 05:29:32,667 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122) 05:29:32,668 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:428) 05:29:32,668 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.resource.transaction.backend.jta.internal.DdlTransactionIsolatorJtaImpl.getIsolatedConnection(DdlTransactionIsolatorJtaImpl.java:74) 05:29:32,668 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.getIsolatedConnection(GenerationTargetToDatabase.java:60) 05:29:32,668 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.jdbcStatement(GenerationTargetToDatabase.java:112) 05:29:32,669 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:79) 05:29:32,669 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.Helper.applySqlString(Helper.java:233) 05:29:32,669 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.Helper.applySqlStrings(Helper.java:217) 05:29:32,670 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.dropTables(SchemaDropperImpl.java:377) 05:29:32,670 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.dropConstraintsTablesSequences(SchemaDropperImpl.java:253) 05:29:32,670 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.dropFromMetadata(SchemaDropperImpl.java:215) 05:29:32,671 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.performDrop(SchemaDropperImpl.java:185) 05:29:32,671 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:155) 05:29:32,671 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:115) 05:29:32,672 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:244) 05:29:32,672 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:145) 05:29:32,673 ERROR [stderr] (ServerService Thread Pool -- 78) at java.base/java.util.HashMap.forEach(HashMap.java:1421) 05:29:32,673 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:142) 05:29:32,673 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.boot.internal.SessionFactoryObserverForSchemaExport.sessionFactoryCreated(SessionFactoryObserverForSchemaExport.java:37) 05:29:32,674 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.internal.SessionFactoryObserverChain.sessionFactoryCreated(SessionFactoryObserverChain.java:35) 05:29:32,674 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.internal.SessionFactoryImpl. (SessionFactoryImpl.java:315) 05:29:32,675 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:450) 05:29:32,675 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1507) 05:29:32,675 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate.jipijapa-hibernate6@31.0.0.Final//org.jboss.as.jpa.hibernate.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:32) 05:29:32,676 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:159) 05:29:32,676 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) 05:29:32,676 ERROR [stderr] (ServerService Thread Pool -- 78) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) 05:29:32,677 ERROR [stderr] (ServerService Thread Pool -- 78) at org.wildfly.security.elytron-base@2.2.3.Final//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:664) 05:29:32,677 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:202) 05:29:32,677 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) 05:29:32,678 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) 05:29:32,678 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) 05:29:32,678 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) 05:29:32,678 ERROR [stderr] (ServerService Thread Pool -- 78) at java.base/java.lang.Thread.run(Thread.java:840) 05:29:32,679 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.threads@2.4.0.Final//org.jboss.threads.JBossThread.run(JBossThread.java:513) 05:29:32,679 ERROR [stderr] (ServerService Thread Pool -- 78) Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Log file error: "/opt/jboss/target/data/person.trace.db", cause: "org.h2.message.DbException: Error while creating file ""/opt/jboss/target"" [90062-224]" [90034-224] 05:29:32,680 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:566) 05:29:32,680 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:489) 05:29:32,680 ERROR [stderr] (ServerService Thread Pool -- 78) ... 59 more 05:29:32,681 ERROR [stderr] (ServerService Thread Pool -- 78) Caused by: org.h2.message.DbException: Error while creating file "/opt/jboss/target" [90062-224] 05:29:32,681 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.get(DbException.java:212) 05:29:32,681 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.store.fs.disk.FilePathDisk.createDirectory(FilePathDisk.java:391) 05:29:32,681 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectory(FileUtils.java:85) 05:29:32,681 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:382) 05:29:32,682 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:381) 05:29:32,682 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.TraceSystem.openWriter(TraceSystem.java:338) 05:29:32,682 ERROR [stderr] (ServerService Thread Pool -- 78) ... 56 more 05:29:32,683 ERROR [stderr] (ServerService Thread Pool -- 78) Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Error while creating file "/opt/jboss/target" [90062-224] 05:29:32,683 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:566) 05:29:32,684 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:489) 05:29:32,684 ERROR [stderr] (ServerService Thread Pool -- 78) ... 62 more 05:29:32,685 ERROR [stderr] (ServerService Thread Pool -- 78) Caused by: java.nio.file.AccessDeniedException: /opt/jboss/target 05:29:32,685 ERROR [stderr] (ServerService Thread Pool -- 78) at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90) 05:29:32,686 ERROR [stderr] (ServerService Thread Pool -- 78) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) 05:29:32,686 ERROR [stderr] (ServerService Thread Pool -- 78) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) 05:29:32,687 ERROR [stderr] (ServerService Thread Pool -- 78) at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:397) 05:29:32,687 ERROR [stderr] (ServerService Thread Pool -- 78) at java.base/java.nio.file.Files.createDirectory(Files.java:700) 05:29:32,687 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.store.fs.disk.FilePathDisk.createDirectory(FilePathDisk.java:382) 05:29:32,688 ERROR [stderr] (ServerService Thread Pool -- 78) ... 60 more 05:29:32,689 WARN [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (ServerService Thread Pool -- 78) IJ000604: Throwable while attempting to get a new connection: null: jakarta.resource.ResourceException: IJ031084: Unable to create connection at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:532) at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:439) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.createConnectionEventListener(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:1328) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.getConnection(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:505) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.AbstractPool.getSimpleConnection(AbstractPool.java:688) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.AbstractPool.getConnection(AbstractPool.java:653) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:624) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:440) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:789) at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:152) at org.jboss.as.connector@31.0.0.Final//org.jboss.as.connector.subsystems.datasources.WildFlyDataSource.getConnection(WildFlyDataSource.java:47) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:428) at org.hibernate@6.4.2.Final//org.hibernate.resource.transaction.backend.jta.internal.DdlTransactionIsolatorJtaImpl.getIsolatedConnection(DdlTransactionIsolatorJtaImpl.java:74) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.getIsolatedConnection(GenerationTargetToDatabase.java:60) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.jdbcStatement(GenerationTargetToDatabase.java:112) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:79) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.Helper.applySqlString(Helper.java:233) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.Helper.applySqlStrings(Helper.java:217) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.dropTables(SchemaDropperImpl.java:377) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.dropConstraintsTablesSequences(SchemaDropperImpl.java:253) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.dropFromMetadata(SchemaDropperImpl.java:215) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.performDrop(SchemaDropperImpl.java:185) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:155) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:115) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:244) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:145) at java.base/java.util.HashMap.forEach(HashMap.java:1421) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:142) at org.hibernate@6.4.2.Final//org.hibernate.boot.internal.SessionFactoryObserverForSchemaExport.sessionFactoryCreated(SessionFactoryObserverForSchemaExport.java:37) at org.hibernate@6.4.2.Final//org.hibernate.internal.SessionFactoryObserverChain.sessionFactoryCreated(SessionFactoryObserverChain.java:35) at org.hibernate@6.4.2.Final//org.hibernate.internal.SessionFactoryImpl. (SessionFactoryImpl.java:315) at org.hibernate@6.4.2.Final//org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:450) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1507) at org.hibernate.jipijapa-hibernate6@31.0.0.Final//org.jboss.as.jpa.hibernate.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:32) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:159) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at org.wildfly.security.elytron-base@2.2.3.Final//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:664) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:202) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at java.base/java.lang.Thread.run(Thread.java:840) at org.jboss.threads@2.4.0.Final//org.jboss.threads.JBossThread.run(JBossThread.java:513) Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Error while creating file "/opt/jboss/target" [90062-224] at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:566) at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at deployment.wildfly-example.war//org.h2.message.DbException.get(DbException.java:212) at deployment.wildfly-example.war//org.h2.store.fs.disk.FilePathDisk.createDirectory(FilePathDisk.java:391) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectory(FileUtils.java:85) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:382) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:381) at deployment.wildfly-example.war//org.h2.mvstore.db.Store. (Store.java:106) at deployment.wildfly-example.war//org.h2.engine.Database. (Database.java:326) at deployment.wildfly-example.war//org.h2.engine.Engine.openSession(Engine.java:92) at deployment.wildfly-example.war//org.h2.engine.Engine.openSession(Engine.java:222) at deployment.wildfly-example.war//org.h2.engine.Engine.createSession(Engine.java:201) at deployment.wildfly-example.war//org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:343) at deployment.wildfly-example.war//org.h2.jdbc.JdbcConnection. (JdbcConnection.java:125) at deployment.wildfly-example.war//org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:339) at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:516) ... 45 more Caused by: java.nio.file.AccessDeniedException: /opt/jboss/target at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:397) at java.base/java.nio.file.Files.createDirectory(Files.java:700) at deployment.wildfly-example.war//org.h2.store.fs.disk.FilePathDisk.createDirectory(FilePathDisk.java:382) ... 57 more 05:29:32,700 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (ServerService Thread Pool -- 78) SQL Error: 0, SQLState: null 05:29:32,701 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (ServerService Thread Pool -- 78) jakarta.resource.ResourceException: IJ000453: Unable to get managed connection for java:global/person/PersonDS 05:29:32,706 INFO [org.hibernate.orm.beans] (ServerService Thread Pool -- 78) HHH10005004: Stopping BeanContainer : org.hibernate.resource.beans.container.internal.CdiBeanContainerExtendedAccessImpl@d7f7d70 05:29:32,714 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 78) MSC000001: Failed to start service jboss.persistenceunit."wildfly-example.war#PersonDS": org.jboss.msc.service.StartException in service jboss.persistenceunit."wildfly-example.war#PersonDS": jakarta.persistence.PersistenceException: [PersistenceUnit: PersonDS] Unable to build Hibernate SessionFactory at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:187) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at org.wildfly.security.elytron-base@2.2.3.Final//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:664) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:202) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at java.base/java.lang.Thread.run(Thread.java:840) at org.jboss.threads@2.4.0.Final//org.jboss.threads.JBossThread.run(JBossThread.java:513) Caused by: jakarta.persistence.PersistenceException: [PersistenceUnit: PersonDS] Unable to build Hibernate SessionFactory at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.persistenceException(EntityManagerFactoryBuilderImpl.java:1591) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1512) at org.hibernate.jipijapa-hibernate6@31.0.0.Final//org.jboss.as.jpa.hibernate.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:32) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:159) ... 10 more Caused by: org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution [jakarta.resource.ResourceException: IJ000453: Unable to get managed connection for java:global/person/PersonDS] [n/a] at org.hibernate@6.4.2.Final//org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:63) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:108) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:94) at org.hibernate@6.4.2.Final//org.hibernate.resource.transaction.backend.jta.internal.DdlTransactionIsolatorJtaImpl.getIsolatedConnection(DdlTransactionIsolatorJtaImpl.java:77) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.getIsolatedConnection(GenerationTargetToDatabase.java:60) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.jdbcStatement(GenerationTargetToDatabase.java:112) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:79) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.Helper.applySqlString(Helper.java:233) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.Helper.applySqlStrings(Helper.java:217) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.dropTables(SchemaDropperImpl.java:377) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.dropConstraintsTablesSequences(SchemaDropperImpl.java:253) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.dropFromMetadata(SchemaDropperImpl.java:215) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.performDrop(SchemaDropperImpl.java:185) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:155) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:115) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:244) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:145) at java.base/java.util.HashMap.forEach(HashMap.java:1421) at org.hibernate@6.4.2.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:142) at org.hibernate@6.4.2.Final//org.hibernate.boot.internal.SessionFactoryObserverForSchemaExport.sessionFactoryCreated(SessionFactoryObserverForSchemaExport.java:37) at org.hibernate@6.4.2.Final//org.hibernate.internal.SessionFactoryObserverChain.sessionFactoryCreated(SessionFactoryObserverChain.java:35) at org.hibernate@6.4.2.Final//org.hibernate.internal.SessionFactoryImpl.
(SessionFactoryImpl.java:315) at org.hibernate@6.4.2.Final//org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:450) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1507) ... 12 more Caused by: java.sql.SQLException: jakarta.resource.ResourceException: IJ000453: Unable to get managed connection for java:global/person/PersonDS at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:160) at org.jboss.as.connector@31.0.0.Final//org.jboss.as.connector.subsystems.datasources.WildFlyDataSource.getConnection(WildFlyDataSource.java:47) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:428) at org.hibernate@6.4.2.Final//org.hibernate.resource.transaction.backend.jta.internal.DdlTransactionIsolatorJtaImpl.getIsolatedConnection(DdlTransactionIsolatorJtaImpl.java:74) ... 32 more Caused by: jakarta.resource.ResourceException: IJ000453: Unable to get managed connection for java:global/person/PersonDS at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:690) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:440) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:789) at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:152) ... 36 more Caused by: jakarta.resource.ResourceException: IJ031084: Unable to create connection at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:532) at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:439) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.createConnectionEventListener(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:1328) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.getConnection(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:505) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.AbstractPool.getSimpleConnection(AbstractPool.java:688) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.pool.AbstractPool.getConnection(AbstractPool.java:653) at org.jboss.ironjacamar.impl@3.0.8.Final//org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:624) ... 39 more Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Error while creating file "/opt/jboss/target" [90062-224] at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:566) at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at deployment.wildfly-example.war//org.h2.message.DbException.get(DbException.java:212) at deployment.wildfly-example.war//org.h2.store.fs.disk.FilePathDisk.createDirectory(FilePathDisk.java:391) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectory(FileUtils.java:85) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:382) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:381) at deployment.wildfly-example.war//org.h2.mvstore.db.Store. (Store.java:106) at deployment.wildfly-example.war//org.h2.engine.Database. (Database.java:326) at deployment.wildfly-example.war//org.h2.engine.Engine.openSession(Engine.java:92) at deployment.wildfly-example.war//org.h2.engine.Engine.openSession(Engine.java:222) at deployment.wildfly-example.war//org.h2.engine.Engine.createSession(Engine.java:201) at deployment.wildfly-example.war//org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:343) at deployment.wildfly-example.war//org.h2.jdbc.JdbcConnection. (JdbcConnection.java:125) at deployment.wildfly-example.war//org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:339) at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:516) ... 45 more Caused by: java.nio.file.AccessDeniedException: /opt/jboss/target at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:397) at java.base/java.nio.file.Files.createDirectory(Files.java:700) at deployment.wildfly-example.war//org.h2.store.fs.disk.FilePathDisk.createDirectory(FilePathDisk.java:382) ... 57 more 05:29:32,734 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "wildfly-example.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.persistenceunit.\"wildfly-example.war#PersonDS\"" => "jakarta.persistence.PersistenceException: [PersistenceUnit: PersonDS] Unable to build Hibernate SessionFactory Caused by: jakarta.persistence.PersistenceException: [PersistenceUnit: PersonDS] Unable to build Hibernate SessionFactory Caused by: org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution [jakarta.resource.ResourceException: IJ000453: Unable to get managed connection for java:global/person/PersonDS] [n/a] Caused by: java.sql.SQLException: jakarta.resource.ResourceException: IJ000453: Unable to get managed connection for java:global/person/PersonDS Caused by: jakarta.resource.ResourceException: IJ000453: Unable to get managed connection for java:global/person/PersonDS Caused by: jakarta.resource.ResourceException: IJ031084: Unable to create connection Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Error while creating file \"/opt/jboss/target\" [90062-224] Caused by: java.nio.file.AccessDeniedException: /opt/jboss/target"}}
Nevermind i found the cause and fixed it. https://github.com/urbandroid/graphql-example2/tree/jakarta10
But when testing it returns
"Failed to load API definition."
Fetch error Not Found /openapi
and when testing with http://localhost:8080/graphql-ui/ it returns:
"
Error HTTP method POST is not supported by this URL"
WildFly Full 31.0.0.Final quay.io/wildfly/wildfly:latest docker image. Wildfly example
steps to reproduce: mvn clean install
docker build and run
error: