Support Questions

Find answers, ask questions, and share your expertise

Unable to start NiFI after i go HTTPS.?

avatar
Super Collaborator

Hi,

I am using the latest version of NiFi and was working with HTTP recently. i tried to go HTTPS by doing the steps below and my NiFi wont start..

keytool -genkey -alias localhost -keyalg RSA -keysize 1024 -dname "CN=nifis2s,OU=nestle,O=nestle,L=selfsigned,ST=stl,C=us" -keypass testpass-keystore localhost.keystore.jks -storepass testpass

keytool -export -alias localhost -keystore localhost.keystore.jks -rfc -file localhost.cert -storepass testpass

keytool -import -noprompt -alias localhost -file localhost.cert -keystore localhost.truststore.jks -storepass testpass

it generated keystore.jks and truststore.jks files. and i pointed them in nifi.config and changed it use https. also added entry in to authorizers.xml with initial user as "CN=nifis2s,OU=nestle,O=nestle,L=selfsigned,ST=stl,C=us"

but when i tried to start up nifi after changes , it wont start up after some time it is shutting down with this errors below.

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'x509AuthenticationProvider' defined in class path resource [nifi-web-security-context.xml]: Cannot resolve reference to bean 'authorizer' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorizer': FactoryBean threw exception on object creation; nested exception is org.apache.nifi.authorization.exception.AuthorizerCreationException: javax.xml.bind.UnmarshalException

does CN=nifis2s,OU=nestle,O=nestle,L=selfsigned,ST=stl,C=us need to be a valid user on the machine.?

i tried with different combinations like CN=nifiuser,OU=test

is there anything that i am missing.??

21 REPLIES 21

avatar
Master Guru

Can you provide more of the stacktrace? I think there should be more after the UnmarshallException.

avatar
Super Collaborator

@Bryan Bende

Here are the last few lines.

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorizer': FactoryBean threw exception on object creation; nested exception is org.apache.nifi.authorization.exception.AuthorizerCreationException: javax.xml.bind.UnmarshalException - with linked exception: [org.xml.sax.SAXParseException; systemId: file:/F:/Tools/HDF-2.0.1.0/nifi/./conf/users.xml; lineNumber: 1; columnNumber: 1; Premature end of file.] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175) ~[na:na] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1585) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:317) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[na:na] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) ~[na:na] ... 53 common frames omitted Caused by: org.apache.nifi.authorization.exception.AuthorizerCreationException: javax.xml.bind.UnmarshalException - with linked exception: [org.xml.sax.SAXParseException; systemId: file:/F:/Tools/HDF-2.0.1.0/nifi/./conf/users.xml; lineNumber: 1; columnNumber: 1; Premature end of file.] at org.apache.nifi.authorization.FileAuthorizer.doOnConfigured(FileAuthorizer.java:233) ~[na:na] at org.apache.nifi.authorization.AbstractPolicyBasedAuthorizer.onConfigured(AbstractPolicyBasedAuthorizer.java:67) ~[nifi-framework-api-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12] at org.apache.nifi.authorization.AuthorizerFactoryBean$2.doOnConfigured(AuthorizerFactoryBean.java:423) ~[na:na] at org.apache.nifi.authorization.AbstractPolicyBasedAuthorizer.onConfigured(AbstractPolicyBasedAuthorizer.java:67) ~[nifi-framework-api-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12] at org.apache.nifi.authorization.AuthorizerFactoryBean.getObject(AuthorizerFactoryBean.java:107) ~[na:na] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168) ~[na:na] ... 58 common frames omitted Caused by: javax.xml.bind.UnmarshalException: null at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:335) ~[na:1.8.0_77] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:523) ~[na:na] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:220) ~[na:na] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:195) ~[na:na] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:246) ~[na:na] at org.apache.nifi.authorization.FileAuthorizer.unmarshallTenants(FileAuthorizer.java:299) ~[na:na] at org.apache.nifi.authorization.FileAuthorizer.load(FileAuthorizer.java:251) ~[na:na] at org.apache.nifi.authorization.FileAuthorizer.doOnConfigured(FileAuthorizer.java:218) ~[na:na] ... 63 common frames omitted Caused by: org.xml.sax.SAXParseException: Premature end of file. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) ~[na:1.8.0_77] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177) ~[na:1.8.0_77] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400) ~[na:1.8.0_77] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) ~[na:1.8.0_77] at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1437) ~[na:1.8.0_77] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1019) ~[na:1.8.0_77] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) ~[na:1.8.0_77] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118) ~[na:1.8.0_77] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) ~[na:1.8.0_77] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848) ~[na:1.8.0_77] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777) ~[na:1.8.0_77] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) ~[na:1.8.0_77] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) ~[na:1.8.0_77] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643) ~[na:1.8.0_77] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:216) ~[na:na] ... 68 common frames omitted 2016-11-16 14:57:32,565 INFO [Thread-1] org.apache.nifi.NiFi Jetty web server shutdown completed (nicely or otherwise).

avatar

The error "org.xml.sax.SAXParseException; systemId: file:/F:/Tools/HDF-2.0.1.0/nifi/./conf/users.xml; lineNumber: 1; columnNumber: 1; Premature end of file." indicates that the users.xml file was either empty or contained only comments.

avatar
Master Guru

It looks like something is wrong with the users.xml file, can you paste the contents of that?

avatar
Master Mentor

@Saikrishna Tarapareddy

It seems to not like your users.xml file.

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorizer': FactoryBean threw exception on object creation; nested exception is org.apache.nifi.authorization.exception.AuthorizerCreationException: javax.xml.bind.UnmarshalException - with linked exception: [org.xml.sax.SAXParseException; systemId: file:/F:/Tools/HDF-2.0.1.0/nifi/./conf/users.xml; lineNumber: 1; columnNumber: 1; Premature end of file.

The users.xml file is created using the values configured in the authorizers.xml file when NiFi is started for the first time after being configured for SSL. Subsequent restarts of NiFi will not result in a new users.xml file being created. This File should not be manually created or edited.

Since this is the first time trying to get HTTPS working, try deleting the users.xml and authorizations.xml files and restart again. Do you see the same error still?

If so, can you share the configuration from your authorizers.xml file?

Thanks,

Matt

avatar
Super Collaborator

@Matt @Bryan Bende

I deleted user.xml and now the error says it can't find the truststore.jks and here is some of the trace..i have verified that the file do exists in the /conf folder..

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowController': FactoryBean threw exception on object creation; nested exception is org.apache.nifi.framework.security.util.SslContextCreationException: java.io.FileNotFoundException: =.\conf\nifidev.truststore.jks (The system cannot find the path specified) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE] at

---

---

2016-11-17 13:19:21,826 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down. java.lang.IllegalStateException: no valid keystore at org.eclipse.jetty.util.security.CertificateUtils.getKeyStore(CertificateUtils.java:48) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.util.ssl.SslContextFactory.loadTrustStore(SslContextFactory.java:1053) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:335) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.SslConnectionFactory.doStart(SslConnectionFactory.java:64) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:260) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:81) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.Server.doStart(Server.java:390) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517] at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:651) ~[nifi-jetty-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12] at org.apache.nifi.NiFi.<init>(NiFi.java:152) [nifi-runtime-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12] at org.apache.nifi.NiFi.main(NiFi.java:243) [nifi-runtime-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12] 2016-11-17 13:19:21,827 INFO [Thread-1] org.apache.nifi.NiFi Initiating shutdown of Jetty web server... 2016-11-17 13:19:21,833 INFO [Thread-1] o.eclipse.jetty.server.AbstractConnector Stopped ServerConnector@1b917350{SSL,[ssl, http/1.1]}{0.0.0.0:9443} 2016-11-17 13:19:21,846 INFO [Thread-1] o.e.jetty.server.handler.ContextHandler Stopped o.e.j.w.WebAppContext@7945986a{/,null,UNAVAILABLE}{.\work\nar\framework\nifi-framework-nar-1.0.0.2.0.1.0-12.nar-unpacked\META-INF\bundled-dependencies\nifi-web-error-1.0.0.2.0.1.0-12.war} 2016-11-17 13:19:21,858 INFO [Thread-1] o.e.jetty.server.handler.ContextHandler Stopped o.e.j.w.WebAppContext@5e085259{/nifi-docs,null,UNAVAILABLE}{.\work\nar\framework\nifi-framework-nar-1.0.0.2.0.1.0-12.nar-unpacked\META-INF\bundled-dependencies\nifi-web-docs-1.0.0.2.0.1.0-12.war} 2016-11-17 13:19:21,858 INFO [Thread-1] o.e.jetty.server.handler.ContextHandler Stopped o.e.j.s.h.ContextHandler@6f9999f6{/nifi-docs,null,UNAVAILABLE} 2016-11-17 13:19:21,867 INFO [Thread-1] o.e.jetty.server.handler.ContextHandler Stopped o.e.j.w.WebAppContext@1c15a6aa{/nifi-content-viewer,null,UNAVAILABLE}{.\work\nar\framework\nifi-framework-nar-1.0.0.2.0.1.0-12.nar-unpacked\META-INF\bundled-dependencies\nifi-web-content-viewer-1.0.0.2.0.1.0-12.war} 2016-11-17 13:19:21,868 INFO [Thread-1] o.a.n.w.c.ApplicationStartupContextListener Initiating shutdown of flow service... 2016-11-17 13:19:21,869 WARN [Thread-1] o.a.n.w.c.ApplicationStartupContextListener Problem occurred ensuring flow controller or repository was properly terminated due to org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowController': FactoryBean threw exception on object creation; nested exception is org.apache.nifi.framework.security.util.SslContextCreationException: java.io.FileNotFoundException: =.\conf\nifidev.truststore.jks (The system cannot find the path specified)

