Log erro Jboss 7

5 respostas
Diguinho.Max
Pessoal alguém poderia me dizer pq esse log de error ? pois a aplicação funciona normal.
23:09:48,144 INFO  [org.jboss.modules] JBoss Modules version 1.0.2.GA
23:09:52,325 INFO  [org.jboss.msc] JBoss MSC version 1.0.1.GA
23:09:52,386 INFO  [org.jboss.as] JBoss AS 7.0.2.Final "Arc" starting
23:09:53,446 WARN  [org.jboss.as] No security realm defined for native management service, all access will be unrestricted.
23:09:53,527 INFO  [org.jboss.as] creating http management service using network interface (management) port (9990)
23:09:53,527 WARN  [org.jboss.as] No security realm defined for http management service, all access will be unrestricted.
23:09:53,537 INFO  [org.jboss.as.logging] Removing bootstrap log handlers
23:09:53,957 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)
23:09:54,007 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
23:09:54,117 INFO  [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.
23:09:54,327 INFO  [org.jboss.as.naming] (Controller Boot Thread) JBAS011800: Activating Naming Subsystem
23:09:55,387 INFO  [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service
23:09:55,448 INFO  [org.jboss.as.osgi] (Controller Boot Thread) JBAS011910: Activating OSGi Subsystem
23:09:55,488 INFO  [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem
23:09:55,638 INFO  [org.jboss.remoting] (MSC service thread 1-5) JBoss Remoting version 3.2.0.Beta2
23:09:55,758 INFO  [org.xnio] (MSC service thread 1-5) XNIO Version 3.0.0.Beta3
23:09:55,848 INFO  [org.xnio.nio] (MSC service thread 1-5) XNIO NIO Implementation Version 3.0.0.Beta3
23:09:56,208 INFO  [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-8) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_31\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.6.0_31\jre\bin;native;.
23:09:56,368 INFO  [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem
23:09:56,378 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) Listening on /127.0.0.1:9999
23:09:56,425 INFO  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-3) Starting remote JMX connector
23:09:56,970 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-8) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
23:09:59,350 INFO  [org.jboss.as.connector] (MSC service thread 1-7) Starting JCA Subsystem (JBoss IronJacamar 1.0.3.Final)
23:09:59,651 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) Bound data source [java:jboss/datasources/ExampleDS]
23:09:59,701 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) Bound data source [java:/MySqlDS]
23:10:01,731 INFO  [org.jboss.as.deployment] (MSC service thread 1-2) Started FileSystemDeploymentService for directory C:\jboss-as-web-7.0.2.Final\standalone\deployments
23:10:01,772 INFO  [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Found SGPJ.war in deployment directory. To trigger deployment create a file called SGPJ.war.dodeploy
23:10:01,802 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "SGPJ.war"
23:10:06,432 WARN  [org.jboss.as.server.deployment.service-loader] (MSC service thread 1-1) Encountered invalid class name "com.sun.faces.vendor.Tomcat6InjectionProvider:org.apache.catalina.util.DefaultAnnotationProcessor" for service type "com.sun.faces.spi.injectionprovider"
23:10:06,432 WARN  [org.jboss.as.server.deployment.service-loader] (MSC service thread 1-1) Encountered invalid class name "com.sun.faces.vendor.Jetty6InjectionProvider:org.mortbay.jetty.plus.annotation.InjectionCollection" for service type "com.sun.faces.spi.injectionprovider"
23:10:06,442 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) added javax.persistence.api dependency to SGPJ.war
23:10:07,216 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) Deployment has its own Persistence Provider class org.hibernate.ejb.HibernatePersistence 
23:10:07,396 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
23:10:07,436 INFO  [org.apache.catalina.core.StandardContext] (MSC service thread 1-3) The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
23:10:07,827 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-3) Inicializando Mojarra 2.1.3 (SNAPSHOT 20110825) para o contexto '/SGPJ'
23:10:09,727 INFO  [org.hibernate.validator.util.Version] (MSC service thread 1-3) Hibernate Validator 4.2.0.Final
23:10:10,991 INFO  [org.richfaces.log.Cache] (MSC service thread 1-3) Selected fallback cache factory
23:10:10,991 INFO  [org.richfaces.log.Cache] (MSC service thread 1-3) Creating LRUMap cache instance using parameters: {org.richfaces.control_skinning=disable, org.richfaces.skin=blueSky, javax.faces.FACELETS_SKIP_COMMENTS=true, javax.faces.DEFAULT_SUFFIX=.xhtml}
23:10:11,182 INFO  [org.richfaces.log.Cache] (MSC service thread 1-3) Creating LRUMap cache instance of 512 items capacity
23:10:13,942 INFO  [org.jboss.web] (MSC service thread 1-3) registering web context: /SGPJ
23:10:13,942 INFO  [org.jboss.as] (MSC service thread 1-3) JBoss AS 7.0.2.Final "Arc" started in 27568ms - Started 239 of 296 services (57 services are passive or on-demand)
23:10:14,013 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "SGPJ.war"
23:12:06,323 ERROR [stderr] (http--127.0.0.1-8080-3) 164 [http--127.0.0.1-8080-3] INFO org.hibernate.annotations.common.Version - Hibernate Commons Annotations 3.2.0.Final

