Created
August 4, 2022 16:56
-
-
Save jfdenise/ae5310a1e712847c67de8cf7faf2e968 to your computer and use it in GitHub Desktop.
Hibernate 6, post bigbang, postgresql Issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MacBook-Pro-de-Jean-Francois:test-app-postgres-ee10 jfdenise$ POSTGRESQL_DATABASE=jfdenise POSTGRESQL_PASSWORD=demo POSTGRESQL_USER=jfdenise JAVA_HOME=/Users/jfdenise/jdk-11.0.2.jdk/Contents/Home/ ./target/server/bin/standalone.sh | |
========================================================================= | |
JBoss Bootstrap Environment | |
JBOSS_HOME: /Users/jfdenise/wildfly-s2i/test/test-app-postgres-ee10/target/server | |
JAVA: /Users/jfdenise/jdk-11.0.2.jdk/Contents/Home//bin/java | |
JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.url.ldap=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.url.ldaps=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED | |
========================================================================= | |
18:55:42,764 INFO [org.jboss.modules] (main) JBoss Modules version 2.0.3.Final | |
18:55:48,396 INFO [org.jboss.msc] (main) JBoss MSC version 1.4.13.Final | |
18:55:48,407 INFO [org.jboss.threads] (main) JBoss Threads version 2.4.0.Final | |
18:55:48,540 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly Full 27.0.0.Alpha4-SNAPSHOT (WildFly Core 19.0.0.Beta15) starting | |
WARNING: An illegal reflective access operation has occurred | |
WARNING: Illegal reflective access by org.wildfly.extension.elytron.SSLDefinitions (jar:file:/Users/jfdenise/wildfly-s2i/test/test-app-postgres-ee10/target/server/modules/system/layers/base/org/wildfly/extension/elytron/main/wildfly-elytron-integration-jakarta-19.0.0.Beta15.jar!/) to method com.sun.net.ssl.internal.ssl.Provider.isFIPS() | |
WARNING: Please consider reporting this to the maintainers of org.wildfly.extension.elytron.SSLDefinitions | |
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations | |
WARNING: All illegal access operations will be denied in a future release | |
18:55:49,263 INFO [org.wildfly.security] (ServerService Thread Pool -- 14) ELY00001: WildFly Elytron version 2.0.0.Beta2 | |
18:55:49,895 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http) | |
18:55:49,914 INFO [org.xnio] (MSC service thread 1-8) XNIO version 3.8.7.Final | |
18:55:49,922 INFO [org.xnio.nio] (MSC service thread 1-8) XNIO NIO Implementation Version 3.8.7.Final | |
18:55:49,956 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 29) WFLYCLINF0001: Activating Infinispan subsystem. | |
18:55:49,973 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 30) WFLYIO001: Worker 'default' has auto-configured to 8 IO threads with 64 max task threads based on your 4 available processors | |
18:55:49,990 INFO [org.jboss.as.jaxrs] (ServerService Thread Pool -- 31) WFLYRS0016: RESTEasy version 6.1.0.Final | |
18:55:49,992 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 39) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique. | |
18:55:50,002 INFO [org.wildfly.extension.microprofile.config.smallrye] (ServerService Thread Pool -- 35) WFLYCONF0001: Activating MicroProfile Config Subsystem | |
18:55:50,002 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 36) WFLYNAM0001: Activating Naming Subsystem | |
18:55:50,010 INFO [org.jboss.remoting] (MSC service thread 1-5) JBoss Remoting version 5.0.25.Final | |
18:55:50,039 INFO [org.jboss.as.connector] (MSC service thread 1-6) WFLYJCA0009: Starting Jakarta Connectors Subsystem (WildFly/IronJacamar 1.5.7.Final) | |
18:55:50,045 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 25) WFLYJCA0005: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 42.3) | |
18:55:50,055 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) WFLYJCA0018: Started Driver service with driver-name = postgresql | |
18:55:50,075 INFO [org.jboss.as.naming] (MSC service thread 1-7) WFLYNAM0003: Starting Naming Service | |
18:55:50,096 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0003: Undertow 2.3.0.Alpha2 starting | |
18:55:50,187 WARN [org.wildfly.extension.elytron] (MSC service thread 1-1) WFLYELY00023: KeyStore file '/Users/jfdenise/wildfly-s2i/test/test-app-postgres-ee10/target/server/standalone/configuration/application.keystore' does not exist. Used blank. | |
18:55:50,197 WARN [org.wildfly.extension.elytron] (MSC service thread 1-1) WFLYELY01084: KeyStore /Users/jfdenise/wildfly-s2i/test/test-app-postgres-ee10/target/server/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self-signed certificate for host localhost | |
18:55:50,281 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0012: Started server default-server. | |
18:55:50,282 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) Queuing requests. | |
18:55:50,286 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0018: Host default-host starting | |
18:55:50,316 WARN [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-3) WFLYDMHTTP0003: Unable to load console module for slot main, disabling console | |
18:55:50,390 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080 | |
18:55:50,394 INFO [org.jboss.as.patching] (MSC service thread 1-1) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none | |
18:55:50,400 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7) WFLYDS0013: Started FileSystemDeploymentService for directory /Users/jfdenise/wildfly-s2i/test/test-app-postgres-ee10/target/server/standalone/deployments | |
18:55:50,414 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "DemoApp.war" (runtime-name: "DemoApp.war") | |
18:55:50,547 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/PostgreSQLDS] | |
18:55:50,884 INFO [org.jboss.as.jpa] (MSC service thread 1-3) WFLYJPA0002: Read persistence.xml for primary | |
18:55:50,977 INFO [org.jipijapa] (MSC service thread 1-3) JIPIORMV6020260: Second level cache enabled for DemoApp.war#primary | |
18:55:51,089 INFO [org.jboss.weld.deployer] (MSC service thread 1-5) WFLYWELD0003: Processing weld deployment DemoApp.war | |
18:55:51,476 INFO [org.hibernate.validator.internal.util.Version] (MSC service thread 1-5) HV000001: Hibernate Validator 8.0.0.CR1 | |
18:55:51,515 INFO [org.infinispan.CONTAINER] (ServerService Thread Pool -- 42) ISPN000128: Infinispan version: Infinispan 'Triskaidekaphobia' 13.0.10.Final | |
18:55:51,713 INFO [org.infinispan.CONTAINER] (ServerService Thread Pool -- 42) ISPN000556: Starting user marshaller 'org.wildfly.clustering.infinispan.marshalling.jboss.JBossMarshaller' | |
18:55:51,983 INFO [org.jipijapa] (MSC service thread 1-8) JIPIORMV6020260: Second level cache enabled for DemoApp.war#primary | |
18:55:52,057 INFO [org.jboss.weld.Version] (MSC service thread 1-8) WELD-000900: 5.0.1 (Final) | |
18:55:52,396 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 42) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'DemoApp.war#primary' | |
18:55:52,418 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 42) HHH000204: Processing PersistenceUnitInfo [name: primary] | |
18:55:52,499 INFO [org.hibernate.Version] (ServerService Thread Pool -- 42) HHH000412: Hibernate ORM core version 6.0.2.Final | |
18:55:52,726 WARN [org.hibernate.orm.deprecation] (ServerService Thread Pool -- 42) HHH90000021: Encountered deprecated setting [javax.persistence.sharedCache.mode], use [jakarta.persistence.sharedCache.mode] instead | |
18:55:52,864 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 43) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'DemoApp.war#primary' | |
18:55:53,069 INFO [SQL dialect] (ServerService Thread Pool -- 43) HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect | |
18:55:53,094 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 43) MSC000001: Failed to start service jboss.persistenceunit."DemoApp.war#primary": org.jboss.msc.service.StartException in service jboss.persistenceunit."DemoApp.war#primary": java.lang.ExceptionInInitializerError | |
at org.jboss.as.jpa@27.0.0.Alpha4-SNAPSHOT//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:199) | |
at org.jboss.as.jpa@27.0.0.Alpha4-SNAPSHOT//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:129) | |
at java.base/java.security.AccessController.doPrivileged(Native Method) | |
at org.wildfly.security.elytron-base@2.0.0.Beta2//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:664) | |
at org.jboss.as.jpa@27.0.0.Alpha4-SNAPSHOT//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:214) | |
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:1348) | |
at java.base/java.lang.Thread.run(Thread.java:834) | |
at org.jboss.threads@2.4.0.Final//org.jboss.threads.JBossThread.run(JBossThread.java:513) | |
Caused by: java.lang.ExceptionInInitializerError | |
at org.hibernate@6.0.2.Final//org.hibernate.dialect.PostgreSQLDialect.contributeTypes(PostgreSQLDialect.java:1106) | |
at org.hibernate@6.0.2.Final//org.hibernate.boot.model.process.spi.MetadataBuildingProcess.handleTypes(MetadataBuildingProcess.java:374) | |
at org.hibernate@6.0.2.Final//org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:144) | |
at org.hibernate@6.0.2.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1350) | |
at org.hibernate@6.0.2.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1421) | |
at org.hibernate.jipijapa-hibernate6@27.0.0.Alpha4-SNAPSHOT//org.jboss.as.jpa.hibernate.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:45) | |
at org.jboss.as.jpa@27.0.0.Alpha4-SNAPSHOT//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:171) | |
... 10 more | |
Caused by: java.lang.RuntimeException: Could not initialize PostgreSQLPGObjectJdbcType | |
at org.hibernate@6.0.2.Final//org.hibernate.dialect.PostgreSQLPGObjectJdbcType.<clinit>(PostgreSQLPGObjectJdbcType.java:51) | |
... 17 more | |
Caused by: java.lang.ClassNotFoundException: org.postgresql.util.PGobject from [Module "org.hibernate" version 6.0.2.Final from local module loader @17cdf2d0 (finder: local module finder @1755e85b (roots: /Users/jfdenise/wildfly-s2i/test/test-app-postgres-ee10/target/server/modules,/Users/jfdenise/wildfly-s2i/test/test-app-postgres-ee10/target/server/modules/system/layers/base))] | |
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:200) | |
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410) | |
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) | |
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116) | |
at java.base/java.lang.Class.forName0(Native Method) | |
at java.base/java.lang.Class.forName(Class.java:398) | |
at org.hibernate@6.0.2.Final//org.hibernate.internal.util.ReflectHelper.classForName(ReflectHelper.java:163) | |
at org.hibernate@6.0.2.Final//org.hibernate.dialect.PostgreSQLPGObjectJdbcType.<clinit>(PostgreSQLPGObjectJdbcType.java:41) | |
... 17 more | |
18:55:53,100 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "DemoApp.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.persistenceunit.\"DemoApp.war#primary\"" => "java.lang.ExceptionInInitializerError | |
Caused by: java.lang.ExceptionInInitializerError | |
Caused by: java.lang.RuntimeException: Could not initialize PostgreSQLPGObjectJdbcType | |
Caused by: java.lang.ClassNotFoundException: org.postgresql.util.PGobject from [Module \"org.hibernate\" version 6.0.2.Final from local module loader @17cdf2d0 (finder: local module finder @1755e85b (roots: /Users/jfdenise/wildfly-s2i/test/test-app-postgres-ee10/target/server/modules,/Users/jfdenise/wildfly-s2i/test/test-app-postgres-ee10/target/server/modules/system/layers/base))]"}} | |
18:55:53,129 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "DemoApp.war" (runtime-name : "DemoApp.war") | |
18:55:53,131 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report | |
WFLYCTL0186: Services which failed to start: service jboss.persistenceunit."DemoApp.war#primary": java.lang.ExceptionInInitializerError | |
WFLYCTL0448: 16 additional services are down due to their dependencies being missing or failed | |
18:55:53,178 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server | |
18:55:53,181 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 27.0.0.Alpha4-SNAPSHOT (WildFly Core 19.0.0.Beta15) started (with errors) in 10833ms - Started 268 of 354 services (20 services failed or missing dependencies, 132 services are lazy, passive or on-demand) - Server configuration file in use: standalone.xml | |
18:55:53,188 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management | |
18:55:53,188 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment