Migrar projeto no Eclipe Oxigen Tomcat 8.5 para Wildfly 11

Estou tentando migrar um projeto(Java, HIbernate, JSF, SpringSecurity, CDI, Mysql) que roda atualmente no TOMCAT, para o WILDFLY. Já configurei o “standalone” com a conexão e o Wildfly sozinho inicializa sem erro algum.

Quando inicializo o aplicativo a ser migrado, ele dá erro “error 404”, ou seja, não reconhece o index, nem qualquer outra página, mesmo apontando diretamente no browser.

Desde já agradeço a ajuda dos amigos.

O wildfly possui um log muito bom, até.
Seria de muito interesse ver esse log e descobrir as possíveis mensagens que identificam a falha nisso.

Eu já tenho o log, mas é muito extenso. Tem alguma forma, correta, de passar o código ?

Deixa para lá então. Se não quer ajuda e não quer se ajudar, ignore o log.

Resposta sem utilidade para a duvida.

Você não precisa enviar o log todo (pode enviar, se quiser, sem problemas).
Mas, ler o log é fundamental. Identificar erros é um dos primeiros passos que temos que aprender a dar, quando queremos desenvolver sistemas.

1 curtida

Ok Darlan, segue o log. Se precisar de alguma coisa a mais para me ajudar, me avise que eu providencio.

Acredito que os erros são devidos a algum conflito no POM com o Wildfly, pois como usava o TOMCAT, tinha que baixar muita dependência do Maven.

Desde já agradeço sua ajuda !

2018-02-12 00:16:36,937 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final
2018-02-12 00:16:37,201 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1
2018-02-12 00:16:37,303 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full 11.0.0.Final (WildFly Core 3.0.8.Final) starting
2018-02-12 00:16:37,304 DEBUG [org.jboss.as.config] (MSC service thread 1-7) Configured system properties:
	awt.toolkit = sun.awt.X11.XToolkit
	file.encoding = ISO-8859-1
	file.encoding.pkg = sun.io
	file.separator = /
	java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
	java.awt.headless = true
	java.awt.printerjob = sun.print.PSPrinterJob
	java.class.path = /home/mingus/wildfly-11.0.0.Final/jboss-modules.jar:/usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar
	java.class.version = 52.0
	java.endorsed.dirs = /usr/lib/jvm/java-8-oracle/jre/lib/endorsed
	java.ext.dirs = /usr/lib/jvm/java-8-oracle/jre/lib/ext:/usr/java/packages/lib/ext
	java.home = /usr/lib/jvm/java-8-oracle/jre
	java.io.tmpdir = /tmp
	java.library.path = /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
	java.net.preferIPv4Stack = true
	java.runtime.name = Java(TM) SE Runtime Environment
	java.runtime.version = 1.8.0_161-b12
	java.specification.name = Java Platform API Specification
	java.specification.vendor = Oracle Corporation
	java.specification.version = 1.8
	java.util.logging.manager = org.jboss.logmanager.LogManager
	java.vendor = Oracle Corporation
	java.vendor.url = http://java.oracle.com/
	java.vendor.url.bug = http://bugreport.sun.com/bugreport/
	java.version = 1.8.0_161
	java.vm.info = mixed mode
	java.vm.name = Java HotSpot(TM) 64-Bit Server VM
	java.vm.specification.name = Java Virtual Machine Specification
	java.vm.specification.vendor = Oracle Corporation
	java.vm.specification.version = 1.8
	java.vm.vendor = Oracle Corporation
	java.vm.version = 25.161-b12
	javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder
	javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory
	javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory
	javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory
	javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory
	javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory
	javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory
	javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory
	javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory
	javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory
	jboss.bind.address = localhost
	jboss.bind.address.management = localhost
	jboss.home.dir = /home/mingus/wildfly-11.0.0.Final
	jboss.host.name = mingus-pc
	jboss.modules.dir = /home/mingus/wildfly-11.0.0.Final/modules
	jboss.modules.system.pkgs = org.jboss.byteman
	jboss.node.name = mingus-pc
	jboss.qualified.host.name = mingus-pc
	jboss.server.base.dir = /home/mingus/wildfly-11.0.0.Final/standalone
	jboss.server.config.dir = /home/mingus/wildfly-11.0.0.Final/standalone/configuration
	jboss.server.data.dir = /home/mingus/wildfly-11.0.0.Final/standalone/data
	jboss.server.deploy.dir = /home/mingus/wildfly-11.0.0.Final/standalone/data/content
	jboss.server.log.dir = /home/mingus/wildfly-11.0.0.Final/standalone/log
	jboss.server.name = mingus-pc
	jboss.server.persist.config = true
	jboss.server.temp.dir = /home/mingus/wildfly-11.0.0.Final/standalone/tmp
	line.separator = 

	logging.configuration = file:/home/mingus/wildfly-11.0.0.Final/standalone/configuration/logging.properties
	module.path = /home/mingus/wildfly-11.0.0.Final/modules
	org.jboss.boot.log.file = /home/mingus/wildfly-11.0.0.Final/standalone/log/boot.log
	org.jboss.logmanager.nocolor = true
	org.jboss.resolver.warning = true
	org.xml.sax.driver = __redirected.__XMLReaderFactory
	os.arch = amd64
	os.name = Linux
	os.version = 4.13.0-32-generic
	path.separator = :
	program.name = JBossTools: WildFly 11
	sun.arch.data.model = 64
	sun.boot.class.path = /usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-8-oracle/jre/classes
	sun.boot.library.path = /usr/lib/jvm/java-8-oracle/jre/lib/amd64
	sun.cpu.endian = little
	sun.cpu.isalist = 
	sun.io.unicode.encoding = UnicodeLittle
	sun.java.command = org.jboss.modules.Main -mp /home/mingus/wildfly-11.0.0.Final/modules org.jboss.as.standalone -b localhost --server-config=standalone.xml -Djboss.server.base.dir=/home/mingus/wildfly-11.0.0.Final/standalone
	sun.java.launcher = SUN_STANDARD
	sun.jnu.encoding = UTF-8
	sun.management.compiler = HotSpot 64-Bit Tiered Compilers
	sun.os.patch.level = unknown
	sun.rmi.dgc.client.gcInterval = 3600000
	sun.rmi.dgc.server.gcInterval = 3600000
	user.country = BR
	user.dir = /home/mingus/wildfly-11.0.0.Final/bin
	user.home = /home/mingus
	user.language = pt
	user.name = mingus
	user.timezone = America/Sao_Paulo
2018-02-12 00:16:37,305 DEBUG [org.jboss.as.config] (MSC service thread 1-7) VM Arguments: -Dprogram.name=JBossTools: WildFly 11 -Xms64m -Xmx512m -Dorg.jboss.resolver.warning=true -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Dorg.jboss.boot.log.file=/home/mingus/wildfly-11.0.0.Final/standalone/log/boot.log -Dlogging.configuration=file:/home/mingus/wildfly-11.0.0.Final/standalone/configuration/logging.properties -Djboss.home.dir=/home/mingus/wildfly-11.0.0.Final -Dorg.jboss.logmanager.nocolor=true -Djboss.bind.address.management=localhost -Dfile.encoding=ISO-8859-1 
2018-02-12 00:16:38,240 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 future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
2018-02-12 00:16:38,254 INFO  [org.wildfly.security] (ServerService Thread Pool -- 16) ELY00001: WildFly Elytron version 1.1.6.Final
2018-02-12 00:16:38,267 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 14) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
2018-02-12 00:16:38,271 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0015: Re-attempting failed deployment financeiro-0.0.1-SNAPSHOT.war
2018-02-12 00:16:38,277 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found financeiro-0.0.1-SNAPSHOT.war in deployment directory. To trigger deployment create a file called financeiro-0.0.1-SNAPSHOT.war.dodeploy
2018-02-12 00:16:38,277 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found ProjTeste.war in deployment directory. To trigger deployment create a file called ProjTeste.war.dodeploy
2018-02-12 00:16:38,321 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
2018-02-12 00:16:38,333 INFO  [org.xnio] (MSC service thread 1-5) XNIO version 3.5.4.Final
2018-02-12 00:16:38,341 INFO  [org.xnio.nio] (MSC service thread 1-5) XNIO NIO Implementation Version 3.5.4.Final
2018-02-12 00:16:38,356 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 42) WFLYCLINF0001: Activating Infinispan subsystem.
2018-02-12 00:16:38,358 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 58) 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.
2018-02-12 00:16:38,359 INFO  [org.jboss.as.jaxrs] (ServerService Thread Pool -- 43) WFLYRS0016: RESTEasy version 3.0.24.Final
2018-02-12 00:16:38,362 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 48) WFLYJSF0007: Activated the following JSF Implementations: [main]
2018-02-12 00:16:38,362 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 50) WFLYNAM0001: Activating Naming Subsystem
2018-02-12 00:16:38,365 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 41) WFLYIO001: Worker 'default' has auto-configured to 16 core threads with 128 task threads based on your 8 available processors
2018-02-12 00:16:38,367 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 57) WFLYSEC0002: Activating Security Subsystem
2018-02-12 00:16:38,369 INFO  [org.jboss.as.security] (MSC service thread 1-6) WFLYSEC0001: Current PicketBox version=5.0.2.Final
2018-02-12 00:16:38,382 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 60) WFLYWS0002: Activating WebServices Extension
2018-02-12 00:16:38,384 INFO  [org.jboss.as.connector] (MSC service thread 1-3) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.6.Final)
2018-02-12 00:16:38,447 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0003: Undertow 1.4.18.Final starting
2018-02-12 00:16:38,457 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 36) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
2018-02-12 00:16:38,479 INFO  [org.jboss.as.naming] (MSC service thread 1-3) WFLYNAM0003: Starting Naming Service
2018-02-12 00:16:38,480 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-3) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
2018-02-12 00:16:38,482 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) WFLYJCA0018: Started Driver service with driver-name = mysql
2018-02-12 00:16:38,487 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 36) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
2018-02-12 00:16:38,498 INFO  [org.jboss.remoting] (MSC service thread 1-5) JBoss Remoting version 5.0.5.Final
2018-02-12 00:16:38,514 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0018: Started Driver service with driver-name = h2
2018-02-12 00:16:38,556 INFO  [org.jboss.as.ejb3] (MSC service thread 1-4) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 32 (per class), which is derived from the number of CPUs on this host.
2018-02-12 00:16:38,557 INFO  [org.jboss.as.ejb3] (MSC service thread 1-5) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 128 (per class), which is derived from thread worker pool sizing.
2018-02-12 00:16:38,600 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 59) WFLYUT0014: Creating file handler for path '/home/mingus/wildfly-11.0.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
2018-02-12 00:16:38,607 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0012: Started server default-server.
2018-02-12 00:16:38,620 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0018: Host default-host starting
2018-02-12 00:16:38,690 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
2018-02-12 00:16:38,696 INFO  [org.jboss.as.ejb3] (MSC service thread 1-8) WFLYEJB0493: EJB subsystem suspension complete
2018-02-12 00:16:38,765 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
2018-02-12 00:16:38,765 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0001: Bound data source [java:jboss/datasources/FinanceiroDB]
2018-02-12 00:16:38,784 INFO  [org.jboss.as.patching] (MSC service thread 1-4) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
2018-02-12 00:16:38,890 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-2) WFLYDM0111: Keystore /home/mingus/wildfly-11.0.0.Final/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
2018-02-12 00:16:38,896 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-5) WFLYDS0013: Started FileSystemDeploymentService for directory /home/mingus/wildfly-11.0.0.Final/standalone/deployments
2018-02-12 00:16:38,902 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "ProjTeste.war" (runtime-name: "ProjTeste.war")
2018-02-12 00:16:38,902 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "financeiro-0.0.1-SNAPSHOT.war" (runtime-name: "financeiro-0.0.1-SNAPSHOT.war")
2018-02-12 00:16:39,019 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
2018-02-12 00:16:39,080 INFO  [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBossWS 5.1.9.Final (Apache CXF 3.1.12) 
2018-02-12 00:16:39,269 INFO  [org.jboss.as.jpa] (MSC service thread 1-7) WFLYJPA0002: Read persistence.xml for ProjTeste
2018-02-12 00:16:39,318 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 62) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'ProjTeste.war#ProjTeste'
2018-02-12 00:16:39,337 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 62) HHH000204: Processing PersistenceUnitInfo [
	name: ProjTeste
	...]
2018-02-12 00:16:39,405 INFO  [org.hibernate.Version] (ServerService Thread Pool -- 62) HHH000412: Hibernate Core {5.1.10.Final}
2018-02-12 00:16:39,409 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 62) HHH000206: hibernate.properties not found
2018-02-12 00:16:39,412 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 62) HHH000021: Bytecode provider name : javassist
2018-02-12 00:16:39,458 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 62) HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2018-02-12 00:16:39,549 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-8) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.8.Final
2018-02-12 00:16:39,562 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 62) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'ProjTeste.war#ProjTeste'
2018-02-12 00:16:39,766 ERROR [stderr] (ServerService Thread Pool -- 62) Mon Feb 12 00:16:39 BRST 2018 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
2018-02-12 00:16:39,872 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 63) WFLYCLINF0002: Started client-mappings cache from ejb container
2018-02-12 00:16:39,942 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 62) HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
2018-02-12 00:16:39,984 INFO  [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 62) Envers integration enabled? : true
2018-02-12 00:16:40,241 INFO  [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 62) HV000001: Hibernate Validator 5.3.5.Final
2018-02-12 00:16:40,604 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) WFLYJPA0002: Read persistence.xml for financeiro
2018-02-12 00:16:40,621 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 65) Inicializando Mojarra 2.2.13.SP4  para o contexto '/ProjTeste'
2018-02-12 00:16:40,746 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 63) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'financeiro-0.0.1-SNAPSHOT.war#financeiro'
2018-02-12 00:16:40,746 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 63) HHH000204: Processing PersistenceUnitInfo [
	name: financeiro
	...]
2018-02-12 00:16:40,969 INFO  [org.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0003: Processing weld deployment financeiro-0.0.1-SNAPSHOT.war
2018-02-12 00:16:41,207 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 65) WFLYUT0021: Registered web context: '/ProjTeste' for server 'default-server'
2018-02-12 00:16:41,221 INFO  [org.jboss.weld.Version] (MSC service thread 1-1) WELD-000900: 2.4.3 (Final)
2018-02-12 00:16:41,335 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 65) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'financeiro-0.0.1-SNAPSHOT.war#financeiro'
2018-02-12 00:16:41,425 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 65) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2018-02-12 00:16:41,426 WARN  [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 65) HHH000431: Unable to determine H2 database version, certain features may not work
2018-02-12 00:16:41,450 INFO  [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 65) Envers integration enabled? : true
2018-02-12 00:16:41,564 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 65) MSC000001: Failed to start service jboss.persistenceunit."financeiro-0.0.1-SNAPSHOT.war#financeiro": org.jboss.msc.service.StartException in service jboss.persistenceunit."financeiro-0.0.1-SNAPSHOT.war#financeiro": javax.persistence.PersistenceException: [PersistenceUnit: financeiro] Unable to build Hibernate SessionFactory
	at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:195)
	at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:125)
	at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:640)
	at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:209)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: financeiro] Unable to build Hibernate SessionFactory
	at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.persistenceException(EntityManagerFactoryBuilderImpl.java:953)
	at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:883)
	at org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
	at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:167)
	... 7 more
Caused by: org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.collection.OneToManyPersister
	at org.hibernate.persister.internal.PersisterFactoryImpl.createCollectionPersister(PersisterFactoryImpl.java:178)
	at org.hibernate.persister.internal.PersisterFactoryImpl.createCollectionPersister(PersisterFactoryImpl.java:140)
	at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:413)
	at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:422)
	at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:880)
	... 9 more
Caused by: org.hibernate.HibernateException: Unable to parse order-by fragment
	at org.hibernate.sql.ordering.antlr.OrderByFragmentTranslator.translate(OrderByFragmentTranslator.java:52)
	at org.hibernate.sql.Template.translateOrderBy(Template.java:714)
	at org.hibernate.persister.collection.AbstractCollectionPersister.<init>(AbstractCollectionPersister.java:554)
	at org.hibernate.persister.collection.OneToManyPersister.<init>(OneToManyPersister.java:69)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.hibernate.persister.internal.PersisterFactoryImpl.createCollectionPersister(PersisterFactoryImpl.java:152)
	... 13 more