23:12:06,344 ERROR [stderr] (http--127.0.0.1-8080-3) 185 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.Environment - Hibernate 3.6.8.Final

23:12:06,346 ERROR [stderr] (http--127.0.0.1-8080-3) 187 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.Environment - hibernate.properties not found

23:12:06,349 ERROR [stderr] (http--127.0.0.1-8080-3) 190 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist

23:12:06,351 ERROR [stderr] (http--127.0.0.1-8080-3) 192 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling

23:12:06,491 ERROR [stderr] (http--127.0.0.1-8080-3) 332 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.Configuration - configuring from resource: hibernate.cfg.xml

23:12:06,492 ERROR [stderr] (http--127.0.0.1-8080-3) 333 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.Configuration - Configuration resource: hibernate.cfg.xml

23:12:06,676 ERROR [stderr] (http--127.0.0.1-8080-3) 517 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.Configuration - Configured SessionFactory: null

23:12:06,812 ERROR [stderr] (http--127.0.0.1-8080-3) 653 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: modelo.Pessoa

23:12:06,828 ERROR [stderr] (http--127.0.0.1-8080-3) 669 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.annotations.QueryBinder - Binding named query: PessoaBuscaPorNome => from Pessoa p where p.nome like :nome

23:12:06,841 ERROR [stderr] (http--127.0.0.1-8080-3) 682 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity modelo.Pessoa on table PESSOA

23:12:06,966 ERROR [stderr] (http--127.0.0.1-8080-3) 807 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: modelo.Cidade

23:12:06,966 ERROR [stderr] (http--127.0.0.1-8080-3) 807 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.annotations.QueryBinder - Binding named query: buscaCidadesPorEstado => FROM Cidade c where c.uf.id = :idCidade

23:12:06,966 ERROR [stderr] (http--127.0.0.1-8080-3) 807 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity modelo.Cidade on table CIDADE

23:12:06,968 ERROR [stderr] (http--127.0.0.1-8080-3) 809 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: modelo.Uf

23:12:06,968 ERROR [stderr] (http--127.0.0.1-8080-3) 809 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity modelo.Uf on table ESTADO

23:12:06,969 ERROR [stderr] (http--127.0.0.1-8080-3) 810 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: modelo.TipoPessoa

23:12:06,970 ERROR [stderr] (http--127.0.0.1-8080-3) 811 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity modelo.TipoPessoa on table TIPOPESSOA

23:12:06,971 ERROR [stderr] (http--127.0.0.1-8080-3) 812 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: modelo.Endereco

23:12:06,971 ERROR [stderr] (http--127.0.0.1-8080-3) 812 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity modelo.Endereco on table ENDERECO

23:12:06,973 ERROR [stderr] (http--127.0.0.1-8080-3) 814 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: modelo.EstadoCivil

23:12:06,973 ERROR [stderr] (http--127.0.0.1-8080-3) 814 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity modelo.EstadoCivil on table ESTADOCIVIL

23:12:06,974 ERROR [stderr] (http--127.0.0.1-8080-3) 815 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: modelo.Situacao

23:12:06,974 ERROR [stderr] (http--127.0.0.1-8080-3) 815 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity modelo.Situacao on table SITUACAO

23:12:06,975 ERROR [stderr] (http--127.0.0.1-8080-3) 816 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: modelo.Profissao

23:12:06,975 ERROR [stderr] (http--127.0.0.1-8080-3) 816 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity modelo.Profissao on table PROFISSAO

23:12:06,976 ERROR [stderr] (http--127.0.0.1-8080-3) 817 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: modelo.Classificacao

23:12:06,977 ERROR [stderr] (http--127.0.0.1-8080-3) 818 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity modelo.Classificacao on table CLASSIFICACAO

23:12:06,977 ERROR [stderr] (http--127.0.0.1-8080-3) 818 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: modelo.Nacionalidade

