Projet

Général

Profil

Actions

Support #3138

fermé

Erreurs lors de l'indexation

Ajouté par Pierre TEISSONNIERE il y a plus de 12 ans. Mis à jour il y a plus de 11 ans.

Statut:
Closed
Priorité:
Normal
Catégorie:
-
Version cible:
-
Début:
08/04/2012
Echéance:
% réalisé:

0%

Temps estimé:
Navigateur:
Tous
Votre version de Silverpeas:
5.8.1
Système d'exploitation:
Livraison en TEST:
Livraison en PROD:

Description

Lors de l'indexation, 2 types d'erreurs apparaissent :

17:11:43,129 ERROR [STDERR] Cleaning up unclosed ZipFile for archive D:\Silverpeas\data\workspaces\kmelia5852\Attachment\Images\1325151222268.docx
En effet, les fichiers Office 2007 et supérieur sont en fait des zip. Le moteur d'indexation ne les traite apparemment pas correctement.

17:17:46,452 INFO [STDOUT] ERROR : root.MSG_GEN_ENTER_METHOD | MODULE : publication.PublicationBmEJB.createIndex() | Debut de methode (pubPK = (id = 15361, space = null, componentName = kmelia6172), indexEngineBm.addIndexEntry() failed !, EXCEPTION : java.lang.NullPointerException)
17:17:46,499 INFO [STDOUT] ERROR : root.MSG_GEN_ENTER_METHOD | MODULE : publication.PublicationBmEJB.createIndex() | Debut de methode (pubPK = (id = 15362, space = null, componentName = kmelia6172), indexEngineBm.addIndexEntry() failed !, EXCEPTION : java.lang.NullPointerException)
17:17:46,577 INFO [STDOUT] ERROR : root.MSG_GEN_ENTER_METHOD | MODULE : publication.PublicationBmEJB.createIndex() | Debut de methode (pubPK = (id = 15363, space = null, componentName = kmelia6172), indexEngineBm.addIndexEntry() failed !, EXCEPTION : java.lang.NullPointerException)
...

Toutes ces erreurs ont tendance à surcharger les logs de JBoss et à les rendre pratiquement inutilisables.

Mis à jour par Pierre TEISSONNIERE il y a plus de 12 ans

