phillip-kruger / graphql-example

A MicroProfile GraphQL Example
Apache License 2.0
49 stars 20 forks source link

[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-200]" [90034-200] #7

Open urbandroid opened 10 months ago

urbandroid commented 10 months ago

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:

04:06:03,874 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-200]" [90034-200] 04:06:03,876 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-200]" [90034-200] 04:06:03,878 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.get(DbException.java:194) 04:06:03,879 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.TraceSystem.logWritingError(TraceSystem.java:294) 04:06:03,880 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.TraceSystem.openWriter(TraceSystem.java:315) 04:06:03,880 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.TraceSystem.writeFile(TraceSystem.java:263) 04:06:03,881 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.TraceSystem.write(TraceSystem.java:247) 04:06:03,881 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.Trace.error(Trace.java:194) 04:06:03,882 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.engine.Database.openDatabase(Database.java:325) 04:06:03,882 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.engine.Database.(Database.java:301) 04:06:03,883 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.engine.Engine.openSession(Engine.java:74) 04:06:03,883 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.engine.Engine.openSession(Engine.java:192) 04:06:03,884 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.engine.Engine.createSessionAndValidate(Engine.java:171) 04:06:03,884 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.engine.Engine.createSession(Engine.java:166) 04:06:03,885 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.engine.Engine.createSession(Engine.java:29) 04:06:03,885 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:340) 04:06:03,885 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.jdbc.JdbcConnection.(JdbcConnection.java:173) 04:06:03,885 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.jdbc.JdbcConnection.(JdbcConnection.java:152) 04:06:03,886 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.Driver.connect(Driver.java:69) 04:06:03,886 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:189) 04:06:03,886 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:371) 04:06:03,886 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) 04:06:03,887 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) 04:06:03,887 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) 04:06:03,887 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) 04:06:03,888 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) 04:06:03,888 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) 04:06:03,888 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) 04:06:03,888 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) 04:06:03,889 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) 04:06:03,889 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) 04:06:03,889 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) 04:06:03,890 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122) 04:06:03,890 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) 04:06:03,891 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) 04:06:03,891 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) 04:06:03,891 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) 04:06:03,892 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) 04:06:03,892 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.getJdbcEnvironmentUsingJdbcMetadata(JdbcEnvironmentInitiator.java:276) 04:06:03,892 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:107) 04:06:03,893 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:68) 04:06:03,893 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:130) 04:06:03,893 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263) 04:06:03,894 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:238) 04:06:03,894 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:215) 04:06:03,894 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:52) 04:06:03,895 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:136) 04:06:03,895 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:247) 04:06:03,895 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:215) 04:06:03,895 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.boot.internal.MetadataBuilderImpl.resolveWrapperArrayHandling(MetadataBuilderImpl.java:1024) 04:06:03,896 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.boot.internal.MetadataBuilderImpl$MetadataBuildingOptionsImpl.(MetadataBuilderImpl.java:629) 04:06:03,896 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.boot.internal.MetadataBuilderImpl.(MetadataBuilderImpl.java:139) 04:06:03,896 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.boot.MetadataSources.getMetadataBuilder(MetadataSources.java:164) 04:06:03,896 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.(EntityManagerFactoryBuilderImpl.java:277) 04:06:03,897 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.(EntityManagerFactoryBuilderImpl.java:198) 04:06:03,897 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:35) 04:06:03,897 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate@6.4.2.Final//org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:102) 04:06:03,897 ERROR [stderr] (ServerService Thread Pool -- 78) at org.hibernate.jipijapa-hibernate6@31.0.0.Final//org.jboss.as.jpa.hibernate.TwoPhaseBootstrapImpl.(TwoPhaseBootstrapImpl.java:27) 04:06:03,898 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) 04:06:03,898 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) 04:06:03,898 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) 04:06:03,898 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) 04:06:03,899 ERROR [stderr] (ServerService Thread Pool -- 78) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) 04:06:03,899 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) 04:06:03,899 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) 04:06:03,900 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) 04:06:03,900 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) 04:06:03,900 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) 04:06:03,900 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) 04:06:03,901 ERROR [stderr] (ServerService Thread Pool -- 78) at java.base/java.lang.Thread.run(Thread.java:840) 04:06:03,901 ERROR [stderr] (ServerService Thread Pool -- 78) at org.jboss.threads@2.4.0.Final//org.jboss.threads.JBossThread.run(JBossThread.java:513) 04:06:03,902 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-200]" [90034-200] 04:06:03,902 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:505) 04:06:03,902 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:429) 04:06:03,902 ERROR [stderr] (ServerService Thread Pool -- 78) ... 69 more 04:06:03,903 ERROR [stderr] (ServerService Thread Pool -- 78) Caused by: org.h2.message.DbException: Error while creating file "/opt/jboss/target" [90062-200] 04:06:03,903 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.get(DbException.java:205) 04:06:03,903 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.get(DbException.java:181) 04:06:03,904 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.store.fs.FilePathDisk.createDirectory(FilePathDisk.java:290) 04:06:03,904 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectory(FileUtils.java:43) 04:06:03,904 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:315) 04:06:03,904 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:314) 04:06:03,905 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.TraceSystem.openWriter(TraceSystem.java:305) 04:06:03,905 ERROR [stderr] (ServerService Thread Pool -- 78) ... 66 more 04:06:03,905 ERROR [stderr] (ServerService Thread Pool -- 78) Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Error while creating file "/opt/jboss/target" [90062-200] 04:06:03,906 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:505) 04:06:03,906 ERROR [stderr] (ServerService Thread Pool -- 78) at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:429) 04:06:03,906 ERROR [stderr] (ServerService Thread Pool -- 78) ... 73 more 04:06:03,907 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-200] at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:505) at deployment.wildfly-example.war//org.h2.message.DbException.getJdbcSQLException(DbException.java:429) at deployment.wildfly-example.war//org.h2.message.DbException.get(DbException.java:205) at deployment.wildfly-example.war//org.h2.message.DbException.get(DbException.java:181) at deployment.wildfly-example.war//org.h2.store.fs.FilePathDisk.createDirectory(FilePathDisk.java:290) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectory(FileUtils.java:43) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:315) at deployment.wildfly-example.war//org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:314) at deployment.wildfly-example.war//org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:73) at deployment.wildfly-example.war//org.h2.engine.Database.getPageStore(Database.java:2659) at deployment.wildfly-example.war//org.h2.engine.Database.open(Database.java:675) at deployment.wildfly-example.war//org.h2.engine.Database.openDatabase(Database.java:307) at deployment.wildfly-example.war//org.h2.engine.Database.(Database.java:301) at deployment.wildfly-example.war//org.h2.engine.Engine.openSession(Engine.java:74) at deployment.wildfly-example.war//org.h2.engine.Engine.openSession(Engine.java:192) at deployment.wildfly-example.war//org.h2.engine.Engine.createSessionAndValidate(Engine.java:171) at deployment.wildfly-example.war//org.h2.engine.Engine.createSession(Engine.java:166) at deployment.wildfly-example.war//org.h2.engine.Engine.createSession(Engine.java:29) at deployment.wildfly-example.war//org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:340) at deployment.wildfly-example.war//org.h2.jdbc.JdbcConnection.(JdbcConnection.java:173) at deployment.wildfly-example.war//org.h2.jdbc.JdbcConnection.(JdbcConnection.java:152) at deployment.wildfly-example.war//org.h2.Driver.connect(Driver.java:69) at deployment.wildfly-example.war//org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:189) at deployment.wildfly-example.war//org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:371) at org.jboss.ironjacamar.jdbcadapters@3.0.8.Final//org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:516) ... 49 more