Caused by: java.lang.ClassCastException: antlr.CommonToken cannot be cast to antlr.Token
	at antlr.CharScanner.makeToken(CharScanner.java:173)
	at org.hibernate.sql.ordering.antlr.GeneratedOrderByLexer.mIDENT(GeneratedOrderByLexer.java:239)
	at org.hibernate.sql.ordering.antlr.GeneratedOrderByLexer.nextToken(GeneratedOrderByLexer.java:139)
	at antlr.TokenBuffer.fill(TokenBuffer.java:69)
	at antlr.TokenBuffer.LA(TokenBuffer.java:80)
	at antlr.LLkParser.LA(LLkParser.java:52)
	at org.hibernate.sql.ordering.antlr.GeneratedOrderByFragmentParser.expression(GeneratedOrderByFragmentParser.java:565)
	at org.hibernate.sql.ordering.antlr.GeneratedOrderByFragmentParser.sortKey(GeneratedOrderByFragmentParser.java:346)
	at org.hibernate.sql.ordering.antlr.GeneratedOrderByFragmentParser.sortSpecification(GeneratedOrderByFragmentParser.java:241)
	at org.hibernate.sql.ordering.antlr.GeneratedOrderByFragmentParser.orderByFragment(GeneratedOrderByFragmentParser.java:190)
	at org.hibernate.sql.ordering.antlr.OrderByFragmentTranslator.translate(OrderByFragmentTranslator.java:46)
	... 21 more

2018-02-12 00:16:41,572 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "financeiro-0.0.1-SNAPSHOT.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.persistenceunit.\"financeiro-0.0.1-SNAPSHOT.war#financeiro\"" => "javax.persistence.PersistenceException: [PersistenceUnit: financeiro] Unable to build Hibernate SessionFactory
    Caused by: javax.persistence.PersistenceException: [PersistenceUnit: financeiro] Unable to build Hibernate SessionFactory
    Caused by: org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.collection.OneToManyPersister
    Caused by: org.hibernate.HibernateException: Unable to parse order-by fragment
    Caused by: java.lang.ClassCastException: antlr.CommonToken cannot be cast to antlr.Token"}}
2018-02-12 00:16:41,579 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "ProjTeste.war" (runtime-name : "ProjTeste.war")
2018-02-12 00:16:41,579 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "financeiro-0.0.1-SNAPSHOT.war" (runtime-name : "financeiro-0.0.1-SNAPSHOT.war")
2018-02-12 00:16:41,580 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0186:   Services which failed to start:      service jboss.persistenceunit."financeiro-0.0.1-SNAPSHOT.war#financeiro": javax.persistence.PersistenceException: [PersistenceUnit: financeiro] Unable to build Hibernate SessionFactory

2018-02-12 00:16:41,619 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
2018-02-12 00:16:41,622 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
2018-02-12 00:16:41,622 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
2018-02-12 00:16:41,622 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 11.0.0.Final (WildFly Core 3.0.8.Final) started (with errors) in 4953ms - Started 679 of 1053 services (146 services failed or missing dependencies, 360 services are lazy, passive or on-demand)
2018-02-12 00:27:40,553 INFO  [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested via an OS signal
2018-02-12 00:27:40,591 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 65) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'financeiro-0.0.1-SNAPSHOT.war#financeiro'
2018-02-12 00:27:40,597 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 69) WFLYUT0022: Unregistered web context: '/ProjTeste' from server 'default-server'
2018-02-12 00:27:40,630 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
2018-02-12 00:27:40,639 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 70) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'ProjTeste.war#ProjTeste'
2018-02-12 00:27:40,639 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0019: Host default-host stopping
2018-02-12 00:27:40,640 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 70) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'ProjTeste.war#ProjTeste'
2018-02-12 00:27:40,642 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) WFLYJCA0010: Unbound data source [java:jboss/datasources/FinanceiroDB]
2018-02-12 00:27:40,643 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) WFLYJCA0019: Stopped Driver service with driver-name = h2
2018-02-12 00:27:40,644 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) WFLYJCA0019: Stopped Driver service with driver-name = mysql
2018-02-12 00:27:40,650 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 70) WFLYCLINF0003: Stopped client-mappings cache from ejb container
2018-02-12 00:27:40,659 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0028: Stopped deployment ProjTeste.war (runtime-name: ProjTeste.war) in 100ms
2018-02-12 00:27:40,666 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0008: Undertow HTTPS listener https suspending
2018-02-12 00:27:40,667 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to 127.0.0.1:8443
2018-02-12 00:27:40,667 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0008: Undertow HTTP listener default suspending
2018-02-12 00:27:40,668 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:8080
2018-02-12 00:27:40,668 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0004: Undertow 1.4.18.Final stopping
2018-02-12 00:27:40,674 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment financeiro-0.0.1-SNAPSHOT.war (runtime-name: financeiro-0.0.1-SNAPSHOT.war) in 114ms
2018-02-12 00:27:40,682 INFO  [org.jboss.as] (MSC service thread 1-4) WFLYSRV0050: WildFly Full 11.0.0.Final (WildFly Core 3.0.8.Final) stopped in 114ms

A insistência em pedir o log se deve a coisas como estas acima.

Aqui tem uma thread sobre algo parecido. Dá uma olhada.

Amigo Darlan, eu sei a importância de um log, apenas estava em dúvida sobre a melhor forma de enviá-lo sem causar aqui no fórum. Eu vou dar uma olhada no post do stackoverflow e retorno.

Muito obrigado pela ajuda !

Darlan, eu dei uma olhada lá no tópico, mas eu acho que o problema não é o mesmo.

Em um video do Willian Suane (DevDojo), ele falou alguma coisa sobre uma incompatibilidade entre versões Hibernate no WildFly. Para voce ter uma ideia, eu apenas modifiquei no POM a dependencia Hibernate para “provided” e você verá que os erros não aparecem. Eu estou achando que os problemas estão nas “criterias” . Quando coloco versão Hibernate 5.1.10-Final no POM, para ficar dentro das especificações do WildFly, todos as DAOs com criterias apresentam warnings.

De qualquer forma, segue um novo log, com o hibernate no POM em provided.

2018-02-12 14:30:19,049 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final
2018-02-12 14:30:19,275 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1
2018-02-12 14:30:19,378 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full 11.0.0.Final (WildFly Core 3.0.8.Final) starting
2018-02-12 14:30:19,379 DEBUG [org.jboss.as.config] (MSC service thread 1-7) Configured system properties:
	awt.toolkit = sun.awt.X11.XToolkit
	file.encoding = ISO-8859-1
	file.encoding.pkg = sun.io
	file.separator = /
	java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
	java.awt.headless = true
	java.awt.printerjob = sun.print.PSPrinterJob
	java.class.path = /home/mingus/wildfly-11.0.0.Final/jboss-modules.jar:/usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar
	java.class.version = 52.0
	java.endorsed.dirs = /usr/lib/jvm/java-8-oracle/jre/lib/endorsed
	java.ext.dirs = /usr/lib/jvm/java-8-oracle/jre/lib/ext:/usr/java/packages/lib/ext
	java.home = /usr/lib/jvm/java-8-oracle/jre
	java.io.tmpdir = /tmp
	java.library.path = /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
	java.net.preferIPv4Stack = true
	java.runtime.name = Java(TM) SE Runtime Environment
	java.runtime.version = 1.8.0_161-b12
	java.specification.name = Java Platform API Specification
	java.specification.vendor = Oracle Corporation
	java.specification.version = 1.8
	java.util.logging.manager = org.jboss.logmanager.LogManager
	java.vendor = Oracle Corporation
	java.vendor.url = http://java.oracle.com/
	java.vendor.url.bug = http://bugreport.sun.com/bugreport/
	java.version = 1.8.0_161
	java.vm.info = mixed mode
	java.vm.name = Java HotSpot(TM) 64-Bit Server VM
	java.vm.specification.name = Java Virtual Machine Specification
	java.vm.specification.vendor = Oracle Corporation
	java.vm.specification.version = 1.8
	java.vm.vendor = Oracle Corporation
	java.vm.version = 25.161-b12
	javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder
	javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory
	javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory
	javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory
	javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory
	javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory
	javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory
	javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory
	javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory
	javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory
	jboss.bind.address = localhost
	jboss.bind.address.management = localhost
	jboss.home.dir = /home/mingus/wildfly-11.0.0.Final
	jboss.host.name = mingus-pc
	jboss.modules.dir = /home/mingus/wildfly-11.0.0.Final/modules
	jboss.modules.system.pkgs = org.jboss.byteman
	jboss.node.name = mingus-pc
	jboss.qualified.host.name = mingus-pc
	jboss.server.base.dir = /home/mingus/wildfly-11.0.0.Final/standalone
	jboss.server.config.dir = /home/mingus/wildfly-11.0.0.Final/standalone/configuration
	jboss.server.data.dir = /home/mingus/wildfly-11.0.0.Final/standalone/data
	jboss.server.deploy.dir = /home/mingus/wildfly-11.0.0.Final/standalone/data/content
	jboss.server.log.dir = /home/mingus/wildfly-11.0.0.Final/standalone/log
	jboss.server.name = mingus-pc
	jboss.server.persist.config = true
	jboss.server.temp.dir = /home/mingus/wildfly-11.0.0.Final/standalone/tmp
	line.separator = 

	logging.configuration = file:/home/mingus/wildfly-11.0.0.Final/standalone/configuration/logging.properties
	module.path = /home/mingus/wildfly-11.0.0.Final/modules
	org.jboss.boot.log.file = /home/mingus/wildfly-11.0.0.Final/standalone/log/boot.log
	org.jboss.logmanager.nocolor = true
	org.jboss.resolver.warning = true
	org.xml.sax.driver = __redirected.__XMLReaderFactory
	os.arch = amd64
	os.name = Linux
	os.version = 4.13.0-32-generic
	path.separator = :
	program.name = JBossTools: WildFly 11
	sun.arch.data.model = 64
	sun.boot.class.path = /usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-8-oracle/jre/classes
	sun.boot.library.path = /usr/lib/jvm/java-8-oracle/jre/lib/amd64
	sun.cpu.endian = little
	sun.cpu.isalist = 
	sun.io.unicode.encoding = UnicodeLittle
	sun.java.command = org.jboss.modules.Main -mp /home/mingus/wildfly-11.0.0.Final/modules org.jboss.as.standalone -b localhost --server-config=standalone.xml -Djboss.server.base.dir=/home/mingus/wildfly-11.0.0.Final/standalone
	sun.java.launcher = SUN_STANDARD
	sun.jnu.encoding = UTF-8
	sun.management.compiler = HotSpot 64-Bit Tiered Compilers
	sun.os.patch.level = unknown
	sun.rmi.dgc.client.gcInterval = 3600000
	sun.rmi.dgc.server.gcInterval = 3600000
	user.country = BR
	user.dir = /home/mingus/wildfly-11.0.0.Final/bin
	user.home = /home/mingus
	user.language = pt
	user.name = mingus
	user.timezone = America/Sao_Paulo
2018-02-12 14:30:19,379 DEBUG [org.jboss.as.config] (MSC service thread 1-7) VM Arguments: -Dprogram.name=JBossTools: WildFly 11 -Xms64m -Xmx512m -Dorg.jboss.resolver.warning=true -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Dorg.jboss.boot.log.file=/home/mingus/wildfly-11.0.0.Final/standalone/log/boot.log -Dlogging.configuration=file:/home/mingus/wildfly-11.0.0.Final/standalone/configuration/logging.properties -Djboss.home.dir=/home/mingus/wildfly-11.0.0.Final -Dorg.jboss.logmanager.nocolor=true -Djboss.bind.address.management=localhost -Dfile.encoding=ISO-8859-1 
2018-02-12 14:30:20,279 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 future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
2018-02-12 14:30:20,297 INFO  [org.wildfly.security] (ServerService Thread Pool -- 19) ELY00001: WildFly Elytron version 1.1.6.Final
2018-02-12 14:30:20,315 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 29) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
2018-02-12 14:30:20,330 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found financeiro-0.0.1-SNAPSHOT.war in deployment directory. To trigger deployment create a file called financeiro-0.0.1-SNAPSHOT.war.dodeploy
2018-02-12 14:30:20,331 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found ProjTeste.war in deployment directory. To trigger deployment create a file called ProjTeste.war.dodeploy
2018-02-12 14:30:20,380 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
2018-02-12 14:30:20,395 INFO  [org.xnio] (MSC service thread 1-3) XNIO version 3.5.4.Final
2018-02-12 14:30:20,402 INFO  [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.5.4.Final
2018-02-12 14:30:20,419 INFO  [org.jboss.as.jaxrs] (ServerService Thread Pool -- 43) WFLYRS0016: RESTEasy version 3.0.24.Final
2018-02-12 14:30:20,422 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 42) WFLYCLINF0001: Activating Infinispan subsystem.
2018-02-12 14:30:20,427 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 48) WFLYJSF0007: Activated the following JSF Implementations: [main]
2018-02-12 14:30:20,428 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 50) WFLYNAM0001: Activating Naming Subsystem
2018-02-12 14:30:20,432 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 41) WFLYIO001: Worker 'default' has auto-configured to 16 core threads with 128 task threads based on your 8 available processors
2018-02-12 14:30:20,444 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 58) 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.
2018-02-12 14:30:20,449 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 60) WFLYWS0002: Activating WebServices Extension
2018-02-12 14:30:20,456 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 57) WFLYSEC0002: Activating Security Subsystem
2018-02-12 14:30:20,469 INFO  [org.jboss.as.security] (MSC service thread 1-8) WFLYSEC0001: Current PicketBox version=5.0.2.Final
2018-02-12 14:30:20,476 INFO  [org.jboss.as.connector] (MSC service thread 1-5) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.6.Final)
2018-02-12 14:30:20,492 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0003: Undertow 1.4.18.Final starting
2018-02-12 14:30:20,504 INFO  [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service
2018-02-12 14:30:20,505 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-5) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
2018-02-12 14:30:20,513 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 36) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
2018-02-12 14:30:20,514 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = mysql
2018-02-12 14:30:20,519 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 36) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
2018-02-12 14:30:20,520 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0018: Started Driver service with driver-name = h2
2018-02-12 14:30:20,529 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 5.0.5.Final
2018-02-12 14:30:20,622 INFO  [org.jboss.as.ejb3] (MSC service thread 1-8) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 32 (per class), which is derived from the number of CPUs on this host.
2018-02-12 14:30:20,622 INFO  [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 128 (per class), which is derived from thread worker pool sizing.
2018-02-12 14:30:20,659 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 59) WFLYUT0014: Creating file handler for path '/home/mingus/wildfly-11.0.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
2018-02-12 14:30:20,679 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0012: Started server default-server.
2018-02-12 14:30:20,686 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0018: Host default-host starting
2018-02-12 14:30:20,749 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
2018-02-12 14:30:20,776 INFO  [org.jboss.as.ejb3] (MSC service thread 1-4) WFLYEJB0493: EJB subsystem suspension complete
2018-02-12 14:30:20,835 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
2018-02-12 14:30:20,835 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:jboss/datasources/FinanceiroDB]
2018-02-12 14:30:20,877 INFO  [org.jboss.as.patching] (MSC service thread 1-4) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
2018-02-12 14:30:20,988 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-1) WFLYDM0111: Keystore /home/mingus/wildfly-11.0.0.Final/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
2018-02-12 14:30:20,991 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-5) WFLYDS0013: Started FileSystemDeploymentService for directory /home/mingus/wildfly-11.0.0.Final/standalone/deployments
2018-02-12 14:30:20,997 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "ProjTeste.war" (runtime-name: "ProjTeste.war")
2018-02-12 14:30:20,998 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "financeiro-0.0.1-SNAPSHOT.war" (runtime-name: "financeiro-0.0.1-SNAPSHOT.war")
2018-02-12 14:30:21,119 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
2018-02-12 14:30:21,178 INFO  [org.jboss.ws.common.management] (MSC service thread 1-2) JBWS022052: Starting JBossWS 5.1.9.Final (Apache CXF 3.1.12) 
2018-02-12 14:30:21,387 INFO  [org.jboss.as.jpa] (MSC service thread 1-8) WFLYJPA0002: Read persistence.xml for ProjTeste
2018-02-12 14:30:21,443 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 62) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'ProjTeste.war#ProjTeste'
2018-02-12 14:30:21,464 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 62) HHH000204: Processing PersistenceUnitInfo [
	name: ProjTeste
	...]