23:12:06,978 ERROR [stderr] (http--127.0.0.1-8080-3) 819 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity modelo.Nacionalidade on table NACIONALIDADE

23:12:06,979 ERROR [stderr] (http--127.0.0.1-8080-3) 820 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: modelo.RamoDeAtividade

23:12:06,979 ERROR [stderr] (http--127.0.0.1-8080-3) 820 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity modelo.RamoDeAtividade on table RAMODEATIVIDADE

23:12:06,980 ERROR [stderr] (http--127.0.0.1-8080-3) 821 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: modelo.Cargo

23:12:06,980 ERROR [stderr] (http--127.0.0.1-8080-3) 821 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity modelo.Cargo on table CARGO

23:12:06,981 ERROR [stderr] (http--127.0.0.1-8080-3) 822 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: modelo.TipoCilente

23:12:06,981 ERROR [stderr] (http--127.0.0.1-8080-3) 822 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity modelo.TipoCilente on table TIPODOCLIENTE

23:12:06,986 ERROR [stderr] (http--127.0.0.1-8080-3) 827 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: modelo.Pessoa.ramoDeAtividade -> RAMODEATIVIDADE

23:12:06,987 ERROR [stderr] (http--127.0.0.1-8080-3) 828 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: modelo.Pessoa.endereco -> ENDERECO

23:12:06,988 ERROR [stderr] (http--127.0.0.1-8080-3) 829 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.Configuration - Hibernate Validator not found: ignoring

23:12:07,052 ERROR [stderr] (http--127.0.0.1-8080-3) 893 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.search.HibernateSearchEventListenerRegister - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.

23:12:07,058 ERROR [stderr] (http--127.0.0.1-8080-3) 899 [http--127.0.0.1-8080-3] INFO org.hibernate.util.NamingHelper - JNDI InitialContext properties:{}

23:12:07,094 ERROR [stderr] (http--127.0.0.1-8080-3) 935 [http--127.0.0.1-8080-3] INFO org.hibernate.connection.DatasourceConnectionProvider - Using datasource: java:/MySqlDS

23:12:07,142 ERROR [stderr] (http--127.0.0.1-8080-3) 983 [http--127.0.0.1-8080-3] INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.MySQLDialect

23:12:07,185 ERROR [stderr] (http--127.0.0.1-8080-3) 1026 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.SettingsFactory - Database ->
23:12:07,185 ERROR [stderr] (http--127.0.0.1-8080-3)        name : MySQL
23:12:07,185 ERROR [stderr] (http--127.0.0.1-8080-3)     version : 5.5.21
23:12:07,185 ERROR [stderr] (http--127.0.0.1-8080-3)       major : 5
23:12:07,185 ERROR [stderr] (http--127.0.0.1-8080-3)       minor : 5

23:12:07,186 ERROR [stderr] (http--127.0.0.1-8080-3) 1027 [http--127.0.0.1-8080-3] INFO org.hibernate.cfg.SettingsFactory - Driver ->
23:12:07,186 ERROR [stderr] (http--127.0.0.1-8080-3)        name : MySQL-AB JDBC Driver
23:12:07,186 ERROR [stderr] (http--127.0.0.1-8080-3)     version : mysql-connector-java-5.1.18 ( Revision: [email removido]-20110930151701-jfj14ddfq48ifkfq )
23:12:07,186 ERROR [stderr] (http--127.0.0.1-8080-3)       major : 5
23:12:07,186 ERROR [stderr] (http--127.0.0.1-8080-3)       minor : 1

5 Respostas

B

Inclusive essas named queries listadas no erro estão funcionando?

Diguinho.Max

o pior que sim amigo ele me retorna a lista que peço pra buscar do banco com os valores corretos.
nao sei o pq esse erros ;/

jmag

Talvez essa thread possa te ajudar…

[]s

Diguinho.Max

não ajudou amigo pois lá estão usando JPA, no meu projeto nao estou usando JPA simplemente configurei o datasource no jboss e chamei no hibernate.cfg.xml

porem a aplicação está funcionando nao sei se vcs notoram ele da um error e depois um info…

nao consigo entender o pq ;/

Hebert_Coelho

Pode ser a versão do Hibernate que está antiga. Repare que o Hibernate loga como info e o JBoss entende como erro.

ERROR [stderr] (http–127.0.0.1-8080-3) 190 [http–127.0.0.1-8080-3] INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist
Tenta atualizar seu hibernate. [=

Criado 1 de março de 2012
Ultima resposta 6 de mar. de 2012
Respostas 5
Participantes 4