Skip to content

Instantly share code, notes, and snippets.

@gilbertoca
Created April 15, 2016 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gilbertoca/08222891c14ce6363af0b8a4c451d8d2 to your computer and use it in GitHub Desktop.
Save gilbertoca/08222891c14ce6363af0b8a4c451d8d2 to your computer and use it in GitHub Desktop.
[10:44] gilberto.andrade@BEM-INF007:gace (jsf-form-contrato *+ u=) $ mvn clean package tomee-embedded:run -Dmaven.test.skip
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Gestão e Acompanhamento de Contratos de Empréstimos[GACE] 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gace ---
[INFO] Deleting /home/gilberto.andrade/tmp/gace/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gace ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] Copying 1 resource to /home/gilberto.andrade/tmp/gace/target/gace/WEB-INF/
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ gace ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 45 source files to /home/gilberto.andrade/tmp/gace/target/classes
[INFO] /home/gilberto.andrade/tmp/gace/src/main/java/br/gov/to/bem/repository/ServidorRepositorio.java: /home/gilberto.andrade/tmp/gace/src/main/java/br/gov/to/bem/repository/ServidorRepositorio.java uses unchecked or unsafe operations.
[INFO] /home/gilberto.andrade/tmp/gace/src/main/java/br/gov/to/bem/repository/ServidorRepositorio.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ gace ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ gace ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ gace ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-war-plugin:2.6:war (default-war) @ gace ---
[INFO] Packaging webapp
[INFO] Assembling webapp [gace] in [/home/gilberto.andrade/tmp/gace/target/gace]
[INFO] Processing war project
[INFO] Copying webapp resources [/home/gilberto.andrade/tmp/gace/src/main/webapp]
[INFO] Webapp assembled in [170 msecs]
[INFO] Building war: /home/gilberto.andrade/tmp/gace/target/gace.war
[INFO]
[INFO] --- tomee-embedded-maven-plugin:7.0.0-SNAPSHOT:run (default-cli) @ gace ---
[INFO] Starting TomEE from: /home/gilberto.andrade/tmp/gace/target/apache-tomee-embedded
abr 15, 2016 10:44:16 AM sun.reflect.NativeMethodAccessorImpl invoke
INFORMAÇÕES: Initializing ProtocolHandler ["http-nio-8080"]
abr 15, 2016 10:44:17 AM sun.reflect.NativeMethodAccessorImpl invoke
INFORMAÇÕES: Using a shared selector for servlet write/read
abr 15, 2016 10:44:17 AM sun.reflect.NativeMethodAccessorImpl invoke
INFORMAÇÕES: Starting service Tomcat
abr 15, 2016 10:44:17 AM sun.reflect.NativeMethodAccessorImpl invoke
INFORMAÇÕES: Starting Servlet Engine: Apache Tomcat/8.5.0
abr 15, 2016 10:44:17 AM sun.reflect.NativeMethodAccessorImpl invoke
INFORMAÇÕES: Starting ProtocolHandler [http-nio-8080]
[INFO] Using 'openejb.jdbc.datasource-creator=org.apache.tomee.jdbc.TomEEDataSourceCreator'
[INFO] ********************************************************************************
[INFO] OpenEJB http://tomee.apache.org/
[INFO] Startup: Fri Apr 15 10:44:17 BRT 2016
[INFO] Copyright 1999-2015 (C) Apache OpenEJB Project, All Rights Reserved.
[INFO] Version: 7.0.0-SNAPSHOT
[INFO] Build date: 20160415
[INFO] Build time: 09:19
[INFO] ********************************************************************************
[INFO] openejb.home = /home/gilberto.andrade/tmp/gace/target/apache-tomee-embedded
[INFO] openejb.base = /home/gilberto.andrade/tmp/gace/target/apache-tomee-embedded
[INFO] Created new singletonService org.apache.openejb.cdi.ThreadSingletonServiceImpl@6d4dac56
[INFO] Succeeded in installing singleton service
[INFO] TomEE configuration file is '/home/gilberto.andrade/tmp/gace/target/apache-tomee-embedded/conf/openejb.xml'
[INFO] Configuring Service(id=Tomcat Security Service, type=SecurityService, provider-id=Tomcat Security Service)
[INFO] Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
[INFO] Using 'openejb.system.apps=false'
[INFO] Using 'openejb.deployments.classpath=false'
[INFO] Creating TransactionManager(id=Default Transaction Manager)
[INFO] Creating SecurityService(id=Tomcat Security Service)
[INFO] Using 'openejb.servicemanager.enabled=false'
[INFO] using default host: localhost
[INFO] ------------------------- localhost -> /gace
[INFO] Using 'openejb.session.manager=org.apache.tomee.catalina.session.QuickSessionManager'
[INFO] Configuring enterprise application: /home/gilberto.andrade/tmp/gace/target/gace
[INFO] Auto-deploying ejb ContratoService: EjbDeployment(deployment-id=ContratoService)
[INFO] Auto-deploying ejb BancoService: EjbDeployment(deployment-id=BancoService)
[INFO] Auto-deploying ejb ServidorService: EjbDeployment(deployment-id=ServidorService)
[INFO] Configuring Service(id=gace/app/gace/MyDS, type=Resource, provider-id=Default JDBC Database)
[INFO] Creating Resource(id=gace/app/gace/MyDS)
[WARNING] unusedProperty DefaultIsolationLevel - gace/app/gace/MyDS
[WARNING] unusedProperty MaxStatements - gace/app/gace/MyDS
[WARNING] unusedProperty DataSourceCreator - gace/app/gace/MyDS
[INFO] Configuring Service(id=Default Managed Container, type=Container, provider-id=Default Managed Container)
[INFO] Auto-creating a container for bean gace.Comp1298314970: Container(type=MANAGED, id=Default Managed Container)
[INFO] Creating Container(id=Default Managed Container)
[INFO] Using directory /tmp for stateful session passivation
[INFO] Auto-linking resource-ref 'java:app/gace/MyDS' in bean gace.Comp1298314970 to Resource(id=gace/app/gace/MyDS)
[INFO] Auto-linking resource-ref 'openejb/Resource/app/gace/MyDS' in bean gace.Comp1298314970 to Resource(id=gace/app/gace/MyDS)
[INFO] Configuring Service(id=Default Stateless Container, type=Container, provider-id=Default Stateless Container)
[INFO] Auto-creating a container for bean ContratoService: Container(type=STATELESS, id=Default Stateless Container)
[INFO] Creating Container(id=Default Stateless Container)
[INFO] Auto-linking resource-ref 'java:app/gace/MyDS' in bean ContratoService to Resource(id=gace/app/gace/MyDS)
[INFO] Auto-linking resource-ref 'openejb/Resource/app/gace/MyDS' in bean ContratoService to Resource(id=gace/app/gace/MyDS)
[INFO] Auto-linking resource-ref 'java:app/gace/MyDS' in bean BancoService to Resource(id=gace/app/gace/MyDS)
[INFO] Auto-linking resource-ref 'openejb/Resource/app/gace/MyDS' in bean BancoService to Resource(id=gace/app/gace/MyDS)
[INFO] Auto-linking resource-ref 'java:app/gace/MyDS' in bean ServidorService to Resource(id=gace/app/gace/MyDS)
[INFO] Auto-linking resource-ref 'openejb/Resource/app/gace/MyDS' in bean ServidorService to Resource(id=gace/app/gace/MyDS)
[INFO] Configuring PersistenceUnit(name=gacePU)
[INFO] Auto-creating a Resource with id 'gace/app/gace/MyDSNonJta' of type 'DataSource for 'gacePU'.
[INFO] Configuring Service(id=gace/app/gace/MyDSNonJta, type=Resource, provider-id=gace/app/gace/MyDS)
[INFO] Creating Resource(id=gace/app/gace/MyDSNonJta)
[INFO] Adjusting PersistenceUnit gacePU <jta-data-source> to Resource ID 'gace/app/gace/MyDS' from 'app/gace/MyDS'
[INFO] Adjusting PersistenceUnit gacePU <non-jta-data-source> to Resource ID 'gace/app/gace/MyDSNonJta' from 'null'
abr 15, 2016 10:44:22 AM org.apache.openejb.persistence.PersistenceBootstrap getDefaultProvider
INFORMAÇÕES: Default JPA Provider changed to org.eclipse.persistence.jpa.PersistenceProvider
[INFO] Enterprise application "/home/gilberto.andrade/tmp/gace/target/gace" loaded.
[INFO] Assembling app: /home/gilberto.andrade/tmp/gace/target/gace
[EL Fine]: 2016-04-15 10:44:23.089--Thread(Thread[main,5,main])--Configured server platform: org.apache.openejb.jpa.integration.eclipselink.OpenEJBServerPlatform
[EL Config]: 2016-04-15 10:44:23.376--ServerSession(1686850324)--Thread(Thread[main,5,main])--The access type for the persistent class [class br.gov.to.bem.model.Orgao] is set to [FIELD].
[EL Config]: 2016-04-15 10:44:23.433--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field entidade] is being defaulted to: class br.gov.to.bem.model.Entidade.
[EL Config]: 2016-04-15 10:44:23.459--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field servidores] is being defaulted to: class br.gov.to.bem.model.Servidor.
[EL Config]: 2016-04-15 10:44:23.466--ServerSession(1686850324)--Thread(Thread[main,5,main])--The access type for the persistent class [class br.gov.to.bem.model.ContratoParcelaPagamento] is set to [FIELD].
[EL Config]: 2016-04-15 10:44:23.467--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field pagamentoDesconto] is being defaulted to: class br.gov.to.bem.model.PagamentoDesconto.
[EL Config]: 2016-04-15 10:44:23.468--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field pagamentoBoleto] is being defaulted to: class br.gov.to.bem.model.PagamentoBoleto.
[EL Config]: 2016-04-15 10:44:23.468--ServerSession(1686850324)--Thread(Thread[main,5,main])--The access type for the persistent class [class br.gov.to.bem.model.Contrato] is set to [FIELD].
[EL Config]: 2016-04-15 10:44:23.469--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field servidor] is being defaulted to: class br.gov.to.bem.model.Servidor.
[EL Config]: 2016-04-15 10:44:23.472--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to many mapping element [field avalistas] is being defaulted to: class br.gov.to.bem.model.Pessoa.
[EL Config]: 2016-04-15 10:44:23.474--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field parcelas] is being defaulted to: class br.gov.to.bem.model.ContratoParcela.
[EL Config]: 2016-04-15 10:44:23.474--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field linhaCreditoPrograma] is being defaulted to: class br.gov.to.bem.model.LinhaCreditoPrograma.
[EL Config]: 2016-04-15 10:44:23.476--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field renegociacao] is being defaulted to: class br.gov.to.bem.model.Renegociacao.
[EL Config]: 2016-04-15 10:44:23.476--ServerSession(1686850324)--Thread(Thread[main,5,main])--The access type for the persistent class [class br.gov.to.bem.model.LinhaCreditoPrograma] is set to [FIELD].
[EL Config]: 2016-04-15 10:44:23.481--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field linhaCredito] is being defaulted to: class br.gov.to.bem.model.LinhaCredito.
[EL Config]: 2016-04-15 10:44:23.481--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field contratos] is being defaulted to: class br.gov.to.bem.model.Contrato.
[EL Config]: 2016-04-15 10:44:23.482--ServerSession(1686850324)--Thread(Thread[main,5,main])--The access type for the persistent class [class br.gov.to.bem.model.PagamentoBoleto] is set to [FIELD].
[EL Config]: 2016-04-15 10:44:23.483--ServerSession(1686850324)--Thread(Thread[main,5,main])--The access type for the persistent class [class br.gov.to.bem.model.Pessoa] is set to [FIELD].
[EL Config]: 2016-04-15 10:44:23.484--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to many mapping element [field contratoAvalizados] is being defaulted to: class br.gov.to.bem.model.Contrato.
[EL Config]: 2016-04-15 10:44:23.484--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field municipio] is being defaulted to: class br.gov.to.bem.model.UnidadeFederativaMunicipio.
[EL Config]: 2016-04-15 10:44:23.486--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field vinculosFuncionais] is being defaulted to: class br.gov.to.bem.model.Servidor.
[EL Config]: 2016-04-15 10:44:23.488--ServerSession(1686850324)--Thread(Thread[main,5,main])--The access type for the persistent class [class br.gov.to.bem.model.Banco] is set to [FIELD].
[EL Config]: 2016-04-15 10:44:23.488--ServerSession(1686850324)--Thread(Thread[main,5,main])--The access type for the persistent class [class br.gov.to.bem.model.Entidade] is set to [FIELD].
[EL Config]: 2016-04-15 10:44:23.489--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field orgaos] is being defaulted to: class br.gov.to.bem.model.Orgao.
[EL Config]: 2016-04-15 10:44:23.489--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field convenios] is being defaulted to: class br.gov.to.bem.model.Convenio.
[EL Config]: 2016-04-15 10:44:23.49--ServerSession(1686850324)--Thread(Thread[main,5,main])--The access type for the persistent class [class br.gov.to.bem.model.Servidor] is set to [FIELD].
[EL Config]: 2016-04-15 10:44:23.491--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field pessoa] is being defaulted to: class br.gov.to.bem.model.Pessoa.
[EL Config]: 2016-04-15 10:44:23.491--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field orgao] is being defaulted to: class br.gov.to.bem.model.Orgao.
[EL Config]: 2016-04-15 10:44:23.492--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field banco] is being defaulted to: class br.gov.to.bem.model.Banco.
[EL Config]: 2016-04-15 10:44:23.492--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field lotacaoMunicipio] is being defaulted to: class br.gov.to.bem.model.UnidadeFederativaMunicipio.
[EL Config]: 2016-04-15 10:44:23.493--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field contratos] is being defaulted to: class br.gov.to.bem.model.Contrato.
[EL Config]: 2016-04-15 10:44:23.494--ServerSession(1686850324)--Thread(Thread[main,5,main])--The access type for the persistent class [class br.gov.to.bem.model.Referencia] is set to [FIELD].
[EL Config]: 2016-04-15 10:44:23.494--ServerSession(1686850324)--Thread(Thread[main,5,main])--The access type for the persistent class [class br.gov.to.bem.model.Convenio] is set to [FIELD].
[EL Config]: 2016-04-15 10:44:23.495--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field entidade] is being defaulted to: class br.gov.to.bem.model.Entidade.
[EL Config]: 2016-04-15 10:44:23.495--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field linhaCredito] is being defaulted to: class br.gov.to.bem.model.LinhaCredito.
[EL Config]: 2016-04-15 10:44:23.496--ServerSession(1686850324)--Thread(Thread[main,5,main])--The access type for the persistent class [class br.gov.to.bem.model.PagamentoDesconto] is set to [FIELD].
[EL Config]: 2016-04-15 10:44:23.497--ServerSession(1686850324)--Thread(Thread[main,5,main])--The access type for the persistent class [class br.gov.to.bem.model.Renegociacao] is set to [FIELD].
[EL Config]: 2016-04-15 10:44:23.497--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field contratoNovo] is being defaulted to: class br.gov.to.bem.model.Contrato.
[EL Config]: 2016-04-15 10:44:23.498--ServerSession(1686850324)--Thread(Thread[main,5,main])--The access type for the persistent class [class br.gov.to.bem.model.UnidadeFederativa] is set to [FIELD].
[EL Config]: 2016-04-15 10:44:23.498--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [field unidadeFederativaMunicipioSet] is being defaulted to: class br.gov.to.bem.model.UnidadeFederativaMunicipio.
[EL Config]: 2016-04-15 10:44:23.499--ServerSession(1686850324)--Thread(Thread[main,5,main])--The access type for the persistent class [class br.gov.to.bem.model.LinhaCredito] is set to [FIELD].
[EL Config]: 2016-04-15 10:44:23.5--ServerSession(1686850324)--Thread(Thread[main,5,main])--The access type for the persistent class [class br.gov.to.bem.model.UnidadeFederativaMunicipio] is set to [FIELD].
[EL Config]: 2016-04-15 10:44:23.5--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field UnidadeFederativa] is being defaulted to: class br.gov.to.bem.model.UnidadeFederativa.
[EL Config]: 2016-04-15 10:44:23.501--ServerSession(1686850324)--Thread(Thread[main,5,main])--The access type for the persistent class [class br.gov.to.bem.model.ContratoParcela] is set to [FIELD].
[EL Config]: 2016-04-15 10:44:23.501--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field contratoParcelaPagamento] is being defaulted to: class br.gov.to.bem.model.ContratoParcelaPagamento.
[EL Config]: 2016-04-15 10:44:23.502--ServerSession(1686850324)--Thread(Thread[main,5,main])--The target entity (reference) class for the many to one mapping element [field contrato] is being defaulted to: class br.gov.to.bem.model.Contrato.
[EL Config]: 2016-04-15 10:44:23.502--ServerSession(1686850324)--Thread(Thread[main,5,main])--The access type for the persistent class [class br.gov.to.bem.model.CarteiraIdentidade] is set to [FIELD].
[EL Config]: 2016-04-15 10:44:23.513--ServerSession(1686850324)--Thread(Thread[main,5,main])--The alias name for the entity class [class br.gov.to.bem.model.Orgao] is being defaulted to: Orgao.
[EL Config]: 2016-04-15 10:44:23.562--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [sigla] is being defaulted to: SIGLA.
[EL Config]: 2016-04-15 10:44:23.563--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [nome] is being defaulted to: NOME.
[EL Config]: 2016-04-15 10:44:23.564--ServerSession(1686850324)--Thread(Thread[main,5,main])--The alias name for the entity class [class br.gov.to.bem.model.ContratoParcelaPagamento] is being defaulted to: ContratoParcelaPagamento.
[EL Config]: 2016-04-15 10:44:23.575--ServerSession(1686850324)--Thread(Thread[main,5,main])--The alias name for the entity class [class br.gov.to.bem.model.Contrato] is being defaulted to: Contrato.
[EL Config]: 2016-04-15 10:44:23.582--ServerSession(1686850324)--Thread(Thread[main,5,main])--The alias name for the entity class [class br.gov.to.bem.model.LinhaCreditoPrograma] is being defaulted to: LinhaCreditoPrograma.
[EL Config]: 2016-04-15 10:44:23.586--ServerSession(1686850324)--Thread(Thread[main,5,main])--The alias name for the entity class [class br.gov.to.bem.model.PagamentoBoleto] is being defaulted to: PagamentoBoleto.
[EL Config]: 2016-04-15 10:44:23.587--ServerSession(1686850324)--Thread(Thread[main,5,main])--The alias name for the entity class [class br.gov.to.bem.model.Pessoa] is being defaulted to: Pessoa.
[EL Config]: 2016-04-15 10:44:23.587--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [endereco] is being defaulted to: ENDERECO.
[EL Config]: 2016-04-15 10:44:23.588--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [bairro] is being defaulted to: BAIRRO.
[EL Config]: 2016-04-15 10:44:23.588--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [rg] is being defaulted to: RG.
[EL Config]: 2016-04-15 10:44:23.589--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [nome] is being defaulted to: NOME.
[EL Config]: 2016-04-15 10:44:23.59--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [cep] is being defaulted to: CEP.
[EL Config]: 2016-04-15 10:44:23.598--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [cpf] is being defaulted to: CPF.
[EL Config]: 2016-04-15 10:44:23.599--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [conjuge] is being defaulted to: CONJUGE.
[EL Config]: 2016-04-15 10:44:23.6--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [email] is being defaulted to: EMAIL.
[EL Config]: 2016-04-15 10:44:23.6--ServerSession(1686850324)--Thread(Thread[main,5,main])--The alias name for the entity class [class br.gov.to.bem.model.Banco] is being defaulted to: Banco.
[EL Config]: 2016-04-15 10:44:23.6--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [nome] is being defaulted to: NOME.
[EL Config]: 2016-04-15 10:44:23.601--ServerSession(1686850324)--Thread(Thread[main,5,main])--The alias name for the entity class [class br.gov.to.bem.model.Entidade] is being defaulted to: Entidade.
[EL Config]: 2016-04-15 10:44:23.602--ServerSession(1686850324)--Thread(Thread[main,5,main])--The alias name for the entity class [class br.gov.to.bem.model.Servidor] is being defaulted to: Servidor.
[EL Config]: 2016-04-15 10:44:23.603--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [lotacao] is being defaulted to: LOTACAO.
[EL Config]: 2016-04-15 10:44:23.605--ServerSession(1686850324)--Thread(Thread[main,5,main])--The alias name for the entity class [class br.gov.to.bem.model.Referencia] is being defaulted to: Referencia.
[EL Config]: 2016-04-15 10:44:23.605--ServerSession(1686850324)--Thread(Thread[main,5,main])--The table name for entity [class br.gov.to.bem.model.Referencia] is being defaulted to: REFERENCIA.
[EL Config]: 2016-04-15 10:44:23.606--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [telefone] is being defaulted to: TELEFONE.
[EL Config]: 2016-04-15 10:44:23.606--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [observacao] is being defaulted to: OBSERVACAO.
[EL Config]: 2016-04-15 10:44:23.606--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [celular] is being defaulted to: CELULAR.
[EL Config]: 2016-04-15 10:44:23.606--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [nome] is being defaulted to: NOME.
[EL Config]: 2016-04-15 10:44:23.607--ServerSession(1686850324)--Thread(Thread[main,5,main])--The alias name for the entity class [class br.gov.to.bem.model.Convenio] is being defaulted to: Convenio.
[EL Config]: 2016-04-15 10:44:23.607--ServerSession(1686850324)--Thread(Thread[main,5,main])--The alias name for the entity class [class br.gov.to.bem.model.PagamentoDesconto] is being defaulted to: PagamentoDesconto.
[EL Config]: 2016-04-15 10:44:23.608--ServerSession(1686850324)--Thread(Thread[main,5,main])--The alias name for the entity class [class br.gov.to.bem.model.Renegociacao] is being defaulted to: Renegociacao.
[EL Config]: 2016-04-15 10:44:23.611--ServerSession(1686850324)--Thread(Thread[main,5,main])--The alias name for the entity class [class br.gov.to.bem.model.UnidadeFederativa] is being defaulted to: UnidadeFederativa.
[EL Config]: 2016-04-15 10:44:23.622--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [nome] is being defaulted to: NOME.
[EL Config]: 2016-04-15 10:44:23.622--ServerSession(1686850324)--Thread(Thread[main,5,main])--The alias name for the entity class [class br.gov.to.bem.model.LinhaCredito] is being defaulted to: LinhaCredito.
[EL Config]: 2016-04-15 10:44:23.623--ServerSession(1686850324)--Thread(Thread[main,5,main])--The alias name for the entity class [class br.gov.to.bem.model.UnidadeFederativaMunicipio] is being defaulted to: UnidadeFederativaMunicipio.
[EL Config]: 2016-04-15 10:44:23.625--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [nome] is being defaulted to: NOME.
[EL Config]: 2016-04-15 10:44:23.625--ServerSession(1686850324)--Thread(Thread[main,5,main])--The alias name for the entity class [class br.gov.to.bem.model.ContratoParcela] is being defaulted to: ContratoParcela.
[EL Config]: 2016-04-15 10:44:23.626--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [observacao] is being defaulted to: OBSERVACAO.
[EL Config]: 2016-04-15 10:44:23.626--ServerSession(1686850324)--Thread(Thread[main,5,main])--The column name for element [valor] is being defaulted to: VALOR.
[INFO] JAVA AGENT NOT INSTALLED. The JPA Persistence Provider requested installation of a ClassFileTransformer which requires a JavaAgent. See http://tomee.apache.org/javaagent.html
[INFO] PersistenceUnit(name=gacePU, provider=org.eclipse.persistence.jpa.PersistenceProvider) - provider time 1231ms
[INFO] Jndi(name=ContratoServiceLocalBean) --> Ejb(deployment-id=ContratoService)
[INFO] Jndi(name=global/gace/ContratoService!br.gov.to.bem.service.ContratoService) --> Ejb(deployment-id=ContratoService)
[INFO] Jndi(name=global/gace/ContratoService) --> Ejb(deployment-id=ContratoService)
[INFO] Jndi(name=BancoServiceLocalBean) --> Ejb(deployment-id=BancoService)
[INFO] Jndi(name=global/gace/BancoService!br.gov.to.bem.service.BancoService) --> Ejb(deployment-id=BancoService)
[INFO] Jndi(name=global/gace/BancoService) --> Ejb(deployment-id=BancoService)
[INFO] Jndi(name=ServidorServiceLocalBean) --> Ejb(deployment-id=ServidorService)
[INFO] Jndi(name=global/gace/ServidorService!br.gov.to.bem.service.ServidorService) --> Ejb(deployment-id=ServidorService)
[INFO] Jndi(name=global/gace/ServidorService) --> Ejb(deployment-id=ServidorService)
[INFO] Existing thread singleton service in SystemInstance(): org.apache.openejb.cdi.ThreadSingletonServiceImpl@6d4dac56
[INFO] OpenWebBeans Container is starting...
[INFO] Adding OpenWebBeansPlugin : [CdiPlugin]
[INFO] Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
[INFO] Using annotated mode for file:/home/gilberto.andrade/tmp/gace/target/gace/WEB-INF/lib/deltaspike-data-module-api-1.5.2.jar looking all classes to find CDI beans, maybe think to add a beans.xml if not there or add the jar to exclusions.list
abr 15, 2016 10:44:25 AM org.hibernate.validator.internal.util.Version <clinit>
INFO: HV000001: Hibernate Validator 5.2.4.Final
abr 15, 2016 10:44:25 AM org.apache.deltaspike.core.impl.config.EnvironmentPropertyConfigSourceProvider <init>
INFORMAÇÕES: Custom config found by DeltaSpike. Name: 'META-INF/apache-deltaspike.properties', URL: 'file:/home/gilberto.andrade/tmp/gace/target/gace/WEB-INF/classes/META-INF/apache-deltaspike.properties'
abr 15, 2016 10:44:25 AM org.apache.deltaspike.core.impl.config.EnvironmentPropertyConfigSourceProvider <init>
INFORMAÇÕES: Custom config found by DeltaSpike. Name: 'META-INF/apache-deltaspike.properties', URL: 'jar:file:/home/gilberto.andrade/tmp/gace/target/gace/WEB-INF/lib/deltaspike-jpa-module-impl-1.5.2.jar!/META-INF/apache-deltaspike.properties'
abr 15, 2016 10:44:25 AM org.apache.deltaspike.core.util.ProjectStageProducer initProjectStage
INFORMAÇÕES: Computed the following DeltaSpike ProjectStage: Production
abr 15, 2016 10:44:25 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: org.apache.deltaspike.core.impl.interceptor.GlobalInterceptorExtension activated=true
abr 15, 2016 10:44:25 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: org.apache.deltaspike.core.impl.config.ConfigurationExtension activated=true
abr 15, 2016 10:44:25 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: org.apache.deltaspike.core.impl.message.MessageBundleExtension activated=true
abr 15, 2016 10:44:25 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: org.apache.deltaspike.core.impl.exclude.extension.ExcludeExtension activated=true
abr 15, 2016 10:44:25 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: org.apache.deltaspike.core.impl.exclude.CustomProjectStageBeanFilter activated=true
abr 15, 2016 10:44:25 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: org.apache.deltaspike.core.impl.exclude.GlobalAlternative activated=true
abr 15, 2016 10:44:25 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: org.apache.deltaspike.core.impl.exception.control.extension.ExceptionControlExtension activated=true
abr 15, 2016 10:44:25 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: org.apache.deltaspike.partialbean.impl.PartialBeanBindingExtension activated=true
abr 15, 2016 10:44:25 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: org.apache.deltaspike.jpa.impl.transaction.context.TransactionContextExtension activated=true
abr 15, 2016 10:44:25 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: org.apache.deltaspike.core.impl.scope.DeltaSpikeContextExtension activated=true
abr 15, 2016 10:44:25 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: org.apache.deltaspike.core.impl.jmx.MBeanExtension activated=true
abr 15, 2016 10:44:25 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: org.apache.deltaspike.data.impl.RepositoryExtension activated=true
abr 15, 2016 10:44:26 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: br.gov.to.bem.repository.ContratoRepositorio activated=true
abr 15, 2016 10:44:26 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: br.gov.to.bem.repository.RenegociacaoRepositorio activated=true
abr 15, 2016 10:44:27 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: br.gov.to.bem.repository.ServidorRepositorio activated=true
abr 15, 2016 10:44:27 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: br.gov.to.bem.repository.BancoRepositorio activated=true
abr 15, 2016 10:44:27 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: br.gov.to.bem.repository.PessoaRepositorio activated=true
abr 15, 2016 10:44:27 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: br.gov.to.bem.repository.ConvenioRepositorio activated=true
abr 15, 2016 10:44:28 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: br.gov.to.bem.repository.LinhaCreditoRepositorio activated=true
abr 15, 2016 10:44:28 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: br.gov.to.bem.repository.EntidadeRepositorio activated=true
abr 15, 2016 10:44:28 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: br.gov.to.bem.repository.OrgaoRepositorio activated=true
abr 15, 2016 10:44:28 AM org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFORMAÇÕES: class: br.gov.to.bem.repository.LinhaCreditoProgramaRepositorio activated=true
[WARNING] Interceptor class : org.apache.deltaspike.jpa.impl.transaction.TransactionalInterceptor is already defined
[INFO] All injection points were validated successfully.
[INFO] OpenWebBeans Container has started, it took 5441 ms.
[INFO] Created Ejb(deployment-id=BancoService, ejb-name=BancoService, container=Default Stateless Container)
[INFO] Created Ejb(deployment-id=ContratoService, ejb-name=ContratoService, container=Default Stateless Container)
[INFO] Created Ejb(deployment-id=ServidorService, ejb-name=ServidorService, container=Default Stateless Container)
[INFO] Started Ejb(deployment-id=BancoService, ejb-name=BancoService, container=Default Stateless Container)
[INFO] Started Ejb(deployment-id=ContratoService, ejb-name=ContratoService, container=Default Stateless Container)
[INFO] Started Ejb(deployment-id=ServidorService, ejb-name=ServidorService, container=Default Stateless Container)
[INFO] Deployed Application(path=/home/gilberto.andrade/tmp/gace/target/gace)
abr 15, 2016 10:44:30 AM org.omnifaces.ApplicationInitializer logOmniFacesVersion
INFORMAÇÕES: Using OmniFaces version 2.2
[INFO] At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
abr 15, 2016 10:44:30 AM org.apache.tomee.myfaces.TomEEMyFacesContainerInitializer addListener
INFORMAÇÕES: Installing <listener>org.apache.myfaces.webapp.StartupServletContextListener</listener>
abr 15, 2016 10:44:30 AM org.apache.myfaces.config.DefaultFacesConfigurationProvider getStandardFacesConfig
INFORMAÇÕES: Reading standard config META-INF/standard-faces-config.xml
abr 15, 2016 10:44:31 AM org.apache.myfaces.config.DefaultFacesConfigurationProvider getWebAppFacesConfig
INFORMAÇÕES: Reading config /WEB-INF/faces-config.xml
abr 15, 2016 10:44:31 AM org.apache.myfaces.config.DefaultFacesConfigurationProvider getClassloaderFacesConfig
INFORMAÇÕES: Reading config : jar:file:/home/gilberto.andrade/tmp/gace/target/gace/WEB-INF/lib/primefaces-5.3.jar!/META-INF/faces-config.xml
abr 15, 2016 10:44:31 AM org.apache.myfaces.config.DefaultFacesConfigurationProvider getClassloaderFacesConfig
INFORMAÇÕES: Reading config : jar:file:/home/gilberto.andrade/.m2/repository/org/apache/openwebbeans/openwebbeans-jsf/1.6.3/openwebbeans-jsf-1.6.3.jar!/META-INF/faces-config.xml
abr 15, 2016 10:44:31 AM org.apache.myfaces.config.DefaultFacesConfigurationProvider getClassloaderFacesConfig
INFORMAÇÕES: Reading config : jar:file:/home/gilberto.andrade/tmp/gace/target/gace/WEB-INF/lib/omnifaces-2.2.jar!/META-INF/faces-config.xml
abr 15, 2016 10:44:31 AM org.apache.myfaces.config.DefaultFacesConfigurationProvider getClassloaderFacesConfig
INFORMAÇÕES: Reading config : jar:file:/home/gilberto.andrade/.m2/repository/org/apache/openwebbeans/openwebbeans-el22/1.6.3/openwebbeans-el22-1.6.3.jar!/META-INF/faces-config.xml
abr 15, 2016 10:44:31 AM org.apache.myfaces.config.DefaultFacesConfigurationProvider getClassloaderFacesConfig
INFORMAÇÕES: Reading config : jar:file:/home/gilberto.andrade/tmp/gace/target/gace/WEB-INF/lib/primefaces-extensions-4.0.0.jar!/META-INF/faces-config.xml
abr 15, 2016 10:44:31 AM org.apache.myfaces.config.LogMetaInfUtils logArtifact
INFORMAÇÕES: Artifact 'myfaces-api' was found in version '2.2.10' from path 'file:/home/gilberto.andrade/.m2/repository/org/apache/myfaces/core/myfaces-api/2.2.10/myfaces-api-2.2.10.jar'
abr 15, 2016 10:44:31 AM org.apache.myfaces.config.LogMetaInfUtils logArtifact
INFORMAÇÕES: Artifact 'myfaces-impl' was found in version '2.2.10' from path 'file:/home/gilberto.andrade/.m2/repository/org/apache/myfaces/core/myfaces-impl/2.2.10/myfaces-impl-2.2.10.jar'
abr 15, 2016 10:44:31 AM org.apache.myfaces.util.ExternalSpecifications isCDIAvailable
INFORMAÇÕES: MyFaces CDI support enabled
abr 15, 2016 10:44:31 AM org.apache.myfaces.spi.impl.DefaultInjectionProviderFactory getInjectionProvider
INFORMAÇÕES: Using InjectionProvider org.apache.myfaces.spi.impl.CDIAnnotationDelegateInjectionProvider
abr 15, 2016 10:44:31 AM org.apache.myfaces.util.ExternalSpecifications isBeanValidationAvailable
INFORMAÇÕES: MyFaces Bean Validation support enabled
abr 15, 2016 10:44:31 AM org.apache.myfaces.config.FacesConfigurator handleSerialFactory
INFORMAÇÕES: Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
abr 15, 2016 10:44:31 AM org.apache.myfaces.config.annotation.DefaultLifecycleProviderFactory getLifecycleProvider
INFORMAÇÕES: Using LifecycleProvider org.apache.myfaces.config.annotation.Tomcat7AnnotationLifecycleProvider
abr 15, 2016 10:44:32 AM org.primefaces.webapp.PostConstructApplicationEventListener processEvent
INFORMAÇÕES: Running on PrimeFaces 5.3
abr 15, 2016 10:44:32 AM org.primefaces.extensions.application.PostConstructApplicationEventListener processEvent
INFORMAÇÕES: Running on PrimeFaces Extensions 4.0.0
abr 15, 2016 10:44:32 AM org.apache.myfaces.webapp.AbstractFacesInitializer initFaces
INFORMAÇÕES: ServletContext initialized.
abr 15, 2016 10:44:32 AM org.apache.myfaces.util.ExternalSpecifications isUnifiedELAvailable
INFORMAÇÕES: MyFaces Unified EL support enabled
abr 15, 2016 10:44:32 AM org.apache.myfaces.webapp.AbstractFacesInitializer initFaces
ADVERTÊNCIA:
*******************************************************************
*** WARNING: Apache MyFaces-2 is running in DEVELOPMENT mode. ***
*** ^^^^^^^^^^^ ***
*** Do NOT deploy to your live server(s) without changing this. ***
*** See Application#getProjectStage() for more information. ***
*******************************************************************
abr 15, 2016 10:44:32 AM org.apache.myfaces.webapp.StartupServletContextListener contextInitialized
INFORMAÇÕES: MyFaces Core has started, it took [1433] ms.
[INFO] TomEE embedded started on localhost:8080
abr 15, 2016 10:44:38 AM javax.faces.component._ExternalSpecifications isBeanValidationAvailable
INFORMAÇÕES: MyFaces Bean Validation support enabled
10:44:39.286 DEBUG [http-nio-8080-exec-10][AbstractBean] INIT load parameters first 0, pageSize 10, sortField id, sortOrder ASCENDING, filters {}
10:44:39.358 DEBUG [http-nio-8080-exec-10][ContratoService] Quering servidor by name : null
[EL Info]: 2016-04-15 10:44:39.449--ServerSession(1686850324)--Thread(Thread[http-nio-8080-exec-10,5,main])--EclipseLink, version: Eclipse Persistence Services - 2.6.2.v20151217-774c696
[EL Severe]: 2016-04-15 10:44:39.533--ServerSession(1686850324)--Thread(Thread[http-nio-8080-exec-10,5,main])--Local Exception Stack:
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: org.postgresql.util.PSQLException: FATAL: autenticação do tipo password falhou para usuário "gilberto.andrade"
Error Code: 0
at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:316)
at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:147)
at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:207)
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:760)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:265)
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:731)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:205)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:305)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:337)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:318)
at org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory.createEntityManager(ReloadableEntityManagerFactory.java:193)
at org.apache.openejb.persistence.JtaEntityManagerRegistry.getEntityManager(JtaEntityManagerRegistry.java:125)
at org.apache.openejb.persistence.JtaEntityManager.getEntityManager(JtaEntityManager.java:144)
at org.apache.openejb.persistence.JtaEntityManager.proxyIfNoTx(JtaEntityManager.java:372)
at org.apache.openejb.persistence.JtaEntityManager.createQuery(JtaEntityManager.java:328)
at org.apache.deltaspike.data.impl.builder.AnnotatedQueryBuilder.createJpaQuery(AnnotatedQueryBuilder.java:79)
at org.apache.deltaspike.data.impl.builder.AnnotatedQueryBuilder.execute(AnnotatedQueryBuilder.java:47)
at org.apache.deltaspike.data.impl.builder.QueryBuilder.executeQuery(QueryBuilder.java:59)
at org.apache.deltaspike.data.impl.builder.result.DefaultQueryResult.count(DefaultQueryResult.java:216)
at br.gov.to.bem.view.ContratoView$1.load(ContratoView.java:59)
at org.primefaces.component.datatable.DataTable.loadLazyData(DataTable.java:976)
at org.primefaces.component.datatable.DataTableRenderer.preRender(DataTableRenderer.java:95)
at org.primefaces.component.datatable.DataTableRenderer.encodeEnd(DataTableRenderer.java:83)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:674)
at javax.faces.component.UIData.encodeEnd(UIData.java:1721)
at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:554)
at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:550)
at org.apache.myfaces.shared.renderkit.RendererUtils.renderChildren(RendererUtils.java:688)
at org.apache.myfaces.view.facelets.component.JsfElementRenderer.encodeChildren(JsfElementRenderer.java:124)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:643)
at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:541)
at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:550)
at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:550)
at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1891)
at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:313)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:58)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:58)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:267)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:200)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.openejb.server.httpd.WebBeansFilter.doFilter(WebBeansFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1096)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:760)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1480)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.postgresql.util.PSQLException: FATAL: autenticação do tipo password falhou para usuário "gilberto.andrade"
at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:433)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:208)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:67)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:216)
at org.postgresql.Driver.makeConnection(Driver.java:406)
at org.postgresql.Driver.connect(Driver.java:274)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at org.postgresql.ds.common.BaseDataSource.getConnection(BaseDataSource.java:87)
at org.postgresql.xa.PGXADataSource.getXAConnection(PGXADataSource.java:50)
at org.postgresql.xa.PGXADataSource.getXAConnection(PGXADataSource.java:37)
at org.apache.openejb.resource.jdbc.managed.xa.DataSourceXADataSource.getConnection(DataSourceXADataSource.java:40)
at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:135)
... 63 more
@gilbertoca
Copy link
Author

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
         version="3.1">
    <!-- parametros do contexto --> 
    <context-param>
        <param-name>defaultHtmlEscape</param-name>
        <param-value>true</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL</param-name>
        <param-value>true</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE</param-name>
        <param-value>true</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
        <param-value>true</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.PROJECT_STAGE</param-name>
        <param-value>Development</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.FACELETS_REFRESH_PERIOD</param-name>
        <param-value>1</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>server</param-value>
    </context-param>

    <!-- habilita o font awesome no primefaces -->
    <context-param>
        <param-name>primefaces.FONT_AWESOME</param-name>
        <param-value>true</param-value>
    </context-param>

    <!-- faz o primefaces processar as annotation do bean validation -->
    <context-param>
        <param-name>primefaces.TRANSFORM_METADATA</param-name>
        <param-value>true</param-value>
    </context-param>

    <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.xhtml</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
        <welcome-file>index.xhtml</welcome-file>
    </welcome-file-list>

    <!-- tipos mime -->
    <mime-mapping>
        <extension>ico</extension>
        <mime-type>image/x-icon</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>eot</extension>
        <mime-type>application/vnd.ms-fontobject</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>otf</extension>
        <mime-type>font/opentype</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>ttf</extension>
        <mime-type>application/x-font-ttf</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>woff</extension>
        <mime-type>application/x-font-woff</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>svg</extension>
        <mime-type>image/svg+xml</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>woff2</extension>
        <mime-type>application/x-font-woff2</mime-type>
    </mime-mapping>
    <data-source>
        <name>java:app/gace/MyDS</name>
        <class-name>org.postgresql.xa.PGXADataSource</class-name>
        <url>jdbc:postgresql://srv-banco-new:5433/teste</url>
        <user>gace_user</user>
        <password>gace_user</password>
        <property>
            <name>DataSourceCreator</name>
            <value>dbcp</value>
        </property>        
        <transactional>true</transactional>
        <isolation-level>TRANSACTION_READ_COMMITTED</isolation-level>
        <initial-pool-size>2</initial-pool-size>
        <max-pool-size>10</max-pool-size>
        <min-pool-size>5</min-pool-size>
        <max-statements>0</max-statements>
    </data-source>  

    <!--
            A URL should not be specified in conjunction with address elements such as
        server name and port. If it is, the precedence order is undefined and
        implementation specific.

    <data-source>
        <description>Sample DataSource definition</description>
        <name>java:app/MyDataSource</name>
        <class-name>com.example.MyDataSource</class-name>
        <server-name>myserver.com</server-name>
        <port-number>6689</port-number>
        <database-name>myDatabase</database-name>
        <user>lance</user>
        <password>secret</password>
        <property>
            <name>Property1</name>
            <value>10</value>
        </property>
        <property>
            <name>Property2</name>
            <value>20</value>
        </property>
        <login-timeout>0</login-timeout>
        <transactional>false</transactional>
        <isolation-level>TRANSACTION_READ_COMMITTED</isolation-level>
        <initial-pool-size>0</initial-pool-size>
        <max-pool-size>30</max-pool-size>
        <min-pool-size>20</min-pool-size>
        <max-idle-time>0</max-idle-time>
        <max-statements>50</max-statements>
    </data-source-->

</web-app>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment