Member since
07-08-2016
260
Posts
44
Kudos Received
10
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3129 | 05-02-2018 06:03 PM | |
6273 | 10-18-2017 04:02 PM | |
2051 | 08-25-2017 08:59 PM | |
2807 | 07-21-2017 08:13 PM | |
10748 | 04-06-2017 09:54 PM |
11-23-2016
04:52 PM
@Andy LoPresto i have generated all the .pems as you suggested and tried to test from openssl command line. It looks like it is able to do the hand shake , but showing a alert\warning towards the end..i am attaching the log from openssl
... View more
11-22-2016
10:13 PM
@kkawamura@Matt found the issue , my Server user has needs a space between CN and OU. thanks for the help.
... View more
11-22-2016
09:42 PM
@kkawamura @Matt i have exported remote server certificate to local nifi and local nifi certificate to server. but now i am getting a forbidden error. i checked and granted all the permissions needed for user "CN=nifistos, OU=nestle" on the https system.
2016-11-22 15:48:59,285 INFO [NiFi Web Server-36] o.a.n.w.s.NiFiAuthenticationFilter Attempting request for (CN=nifistos, OU=nestle) GET https://myremoteserver:10090/nifi-api/site-to-site (source ip: 172.16.2.4) 2016-11-22 15:48:59,285 INFO [NiFi Web Server-36] o.a.n.w.s.NiFiAuthenticationFilter Authentication success for CN=nifistos, OU=nestle 2016-11-22 15:48:59,286 INFO [NiFi Web Server-36] o.a.n.w.a.c.AccessDeniedExceptionMapper CN=nifistos, OU=nestle does not have permission to access the requested resource. Returning Forbidden response. anything else that i am missing..??
... View more
11-22-2016
09:36 PM
@Andy LoPresto i am still not able to solve this , i did try all the things from all posts. i am trying all this on my local laptop. could there be any issue in my network\firewall settings that is preventing me from accessing the UI. generated a certificate for server, imported it into truststore..generated a client certificate imported into the same truststore. point keystore and truststore in nifi.config. change the https port . i did set initial admin as the client DN .the NiFi service is running but i am not able to get to the UI. its not asking to to select a certificate or import one. i did anyway.. but still getting the same error as above screen..no errors are reported in app.log or user.log anything else that can cause this..?? Regards,Sai
... View more
11-18-2016
04:39 PM
@Andy LoPresto I am not seeing any errors or warnings in app and user log files. Also I am not using LDAP or Kerberos as I am trying to test this locally. here is the error that I am getting (https://localhost:9443/nifi). I generated keystore and truststore using keytool command shown in above posts. since I have not generated any client certificates I will try to do that now. is there a keytool command (or options) that can generate client certificate and have it be signed by a key that is loaded into the truststore..? i tried to use this as mentioned in the link you shared here. but it is not generating the client certificates.. its generating keystore,truststore and nifi-cert etc expect client certs.. pls check the last line below for error. I let Bryan know about this , he said it may be because of windows. tls-toolkit.bat standalone -n 'localhost' -C 'CN=nifistos, OU=mycompany' -o './target' 2016-11-18 10:17:03,193 INFO [main] o.a.n.t.t.s.TlsToolkitStandaloneCommandLine No nifiPropertiesFile specified, using embedded one.
2016-11-18 10:17:03,316 INFO [main] o.a.n.t.t.s.TlsToolkitStandalone Running standalone certificate generation with output directory ..\bin
2016-11-18 10:17:04,142 INFO [main] o.a.n.t.t.s.TlsToolkitStandalone Generated new CA certificate ..\bin\nifi-cert.pem and key ..\bin\nifi-key.key
2016-11-18 10:17:04,147 INFO [main] o.a.n.t.t.s.TlsToolkitStandalone No hostnames specified, not generating any host certificates or configuration.
2016-11-18 10:17:04,153 INFO [main] o.a.n.t.t.s.TlsToolkitStandalone Writing new ssl configuration to ..\bin\'localhost'
2016-11-18 10:17:04,426 INFO [main] o.a.n.t.t.s.TlsToolkitStandalone Successfully generated TLS configuration for 'localhost' 1 in ..\bin\'localhost'
Error creating generating tls configuration. (Unknown object id - 'CN - passed to distinguished name)
... View more
11-17-2016
09:55 PM
@Andy LoPresto no , i did not load any certificates into browser. i didn't set the the property in nifi config nifi.security.needClientAuth= also how can i generate a client certificate..?? i tried to upload the cert generated by the command below to the browser..this is the same one which i used to add to keystore and truststore. keytool -genkey -alias nifidev -keyalg RSA -keysize 1024 -dname "CN=nifistos,OU=nestle" -keypass testpwd -keystore nifidev.keystore.jks -storepass testpwd i have the Initial Admin Identity as CN=nifistos,OU=nestle and also i see a user for that in users.xml so all i did was 1. generate a certificate using above command 2. add it to keystore and trust store 3 in nifi.config set https and keystore & truststore to generated files above 4.add initial admin to the dname that was used above. i don't have any certificate authority and\or client certificates or anything else apart from those i did above.. please let me know if i am missing any. Regards, Sai
... View more
11-17-2016
08:32 PM
@Matt , @Andy LoPresto i had a typo earlier when i used ./config/nifidev.keystore.jks...i found it and corrected it.so no need to go windows structure. it did startup sucessfully..with the below trace.. but when i tried to go to https://10.242.27.40:9443/nifi or https://127.0.0.1:9443/nifi i am not able to access the site. i thought it would auto login in with the admin user..do i have to do anything else.?? 2016-11-17 14:25:07,302 INFO [main] o.eclipse.jetty.server.AbstractConnector Started ServerConnector@7bf2e475{SSL,[ssl, http/1.1]}{0.0.0.0:9443} 2016-11-17 14:25:07,302 INFO [main] org.eclipse.jetty.server.Server Started @97001ms 2016-11-17 14:25:08,009 INFO [main] org.apache.nifi.web.server.JettyServer NiFi has started. The UI is available at the following URLs: 2016-11-17 14:25:08,009 INFO [main] org.apache.nifi.web.server.JettyServer https://10.242.27.40:9443/nifi 2016-11-17 14:25:08,009 INFO [main] org.apache.nifi.web.server.JettyServer https://127.0.0.1:9443/nifi 2016-11-17 14:25:08,011 INFO [main] org.apache.nifi.BootstrapListener Successfully initiated communication with Bootstrap Regards, Sai
... View more
11-17-2016
08:12 PM
@Matt i thought of that , but all other setting are in the same format and working..so didnt change. but now changed those 2 locations (truststore,keystore) to F:\Tools\HDF-2.0.1.0\nifi\conf\nifidev.keystore.jks getting this error below.. 2016-11-17 13:45:12,224 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_77]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_77]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_77]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_77]
at org.apache.nifi.NiFi.<init>(NiFi.java:146) ~[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]
Caused by: java.lang.IllegalArgumentException: java.net.MalformedURLException: unknown protocol: f
at org.eclipse.jetty.util.ssl.SslContextFactory.setKeyStorePath(SslContextFactory.java:561) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.apache.nifi.web.server.JettyServer.configureSslContextFactory(JettyServer.java:618) ~[nifi-jetty-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12]
at org.apache.nifi.web.server.JettyServer.createSslContextFactory(JettyServer.java:603) ~[nifi-jetty-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12]
at org.apache.nifi.web.server.JettyServer.configureConnectors(JettyServer.java:587) ~[nifi-jetty-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12]
at org.apache.nifi.web.server.JettyServer.<init>(JettyServer.java:141) ~[nifi-jetty-1.0.0.2.0.1.0-12.jar:1.0.0.2.0.1.0-12]
... 6 common frames omitted Caused by: java.net.MalformedURLException: unknown protocol: f
at java.net.URL.<init>(URL.java:600) ~[na:1.8.0_77]
at java.net.URL.<init>(URL.java:490) ~[na:1.8.0_77]
at java.net.URL.<init>(URL.java:439) ~[na:1.8.0_77]
at org.eclipse.jetty.util.resource.Resource.newResource(Resource.java:166) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.util.resource.Resource.newResource(Resource.java:149) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.util.ssl.SslContextFactory.setKeyStorePath(SslContextFactory.java:557) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
... 10 common frames omitted
Suppressed: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
at java.io.WinNTFileSystem.canonicalize0(Native Method) ~[na:1.8.0_77]
at java.io.WinNTFileSystem.canonicalize(WinNTFileSystem.java:428) ~[na:1.8.0_77]
at java.io.File.getCanonicalPath(File.java:618) ~[na:1.8.0_77]
at java.io.File.getCanonicalFile(File.java:643) ~[na:1.8.0_77]
at org.eclipse.jetty.util.resource.Resource.newResource(Resource.java:179) ~[jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
... 12 common frames omitted 2016-11-17 13:45:12,226 INFO [Thread-1] org.apache.nifi.NiFi Initiating shutdown of Jetty web server...
... View more
11-17-2016
07:51 PM
@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).
... View more
11-17-2016
07:26 PM
@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)
... View more