Advertisement
Guest User

Untitled

a guest
Apr 6th, 2019
720
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /Users/kurocho/.sdkman/candidates/java/current/bin/java -Dfile.encoding=UTF-8 -classpath /private/var/folders/zf/tzcwcfxx61dfzqwcbflqg4v40000gn/T/classpath2109250366.jar com.intellij.javaee.oss.process.JavaeeProcess 65489 com.intellij.javaee.oss.jboss.agent.JBoss71Agent
  2. /usr/local/Cellar/wildfly/bin/standalone.sh
  3. [2019-04-06 01:45:33,942] Artifact jdbcTest:war exploded: Waiting for server connection to start artifact deployment...
  4. Detected server admin port: 9990
  5. Detected server http port: 8080
  6. =========================================================================
  7.  
  8.   JBoss Bootstrap Environment
  9.  
  10.   JBOSS_HOME: /usr/local/Cellar/wildfly
  11.  
  12.   JAVA: /Users/kurocho/.sdkman/candidates/java/current/bin/java
  13.  
  14.   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.base/sun.nio.ch=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED --add-exports=jdk.unsupported/sun.reflect=ALL-UNNAMED --add-modules=java.se
  15.  
  16. =========================================================================
  17.  
  18. 13:45:34,920 INFO  [org.jboss.modules] (main) JBoss Modules version 1.9.0.Final
  19. 13:45:36,777 INFO  [org.jboss.msc] (main) JBoss MSC version 1.4.5.Final
  20. 13:45:36,806 INFO  [org.jboss.threads] (main) JBoss Threads version 2.3.3.Final
  21. 13:45:37,443 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full 16.0.0.Final (WildFly Core 8.0.0.Final) starting
  22. 13:45:39,289 INFO  [org.wildfly.security] (ServerService Thread Pool -- 20) ELY00001: WildFly Elytron version 1.8.0.Final
  23. 13:45:40,546 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
  24. 13:45:40,608 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 35) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
  25. 13:45:40,722 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
  26. 13:45:40,756 INFO  [org.xnio] (MSC service thread 1-7) XNIO version 3.6.5.Final
  27. 13:45:40,776 INFO  [org.xnio.nio] (MSC service thread 1-7) XNIO NIO Implementation Version 3.6.5.Final
  28. 13:45:40,834 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 49) WFLYCLINF0001: Activating Infinispan subsystem.
  29. 13:45:40,835 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 50) WFLYIO001: Worker 'default' has auto-configured to 8 core threads with 64 task threads based on your 4 available processors
  30. 13:45:40,917 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 42) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
  31. 13:45:40,924 INFO  [org.jboss.as.jaxrs] (ServerService Thread Pool -- 51) WFLYRS0016: RESTEasy version 3.6.3.Final
  32. 13:45:40,984 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 42) WFLYJCA0005: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 42.2)
  33. 13:45:40,983 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0018: Started Driver service with driver-name = h2
  34. 13:45:40,994 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) WFLYJCA0018: Started Driver service with driver-name = postgres
  35. 13:45:40,977 INFO  [org.jboss.as.connector] (MSC service thread 1-8) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.12.Final)
  36. 13:45:41,019 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 5.0.8.Final
  37. 13:45:41,073 INFO  [org.wildfly.extension.microprofile.config.smallrye._private] (ServerService Thread Pool -- 58) WFLYCONF0001: Activating WildFly MicroProfile Config Subsystem
  38. 13:45:41,081 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 56) WFLYJSF0007: Activated the following JSF Implementations: [main]
  39. 13:45:41,092 INFO  [org.wildfly.extension.microprofile.health.smallrye] (ServerService Thread Pool -- 59) WFLYHEALTH0001: Activating Eclipse MicroProfile Health Subsystem
  40. 13:45:41,092 INFO  [org.wildfly.extension.microprofile.metrics.smallrye] (ServerService Thread Pool -- 60) WFLYMETRICS0001: Activating Eclipse MicroProfile Metrics Subsystem
  41. 13:45:41,092 INFO  [org.wildfly.extension.microprofile.opentracing] (ServerService Thread Pool -- 61) WFLYTRACEXT0001: Activating MicroProfile OpenTracing Subsystem
  42. 13:45:41,108 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 68) WFLYSEC0002: Activating Security Subsystem
  43. 13:45:41,115 INFO  [org.jboss.as.security] (MSC service thread 1-8) WFLYSEC0001: Current PicketBox version=5.0.3.Final
  44. 13:45:41,120 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 62) WFLYNAM0001: Activating Naming Subsystem
  45. 13:45:41,124 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-3) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
  46. 13:45:41,128 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 70) 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.
  47. 13:45:41,141 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 72) WFLYWS0002: Activating WebServices Extension
  48. 13:45:41,161 INFO  [org.jboss.as.naming] (MSC service thread 1-3) WFLYNAM0003: Starting Naming Service
  49. 13:45:41,171 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-4) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
  50. 13:45:41,211 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
  51. 13:45:41,212 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) WFLYJCA0010: Unbound data source [java:/PostgresDS]
  52. 13:45:41,213 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) WFLYJCA0010: Unbound data source [java:/PostgresDatasource]
  53. 13:45:41,240 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0003: Undertow 2.0.19.Final starting
  54. 13:45:41,262 INFO  [io.smallrye.metrics] (MSC service thread 1-2) Converted [2] config entries and added [4] replacements
  55. 13:45:41,273 INFO  [io.smallrye.metrics] (MSC service thread 1-2) Converted [3] config entries and added [18] replacements
  56. 13:45:41,433 INFO  [org.jboss.as.ejb3] (MSC service thread 1-7) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 16 (per class), which is derived from the number of CPUs on this host.
  57. 13:45:41,436 INFO  [org.jboss.as.ejb3] (MSC service thread 1-6) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 64 (per class), which is derived from thread worker pool sizing.
  58. 13:45:41,581 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0012: Started server default-server.
  59. 13:45:41,584 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0018: Host default-host starting
  60. 13:45:41,558 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 71) WFLYUT0014: Creating file handler for path '/usr/local/Cellar/wildfly/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
  61. 13:45:41,841 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
  62. 13:45:41,873 INFO  [org.jboss.as.ejb3] (MSC service thread 1-4) WFLYEJB0493: EJB subsystem suspension complete
  63. 13:45:41,983 WARN  [org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer] (MSC service thread 1-3) IJ020020: Connection Properties for DataSource: 'java:/PostgresDatasource' is empty, try to use driver-class: 'org.postgres.Driver' and connection-url: 'jdbc:postgresql://localhost:5432/soa' to connect database
  64. 13:45:41,984 WARN  [org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer] (MSC service thread 1-8) IJ020020: Connection Properties for DataSource: 'java:/PostgresDS' is empty, try to use driver-class: 'org.postgresql.Driver' and connection-url: 'jdbc:postgresql://localhost:5432/soa' to connect database
  65. 13:45:42,004 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:/PostgresDS]
  66. 13:45:42,005 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:/PostgresDatasource]
  67. 13:45:42,007 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
  68. kwi 06, 2019 1:45:42 PM org.jboss.threads.Version <clinit>
  69. INFO: JBoss Threads version 2.3.3.Final
  70. 13:45:42,645 INFO  [org.jboss.as.patching] (MSC service thread 1-8) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
  71. 13:45:42,668 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-1) WFLYDM0111: Keystore /usr/local/Cellar/wildfly/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
  72. 13:45:42,681 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7) WFLYDS0013: Started FileSystemDeploymentService for directory /usr/local/Cellar/wildfly/standalone/deployments
  73. 13:45:42,703 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0027: Starting deployment of "cinema-api.jar" (runtime-name: "cinema-api.jar")
  74. kwi 06, 2019 1:45:42 PM org.jboss.remoting3.EndpointImpl <clinit>
  75. INFO: JBoss Remoting version 5.0.8.Final
  76. 13:45:42,805 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
  77. kwi 06, 2019 1:45:42 PM org.xnio.Xnio <clinit>
  78. INFO: XNIO version 3.6.5.Final
  79. kwi 06, 2019 1:45:42 PM org.xnio.nio.NioXnio <clinit>
  80. INFO: XNIO NIO Implementation Version 3.6.5.Final
  81. 13:45:43,012 INFO  [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBossWS 5.2.4.Final (Apache CXF 3.2.7)
  82. kwi 06, 2019 1:45:43 PM org.wildfly.security.Version <clinit>
  83. INFO: ELY00001: WildFly Elytron version 1.8.0.Final
  84. 13:45:44,310 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-6) ISPN000128: Infinispan version: Infinispan 'Infinity Minus ONE +2' 9.4.8.Final
  85. 13:45:45,157 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 74) WFLYCLINF0002: Started client-mappings cache from ejb container
  86. 13:45:45,357 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "cinema-api.jar" (runtime-name : "cinema-api.jar")
  87. 13:45:45,463 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
  88. 13:45:45,468 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
  89. 13:45:45,468 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
  90. 13:45:45,469 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 16.0.0.Final (WildFly Core 8.0.0.Final) started in 11676ms - Started 396 of 586 services (329 services are lazy, passive or on-demand)
  91. Connected to server
  92. [2019-04-06 01:45:45,565] Artifact jdbcTest:war exploded: Artifact is being deployed, please wait...
  93. 13:45:45,758 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0027: Starting deployment of "ejb3-server-war" (runtime-name: "ejb3-server-war.war")
  94. 13:45:49,312 INFO  [org.jboss.as.jpa] (MSC service thread 1-6) WFLYJPA0002: Read persistence.xml for SoaPersistenceUnit
  95. 13:45:49,641 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 22) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'ejb3-server-war#SoaPersistenceUnit'
  96. 13:45:49,683 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 22) HHH000204: Processing PersistenceUnitInfo [
  97.     name: SoaPersistenceUnit
  98.     ...]
  99. 13:45:49,766 INFO  [org.jboss.weld.deployer] (MSC service thread 1-8) WFLYWELD0003: Processing weld deployment ejb3-server-war.war
  100. 13:45:49,913 INFO  [org.hibernate.Version] (ServerService Thread Pool -- 22) HHH000412: Hibernate Core {5.3.9.Final}
  101. 13:45:49,917 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 22) HHH000206: hibernate.properties not found
  102. 13:45:50,125 INFO  [org.hibernate.validator.internal.util.Version] (MSC service thread 1-8) HV000001: Hibernate Validator 6.0.15.Final
  103. 13:45:50,366 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 22) HCANN000001: Hibernate Commons Annotations {5.0.5.Final}
  104. 13:45:50,509 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-8) WFLYEJB0473: JNDI bindings for session bean named 'TestBeanCounter' in deployment unit 'deployment "ejb3-server-war.war"' are as follows:
  105.  
  106.     java:global/ejb3-server-war/TestBeanCounter!pl.agh.kis.soa.ejb3.server.impl.TestBeanCounter
  107.     java:app/ejb3-server-war/TestBeanCounter!pl.agh.kis.soa.ejb3.server.impl.TestBeanCounter
  108.     java:module/TestBeanCounter!pl.agh.kis.soa.ejb3.server.impl.TestBeanCounter
  109.     ejb:ejb3-server-war/TestBeanCounter!pl.agh.kis.soa.ejb3.server.impl.TestBeanCounter
  110.     java:global/ejb3-server-war/TestBeanCounter
  111.     java:app/ejb3-server-war/TestBeanCounter
  112.     java:module/TestBeanCounter
  113.  
  114. 13:45:50,509 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-8) WFLYEJB0473: JNDI bindings for session bean named 'DaoExample' in deployment unit 'deployment "ejb3-server-war.war"' are as follows:
  115.  
  116.     java:global/ejb3-server-war/DaoExample!dao.DaoExample
  117.     java:app/ejb3-server-war/DaoExample!dao.DaoExample
  118.     java:module/DaoExample!dao.DaoExample
  119.     ejb:ejb3-server-war/DaoExample!dao.DaoExample
  120.     java:global/ejb3-server-war/DaoExample
  121.     java:app/ejb3-server-war/DaoExample
  122.     java:module/DaoExample
  123.  
  124. WARNING: An illegal reflective access operation has occurred
  125. WARNING: Illegal reflective access by org.jboss.invocation.proxy.AbstractProxyFactory$1 (jar:file:/usr/local/Cellar/wildfly/modules/system/layers/base/org/jboss/invocation/main/jboss-invocation-1.5.2.Final.jar!/) to method java.lang.Object.clone()
  126. WARNING: Please consider reporting this to the maintainers of org.jboss.invocation.proxy.AbstractProxyFactory$1
  127. WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
  128. WARNING: All illegal access operations will be denied in a future release
  129. 13:45:51,168 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0005: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 42.2)
  130. 13:45:51,218 INFO  [org.jboss.weld.Version] (MSC service thread 1-1) WELD-000900: 3.1.0 (Final)
  131. 13:45:51,320 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0018: Started Driver service with driver-name = ejb3-server-war.war_org.postgresql.Driver_42_2
  132. 13:45:51,717 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 22) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'ejb3-server-war#SoaPersistenceUnit'
  133. 13:45:52,070 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 22) HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
  134. 13:45:52,255 INFO  [org.hibernate.engine.jdbc.env.internal.LobCreatorBuilderImpl] (ServerService Thread Pool -- 22) HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
  135. 13:45:52,301 INFO  [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 22) Envers integration enabled? : true
  136. 13:45:53,641 INFO  [stdout] (ServerService Thread Pool -- 22) Hibernate: drop table Student if exists
  137. 13:45:53,687 WARN  [org.hibernate.tool.schema.internal.ExceptionHandlerLoggedImpl] (ServerService Thread Pool -- 22) GenerationTarget encountered exception accepting command : Error executing DDL "drop table Student if exists" via JDBC Statement: org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "drop table Student if exists" via JDBC Statement
  138.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:67)
  139.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlString(SchemaDropperImpl.java:375)
  140.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlStrings(SchemaDropperImpl.java:359)
  141.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.dropFromMetadata(SchemaDropperImpl.java:241)
  142.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.performDrop(SchemaDropperImpl.java:154)
  143.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:126)
  144.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:112)
  145.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:144)
  146.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:72)
  147.     at org.hibernate@5.3.9.Final//org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:310)
  148.     at org.hibernate@5.3.9.Final//org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:467)
  149.     at org.hibernate@5.3.9.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:939)
  150.     at org.hibernate.jipijapa-hibernate5-3@16.0.0.Final//org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
  151.     at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:170)
  152.     at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:128)
  153.     at org.wildfly.security.elytron-private@1.8.0.Final//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:649)
  154.     at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:212)
  155.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
  156.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
  157.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
  158.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
  159.     at java.base/java.lang.Thread.run(Thread.java:835)
  160.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.JBossThread.run(JBossThread.java:485)
  161. Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "if"
  162.   Pozycja: 20
  163.     at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  164.     at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  165.     at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  166.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  167.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  168.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  169.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  170.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  171.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:266)
  172.     at org.jboss.ironjacamar.jdbcadapters@1.4.12.Final//org.jboss.jca.adapters.jdbc.WrappedStatement.execute(WrappedStatement.java:198)
  173.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
  174.     ... 22 more
  175.  
  176. 13:45:53,689 INFO  [stdout] (ServerService Thread Pool -- 22) Hibernate: drop sequence hibernate_sequence if exists
  177. 13:45:53,690 WARN  [org.hibernate.tool.schema.internal.ExceptionHandlerLoggedImpl] (ServerService Thread Pool -- 22) GenerationTarget encountered exception accepting command : Error executing DDL "drop sequence hibernate_sequence if exists" via JDBC Statement: org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "drop sequence hibernate_sequence if exists" via JDBC Statement
  178.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:67)
  179.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlString(SchemaDropperImpl.java:375)
  180.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlStrings(SchemaDropperImpl.java:359)
  181.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.dropFromMetadata(SchemaDropperImpl.java:249)
  182.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.performDrop(SchemaDropperImpl.java:154)
  183.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:126)
  184.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:112)
  185.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:144)
  186.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:72)
  187.     at org.hibernate@5.3.9.Final//org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:310)
  188.     at org.hibernate@5.3.9.Final//org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:467)
  189.     at org.hibernate@5.3.9.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:939)
  190.     at org.hibernate.jipijapa-hibernate5-3@16.0.0.Final//org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
  191.     at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:170)
  192.     at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:128)
  193.     at org.wildfly.security.elytron-private@1.8.0.Final//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:649)
  194.     at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:212)
  195.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
  196.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
  197.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
  198.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
  199.     at java.base/java.lang.Thread.run(Thread.java:835)
  200.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.JBossThread.run(JBossThread.java:485)
  201. Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "if"
  202.   Pozycja: 34
  203.     at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  204.     at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  205.     at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  206.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  207.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  208.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  209.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  210.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  211.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:266)
  212.     at org.jboss.ironjacamar.jdbcadapters@1.4.12.Final//org.jboss.jca.adapters.jdbc.WrappedStatement.execute(WrappedStatement.java:198)
  213.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
  214.     ... 22 more
  215.  
  216. 13:45:53,694 INFO  [stdout] (ServerService Thread Pool -- 22) Hibernate: create sequence hibernate_sequence start with 1 increment by 1
  217. 13:45:53,695 WARN  [org.hibernate.tool.schema.internal.ExceptionHandlerLoggedImpl] (ServerService Thread Pool -- 22) GenerationTarget encountered exception accepting command : Error executing DDL "create sequence hibernate_sequence start with 1 increment by 1" via JDBC Statement: org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "create sequence hibernate_sequence start with 1 increment by 1" via JDBC Statement
  218.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:67)
  219.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.applySqlString(SchemaCreatorImpl.java:440)
  220.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.applySqlStrings(SchemaCreatorImpl.java:424)
  221.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.createFromMetadata(SchemaCreatorImpl.java:290)
  222.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.performCreation(SchemaCreatorImpl.java:166)
  223.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.doCreation(SchemaCreatorImpl.java:135)
  224.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.doCreation(SchemaCreatorImpl.java:121)
  225.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:155)
  226.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:72)
  227.     at org.hibernate@5.3.9.Final//org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:310)
  228.     at org.hibernate@5.3.9.Final//org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:467)
  229.     at org.hibernate@5.3.9.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:939)
  230.     at org.hibernate.jipijapa-hibernate5-3@16.0.0.Final//org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
  231.     at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:170)
  232.     at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:128)
  233.     at org.wildfly.security.elytron-private@1.8.0.Final//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:649)
  234.     at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:212)
  235.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
  236.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
  237.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
  238.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
  239.     at java.base/java.lang.Thread.run(Thread.java:835)
  240.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.JBossThread.run(JBossThread.java:485)
  241. Caused by: org.postgresql.util.PSQLException: ERROR: relation "hibernate_sequence" already exists
  242.     at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  243.     at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  244.     at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  245.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  246.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  247.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  248.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  249.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  250.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:266)
  251.     at org.jboss.ironjacamar.jdbcadapters@1.4.12.Final//org.jboss.jca.adapters.jdbc.WrappedStatement.execute(WrappedStatement.java:198)
  252.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
  253.     ... 22 more
  254.  
  255. 13:45:53,697 INFO  [stdout] (ServerService Thread Pool -- 22) Hibernate: create table Student (id integer not null, created_at timestamp, firstName varchar(255) not null, lastName varchar(255) not null, primary key (id))
  256. 13:45:53,698 WARN  [org.hibernate.tool.schema.internal.ExceptionHandlerLoggedImpl] (ServerService Thread Pool -- 22) GenerationTarget encountered exception accepting command : Error executing DDL "create table Student (id integer not null, created_at timestamp, firstName varchar(255) not null, lastName varchar(255) not null, primary key (id))" via JDBC Statement: org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "create table Student (id integer not null, created_at timestamp, firstName varchar(255) not null, lastName varchar(255) not null, primary key (id))" via JDBC Statement
  257.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:67)
  258.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.applySqlString(SchemaCreatorImpl.java:440)
  259.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.applySqlStrings(SchemaCreatorImpl.java:424)
  260.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.createFromMetadata(SchemaCreatorImpl.java:315)
  261.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.performCreation(SchemaCreatorImpl.java:166)
  262.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.doCreation(SchemaCreatorImpl.java:135)
  263.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.doCreation(SchemaCreatorImpl.java:121)
  264.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:155)
  265.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:72)
  266.     at org.hibernate@5.3.9.Final//org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:310)
  267.     at org.hibernate@5.3.9.Final//org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:467)
  268.     at org.hibernate@5.3.9.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:939)
  269.     at org.hibernate.jipijapa-hibernate5-3@16.0.0.Final//org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
  270.     at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:170)
  271.     at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:128)
  272.     at org.wildfly.security.elytron-private@1.8.0.Final//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:649)
  273.     at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:212)
  274.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
  275.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
  276.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
  277.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
  278.     at java.base/java.lang.Thread.run(Thread.java:835)
  279.     at org.jboss.threads@2.3.3.Final//org.jboss.threads.JBossThread.run(JBossThread.java:485)
  280. Caused by: org.postgresql.util.PSQLException: ERROR: relation "student" already exists
  281.     at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  282.     at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  283.     at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  284.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  285.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  286.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  287.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  288.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  289.     at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:266)
  290.     at org.jboss.ironjacamar.jdbcadapters@1.4.12.Final//org.jboss.jca.adapters.jdbc.WrappedStatement.execute(WrappedStatement.java:198)
  291.     at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
  292.     ... 22 more
  293.  
  294. 13:45:53,704 INFO  [org.hibernate.tool.schema.internal.SchemaCreatorImpl] (ServerService Thread Pool -- 22) HHH000476: Executing import script 'org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl@381e0ab3'
  295. 13:45:53,973 INFO  [io.smallrye.metrics] (MSC service thread 1-6) MicroProfile: Metrics activated
  296. 13:45:54,031 WARN  [org.jboss.weld.Bootstrap] (MSC service thread 1-6) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class com.sun.faces.flow.FlowDiscoveryCDIHelper is deprecated from CDI 1.1!
  297. 13:45:55,128 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 22) Initializing Mojarra 2.3.9.SP01 for context '/ejb3-server-war'
  298. 13:45:57,246 INFO  [org.primefaces.webapp.PostConstructApplicationEventListener] (ServerService Thread Pool -- 22) Running on PrimeFaces 7.0
  299. 13:45:57,479 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 22) WFLYUT0021: Registered web context: '/ejb3-server-war' for server 'default-server'
  300. 13:45:57,541 INFO  [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0010: Deployed "ejb3-server-war" (runtime-name : "ejb3-server-war.war")
  301. [2019-04-06 01:45:57,563] Artifact jdbcTest:war exploded: Artifact is deployed successfully
  302. [2019-04-06 01:45:57,564] Artifact jdbcTest:war exploded: Deploy took 11,999 milliseconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement