Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /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
- /usr/local/Cellar/wildfly/bin/standalone.sh
- [2019-04-06 01:45:33,942] Artifact jdbcTest:war exploded: Waiting for server connection to start artifact deployment...
- Detected server admin port: 9990
- Detected server http port: 8080
- =========================================================================
- JBoss Bootstrap Environment
- JBOSS_HOME: /usr/local/Cellar/wildfly
- JAVA: /Users/kurocho/.sdkman/candidates/java/current/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.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
- =========================================================================
- 13:45:34,920 INFO [org.jboss.modules] (main) JBoss Modules version 1.9.0.Final
- 13:45:36,777 INFO [org.jboss.msc] (main) JBoss MSC version 1.4.5.Final
- 13:45:36,806 INFO [org.jboss.threads] (main) JBoss Threads version 2.3.3.Final
- 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
- 13:45:39,289 INFO [org.wildfly.security] (ServerService Thread Pool -- 20) ELY00001: WildFly Elytron version 1.8.0.Final
- 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.
- 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.
- 13:45:40,722 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
- 13:45:40,756 INFO [org.xnio] (MSC service thread 1-7) XNIO version 3.6.5.Final
- 13:45:40,776 INFO [org.xnio.nio] (MSC service thread 1-7) XNIO NIO Implementation Version 3.6.5.Final
- 13:45:40,834 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 49) WFLYCLINF0001: Activating Infinispan subsystem.
- 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
- 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)
- 13:45:40,924 INFO [org.jboss.as.jaxrs] (ServerService Thread Pool -- 51) WFLYRS0016: RESTEasy version 3.6.3.Final
- 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)
- 13:45:40,983 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0018: Started Driver service with driver-name = h2
- 13:45:40,994 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) WFLYJCA0018: Started Driver service with driver-name = postgres
- 13:45:40,977 INFO [org.jboss.as.connector] (MSC service thread 1-8) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.12.Final)
- 13:45:41,019 INFO [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 5.0.8.Final
- 13:45:41,073 INFO [org.wildfly.extension.microprofile.config.smallrye._private] (ServerService Thread Pool -- 58) WFLYCONF0001: Activating WildFly MicroProfile Config Subsystem
- 13:45:41,081 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 56) WFLYJSF0007: Activated the following JSF Implementations: [main]
- 13:45:41,092 INFO [org.wildfly.extension.microprofile.health.smallrye] (ServerService Thread Pool -- 59) WFLYHEALTH0001: Activating Eclipse MicroProfile Health Subsystem
- 13:45:41,092 INFO [org.wildfly.extension.microprofile.metrics.smallrye] (ServerService Thread Pool -- 60) WFLYMETRICS0001: Activating Eclipse MicroProfile Metrics Subsystem
- 13:45:41,092 INFO [org.wildfly.extension.microprofile.opentracing] (ServerService Thread Pool -- 61) WFLYTRACEXT0001: Activating MicroProfile OpenTracing Subsystem
- 13:45:41,108 INFO [org.jboss.as.security] (ServerService Thread Pool -- 68) WFLYSEC0002: Activating Security Subsystem
- 13:45:41,115 INFO [org.jboss.as.security] (MSC service thread 1-8) WFLYSEC0001: Current PicketBox version=5.0.3.Final
- 13:45:41,120 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 62) WFLYNAM0001: Activating Naming Subsystem
- 13:45:41,124 INFO [org.jboss.as.mail.extension] (MSC service thread 1-3) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
- 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.
- 13:45:41,141 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 72) WFLYWS0002: Activating WebServices Extension
- 13:45:41,161 INFO [org.jboss.as.naming] (MSC service thread 1-3) WFLYNAM0003: Starting Naming Service
- 13:45:41,171 INFO [org.jboss.as.mail.extension] (MSC service thread 1-4) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
- 13:45:41,211 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
- 13:45:41,212 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) WFLYJCA0010: Unbound data source [java:/PostgresDS]
- 13:45:41,213 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) WFLYJCA0010: Unbound data source [java:/PostgresDatasource]
- 13:45:41,240 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0003: Undertow 2.0.19.Final starting
- 13:45:41,262 INFO [io.smallrye.metrics] (MSC service thread 1-2) Converted [2] config entries and added [4] replacements
- 13:45:41,273 INFO [io.smallrye.metrics] (MSC service thread 1-2) Converted [3] config entries and added [18] replacements
- 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.
- 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.
- 13:45:41,581 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0012: Started server default-server.
- 13:45:41,584 INFO [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0018: Host default-host starting
- 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: '[]']
- 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
- 13:45:41,873 INFO [org.jboss.as.ejb3] (MSC service thread 1-4) WFLYEJB0493: EJB subsystem suspension complete
- 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
- 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
- 13:45:42,004 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:/PostgresDS]
- 13:45:42,005 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:/PostgresDatasource]
- 13:45:42,007 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
- kwi 06, 2019 1:45:42 PM org.jboss.threads.Version <clinit>
- INFO: JBoss Threads version 2.3.3.Final
- 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
- 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
- 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
- 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")
- kwi 06, 2019 1:45:42 PM org.jboss.remoting3.EndpointImpl <clinit>
- INFO: JBoss Remoting version 5.0.8.Final
- 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
- kwi 06, 2019 1:45:42 PM org.xnio.Xnio <clinit>
- INFO: XNIO version 3.6.5.Final
- kwi 06, 2019 1:45:42 PM org.xnio.nio.NioXnio <clinit>
- INFO: XNIO NIO Implementation Version 3.6.5.Final
- 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)
- kwi 06, 2019 1:45:43 PM org.wildfly.security.Version <clinit>
- INFO: ELY00001: WildFly Elytron version 1.8.0.Final
- 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
- 13:45:45,157 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 74) WFLYCLINF0002: Started client-mappings cache from ejb container
- 13:45:45,357 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "cinema-api.jar" (runtime-name : "cinema-api.jar")
- 13:45:45,463 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
- 13:45:45,468 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
- 13:45:45,468 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
- 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)
- Connected to server
- [2019-04-06 01:45:45,565] Artifact jdbcTest:war exploded: Artifact is being deployed, please wait...
- 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")
- 13:45:49,312 INFO [org.jboss.as.jpa] (MSC service thread 1-6) WFLYJPA0002: Read persistence.xml for SoaPersistenceUnit
- 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'
- 13:45:49,683 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 22) HHH000204: Processing PersistenceUnitInfo [
- name: SoaPersistenceUnit
- ...]
- 13:45:49,766 INFO [org.jboss.weld.deployer] (MSC service thread 1-8) WFLYWELD0003: Processing weld deployment ejb3-server-war.war
- 13:45:49,913 INFO [org.hibernate.Version] (ServerService Thread Pool -- 22) HHH000412: Hibernate Core {5.3.9.Final}
- 13:45:49,917 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 22) HHH000206: hibernate.properties not found
- 13:45:50,125 INFO [org.hibernate.validator.internal.util.Version] (MSC service thread 1-8) HV000001: Hibernate Validator 6.0.15.Final
- 13:45:50,366 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 22) HCANN000001: Hibernate Commons Annotations {5.0.5.Final}
- 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:
- java:global/ejb3-server-war/TestBeanCounter!pl.agh.kis.soa.ejb3.server.impl.TestBeanCounter
- java:app/ejb3-server-war/TestBeanCounter!pl.agh.kis.soa.ejb3.server.impl.TestBeanCounter
- java:module/TestBeanCounter!pl.agh.kis.soa.ejb3.server.impl.TestBeanCounter
- ejb:ejb3-server-war/TestBeanCounter!pl.agh.kis.soa.ejb3.server.impl.TestBeanCounter
- java:global/ejb3-server-war/TestBeanCounter
- java:app/ejb3-server-war/TestBeanCounter
- java:module/TestBeanCounter
- 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:
- java:global/ejb3-server-war/DaoExample!dao.DaoExample
- java:app/ejb3-server-war/DaoExample!dao.DaoExample
- java:module/DaoExample!dao.DaoExample
- ejb:ejb3-server-war/DaoExample!dao.DaoExample
- java:global/ejb3-server-war/DaoExample
- java:app/ejb3-server-war/DaoExample
- java:module/DaoExample
- WARNING: An illegal reflective access operation has occurred
- 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()
- WARNING: Please consider reporting this to the maintainers of org.jboss.invocation.proxy.AbstractProxyFactory$1
- 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
- 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)
- 13:45:51,218 INFO [org.jboss.weld.Version] (MSC service thread 1-1) WELD-000900: 3.1.0 (Final)
- 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
- 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'
- 13:45:52,070 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 22) HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
- 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
- 13:45:52,301 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 22) Envers integration enabled? : true
- 13:45:53,641 INFO [stdout] (ServerService Thread Pool -- 22) Hibernate: drop table Student if exists
- 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
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:67)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlString(SchemaDropperImpl.java:375)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlStrings(SchemaDropperImpl.java:359)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.dropFromMetadata(SchemaDropperImpl.java:241)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.performDrop(SchemaDropperImpl.java:154)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:126)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:112)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:144)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:72)
- at org.hibernate@5.3.9.Final//org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:310)
- at org.hibernate@5.3.9.Final//org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:467)
- at org.hibernate@5.3.9.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:939)
- at org.hibernate.jipijapa-hibernate5-3@16.0.0.Final//org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
- at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:170)
- at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:128)
- at org.wildfly.security.elytron-private@1.8.0.Final//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:649)
- at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:212)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
- at java.base/java.lang.Thread.run(Thread.java:835)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.JBossThread.run(JBossThread.java:485)
- Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "if"
- Pozycja: 20
- at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
- at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
- at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:266)
- at org.jboss.ironjacamar.jdbcadapters@1.4.12.Final//org.jboss.jca.adapters.jdbc.WrappedStatement.execute(WrappedStatement.java:198)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
- ... 22 more
- 13:45:53,689 INFO [stdout] (ServerService Thread Pool -- 22) Hibernate: drop sequence hibernate_sequence if exists
- 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
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:67)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlString(SchemaDropperImpl.java:375)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlStrings(SchemaDropperImpl.java:359)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.dropFromMetadata(SchemaDropperImpl.java:249)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.performDrop(SchemaDropperImpl.java:154)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:126)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:112)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:144)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:72)
- at org.hibernate@5.3.9.Final//org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:310)
- at org.hibernate@5.3.9.Final//org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:467)
- at org.hibernate@5.3.9.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:939)
- at org.hibernate.jipijapa-hibernate5-3@16.0.0.Final//org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
- at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:170)
- at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:128)
- at org.wildfly.security.elytron-private@1.8.0.Final//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:649)
- at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:212)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
- at java.base/java.lang.Thread.run(Thread.java:835)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.JBossThread.run(JBossThread.java:485)
- Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "if"
- Pozycja: 34
- at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
- at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
- at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:266)
- at org.jboss.ironjacamar.jdbcadapters@1.4.12.Final//org.jboss.jca.adapters.jdbc.WrappedStatement.execute(WrappedStatement.java:198)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
- ... 22 more
- 13:45:53,694 INFO [stdout] (ServerService Thread Pool -- 22) Hibernate: create sequence hibernate_sequence start with 1 increment by 1
- 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
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:67)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.applySqlString(SchemaCreatorImpl.java:440)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.applySqlStrings(SchemaCreatorImpl.java:424)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.createFromMetadata(SchemaCreatorImpl.java:290)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.performCreation(SchemaCreatorImpl.java:166)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.doCreation(SchemaCreatorImpl.java:135)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.doCreation(SchemaCreatorImpl.java:121)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:155)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:72)
- at org.hibernate@5.3.9.Final//org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:310)
- at org.hibernate@5.3.9.Final//org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:467)
- at org.hibernate@5.3.9.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:939)
- at org.hibernate.jipijapa-hibernate5-3@16.0.0.Final//org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
- at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:170)
- at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:128)
- at org.wildfly.security.elytron-private@1.8.0.Final//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:649)
- at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:212)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
- at java.base/java.lang.Thread.run(Thread.java:835)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.JBossThread.run(JBossThread.java:485)
- Caused by: org.postgresql.util.PSQLException: ERROR: relation "hibernate_sequence" already exists
- at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
- at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
- at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:266)
- at org.jboss.ironjacamar.jdbcadapters@1.4.12.Final//org.jboss.jca.adapters.jdbc.WrappedStatement.execute(WrappedStatement.java:198)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
- ... 22 more
- 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))
- 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
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:67)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.applySqlString(SchemaCreatorImpl.java:440)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.applySqlStrings(SchemaCreatorImpl.java:424)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.createFromMetadata(SchemaCreatorImpl.java:315)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.performCreation(SchemaCreatorImpl.java:166)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.doCreation(SchemaCreatorImpl.java:135)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.SchemaCreatorImpl.doCreation(SchemaCreatorImpl.java:121)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:155)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:72)
- at org.hibernate@5.3.9.Final//org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:310)
- at org.hibernate@5.3.9.Final//org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:467)
- at org.hibernate@5.3.9.Final//org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:939)
- at org.hibernate.jipijapa-hibernate5-3@16.0.0.Final//org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
- at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:170)
- at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:128)
- at org.wildfly.security.elytron-private@1.8.0.Final//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:649)
- at org.jboss.as.jpa@16.0.0.Final//org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:212)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
- at java.base/java.lang.Thread.run(Thread.java:835)
- at org.jboss.threads@2.3.3.Final//org.jboss.threads.JBossThread.run(JBossThread.java:485)
- Caused by: org.postgresql.util.PSQLException: ERROR: relation "student" already exists
- at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
- at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
- at org.postgres@42.2.5//org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
- at org.postgres@42.2.5//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:266)
- at org.jboss.ironjacamar.jdbcadapters@1.4.12.Final//org.jboss.jca.adapters.jdbc.WrappedStatement.execute(WrappedStatement.java:198)
- at org.hibernate@5.3.9.Final//org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
- ... 22 more
- 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'
- 13:45:53,973 INFO [io.smallrye.metrics] (MSC service thread 1-6) MicroProfile: Metrics activated
- 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!
- 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'
- 13:45:57,246 INFO [org.primefaces.webapp.PostConstructApplicationEventListener] (ServerService Thread Pool -- 22) Running on PrimeFaces 7.0
- 13:45:57,479 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 22) WFLYUT0021: Registered web context: '/ejb3-server-war' for server 'default-server'
- 13:45:57,541 INFO [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0010: Deployed "ejb3-server-war" (runtime-name : "ejb3-server-war.war")
- [2019-04-06 01:45:57,563] Artifact jdbcTest:war exploded: Artifact is deployed successfully
- [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