2018-02-12 14:30:21,549 INFO  [org.hibernate.Version] (ServerService Thread Pool -- 62) HHH000412: Hibernate Core {5.1.10.Final}
2018-02-12 14:30:21,567 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 62) HHH000206: hibernate.properties not found
2018-02-12 14:30:21,574 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 62) HHH000021: Bytecode provider name : javassist
2018-02-12 14:30:21,606 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 62) HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2018-02-12 14:30:21,676 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-6) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.8.Final
2018-02-12 14:30:21,684 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 62) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'ProjTeste.war#ProjTeste'
2018-02-12 14:30:21,921 ERROR [stderr] (ServerService Thread Pool -- 62) Mon Feb 12 14:30:21 BRST 2018 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
2018-02-12 14:30:21,993 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 63) WFLYCLINF0002: Started client-mappings cache from ejb container
2018-02-12 14:30:22,094 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) WFLYJPA0002: Read persistence.xml for financeiro
2018-02-12 14:30:22,095 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 62) HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
2018-02-12 14:30:22,145 INFO  [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 62) Envers integration enabled? : true
2018-02-12 14:30:22,171 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 63) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'financeiro-0.0.1-SNAPSHOT.war#financeiro'
2018-02-12 14:30:22,171 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 63) HHH000204: Processing PersistenceUnitInfo [
	name: financeiro
	...]
2018-02-12 14:30:22,255 INFO  [org.jboss.weld.deployer] (MSC service thread 1-8) WFLYWELD0003: Processing weld deployment financeiro-0.0.1-SNAPSHOT.war
2018-02-12 14:30:22,285 INFO  [org.hibernate.validator.internal.util.Version] (MSC service thread 1-8) HV000001: Hibernate Validator 5.3.5.Final
2018-02-12 14:30:22,573 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 62) Inicializando Mojarra 2.2.13.SP4  para o contexto '/ProjTeste'
2018-02-12 14:30:22,609 INFO  [org.jboss.weld.Version] (MSC service thread 1-2) WELD-000900: 2.4.3 (Final)
2018-02-12 14:30:22,777 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 65) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'financeiro-0.0.1-SNAPSHOT.war#financeiro'
2018-02-12 14:30:23,037 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 65) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2018-02-12 14:30:23,038 WARN  [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 65) HHH000431: Unable to determine H2 database version, certain features may not work
2018-02-12 14:30:23,075 INFO  [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 65) Envers integration enabled? : true
2018-02-12 14:30:23,132 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 62) WFLYUT0021: Registered web context: '/ProjTeste' for server 'default-server'
2018-02-12 14:30:23,701 INFO  [io.undertow.servlet] (ServerService Thread Pool -- 65) No Spring WebApplicationInitializer types detected on classpath
2018-02-12 14:30:23,707 INFO  [io.undertow.servlet] (ServerService Thread Pool -- 65) Initializing Spring root WebApplicationContext
2018-02-12 14:30:23,707 INFO  [org.springframework.web.context.ContextLoader] (ServerService Thread Pool -- 65) Root WebApplicationContext: initialization started
2018-02-12 14:30:23,742 INFO  [org.springframework.web.context.support.XmlWebApplicationContext] (ServerService Thread Pool -- 65) Refreshing Root WebApplicationContext: startup date [Mon Feb 12 14:30:23 BRST 2018]; root of context hierarchy
2018-02-12 14:30:23,763 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (ServerService Thread Pool -- 65) Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
2018-02-12 14:30:23,878 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (ServerService Thread Pool -- 65) Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-security.xml]
2018-02-12 14:30:23,913 INFO  [org.springframework.security.core.SpringSecurityCoreVersion] (ServerService Thread Pool -- 65) You are running with Spring Security Core 4.2.3.RELEASE
2018-02-12 14:30:23,915 INFO  [org.springframework.security.config.SecurityNamespaceHandler] (ServerService Thread Pool -- 65) Spring Security 'config' module version is 4.2.3.RELEASE
2018-02-12 14:30:23,948 INFO  [org.springframework.security.config.http.HttpSecurityBeanDefinitionParser] (ServerService Thread Pool -- 65) Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, Root bean: class [org.springframework.security.web.header.HeaderWriterFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 500, Root bean: class [org.springframework.security.web.authentication.logout.LogoutFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 800, <org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0>, order = 1200, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1600, Root bean: class [org.springframework.security.web.savedrequest.RequestCacheAwareFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1700, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; destroyMethodName=null, order = 1800, Root bean: class [org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2100, Root bean: class [org.springframework.security.web.session.SessionManagementFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2200, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2400]
2018-02-12 14:30:24,034 INFO  [org.springframework.security.provisioning.JdbcUserDetailsManager] (ServerService Thread Pool -- 65) No authentication manager set. Reauthentication of users when changing passwords will not be performed.
2018-02-12 14:30:24,034 INFO  [org.springframework.security.provisioning.JdbcUserDetailsManager] (ServerService Thread Pool -- 65) No authentication manager set. Reauthentication of users when changing passwords will not be performed.
2018-02-12 14:30:24,105 INFO  [org.springframework.security.web.DefaultSecurityFilterChain] (ServerService Thread Pool -- 65) Creating filter chain: org.springframework.security.web.util.matcher.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@7f5e261c, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@18d10396, org.springframework.security.web.header.HeaderWriterFilter@6d2e51e1, org.springframework.security.web.authentication.logout.LogoutFilter@1e5cae4d, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@10bc055c, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@e1696e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@1f5f91ca, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@648a7aaa, org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter@146c1582, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@1fcdb478, org.springframework.security.web.session.SessionManagementFilter@7cffb78a, org.springframework.security.web.access.ExceptionTranslationFilter@4b17cd95, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@3f231170]
2018-02-12 14:30:24,113 INFO  [org.springframework.security.config.http.DefaultFilterChainValidator] (ServerService Thread Pool -- 65) Checking whether login URL '/publico/login.jsf' is accessible with your configuration
2018-02-12 14:30:24,122 INFO  [org.springframework.web.context.ContextLoader] (ServerService Thread Pool -- 65) Root WebApplicationContext: initialization completed in 415 ms
2018-02-12 14:30:24,123 WARNING [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 65) JSF1022: [Development] Valor inválido 'javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE' para a opção de configuração 'true|false'.  Os valores válidos são 'true|false'.  Falha ao redefinir para o padrão de 'false'.
2018-02-12 14:30:24,124 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 65) Inicializando Mojarra 2.2.13.SP4  para o contexto '/financeiro-0.0.1-SNAPSHOT'
2018-02-12 14:30:24,950 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 65) Monitoring file:/home/mingus/wildfly-11.0.0.Final/standalone/deployments/financeiro-0.0.1-SNAPSHOT.war/WEB-INF/faces-config.xml for modifications
2018-02-12 14:30:24,961 INFO  [org.primefaces.webapp.PostConstructApplicationEventListener] (ServerService Thread Pool -- 65) Running on PrimeFaces 6.1
2018-02-12 14:30:24,965 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 65) WFLYUT0021: Registered web context: '/financeiro-0.0.1-SNAPSHOT' for server 'default-server'
2018-02-12 14:30:24,972 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "ProjTeste.war" (runtime-name : "ProjTeste.war")
2018-02-12 14:30:24,973 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "financeiro-0.0.1-SNAPSHOT.war" (runtime-name : "financeiro-0.0.1-SNAPSHOT.war")
2018-02-12 14:30:25,014 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
2018-02-12 14:30:25,017 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
2018-02-12 14:30:25,017 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
2018-02-12 14:30:25,017 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 11.0.0.Final (WildFly Core 3.0.8.Final) started in 6229ms - Started 826 of 1053 services (360 services are lazy, passive or on-demand)

