Nao sei oq diz este log

4 respostas
M

Pessoal quando eu rodo o sistema no tomcat é gerado um monte de log com o nome de varias classes eu separei de uma classe para não postar muita coisa igual.

mas o sistema funciona! alguem sabe o que pode ser isto? eu estou usando hibernate e GWT.

com.neo.data.client.fontedados.Analise INFO | jvm 1 | 2010/07/19 09:28:14 | java.lang.RuntimeException: duplicate method: getProxyInformation in com.neo.data.client.fontedados.Analise_$$_javassist_263 INFO | jvm 1 | 2010/07/19 09:28:14 | at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:342) INFO | jvm 1 | 2010/07/19 09:28:14 | at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:312) INFO | jvm 1 | 2010/07/19 09:28:14 | at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:271) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:162) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:66) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:188) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:151) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:78) INFO | jvm 1 | 2010/07/19 09:28:14 | at sun.reflect.GeneratedConstructorAccessor52.newInstance(Unknown Source) INFO | jvm 1 | 2010/07/19 09:28:14 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) INFO | jvm 1 | 2010/07/19 09:28:14 | at java.lang.reflect.Constructor.newInstance(Unknown Source) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:107) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.tuple.entity.EntityTuplizerFactory.constructDefaultTuplizer(EntityTuplizerFactory.java:135) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:80) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:323) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:456) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:131) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:267) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) INFO | jvm 1 | 2010/07/19 09:28:14 | at com.neo.util.HibernateUtil.inicializa(HibernateUtil.java:54) INFO | jvm 1 | 2010/07/19 09:28:14 | at com.neo.util.HibernateUtil.getSessionFactory(HibernateUtil.java:92) INFO | jvm 1 | 2010/07/19 09:28:14 | at com.neo.util.HibernateUtil.getSession(HibernateUtil.java:385) INFO | jvm 1 | 2010/07/19 09:28:14 | at com.neo.data.server.IntegracaoDAO.getEstruturaProjetoPub(IntegracaoDAO.java:41) INFO | jvm 1 | 2010/07/19 09:28:14 | at com.neo.integracao.IndicadorES.setValue(IndicadorES.java:68) INFO | jvm 1 | 2010/07/19 09:28:14 | at com.neo.integracao.AtualizaIndicador.atribuiValor(AtualizaIndicador.java:21) INFO | jvm 1 | 2010/07/19 09:28:14 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2010/07/19 09:28:14 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2010/07/19 09:28:14 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2010/07/19 09:28:14 | at java.lang.reflect.Method.invoke(Unknown Source) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:102) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131) INFO | jvm 1 | 2010/07/19 09:28:14 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) INFO | jvm 1 | 2010/07/19 09:28:14 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) INFO | jvm 1 | 2010/07/19 09:28:14 | at java.lang.Thread.run(Unknown Source) INFO | jvm 1 | 2010/07/19 09:28:14 | Caused by: javassist.bytecode.DuplicateMemberException: duplicate method: getProxyInformation in com.neo.data.client.fontedados.Analise_$$_javassist_263 INFO | jvm 1 | 2010/07/19 09:28:14 | at javassist.bytecode.ClassFile.testExistingMethod(ClassFile.java:552) INFO | jvm 1 | 2010/07/19 09:28:14 | at javassist.bytecode.ClassFile.addMethod(ClassFile.java:532) INFO | jvm 1 | 2010/07/19 09:28:14 | at javassist.util.proxy.ProxyFactory.override(ProxyFactory.java:655) INFO | jvm 1 | 2010/07/19 09:28:14 | at javassist.util.proxy.ProxyFactory.overrideMethods(ProxyFactory.java:629) INFO | jvm 1 | 2010/07/19 09:28:14 | at javassist.util.proxy.ProxyFactory.make(ProxyFactory.java:550) INFO | jvm 1 | 2010/07/19 09:28:14 | at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:333) INFO | jvm 1 | 2010/07/19 09:28:14 | ... 51 more

sei que pouca gente usa GWT mas tenho outro problema, que é um erro do proprio do GWT, que é na tecla de atalho F1 e a letra P que usam o mesmo atalho que é o numero 112.
algum sabe como posso fazer a letra P não funcionar?? ou se tem como usar o atalho sem utilizar o numero!

desde ja agradeço…

4 Respostas

D

microd:
... INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:162) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:66) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:188) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:151) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:78) INFO | jvm 1 | 2010/07/19 09:28:14 | at sun.reflect.GeneratedConstructorAccessor52.newInstance(Unknown Source) INFO | jvm 1 | 2010/07/19 09:28:14 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) INFO | jvm 1 | 2010/07/19 09:28:14 | at java.lang.reflect.Constructor.newInstance(Unknown Source) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:107) ... 51 more
@microd,
Parece ser algum problema na configuração de Hibernate: procure na Documentação do Hibernate algo sobre Tuplizer, Proxy, Javassist Lazy, etc.

Jhonny_Oliveira

Não tenho muita certeza, faz algum tempo que não mexo com Web em java.

Mas se estiver usando o log4j, veja no arquivo

log4j.properties

se existe a linha log4j.logger.org.hibernate=info

Acredito que tenha alguma relação com esses Logs.

espero ter ajudado

M

derlon:
microd:
... INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:162) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:66) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:188) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:151) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:78) INFO | jvm 1 | 2010/07/19 09:28:14 | at sun.reflect.GeneratedConstructorAccessor52.newInstance(Unknown Source) INFO | jvm 1 | 2010/07/19 09:28:14 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) INFO | jvm 1 | 2010/07/19 09:28:14 | at java.lang.reflect.Constructor.newInstance(Unknown Source) INFO | jvm 1 | 2010/07/19 09:28:14 | at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:107) ... 51 more
@microd,
Parece ser algum problema na configuração de Hibernate: procure na Documentação do Hibernate algo sobre Tuplizer, Proxy, Javassist Lazy, etc.

eu estou usando lazy no mapeamento. vou ver a Documentação do Hibernate para ver se esta faltando alguma configuração.
se algum tiver alguma ideia pode falar ai…agradeço pelas ajuda.

Giulliano

Para ler os logs de Java basta dar um find na palavra “Caused By”

no seu caso : Caused by: javassist.bytecode.DuplicateMemberException: duplicate method: getProxyInformation in com.neo.data.client.fontedados.Analise_$$_javassist_263

método duplicado numa classe chamada “Analise”…talvez vc precis recomplidar o projeto, apagar os temps, ou algum problema com herança…

Criado 19 de julho de 2010
Ultima resposta 19 de jul. de 2010
Respostas 4
Participantes 4