Support Questions

Find answers, ask questions, and share your expertise

org.apache.nifi.web.server.JettyServer Failed to start web server.shutting down.org.apache.nifi.web.NiFiCoreException: Unable to start Flow Controller

avatar
Explorer

Nifi stop working.error Unable to start Flow Controller. Nifi version : 1.11.4 java :1.8 os :Windows

Nifi application was running fine. Suddenly it is stopped, try to restart it but it is giving same error. Nifi is running single node , we are not using zookeeper and nifi cluster.

 

2022-09-21 11:38:21,130 INFO [main] org.wali.MinimalLockingWriteAheadLog org.wali.MinimalLockingWriteAheadLog@38f4a641 checkpointed with 1 Records and 0 Swap Files in 119 milliseconds (Stop-the-world time = 30 milliseconds, Clear Edit Logs time = 27 millis), max Transaction ID 40732
2022-09-21 11:38:21,163 INFO [main] o.apache.nifi.controller.FlowController Not enabling RAW Socket Site-to-Site functionality because nifi.remote.input.socket.port is not set
2022-09-21 11:38:21,194 INFO [main] o.a.n.w.c.ApplicationStartupContextListener Starting Flow Controller...
2022-09-21 11:38:21,201 INFO [main] o.apache.nifi.controller.FlowController Initiated graceful shutdown of flow controller...waiting up to 10 seconds
2022-09-21 11:38:22,159 INFO [main] o.apache.nifi.controller.FlowController Controller has been terminated successfully.
2022-09-21 11:38:22,428 WARN [main] org.eclipse.jetty.webapp.WebAppContext Failed startup of context o.e.j.w.WebAppContext@2b91004a{nifi-api,/nifi-api,file:///C:/ProgramData/NodeSense/nifi-1.11.4/work/jetty/nifi-web-api-1.11.4.war/webapp/,UNAVAILABLE}{.\work\nar\framework\nifi-framework-nar-1.11.4.nar-unpacked\NAR-INF\bundled-dependencies\nifi-web-api-1.11.4.war}
org.apache.nifi.web.NiFiCoreException: Unable to start Flow Controller.
at org.apache.nifi.web.contextlistener.ApplicationStartupContextListener.contextInitialized(ApplicationStartupContextListener.java:88)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:959)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:553)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:924)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:365)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:854)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:119)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.doStart(GzipHandler.java:406)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:119)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:119)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)
at org.eclipse.jetty.server.Server.start(Server.java:418)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.Server.doStart(Server.java:382)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:952)
at org.apache.nifi.NiFi.<init>(NiFi.java:158)
at org.apache.nifi.NiFi.<init>(NiFi.java:72)
at org.apache.nifi.NiFi.main(NiFi.java:301)
Caused by: java.util.zip.ZipException: invalid distance too far back
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.util.zip.GZIPInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at org.apache.nifi.util.file.FileUtils.copy(FileUtils.java:303)
at org.apache.nifi.controller.StandardFlowService.copyCurrentFlow(StandardFlowService.java:1060)
at org.apache.nifi.controller.StandardFlowService.loadFromBytes(StandardFlowService.java:796)
at org.apache.nifi.controller.StandardFlowService.load(StandardFlowService.java:557)
at org.apache.nifi.web.contextlistener.ApplicationStartupContextListener.contextInitialized(ApplicationStartupContextListener.java:72)
... 37 common frames omitted
2022-09-21 11:38:22,661 INFO [main] o.e.j.a.AnnotationConfiguration Scanning elapsed time=49ms
2022-09-21 11:38:22,663 INFO [main] o.e.j.s.h.C._nifi_content_viewer No Spring WebApplicationInitializer types detected on classpath
2022-09-21 11:38:22,687 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@20ccf40b{nifi-content-viewer,/nifi-content-viewer,file:///C:/ProgramData/NodeSense/nifi-1.11.4/work/jetty/nifi-web-content-viewer-1.11.4.war/webapp/,AVAILABLE}{.\work\nar\framework\nifi-framework-nar-1.11.4.nar-unpacked\NAR-INF\bundled-dependencies\nifi-web-content-viewer-1.11.4.war}
2022-09-21 11:38:22,848 INFO [main] o.e.j.a.AnnotationConfiguration Scanning elapsed time=10ms
2022-09-21 11:38:22,850 WARN [main] o.e.j.webapp.StandardDescriptorProcessor Duplicate mapping from / to default
2022-09-21 11:38:22,850 INFO [main] o.e.j.s.h.ContextHandler._nifi_docs No Spring WebApplicationInitializer types detected on classpath
2022-09-21 11:38:22,867 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@2fb3536e{nifi-docs,/nifi-docs,file:///C:/ProgramData/NodeSense/nifi-1.11.4/work/jetty/nifi-web-docs-1.11.4.war/webapp/,AVAILABLE}{.\work\nar\framework\nifi-framework-nar-1.11.4.nar-unpacked\NAR-INF\bundled-dependencies\nifi-web-docs-1.11.4.war}
2022-09-21 11:38:22,901 INFO [main] o.e.j.a.AnnotationConfiguration Scanning elapsed time=8ms
2022-09-21 11:38:22,903 INFO [main] o.e.j.server.handler.ContextHandler._ No Spring WebApplicationInitializer types detected on classpath
2022-09-21 11:38:22,917 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@169e6180{nifi-error,/,file:///C:/ProgramData/NodeSense/nifi-1.11.4/work/jetty/nifi-web-error-1.11.4.war/webapp/,AVAILABLE}{.\work\nar\framework\nifi-framework-nar-1.11.4.nar-unpacked\NAR-INF\bundled-dependencies\nifi-web-error-1.11.4.war}
2022-09-21 11:38:22,935 INFO [main] o.eclipse.jetty.server.AbstractConnector Started ServerConnector@f79e{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
2022-09-21 11:38:22,935 INFO [main] org.eclipse.jetty.server.Server Started @31402ms
2022-09-21 11:38:22,935 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server,shutting down.
org.apache.nifi.web.NiFiCoreException: Unable to start Flow Controller.
at org.apache.nifi.web.contextlistener.ApplicationStartupContextListener.contextInitialized(ApplicationStartupContextListener.java:88)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:959)

0 REPLIES 0