Creio, também, que seja a questão da versão do hibernate. O problema é identificar quais são os recursos da versão que você precisa usar, para adequar em teu código.

1 curtida

Com as dependências em provided, qual erro acontece?

Ola Lucas ! Fiz algumas alterações no “standalone.xml” , retirando uma chamada para o H2 e pouca coisa agora tem erro. Segue o log mais atual.

2018-02-12 17:58:10,027 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final
2018-02-12 17:58:10,318 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1
2018-02-12 17:58:10,430 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full 11.0.0.Final (WildFly Core 3.0.8.Final) starting
2018-02-12 17:58:10,431 DEBUG [org.jboss.as.config] (MSC service thread 1-7) Configured system properties:
	awt.toolkit = sun.awt.X11.XToolkit
	file.encoding = ISO-8859-1
	file.encoding.pkg = sun.io
	file.separator = /
	java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
	java.awt.headless = true
	java.awt.printerjob = sun.print.PSPrinterJob
	java.class.path = /home/mingus/wildfly-11.0.0.Final/jboss-modules.jar:/usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar
	java.class.version = 52.0
	java.endorsed.dirs = /usr/lib/jvm/java-8-oracle/jre/lib/endorsed
	java.ext.dirs = /usr/lib/jvm/java-8-oracle/jre/lib/ext:/usr/java/packages/lib/ext
	java.home = /usr/lib/jvm/java-8-oracle/jre
	java.io.tmpdir = /tmp
	java.library.path = /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
	java.net.preferIPv4Stack = true
	java.runtime.name = Java(TM) SE Runtime Environment
	java.runtime.version = 1.8.0_161-b12
	java.specification.name = Java Platform API Specification
	java.specification.vendor = Oracle Corporation
	java.specification.version = 1.8
	java.util.logging.manager = org.jboss.logmanager.LogManager
	java.vendor = Oracle Corporation
	java.vendor.url = http://java.oracle.com/
	java.vendor.url.bug = http://bugreport.sun.com/bugreport/
	java.version = 1.8.0_161
	java.vm.info = mixed mode
	java.vm.name = Java HotSpot(TM) 64-Bit Server VM
	java.vm.specification.name = Java Virtual Machine Specification
	java.vm.specification.vendor = Oracle Corporation
	java.vm.specification.version = 1.8
	java.vm.vendor = Oracle Corporation
	java.vm.version = 25.161-b12
	javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder
	javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory
	javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory
	javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory
	javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory
	javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory
	javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory
	javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory
	javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory
	javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory
	jboss.bind.address = localhost
	jboss.bind.address.management = localhost
	jboss.home.dir = /home/mingus/wildfly-11.0.0.Final
	jboss.host.name = mingus-pc
	jboss.modules.dir = /home/mingus/wildfly-11.0.0.Final/modules
	jboss.modules.system.pkgs = org.jboss.byteman
	jboss.node.name = mingus-pc
	jboss.qualified.host.name = mingus-pc
	jboss.server.base.dir = /home/mingus/wildfly-11.0.0.Final/standalone
	jboss.server.config.dir = /home/mingus/wildfly-11.0.0.Final/standalone/configuration
	jboss.server.data.dir = /home/mingus/wildfly-11.0.0.Final/standalone/data
	jboss.server.deploy.dir = /home/mingus/wildfly-11.0.0.Final/standalone/data/content
	jboss.server.log.dir = /home/mingus/wildfly-11.0.0.Final/standalone/log
	jboss.server.name = mingus-pc
	jboss.server.persist.config = true
	jboss.server.temp.dir = /home/mingus/wildfly-11.0.0.Final/standalone/tmp
	line.separator = 

	logging.configuration = file:/home/mingus/wildfly-11.0.0.Final/standalone/configuration/logging.properties
	module.path = /home/mingus/wildfly-11.0.0.Final/modules
	org.jboss.boot.log.file = /home/mingus/wildfly-11.0.0.Final/standalone/log/boot.log
	org.jboss.logmanager.nocolor = true
	org.jboss.resolver.warning = true
	org.xml.sax.driver = __redirected.__XMLReaderFactory
	os.arch = amd64
	os.name = Linux
	os.version = 4.13.0-32-generic
	path.separator = :
	program.name = JBossTools: WildFly 11
	sun.arch.data.model = 64
	sun.boot.class.path = /usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-8-oracle/jre/classes
	sun.boot.library.path = /usr/lib/jvm/java-8-oracle/jre/lib/amd64
	sun.cpu.endian = little
	sun.cpu.isalist = 
	sun.io.unicode.encoding = UnicodeLittle
	sun.java.command = org.jboss.modules.Main -mp /home/mingus/wildfly-11.0.0.Final/modules org.jboss.as.standalone -b localhost --server-config=standalone.xml -Djboss.server.base.dir=/home/mingus/wildfly-11.0.0.Final/standalone
	sun.java.launcher = SUN_STANDARD
	sun.jnu.encoding = UTF-8
	sun.management.compiler = HotSpot 64-Bit Tiered Compilers
	sun.os.patch.level = unknown
	sun.rmi.dgc.client.gcInterval = 3600000
	sun.rmi.dgc.server.gcInterval = 3600000
	user.country = BR
	user.dir = /home/mingus/wildfly-11.0.0.Final/bin
	user.home = /home/mingus
	user.language = pt
	user.name = mingus
	user.timezone = America/Sao_Paulo