avatar
Master Mentor

@Saikrishna Tarapareddy

Are you running your NiFi on Windows or Linux based OS?

I do not have a Windows based server available to look at this, but try changing the configurations for path to the keystore and truststore in your nifi.properties file to the fully qualified windows path rather then .\conf\nifidev.truststore.jks

Matt

avatar

Also ensure that the keystore files have the correct permissions to be readable by the user running NiFi.

avatar
Super Collaborator

@Matt @Bryan Bende

Hi Matt,

I have deleted the Users.xml file as it needs authorisers.xml i didn't delete it. this time it created a new users.xml file with the user in Autorisers.xml. but now complains about the .JKS files..even though they exists it complains..i have BOLDED some of them in the trace below.

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowController': FactoryBean threw exception on object creation; nested exception is org.apache.nifi.framework.security.util.SslContextCreationException: java.io.FileNotFoundException: =.\conf\localhost.truststore.jks (The system cannot find the path specified)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1585) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:317) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1060) ~[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
at org.apache.nifi.web.contextlistener.ApplicationStartupContextListener.contextInitialized(ApplicationStartupContextListener.java:52) ~[na:na]
... 23 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowController': FactoryBean threw exception on object creation; nested exception is org.apache.nifi.framework.security.util.SslContextCreationException: java.io.FileNotFoundException: =.\conf\localhost.truststore.jks (The system cannot find the path specified)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1585) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:317) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1060) ~[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
at org.apache.nifi.spring.StandardFlowServiceFactoryBean.getObject(StandardFlowServiceFactoryBean.java:48) ~[nifi-framework-core-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12]
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
... 29 common frames omitted
Caused by: org.apache.nifi.framework.security.util.SslContextCreationException: java.io.FileNotFoundException: =.\conf\localhost.truststore.jks (The system cannot find the path specified)
at org.apache.nifi.framework.security.util.SslContextFactory.createSslContext(SslContextFactory.java:105) ~[nifi-security-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12]
at org.apache.nifi.controller.FlowController.<init>(FlowController.java:440) ~[nifi-framework-core-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12]
at org.apache.nifi.controller.FlowController.createStandaloneInstance(FlowController.java:375) ~[nifi-framework-core-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12]
at org.apache.nifi.spring.FlowControllerFactoryBean.getObject(FlowControllerFactoryBean.java:74) ~[nifi-framework-core-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12]
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
... 36 common frames omitted
Caused by: java.io.FileNotFoundException: =.\conf\localhost.truststore.jks (The system cannot find the path specified)
at java.io.FileInputStream.open0(Native Method) ~[na:1.8.0_77]
at java.io.FileInputStream.open(FileInputStream.java:195) ~[na:1.8.0_77]
at java.io.FileInputStream.<init>(FileInputStream.java:138) ~[na:1.8.0_77]
at java.io.FileInputStream.<init>(FileInputStream.java:93) ~[na:1.8.0_77]
at org.apache.nifi.framework.security.util.SslContextFactory.createSslContext(SslContextFactory.java:73) ~[nifi-security-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12]
... 40 common frames omitted
2016-11-17 12:41:29,471 INFO [main] /nifi-content-viewer No Spring WebApplicationInitializer types detected on classpath
2016-11-17 12:41:29,483 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@7945986a{/nifi-content-viewer,file:///F:/Tools/HDF-2.0.1.0/nifi/work/jetty/nifi-web-content-viewer-1.0.0.2.0.1.0-12.war/webapp/,AVAILABLE}{.\work\nar\framework\nifi-framework-nar-1.0.0.2.0.1.0-12.nar-unpacked\META-INF\bundled-dependencies\nifi-web-content-viewer-1.0.0.2.0.1.0-12.war}
2016-11-17 12:41:29,486 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.s.h.ContextHandler@79080255{/nifi-docs,null,AVAILABLE}
2016-11-17 12:41:29,785 INFO [main] /nifi-docs No Spring WebApplicationInitializer types detected on classpath
2016-11-17 12:41:29,836 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@2cdb53d6{/nifi-docs,file:///F:/Tools/HDF-2.0.1.0/nifi/work/jetty/nifi-web-docs-1.0.0.2.0.1.0-12.war/webapp/,AVAILABLE}{.\work\nar\framework\nifi-framework-nar-1.0.0.2.0.1.0-12.nar-unpacked\META-INF\bundled-dependencies\nifi-web-docs-1.0.0.2.0.1.0-12.war}
2016-11-17 12:41:30,014 INFO [main] / No Spring WebApplicationInitializer types detected on classpath
2016-11-17 12:41:30,064 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@4a225014{/,file:///F:/Tools/HDF-2.0.1.0/nifi/work/jetty/nifi-web-error-1.0.0.2.0.1.0-12.war/webapp/,AVAILABLE}{.\work\nar\framework\nifi-framework-nar-1.0.0.2.0.1.0-12.nar-unpacked\META-INF\bundled-dependencies\nifi-web-error-1.0.0.2.0.1.0-12.war}
2016-11-17 12:41:30,078 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down.
java.lang.IllegalStateException: no valid keystore
at org.eclipse.jetty.util.security.CertificateUtils.getKeyStore(CertificateUtils.java:48) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.util.ssl.SslContextFactory.loadTrustStore(SslContextFactory.java:1053) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:335) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.SslConnectionFactory.doStart(SslConnectionFactory.java:64) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:260) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:81) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.Server.doStart(Server.java:390) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:651) ~[nifi-jetty-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12]
at org.apache.nifi.NiFi.<init>(NiFi.java:152) [nifi-runtime-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12]
at org.apache.nifi.NiFi.main(NiFi.java:243) [nifi-runtime-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12]
2016-11-17 12:41:30,079 INFO [Thread-1] org.apache.nifi.NiFi Initiating shutdown of Jetty web server...
2016-11-17 12:41:30,086 INFO [Thread-1] o.eclipse.jetty.server.AbstractConnector Stopped ServerConnector@ed4d0dc{SSL,[ssl, http/1.1]}{0.0.0.0:9443}
2016-11-17 12:41:30,103 INFO [Thread-1] o.e.jetty.server.handler.ContextHandler Stopped o.e.j.w.WebAppContext@4a225014{/,null,UNAVAILABLE}{.\work\nar\framework\nifi-framework-nar-1.0.0.2.0.1.0-12.nar-unpacked\META-INF\bundled-dependencies\nifi-web-error-1.0.0.2.0.1.0-12.war}
2016-11-17 12:41:30,114 INFO [Thread-1] o.e.jetty.server.handler.ContextHandler Stopped o.e.j.w.WebAppContext@2cdb53d6{/nifi-docs,null,UNAVAILABLE}{.\work\nar\framework\nifi-framework-nar-1.0.0.2.0.1.0-12.nar-unpacked\META-INF\bundled-dependencies\nifi-web-docs-1.0.0.2.0.1.0-12.war}
2016-11-17 12:41:30,114 INFO [Thread-1] o.e.jetty.server.handler.ContextHandler Stopped o.e.j.s.h.ContextHandler@79080255{/nifi-docs,null,UNAVAILABLE}
2016-11-17 12:41:30,123 INFO [Thread-1] o.e.jetty.server.handler.ContextHandler Stopped o.e.j.w.WebAppContext@7945986a{/nifi-content-viewer,null,UNAVAILABLE}{.\work\nar\framework\nifi-framework-nar-1.0.0.2.0.1.0-12.nar-unpacked\META-INF\bundled-dependencies\nifi-web-content-viewer-1.0.0.2.0.1.0-12.war}
2016-11-17 12:41:30,123 INFO [Thread-1] o.a.n.w.c.ApplicationStartupContextListener Initiating shutdown of flow service...
2016-11-17 12:41:30,125 WARN [Thread-1] o.a.n.w.c.ApplicationStartupContextListener Problem occurred ensuring flow controller or repository was properly terminated due to org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowController': FactoryBean threw exception on object creation; nested exception is org.apache.nifi.framework.security.util.SslContextCreationException: java.io.FileNotFoundException: =.\conf\localhost.truststore.jks (The system cannot find the path specified)
2016-11-17 12:41:30,125 INFO [Thread-1] /nifi-api Closing Spring root WebApplicationContext
2016-11-17 12:41:30,283 INFO [Thread-1] o.e.jetty.server.handler.ContextHandler Stopped o.e.j.w.WebAppContext@5c30decf{/nifi-api,null,UNAVAILABLE}{.\work\nar\framework\nifi-framework-nar-1.0.0.2.0.1.0-12.nar-unpacked\META-INF\bundled-dependencies\nifi-web-api-1.0.0.2.0.1.0-12.war}
2016-11-17 12:41:30,762 INFO [Thread-1] o.e.jetty.server.handler.ContextHandler Stopped o.e.j.w.WebAppContext@2eda4eeb{/nifi,null,UNAVAILABLE}{.\work\nar\framework\nifi-framework-nar-1.0.0.2.0.1.0-12.nar-unpacked\META-INF\bundled-dependencies\nifi-web-ui-1.0.0.2.0.1.0-12.war}
2016-11-17 12:41:30,772 INFO [Thread-1] o.e.jetty.server.handler.ContextHandler Stopped o.e.j.w.WebAppContext@186d8a71{/nifi-standard-content-viewer-1.0.0.2.0.1.0-12,null,UNAVAILABLE}{.\work\nar\extensions\nifi-standard-nar-1.0.0.2.0.1.0-12.nar-unpacked\META-INF\bundled-dependencies\nifi-standard-content-viewer-1.0.0.2.0.1.0-12.war}
2016-11-17 12:41:30,780 INFO [Thread-1] o.e.jetty.server.handler.ContextHandler Stopped o.e.j.w.WebAppContext@1e54a6b1{/nifi-image-viewer-1.0.0.2.0.1.0-12,null,UNAVAILABLE}{.\work\nar\extensions\nifi-media-nar-1.0.0.2.0.1.0-12.nar-unpacked\META-INF\bundled-dependencies\nifi-image-viewer-1.0.0.2.0.1.0-12.war}
2016-11-17 12:41:30,799 INFO [Thread-1] o.e.jetty.server.handler.ContextHandler Stopped o.e.j.w.WebAppContext@3a8cea24{/nifi-update-attribute-ui-1.0.0.2.0.1.0-12,null,UNAVAILABLE}{.\work\nar\extensions\nifi-update-attribute-nar-1.0.0.2.0.1.0-12.nar-unpacked\META-INF\bundled-dependencies\nifi-update-attribute-ui-1.0.0.2.0.1.0-12.war}
2016-11-17 12:41:30,837 INFO [Thread-1] o.e.jetty.server.handler.ContextHandler Stopped o.e.j.w.WebAppContext@5ae1c281{/nifi-jolt-transform-json-ui-1.0.0.2.0.1.0-12,null,UNAVAILABLE}{.\work\nar\extensions\nifi-standard-nar-1.0.0.2.0.1.0-12.nar-unpacked\META-INF\bundled-dependencies\nifi-jolt-transform-json-ui-1.0.0.2.0.1.0-12.war}
2016-11-17 12:41:30,841 INFO [Thread-1] org.apache.nifi.NiFi Jetty web server shutdown completed (nicely or otherwise).