04:06:03,917 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)

04:06:03,920 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 78) MSC000001: Failed to start service jboss.persistenceunit."wildfly-example.war#PersonDS".FIRST_PHASE: org.jboss.msc.service.StartException in service jboss.persistenceunit."wildfly-example.war#PersonDS".FIRST_PHASE: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] due to: Unable to determine Dialect without JDBC metadata (please set 'jakarta.persistence.jdbc.url' for common cases or 'hibernate.dialect' when a custom Dialect implementation must be provided) at org.jboss.as.jpa@31.0.0.Final//org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl$1$1.run(PhaseOnePersistenceUnitServiceImpl.java:113) 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.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] due to: Unable to determine Dialect without JDBC metadata (please set 'jakarta.persistence.jdbc.url' for common cases or 'hibernate.dialect' when a custom Dialect implementation must be provided) at org.hibernate@6.4.2.Final//org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:276) 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) ... 10 more Caused by: org.hibernate.HibernateException: Unable to determine Dialect without JDBC metadata (please set 'jakarta.persistence.jdbc.url' for common cases or 'hibernate.dialect' when a custom Dialect implementation must be provided) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:191) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:87) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.getJdbcEnvironmentWithDefaults(JdbcEnvironmentInitiator.java:143) at org.hibernate@6.4.2.Final//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.getJdbcEnvironmentUsingJdbcMetadata(JdbcEnvironmentInitiator.java:348) 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) ... 28 more

04:06:03,927 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\".__FIRST_PHASE__" => "org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] due to: Unable to determine Dialect without JDBC metadata (please set 'jakarta.persistence.jdbc.url' for common cases or 'hibernate.dialect' when a custom Dialect implementation must be provided) Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] due to: Unable to determine Dialect without JDBC metadata (please set 'jakarta.persistence.jdbc.url' for common cases or 'hibernate.dialect' when a custom Dialect implementation must be provided) Caused by: org.hibernate.HibernateException: Unable to determine Dialect without JDBC metadata (please set 'jakarta.persistence.jdbc.url' for common cases or 'hibernate.dialect' when a custom Dialect implementation must be provided)"}}

urbandroid commented 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"}}

urbandroid commented 10 months ago

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:

"ErrorHTTP method POST is not supported by this URL"