2018-02-12 17:58:10,431 DEBUG [org.jboss.as.config] (MSC service thread 1-7) VM Arguments: -Dprogram.name=JBossTools: WildFly 11 -Xms64m -Xmx512m -Dorg.jboss.resolver.warning=true -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Dorg.jboss.boot.log.file=/home/mingus/wildfly-11.0.0.Final/standalone/log/boot.log -Dlogging.configuration=file:/home/mingus/wildfly-11.0.0.Final/standalone/configuration/logging.properties -Djboss.home.dir=/home/mingus/wildfly-11.0.0.Final -Dorg.jboss.logmanager.nocolor=true -Djboss.bind.address.management=localhost -Dfile.encoding=ISO-8859-1 
2018-02-12 17:58:11,443 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 future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
2018-02-12 17:58:11,458 INFO  [org.wildfly.security] (ServerService Thread Pool -- 23) ELY00001: WildFly Elytron version 1.1.6.Final
2018-02-12 17:58:11,481 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found financeiro-0.0.1-SNAPSHOT.war in deployment directory. To trigger deployment create a file called financeiro-0.0.1-SNAPSHOT.war.dodeploy
2018-02-12 17:58:11,481 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found ProjTeste.war in deployment directory. To trigger deployment create a file called ProjTeste.war.dodeploy
2018-02-12 17:58:11,482 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 9) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
2018-02-12 17:58:11,535 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
2018-02-12 17:58:11,550 INFO  [org.xnio] (MSC service thread 1-7) XNIO version 3.5.4.Final
2018-02-12 17:58:11,556 INFO  [org.xnio.nio] (MSC service thread 1-7) XNIO NIO Implementation Version 3.5.4.Final
2018-02-12 17:58:11,583 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 41) WFLYIO001: Worker 'default' has auto-configured to 16 core threads with 128 task threads based on your 8 available processors
2018-02-12 17:58:11,584 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 42) WFLYCLINF0001: Activating Infinispan subsystem.
2018-02-12 17:58:11,584 INFO  [org.jboss.as.jaxrs] (ServerService Thread Pool -- 43) WFLYRS0016: RESTEasy version 3.0.24.Final
2018-02-12 17:58:11,591 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 58) 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.
2018-02-12 17:58:11,603 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 48) WFLYJSF0007: Activated the following JSF Implementations: [main]
2018-02-12 17:58:11,607 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 60) WFLYWS0002: Activating WebServices Extension
2018-02-12 17:58:11,609 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 50) WFLYNAM0001: Activating Naming Subsystem
2018-02-12 17:58:11,613 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 57) WFLYSEC0002: Activating Security Subsystem
2018-02-12 17:58:11,629 INFO  [org.jboss.as.security] (MSC service thread 1-3) WFLYSEC0001: Current PicketBox version=5.0.2.Final
2018-02-12 17:58:11,648 INFO  [org.jboss.as.connector] (MSC service thread 1-8) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.6.Final)
2018-02-12 17:58:11,651 INFO  [org.jboss.remoting] (MSC service thread 1-6) JBoss Remoting version 5.0.5.Final
2018-02-12 17:58:11,660 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 36) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
2018-02-12 17:58:11,662 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = mysql
2018-02-12 17:58:11,664 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-7) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
2018-02-12 17:58:11,664 INFO  [org.jboss.as.naming] (MSC service thread 1-1) WFLYNAM0003: Starting Naming Service
2018-02-12 17:58:11,684 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0003: Undertow 1.4.18.Final starting
2018-02-12 17:58:11,781 INFO  [org.jboss.as.ejb3] (MSC service thread 1-7) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 32 (per class), which is derived from the number of CPUs on this host.
2018-02-12 17:58:11,781 INFO  [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 128 (per class), which is derived from thread worker pool sizing.
2018-02-12 17:58:11,837 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 59) WFLYUT0014: Creating file handler for path '/home/mingus/wildfly-11.0.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
2018-02-12 17:58:11,841 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0012: Started server default-server.
2018-02-12 17:58:11,848 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0018: Host default-host starting
2018-02-12 17:58:11,894 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
2018-02-12 17:58:11,906 INFO  [org.jboss.as.ejb3] (MSC service thread 1-8) WFLYEJB0493: EJB subsystem suspension complete
2018-02-12 17:58:11,990 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:jboss/datasources/FinanceiroDB]
2018-02-12 17:58:12,108 INFO  [org.jboss.as.patching] (MSC service thread 1-8) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
2018-02-12 17:58:12,121 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-7) WFLYDM0111: Keystore /home/mingus/wildfly-11.0.0.Final/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
2018-02-12 17:58:12,126 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-6) WFLYDS0013: Started FileSystemDeploymentService for directory /home/mingus/wildfly-11.0.0.Final/standalone/deployments
2018-02-12 17:58:12,132 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0027: Starting deployment of "ProjTeste.war" (runtime-name: "ProjTeste.war")
2018-02-12 17:58:12,137 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "financeiro-0.0.1-SNAPSHOT.war" (runtime-name: "financeiro-0.0.1-SNAPSHOT.war")
2018-02-12 17:58:12,235 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
2018-02-12 17:58:12,278 INFO  [org.jboss.ws.common.management] (MSC service thread 1-6) JBWS022052: Starting JBossWS 5.1.9.Final (Apache CXF 3.1.12) 
2018-02-12 17:58:12,448 INFO  [org.jboss.as.jpa] (MSC service thread 1-3) WFLYJPA0002: Read persistence.xml for ProjTeste
2018-02-12 17:58:12,489 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 62) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'ProjTeste.war#ProjTeste'
2018-02-12 17:58:12,511 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 62) HHH000204: Processing PersistenceUnitInfo [
	name: ProjTeste
	...]
2018-02-12 17:58:12,627 INFO  [org.hibernate.Version] (ServerService Thread Pool -- 62) HHH000412: Hibernate Core {5.1.10.Final}
2018-02-12 17:58:12,629 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 62) HHH000206: hibernate.properties not found
2018-02-12 17:58:12,633 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 62) HHH000021: Bytecode provider name : javassist
2018-02-12 17:58:12,687 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 62) HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2018-02-12 17:58:12,778 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-4) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.8.Final
2018-02-12 17:58:12,910 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 63) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'ProjTeste.war#ProjTeste'
2018-02-12 17:58:13,136 ERROR [stderr] (ServerService Thread Pool -- 63) Mon Feb 12 17:58:13 BRST 2018 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
2018-02-12 17:58:13,215 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 62) WFLYCLINF0002: Started client-mappings cache from ejb container
2018-02-12 17:58:13,351 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 63) HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
2018-02-12 17:58:13,396 INFO  [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 63) Envers integration enabled? : true
2018-02-12 17:58:13,545 INFO  [org.jboss.as.jpa] (MSC service thread 1-3) WFLYJPA0002: Read persistence.xml for financeiro
2018-02-12 17:58:13,630 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 64) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'financeiro-0.0.1-SNAPSHOT.war#financeiro'
2018-02-12 17:58:13,631 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 64) HHH000204: Processing PersistenceUnitInfo [
	name: financeiro
	...]
2018-02-12 17:58:13,689 INFO  [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 63) HV000001: Hibernate Validator 5.3.5.Final
2018-02-12 17:58:13,712 INFO  [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0003: Processing weld deployment financeiro-0.0.1-SNAPSHOT.war
2018-02-12 17:58:14,060 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 65) Inicializando Mojarra 2.2.13.SP4  para o contexto '/ProjTeste'
2018-02-12 17:58:14,067 INFO  [org.jboss.weld.Version] (MSC service thread 1-4) WELD-000900: 2.4.3 (Final)
2018-02-12 17:58:14,208 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 67) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'financeiro-0.0.1-SNAPSHOT.war#financeiro'
2018-02-12 17:58:14,209 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 67) HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
2018-02-12 17:58:14,217 INFO  [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 67) Envers integration enabled? : true
2018-02-12 17:58:14,603 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 65) WFLYUT0021: Registered web context: '/ProjTeste' for server 'default-server'
2018-02-12 17:58:14,961 INFO  [io.undertow.servlet] (ServerService Thread Pool -- 68) No Spring WebApplicationInitializer types detected on classpath
2018-02-12 17:58:14,966 INFO  [io.undertow.servlet] (ServerService Thread Pool -- 68) Initializing Spring root WebApplicationContext
2018-02-12 17:58:14,967 INFO  [org.springframework.web.context.ContextLoader] (ServerService Thread Pool -- 68) Root WebApplicationContext: initialization started
2018-02-12 17:58:14,993 INFO  [org.springframework.web.context.support.XmlWebApplicationContext] (ServerService Thread Pool -- 68) Refreshing Root WebApplicationContext: startup date [Mon Feb 12 17:58:14 BRST 2018]; root of context hierarchy
2018-02-12 17:58:15,017 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (ServerService Thread Pool -- 68) Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
2018-02-12 17:58:15,145 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (ServerService Thread Pool -- 68) Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-security.xml]
2018-02-12 17:58:15,179 INFO  [org.springframework.security.core.SpringSecurityCoreVersion] (ServerService Thread Pool -- 68) You are running with Spring Security Core 4.2.3.RELEASE
2018-02-12 17:58:15,181 INFO  [org.springframework.security.config.SecurityNamespaceHandler] (ServerService Thread Pool -- 68) Spring Security 'config' module version is 4.2.3.RELEASE
2018-02-12 17:58:15,212 INFO  [org.springframework.security.config.http.HttpSecurityBeanDefinitionParser] (ServerService Thread Pool -- 68) Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, Root bean: class [org.springframework.security.web.header.HeaderWriterFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 500, Root bean: class [org.springframework.security.web.authentication.logout.LogoutFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 800, <org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0>, order = 1200, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1600, Root bean: class [org.springframework.security.web.savedrequest.RequestCacheAwareFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1700, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; destroyMethodName=null, order = 1800, Root bean: class [org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2100, Root bean: class [org.springframework.security.web.session.SessionManagementFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2200, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2400]
2018-02-12 17:58:15,300 INFO  [org.springframework.security.provisioning.JdbcUserDetailsManager] (ServerService Thread Pool -- 68) No authentication manager set. Reauthentication of users when changing passwords will not be performed.
2018-02-12 17:58:15,300 INFO  [org.springframework.security.provisioning.JdbcUserDetailsManager] (ServerService Thread Pool -- 68) No authentication manager set. Reauthentication of users when changing passwords will not be performed.
2018-02-12 17:58:15,359 INFO  [org.springframework.security.web.DefaultSecurityFilterChain] (ServerService Thread Pool -- 68) Creating filter chain: org.springframework.security.web.util.matcher.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@6aa6cf26, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1b0212b6, org.springframework.security.web.header.HeaderWriterFilter@2cb332ae, org.springframework.security.web.authentication.logout.LogoutFilter@1393cfe8, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@4f90ed43, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@440cc1a5, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@711fbdc8, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@7c7ec08c, org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter@34ccc0b5, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@166f2e60, org.springframework.security.web.session.SessionManagementFilter@1a923098, org.springframework.security.web.access.ExceptionTranslationFilter@1062f9e6, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@42f95a37]
2018-02-12 17:58:15,367 INFO  [org.springframework.security.config.http.DefaultFilterChainValidator] (ServerService Thread Pool -- 68) Checking whether login URL '/publico/login.jsf' is accessible with your configuration
2018-02-12 17:58:15,377 INFO  [org.springframework.web.context.ContextLoader] (ServerService Thread Pool -- 68) Root WebApplicationContext: initialization completed in 410 ms
2018-02-12 17:58:15,377 WARNING [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 68) JSF1022: [Development] Valor inválido 'javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE' para a opção de configuração 'true|false'.  Os valores válidos são 'true|false'.  Falha ao redefinir para o padrão de 'false'.
2018-02-12 17:58:15,380 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 68) Inicializando Mojarra 2.2.13.SP4  para o contexto '/financeiro-0.0.1-SNAPSHOT'
2018-02-12 17:58:16,044 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 68) Monitoring file:/home/mingus/wildfly-11.0.0.Final/standalone/deployments/financeiro-0.0.1-SNAPSHOT.war/WEB-INF/faces-config.xml for modifications
2018-02-12 17:58:16,060 INFO  [org.primefaces.webapp.PostConstructApplicationEventListener] (ServerService Thread Pool -- 68) Running on PrimeFaces 6.1
2018-02-12 17:58:16,064 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 68) WFLYUT0021: Registered web context: '/financeiro-0.0.1-SNAPSHOT' for server 'default-server'
2018-02-12 17:58:16,070 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "ProjTeste.war" (runtime-name : "ProjTeste.war")
2018-02-12 17:58:16,070 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "financeiro-0.0.1-SNAPSHOT.war" (runtime-name : "financeiro-0.0.1-SNAPSHOT.war")
2018-02-12 17:58:16,111 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
2018-02-12 17:58:16,114 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
2018-02-12 17:58:16,114 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
2018-02-12 17:58:16,114 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 11.0.0.Final (WildFly Core 3.0.8.Final) started in 6382ms - Started 819 of 1046 services (359 services are lazy, passive or on-demand)