Plus d'infos concernant la 2eme erreur :
08/04/12-17:20:08,801 - ERROR : root.MSG_GEN_ENTER_METHOD | MODULE : publication.PublicationBmEJB.createIndex() | Debut de methode (pubPK = (id = 23305, space = null, componentName = kmelia5374), indexEngineBm.addIndexEntry() failed !)
java.lang.NullPointerException
at com.stratelia.silverpeas.versioning.util.VersioningUtil.updateIndexEntryWithDocuments(VersioningUtil.java:356)
at com.stratelia.webactiv.util.publication.control.PublicationBmEJB.createIndex(PublicationBmEJB.java:1529)
at com.stratelia.webactiv.util.publication.control.PublicationBmEJB.createIndex(PublicationBmEJB.java:1543)
at com.stratelia.webactiv.util.publication.control.PublicationBmEJB.createIndex(PublicationBmEJB.java:1495)
at sun.reflect.GeneratedMethodAccessor513.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:233)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:100)
at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:84)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
at org.jboss.ejb.Container.invoke(Container.java:1072)
at sun.reflect.GeneratedMethodAccessor463.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
at org.jboss.proxy.ejb.SecurityContextInterceptor.invoke(SecurityContextInterceptor.java:64)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68)
at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
at $Proxy410.createIndex(Unknown Source)
at com.stratelia.webactiv.kmelia.control.ejb.KmeliaBmEJB.indexPublication(KmeliaBmEJB.java:3446)
at com.stratelia.webactiv.kmelia.control.ejb.KmeliaBmEJB.indexPublications(KmeliaBmEJB.java:3429)
at com.stratelia.webactiv.kmelia.control.ejb.KmeliaBmEJB.indexKmelia(KmeliaBmEJB.java:3400)
at sun.reflect.GeneratedMethodAccessor505.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:233)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:100)
at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:84)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
at org.jboss.ejb.Container.invoke(Container.java:1072)
at sun.reflect.GeneratedMethodAccessor463.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
at org.jboss.proxy.ejb.SecurityContextInterceptor.invoke(SecurityContextInterceptor.java:64)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68)
at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
at $Proxy346.indexKmelia(Unknown Source)
at com.stratelia.webactiv.kmelia.control.KmeliaSessionController.indexKmelia(KmeliaSessionController.java:1868)
at com.stratelia.webactiv.kmelia.KmeliaIndexer.index(KmeliaIndexer.java:40)
at com.stratelia.webactiv.applicationIndexer.control.ApplicationIndexer.indexComponent(ApplicationIndexer.java:71)
at com.stratelia.webactiv.applicationIndexer.control.ApplicationIndexer.indexComponent(ApplicationIndexer.java:116)
at com.stratelia.webactiv.applicationIndexer.control.AbstractIndexer.indexSpace(AbstractIndexer.java:91)
at com.stratelia.webactiv.applicationIndexer.control.AbstractIndexer.indexSpace(AbstractIndexer.java:97)
at com.stratelia.webactiv.applicationIndexer.control.AbstractIndexer.index(AbstractIndexer.java:58)
at com.stratelia.webactiv.applicationIndexer.control.AbstractIndexer.indexAllSpaces(AbstractIndexer.java:46)
at com.stratelia.webactiv.applicationIndexer.control.ApplicationIndexer.indexAll(ApplicationIndexer.java:44)
at org.apache.jsp.applicationIndexer.jsp.applicationIndexer_jsp._jspService(applicationIndexer_jsp.java:189)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at com.silverpeas.whitePages.filters.ComponentRequestRouterFilter.doFilter(ComponentRequestRouterFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
at java.lang.Thread.run(Thread.java:662)

Mis à jour par Pierre TEISSONNIERE il y a plus de 12 ans

Au bout d'un moment, nous avons plusieurs erreurs provenant du composant HornetQ. L'accès à Silverpeas n'est plus possible et nous sommes alors obligés de le relancer.

20:48:32,094 WARN [org.hornetq.core.protocol.core.impl.RemotingConnectionImpl] Connection failure has been detected: Did not receive data from invm:0. It is likely the client has exited or crashed without closing its connection, or the network between the server and client has failed. You also might have configured connection-ttl and client-failure-check-period incorrectly. Please check user manual for more information. The connection will now be closed. [code=3]
20:48:32,094 WARN [org.hornetq.core.server.impl.ServerSessionImpl] Client connection failed, clearing up resources for session ff40a0ed-818e-11e1-aa30-005056997a22
20:48:51,798 WARN [org.hornetq.core.protocol.core.impl.RemotingConnectionImpl] Connection failure has been detected: Did not receive data from server for org.hornetq.core.remoting.impl.invm.InVMConnection@bad698 [code=3]
20:48:51,845 WARN [org.hornetq.core.protocol.core.impl.RemotingConnectionImpl] Connection failure has been detected: Did not receive data from server for org.hornetq.core.remoting.impl.invm.InVMConnection@4bb4d4 [code=3]

Mis à jour par David Lesimple il y a plus de 12 ans

  • Assigné à mis à Miguel Moquillon

Miguel une idée du pb sur HornetQ ? est-ce lié au bug 3323 ?

Mis à jour par Miguel Moquillon il y a plus de 12 ans

Oui c'est lié au bug #3323. Ce bogue vient du JMS HornetQ de JBoss. Un ticket a d'ailleurs été créé dans le issue tracker de JBoss sur ce sujet. Le problème vient que la partie serveur d'HornetQ ne reçoit pas à temps les pings de la partie cliente et donc ce dernier ferme les connexions ! Apparemment, le pb survient principalement lors de fortes charges du système. Afin de contourner le pb, un système de retry a été implémenté dans la 5.9.2 : si la connexion a été fermée intempestivement, une tentative de réouverture est réalisée.

Mis à jour par Miguel Moquillon il y a plus de 12 ans

  • Assigné à changé de Miguel Moquillon à Stéphanie Fariello

Stéphanie, il me semble que ce problème avec l'indexation a été corrigé dans la 5.9 par Emmanuel. Peux tu me confirmer ceci ?

Mis à jour par Stéphanie Fariello il y a environ 12 ans

Le problème est-il toujours présent avec la nouvelle version ?

Mis à jour par David Lesimple il y a plus de 11 ans

  • Statut changé de New à Closed

En l'absence de retour, je cloture la demande.

Actions

Formats disponibles : Atom PDF