Yeah, Java 9 support is slated for NiFi 1.7.0. On Fri, Jun 15, 2018 at 6:44 AM Otto Fowler <ottobackwa...@gmail.com> wrote:
> Running with Java 9 is not supported with 1.6.0 I believe. > > > > On June 15, 2018 at 06:32:27, Dave (dave7sw...@gmail.com) wrote: > > Hi, > > I am not sure if I can post my query here. If I am not supposed to, my > apologies. Please let me know if I can start a different thread. > > I am also facing a similar situation. when I right click on "run-nifi.bat", > Command screen opens and some logs displayed. and then it stops or hangs. > Can you please guide me? > > I am the only user of my laptop and system administrator. > > nifi-app.log > < > > http://apache-nifi-developer-list.39713.n7.nabble.com/file/t1006/nifi-app.log > > > > nifi-bootstrap.log > < > > http://apache-nifi-developer-list.39713.n7.nabble.com/file/t1006/nifi-bootstrap.log > > > > nifi-user.log - is an empty file > > os version : Windows 10 Pro > java version : java version "9.0.4" > Java(TM) SE Runtime Environment (build > 9.0.4+11) > Java HotSpot(TM) 64-Bit Server VM (build > 9.0.4+11, mixed mode) > nifi version : nifi-1.6.0-bin > > Thanks in advance for you time and support. > > The below log is from the CMD screen: > Failed to determine if Process 15208 is running; assuming that it is not > 2018-06-15 13:55:44,400 INFO [main] org.apache.nifi.bootstrap.Command > Starting Apache NiFi... > 2018-06-15 13:55:44,402 INFO [main] org.apache.nifi.bootstrap.Command > Working Directory: D:\nifi-1.6.0-bin > 2018-06-15 13:55:44,403 INFO [main] org.apache.nifi.bootstrap.Command > Command: C:\Program Files\Java\jdk-9.0.4\bin\java.exe -classpath > > D:\nifi-1.6.0-bin\.\conf;D:\nifi-1.6.0-bin\.\lib\javax.servlet-api-3.1.0.jar;D:\nifi-1.6.0-bin\.\lib\jcl-over-slf4j-1.7.25.jar;D:\nifi-1.6.0-bin\.\lib\jetty-schemas-3.1.jar;D:\nifi-1.6.0-bin\.\lib\jul-to-slf4j-1.7.25.jar;D:\nifi-1.6.0-bin\.\lib\log4j-over-slf4j-1.7.25.jar;D:\nifi-1.6.0-bin\.\lib\logback-classic-1.2.3.jar;D:\nifi-1.6.0-bin\.\lib\logback-core-1.2.3.jar;D:\nifi-1.6.0-bin\.\lib\nifi-api-1.6.0.jar;D:\nifi-1.6.0-bin\.\lib\nifi-framework-api-1.6.0.jar;D:\nifi-1.6.0-bin\.\lib\nifi-nar-utils-1.6.0.jar;D:\nifi-1.6.0-bin\.\lib\nifi-properties-1.6.0.jar;D:\nifi-1.6.0-bin\.\lib\nifi-runtime-1.6.0.jar;D:\nifi-1.6.0-bin\.\lib\slf4j-api-1.7.25.jar > > -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m > -Djavax.security.auth.useSubjectCredsOnly=true > -Djava.security.egd=file:/dev/urandom > -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true > -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol > -XX:+UseG1GC > -Dnifi.properties.file.path=D:\nifi-1.6.0-bin\.\conf\nifi.properties > -Dnifi.bootstrap.listen.port=55899 -Dapp=NiFi > -Dorg.apache.nifi.bootstrap.config.log.dir=D:\nifi-1.6.0-bin\bin\..\\logs > org.apache.nifi.NiFi > WARNING: An illegal reflective access operation has occurred > WARNING: Illegal reflective access by > org.apache.nifi.bootstrap.util.OSUtils > (file:/D:/nifi-1.6.0-bin/lib/bootstrap/nifi-bootstrap-1.6.0.jar) to field > java.lang.ProcessImpl.handle > WARNING: Please consider reporting this to the maintainers of > org.apache.nifi.bootstrap.util.OSUtils > WARNING: Use --illegal-access=warn to enable warnings of further illegal > reflective access operations > WARNING: All illegal access operations will be denied in a future release > 2018-06-15 13:55:45,400 WARN [main] org.apache.nifi.bootstrap.Command > Failed > to set permissions so that only the owner can read pid file > D:\nifi-1.6.0-bin\bin\..\run\nifi.pid; this may allows others to have > access > to the key needed to communicate with NiFi. Permissions should be changed > so > that only the owner can read this file > 2018-06-15 13:55:45,487 WARN [main] org.apache.nifi.bootstrap.Command > Failed > to set permissions so that only the owner can read status file > D:\nifi-1.6.0-bin\bin\..\run\nifi.status; this may allows others to have > access to the key needed to communicate with NiFi. Permissions should be > changed so that only the owner can read this file > 2018-06-15 13:55:45,661 INFO [main] org.apache.nifi.bootstrap.Command > Launched Apache NiFi with Process ID 9732 > > *Note: *Before this issue, I was having this folder in a folder by name > "Apache NiFi:. But at that, when I click on "run-nifi.bat", I got a message > 'D:\Apache' is not recognized as an internal or external command, > operable program or batch file. > > > > -- > Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/ >