Estranho que não teve nenhuma exception clara no seu log!

As exceptions pararam de acontecer depois que eu coloquei o Hibernate em provided no POM. Aparentemente não tem nenhum erro grave, fora uns warns aqui e ali. O problema é que o wildfly funciona, e é acessado por mim no localhost:8080, porém, o index do aplicativo e nenhuma outra página é acessada.

Além dos problemas com o Hibernate, pode haver outras coisas com o Spring security ou alguma configuração boba que deixei de fazer por falta de prática com o wildfly.

O ideal é que houvesse um passo a passo para estas migrações. Vou enviar o POM.

<modelVersion>4.0.0</modelVersion>
<groupId>javaparaweb</groupId>
<artifactId>financeiro</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>Financeiro</name>
<description>Gerenciador financeiro pessoal</description>

<dependencies>
	<dependency>
		<groupId>javax</groupId>
		<artifactId>javaee-api</artifactId>
		<version>7.0</version>
		<scope>provided</scope>
	</dependency>
	<dependency>
		<groupId>org.glassfish</groupId>
		<artifactId>javax.faces</artifactId>
		<version>2.2.14</version>
		<!-- 2.2.14 -->

	</dependency>

	<dependency>
		<groupId>org.hibernate</groupId>
		<artifactId>hibernate-core</artifactId>
		<version>5.2.10.Final</version>
		<scope>provided</scope>
		<!-- 4.3.11.Final -->
		<!-- 5.2.10.Final -->
	</dependency>
	<dependency>
		<groupId>mysql</groupId>
		<artifactId>mysql-connector-java</artifactId>
		<version>5.1.45</version>
		<scope>provided</scope>
	</dependency>
	<dependency>
		<groupId>org.springframework.security</groupId>
		<artifactId>spring-security-web</artifactId>
		<version>4.2.3.RELEASE</version>
		<!-- 3.2.6(10).RELEASE -->
	</dependency>
	<dependency>
		<groupId>org.springframework.security</groupId>
		<artifactId>spring-security-config</artifactId>
		<version>4.2.3.RELEASE</version>
		<!-- 3.2.10.RELEASE -->
	</dependency>
	<dependency>
		<groupId>commons-logging</groupId>
		<artifactId>commons-logging</artifactId>
		<version>1.2</version>
	</dependency>
	<dependency>
		<groupId>org.springframework</groupId>
		<artifactId>spring-jdbc</artifactId>
		<version>4.3.9.RELEASE</version>
		<!-- 3.2.6.RELEASE -->
	</dependency>

	<dependency>
		<groupId>org.primefaces</groupId>
		<artifactId>primefaces</artifactId>
		<version>6.1</version>
	</dependency>
</dependencies>
<build>
	<plugins>
		<plugin>
			<artifactId>maven-resources-plugin</artifactId>
			<version>3.0.2</version>
			<configuration>
				<encoding>UTF-8</encoding>
			</configuration>
		</plugin>
		<plugin>
			<groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-compiler-plugin</artifactId>
			<version>3.6.2</version>
			<configuration>
				<source>1.8</source>
				<target>1.8</target>
			</configuration>
		</plugin>
		<plugin>
			<groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-war-plugin</artifactId>
			<version>3.1.0</version>
			<configuration>
				<failOnMissingWebXml>false</failOnMissingWebXml>
			</configuration>
		</plugin>

	</plugins>
</build>
<repositories>
	<repository>
		<id>org.springframework.security.taglibs.facelets</id>
		<url>http://spring-security-facelets-taglib.googlecode.com/svn/repo/</url>
	</repository>

	<repository>
		<id>jvnet-nexus-releases</id>
		<name>jvnet-nexus-releases</name>
		<url>https://maven.java.net/content/repositories/releases/</url>
	</repository>
</repositories>

Você consegue disponibilizar seu projeto por meio do GitHub?

É pra já. https://github.com/fbreda/projeto-java-web.

É um “projetinho” incompleto para aprendizado…

Testei aqui e acredito que você está usando datasource, ou seja, em vez da aplicação estar criando a conexão com o banco de dados, isso está sendo feito pelo servidor de aplicação (jboss).

1 curtida

Também testei aqui e, pelo que está no log, especificamente, esta parte

Valor inválido 'javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE' para a opção de configuração 'true|false'.  Os valores válidos são 'true|false'.  Falha ao redefinir para o padrão de 'false'.

E, considerando que o ciclo de vida do JSF não foi iniciado, pensei que o problema fosse esse.
Alterei a definição do web.xml para

<context-param>
	<param-name>javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL</param-name>
	<param-value>true</param-value>
</context-param>

Porém, ao subir e tentar acessar, mesmo erro.
Em seguida, li o log novamente e encontrei isso

20:26:15,607 INFO [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool – 169) Inicializando Mojarra 2.2.13.SP4 para o contexto '/financeiro-0.0.1-SNAPSHOT’

Foi aí que caiu a ficha: acessar pela url incluindo o nome do artefato. Bingo!

Não ficou 100% (não tenho a imagem do topo, por alguma razão).
Portanto, não tem a ver com o datasource (ao menos não esse problema do erro 404) e sim pelo fato do artefato ter esse nome gigante.

1 curtida

Caraca… show Darlan… O compartilhamento do código ajudou mais ainda.

O problema com a imagem deve ser devido ao link alterado.

Aqui eu fiz a mudança no link, mas ficou como abaixo. Eu acho que deve ser algum setup do seu wildfly.

Não entendi porque o caminho foi alterado de “financeiro” para " financeiro.0.0.1-SNAPSHOT"…

Alterei o nome no POM, coloquei versão 1 para testar e não mudou nada. Fiz alguns testes, mas no meu caso, além do problema do link já identificado, o JSF parece não estar renderizando a pagina corretamente. Voce fez alguma outra alteração no código ?