Image du projet 'Supervision' téléversée
  1. Supervision
  2. SUPERVISIO-107

Invocationtargetexception si Serveur Elastic arrêté

XMLWordImprimable

    • Icon: Bug Bug
    • Résolution: Non résolu
    • Icon: Mineur Mineur
    • master, branche 1.7
    • master
    • Aucune
    • 0

      Morgan a dit que ce n'est pas normal (voir ticket SUPERVISIO-101)
      On devrait avoir un message propre à priori.

      Là, ça ne passe pas :

      Stack :

      2019-12-05_14:04:02.634 [elasticsearch[docker-elastic.node][transport_client_boss][T#1]{New I/O boss #3}] [] WARN  org.elasticsearch.transport.netty - [docker-elastic.node] exception caught on transport layer [[id: 0xefa50a40]], closing connection
      java.net.NoRouteToHostException: No route to host
              at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
              at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
              at org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152)
              at org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
              at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
              at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
              at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
              at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
              at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)
      2019-12-05_14:04:09.865 [ajp-nio-8009-exec-8] [F3997981CF05B6E30A79DA362362BEAE.ksup1] ERROR c.k.s.p.SupervisionSearchProcessus - null
      java.lang.reflect.InvocationTargetException: null
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.kportal.core.processus.util.ActionManagerUtil.invoke(ActionManagerUtil.java:73)
              at com.kosmos.supervision.processus.SupervisionSearchProcessus.traiterAction(SupervisionSearchProcessus.java:89)
              at com.jsbsoft.jtf.core.ProcessusManager.traiterAction(ProcessusManager.java:241)
              at com.jsbsoft.jtf.core.ProcedureBean.descriptifFluxProcessus(ProcedureBean.java:500)
              at com.jsbsoft.jtf.core.ProcedureBean.descriptifFluxRetour(ProcedureBean.java:210)
              at com.jsbsoft.jtf.core.ProcedureBean.descriptifFluxRetour(ProcedureBean.java:238)
              at com.jsbsoft.jtf.core.TraitementRequeteHTTP.traiterRequeteHTTP(TraitementRequeteHTTP.java:489)
              at com.kosmos.controllers.SGController.doSg(SGController.java:39)
              at sun.reflect.GeneratedMethodAccessor518.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
              at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
              at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
              at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
              at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
              at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
              at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
              at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
              at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
              at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
              at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:232)
              at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:209)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at com.univ.objetspartages.util.NoCacheFilter.doFilter(NoCacheFilter.java:61)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at com.kosmos.log.MDCFilter.doFilter(MDCFilter.java:59)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at com.jsbsoft.jtf.core.LogAppFilter.doFilter(LogAppFilter.java:123)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at ro.isdc.wro.http.WroContextFilter.doFilter(WroContextFilter.java:64)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at com.kportal.pdf.PDFFilter.doFilter(PDFFilter.java:125)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at com.univ.url.filter.SiteAliasResolutionFilter.doFilter(SiteAliasResolutionFilter.java:58)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at com.univ.multisites.filter.HttpsRedirectFilter.doFilter(HttpsRedirectFilter.java:69)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at com.univ.utils.filter.ContexteFilter.doFilter(ContexteFilter.java:58)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at com.univ.utils.filter.HoneyPotFilter.doFilter(HoneyPotFilter.java:68)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
              at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:528)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
              at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
              at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:476)
              at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
              at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:810)
              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
              at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:748)
      Caused by: org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: [{#transport#-1}{elastic-ksup-docker}{10.42.98.152:9300}]
              at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:326)
              at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:223)
              at org.elasticsearch.client.transport.support.TransportProxyClient.execute(TransportProxyClient.java:55)
              at org.elasticsearch.client.transport.TransportClient.doExecute(TransportClient.java:295)
              at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:359)
              at org.elasticsearch.client.support.AbstractClient$ClusterAdmin.execute(AbstractClient.java:853)
              at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:86)
              at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:56)
              at org.elasticsearch.action.ActionRequestBuilder.get(ActionRequestBuilder.java:64)
              at com.kosmos.supervision.service.ServiceSupervisionSearchImpl.getClusterInformations(ServiceSupervisionSearchImpl.java:69)
              at com.kosmos.supervision.processus.SupervisionSearchProcessus.traiterSupervision(SupervisionSearchProcessus.java:102)
              ... 85 common frames omitted
      

            Non attribuée Non attribuée
            alice.ark Alice ARK [X] (Inactif)
            Votes:
            0 Voter pour ce ticket
            Gérer les observateurs:
            1 Démarre l'observation de ce ticket

              Création:
              Mise à jour: