You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Bob Mroczka <Ro...@bcbsil.com> on 2018/01/03 23:16:53 UTC

Getting 404 from Nifi UI on new installation

I've installed a standalone Nifi 1.4.0 instance on a Windows 2012 R2 server.   The instance starts successfully and there are no errors in either the bootstrap or app logs but when I attempt to access the UI I get the following 404 page.  I've attempted to enable debugging in the logback.xml file but nothing stands out.  Any suggestions on troubleshooting this issue?

HTTP ERROR 404

Problem accessing /nifi/. Reason:

    Not Found

________________________________
Powered by Jetty:// 9.4.3.v20170317<http://eclipse.org/jetty>

HCSC Company Disclaimer

The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee.  Unauthorized use, disclosure, distribution or copying is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately at
(312)653-6000 in Illinois; (800) 447-7828 in Montana;
(800)835-8699 in New Mexico; (918)560-3500 in Oklahoma; 
or (972)766-6900 in Texas.

RE: Getting 404 from Nifi UI on new installation

Posted by Joe Witt <jo...@gmail.com>.
should go to nifi-bootstrap.log by default

On Jan 3, 2018 7:07 PM, "Bob Mroczka" <Ro...@bcbsil.com> wrote:

> I’ve sanitized the user log a bit but everything else is there.  Since
> this is Windows I ran dump-nifi.bat but it doesn’t show where the output
> file was stored.
>
> HCSC Company Disclaimer
>
> The information contained in this communication is confidential, private,
> proprietary, or otherwise privileged and is intended only for the use of
> the addressee.  Unauthorized use, disclosure, distribution or copying is
> strictly prohibited and may be unlawful.  If you have received this
> communication in error, please notify the sender immediately at
> (312) 653-6000 in Illinois; (800) 447-7828 in Montana;
> (800)835-8699 <(800)%20835-8699> in New Mexico; (918)560-3500
> <(918)%20560-3500> in Oklahoma;
> or (972)766-6900 <(972)%20766-6900> in Texas.
>

Re: Getting 404 from Nifi UI on new installation

Posted by Joe Witt <jo...@gmail.com>.
Bob

In the latests thread dumps things look good now with the archive
thread.  So it seems like it should be running now (please send latest
app log if not) and it seems like what mark suggested is the issue
(slowwww archive review on startup).

Thanks

On Thu, Jan 4, 2018 at 9:38 AM, Mark Payne <ma...@hotmail.com> wrote:
> Bob,
>
> I believe what you're running into is NIFI-4737 [1]. When NiFi starts up, it
> is scanning the content repository
> to see which files should be aged off from the archive first. Unfortunately
> it does not log the fact that it is
> doing this, so everything seems okay... I think the first step is to add in
> some logging to at least make it obvious
> what is happening. Then we can look at ways to make it faster on startup.
>
> Thanks
> -Mark
>
>
> [1] https://issues.apache.org/jira/browse/NIFI-4737
>
>
> On Jan 3, 2018, at 9:39 PM, Joe Witt <jo...@gmail.com> wrote:
>
> Bob,
>
> There should be more in the app log after that controller
> initialization line and of course there should be things in the user
> log for when you're attempting access.  Looking at the stack dump I'm
> thinking there is an issue with archive cleanup/management.  It is
> either stuck on a native call or it is just taking a long time.
>
> Can you please grab a couple more stack dumps at about 60 second
> intervals.  Then send the bootstrap log (and any rollovered bootstrap
> logs) again.  What i'm keying in on is this
>
> "Cleanup Archive for default" Id=47 RUNNABLE
> at sun.nio.fs.WindowsNativeDispatcher.CreateFile0(Native Method)
> at
> sun.nio.fs.WindowsNativeDispatcher.CreateFile(WindowsNativeDispatcher.java:71)
> at sun.nio.fs.WindowsChannelFactory.open(WindowsChannelFactory.java:302)
> at
> sun.nio.fs.WindowsChannelFactory.newFileChannel(WindowsChannelFactory.java:162)
> at
> sun.nio.fs.WindowsFileSystemProvider.checkReadAccess(WindowsFileSystemProvider.java:325)
> at
> sun.nio.fs.WindowsFileSystemProvider.checkAccess(WindowsFileSystemProvider.java:362)
> at java.nio.file.Files.exists(Files.java:2385)
> at
> org.apache.nifi.controller.repository.FileSystemRepository.destroyExpiredArchives(FileSystemRepository.java:1335)
> at
> org.apache.nifi.controller.repository.FileSystemRepository.access$1700(FileSystemRepository.java:84)
> at
> org.apache.nifi.controller.repository.FileSystemRepository$DestroyExpiredArchiveClaims.run(FileSystemRepository.java:1572)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
> 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)
> Number of Locked Synchronizers: 1
> - java.util.concurrent.ThreadPoolExecutor$Worker@43a72f0f
>
> Thanks
> Joe
>
> On Wed, Jan 3, 2018 at 7:10 PM, Bob Mroczka <Ro...@bcbsil.com>
> wrote:
>
> Looks like the thread dump went to the bootstrap log.  See attached.
>
>
>
>
>
> HCSC Company Disclaimer
>
> The information contained in this communication is confidential, private,
> proprietary, or otherwise privileged and is intended only for the use of
> the addressee.  Unauthorized use, disclosure, distribution or copying is
> strictly prohibited and may be unlawful.  If you have received this
> communication in error, please notify the sender immediately at
> (312) 653-6000 in Illinois; (800) 447-7828 in Montana;
> (800)835-8699 in New Mexico; (918)560-3500 in Oklahoma;
> or (972)766-6900 in Texas.
>
>

Re: Getting 404 from Nifi UI on new installation

Posted by Joe Witt <jo...@gmail.com>.
Bob

That is really interesting and thanks for following up.  It was
particularly confusing because from a logs and thread dump pov all
looked ready to roll.  I dont understand what the deal was there.

Thanks
Joe

On Thu, Jan 11, 2018 at 12:51 PM, Bob Mroczka <Ro...@bcbsil.com> wrote:
> For what its worth I found the root cause of this issue to be that I was invoking run-nifi.bat through a junctioned path.  Apparently java or possibly jetty does not work through either symlinked or junctioned paths on Windows.  I had originally created a junctioned path to facilitate future upgrades.
>
> HCSC Company Disclaimer
>
> The information contained in this communication is confidential, private,
> proprietary, or otherwise privileged and is intended only for the use of
> the addressee.  Unauthorized use, disclosure, distribution or copying is
> strictly prohibited and may be unlawful.  If you have received this
> communication in error, please notify the sender immediately at
> (312)653-6000 in Illinois; (800) 447-7828 in Montana;
> (800)835-8699 in New Mexico; (918)560-3500 in Oklahoma;
> or (972)766-6900 in Texas.

RE: Getting 404 from Nifi UI on new installation

Posted by Bob Mroczka <Ro...@bcbsil.com>.
For what its worth I found the root cause of this issue to be that I was invoking run-nifi.bat through a junctioned path.  Apparently java or possibly jetty does not work through either symlinked or junctioned paths on Windows.  I had originally created a junctioned path to facilitate future upgrades.  

HCSC Company Disclaimer

The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee.  Unauthorized use, disclosure, distribution or copying is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately at
(312)653-6000 in Illinois; (800) 447-7828 in Montana;
(800)835-8699 in New Mexico; (918)560-3500 in Oklahoma; 
or (972)766-6900 in Texas.

RE: Getting 404 from Nifi UI on new installation

Posted by Bob Mroczka <Ro...@bcbsil.com>.
I thought that might be the issue as well.  I installed Firefox on the server and attempted to access the UI on localhost but still the same issue.  I even installed wget and it returns the same 404 error:

D:\>wget -O- -S http://localhost:8080/nifi
--2018-01-10 08:44:14--  http://localhost:8080/nifi
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:8080... failed: Bad file descriptor.
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 302 Found
  Date: Wed, 10 Jan 2018 14:44:15 GMT
  Location: http://localhost:8080/nifi/
  Content-Length: 0
  Server: Jetty(9.4.3.v20170317)
Location: http://localhost:8080/nifi/ [following]
--2018-01-10 08:44:15--  http://localhost:8080/nifi/
Reusing existing connection to localhost:8080.
HTTP request sent, awaiting response...
  HTTP/1.1 404 Not Found
  Date: Wed, 10 Jan 2018 14:44:15 GMT
  X-Frame-Options: SAMEORIGIN
  Cache-Control: must-revalidate,no-cache,no-store
  Content-Type: text/html;charset=iso-8859-1
  Content-Length: 321
  Server: Jetty(9.4.3.v20170317)
2018-01-10 08:44:15 ERROR 404: Not Found.

Bob

The logs you sent are for an up and running and good to go looking Apache NiFi 1.4.0 install.

I'm wondering if your browser has some sort of proxy settings or something that is preventing web requests from getting to NiFi.
Please try to validate the browser settings and/or bypass the browser by issuing a telnet request to the nifi web server port you have set.

The nifi looks good to go.

Thanks
Joe

On Tue, Jan 9, 2018 at 10:06 AM, Bob Mroczka <Ro...@bcbsil.com> wrote:
> Please find attached a zip file containing the full contents of the conf and logs folders.  The only modification to the configuration is in nifi-env.bat to point to the java 8 jvm.  All the rest of the config is default configuration.  The OS is Microsoft Windows Server 2012 R2 Standard.
>
> Bob
>
> Java 9 is definitely a no go.
>
> We'd need to see logs/configuration.  If you could share the entire content of the conf directory that would help.  I realize there may be sensitive information there so do please alter those portions.  We also need the logs directory again and we need to know about the windows version.
>
> I personally build and run on windows fairly often but i've not done so when utilizing certs for instance.
>
> Thanks
>
> On Tue, Jan 9, 2018 at 9:36 AM, Bob Mroczka <Ro...@bcbsil.com> wrote:
>> I’m still having an issue getting to the Nifi UI on Windows using 
>> Nifi 1.4.0.  I’ve tried a number of different things.  I’ve tried 
>> both java
>> 8 and
>> 9 jvm’s.  I’ve tried a default configuration with no security.  I’ve 
>> tried setting it up on different Windows servers.  I was able to use 
>> Nifi on Windows with an older version, I believe 1.3.0.  I would like 
>> to open a bug report but there are no errors in the app or bootstrap 
>> logs other than the UI gives a 404 error.
>>

HCSC Company Disclaimer

The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee.  Unauthorized use, disclosure, distribution or copying is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately at
(312)653-6000 in Illinois; (800) 447-7828 in Montana;
(800)835-8699 in New Mexico; (918)560-3500 in Oklahoma; 
or (972)766-6900 in Texas.

Re: Getting 404 from Nifi UI on new installation

Posted by Joe Witt <jo...@gmail.com>.
Bob

The logs you sent are for an up and running and good to go looking
Apache NiFi 1.4.0 install.

I'm wondering if your browser has some sort of proxy settings or
something that is preventing web requests from getting to NiFi.
Please try to validate the browser settings and/or bypass the browser
by issuing a telnet request to the nifi web server port you have set.

The nifi looks good to go.

Thanks
Joe

On Tue, Jan 9, 2018 at 10:06 AM, Bob Mroczka <Ro...@bcbsil.com> wrote:
> Please find attached a zip file containing the full contents of the conf and logs folders.  The only modification to the configuration is in nifi-env.bat to point to the java 8 jvm.  All the rest of the config is default configuration.  The OS is Microsoft Windows Server 2012 R2 Standard.
>
> Bob
>
> Java 9 is definitely a no go.
>
> We'd need to see logs/configuration.  If you could share the entire content of the conf directory that would help.  I realize there may be sensitive information there so do please alter those portions.  We also need the logs directory again and we need to know about the windows version.
>
> I personally build and run on windows fairly often but i've not done so when utilizing certs for instance.
>
> Thanks
>
> On Tue, Jan 9, 2018 at 9:36 AM, Bob Mroczka <Ro...@bcbsil.com> wrote:
>> I’m still having an issue getting to the Nifi UI on Windows using Nifi
>> 1.4.0.  I’ve tried a number of different things.  I’ve tried both java
>> 8 and
>> 9 jvm’s.  I’ve tried a default configuration with no security.  I’ve
>> tried setting it up on different Windows servers.  I was able to use
>> Nifi on Windows with an older version, I believe 1.3.0.  I would like
>> to open a bug report but there are no errors in the app or bootstrap
>> logs other than the UI gives a 404 error.
>>
>> HCSC Company Disclaimer
>>
>> The information contained in this communication is confidential,
>> private, proprietary, or otherwise privileged and is intended only for
>> the use of the addressee.  Unauthorized use, disclosure, distribution
>> or copying is strictly prohibited and may be unlawful.  If you have
>> received this communication in error, please notify the sender
>> immediately at
>> (312) 653-6000 in Illinois; (800) 447-7828 in Montana;
>> (800)835-8699 in New Mexico; (918)560-3500 in Oklahoma; or
>> (972)766-6900 in Texas.

RE: Getting 404 from Nifi UI on new installation

Posted by Bob Mroczka <Ro...@bcbsil.com>.
Please find attached a zip file containing the full contents of the conf and logs folders.  The only modification to the configuration is in nifi-env.bat to point to the java 8 jvm.  All the rest of the config is default configuration.  The OS is Microsoft Windows Server 2012 R2 Standard.

Bob

Java 9 is definitely a no go.

We'd need to see logs/configuration.  If you could share the entire content of the conf directory that would help.  I realize there may be sensitive information there so do please alter those portions.  We also need the logs directory again and we need to know about the windows version.

I personally build and run on windows fairly often but i've not done so when utilizing certs for instance.

Thanks

On Tue, Jan 9, 2018 at 9:36 AM, Bob Mroczka <Ro...@bcbsil.com> wrote:
> I’m still having an issue getting to the Nifi UI on Windows using Nifi 
> 1.4.0.  I’ve tried a number of different things.  I’ve tried both java 
> 8 and
> 9 jvm’s.  I’ve tried a default configuration with no security.  I’ve 
> tried setting it up on different Windows servers.  I was able to use 
> Nifi on Windows with an older version, I believe 1.3.0.  I would like 
> to open a bug report but there are no errors in the app or bootstrap 
> logs other than the UI gives a 404 error.
>
> HCSC Company Disclaimer
>
> The information contained in this communication is confidential, 
> private, proprietary, or otherwise privileged and is intended only for 
> the use of the addressee.  Unauthorized use, disclosure, distribution 
> or copying is strictly prohibited and may be unlawful.  If you have 
> received this communication in error, please notify the sender 
> immediately at
> (312) 653-6000 in Illinois; (800) 447-7828 in Montana;
> (800)835-8699 in New Mexico; (918)560-3500 in Oklahoma; or 
> (972)766-6900 in Texas.

Re: Getting 404 from Nifi UI on new installation

Posted by Joe Witt <jo...@gmail.com>.
Bob

Java 9 is definitely a no go.

We'd need to see logs/configuration.  If you could share the entire
content of the conf directory that would help.  I realize there may be
sensitive information there so do please alter those portions.  We
also need the logs directory again and we need to know about the
windows version.

I personally build and run on windows fairly often but i've not done
so when utilizing certs for instance.

Thanks

On Tue, Jan 9, 2018 at 9:36 AM, Bob Mroczka <Ro...@bcbsil.com> wrote:
> I’m still having an issue getting to the Nifi UI on Windows using Nifi
> 1.4.0.  I’ve tried a number of different things.  I’ve tried both java 8 and
> 9 jvm’s.  I’ve tried a default configuration with no security.  I’ve tried
> setting it up on different Windows servers.  I was able to use Nifi on
> Windows with an older version, I believe 1.3.0.  I would like to open a bug
> report but there are no errors in the app or bootstrap logs other than the
> UI gives a 404 error.
>
> HCSC Company Disclaimer
>
> The information contained in this communication is confidential, private,
> proprietary, or otherwise privileged and is intended only for the use of
> the addressee.  Unauthorized use, disclosure, distribution or copying is
> strictly prohibited and may be unlawful.  If you have received this
> communication in error, please notify the sender immediately at
> (312) 653-6000 in Illinois; (800) 447-7828 in Montana;
> (800)835-8699 in New Mexico; (918)560-3500 in Oklahoma;
> or (972)766-6900 in Texas.

RE: Getting 404 from Nifi UI on new installation

Posted by Bob Mroczka <Ro...@bcbsil.com>.
I'm still having an issue getting to the Nifi UI on Windows using Nifi 1.4.0.  I've tried a number of different things.  I've tried both java 8 and 9 jvm's.  I've tried a default configuration with no security.  I've tried setting it up on different Windows servers.  I was able to use Nifi on Windows with an older version, I believe 1.3.0.  I would like to open a bug report but there are no errors in the app or bootstrap logs other than the UI gives a 404 error.
HCSC Company Disclaimer

The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee.  Unauthorized use, disclosure, distribution or copying is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately at
(312)653-6000 in Illinois; (800) 447-7828 in Montana;
(800)835-8699 in New Mexico; (918)560-3500 in Oklahoma; 
or (972)766-6900 in Texas.

RE: Getting 404 from Nifi UI on new installation

Posted by Bob Mroczka <Ro...@bcbsil.com>.
I'm not sure if I'm running into NIFI-4737 since this is a new installation and there are no flows.  I am attempting to access the UI for the first time.  The content repository directory has 1024 empty directories numbered 0 to 1023.  What additional debugging should I add?  Please find attached the nifi-app.log since the controller initialization yesterday.  The UI is still returning the same 404 error.

HCSC Company Disclaimer

The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee.  Unauthorized use, disclosure, distribution or copying is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately at
(312)653-6000 in Illinois; (800) 447-7828 in Montana;
(800)835-8699 in New Mexico; (918)560-3500 in Oklahoma; 
or (972)766-6900 in Texas.

Re: Getting 404 from Nifi UI on new installation

Posted by Mark Payne <ma...@hotmail.com>.
Bob,

I believe what you're running into is NIFI-4737 [1]. When NiFi starts up, it is scanning the content repository
to see which files should be aged off from the archive first. Unfortunately it does not log the fact that it is
doing this, so everything seems okay... I think the first step is to add in some logging to at least make it obvious
what is happening. Then we can look at ways to make it faster on startup.

Thanks
-Mark


[1] https://issues.apache.org/jira/browse/NIFI-4737


On Jan 3, 2018, at 9:39 PM, Joe Witt <jo...@gmail.com>> wrote:

Bob,

There should be more in the app log after that controller
initialization line and of course there should be things in the user
log for when you're attempting access.  Looking at the stack dump I'm
thinking there is an issue with archive cleanup/management.  It is
either stuck on a native call or it is just taking a long time.

Can you please grab a couple more stack dumps at about 60 second
intervals.  Then send the bootstrap log (and any rollovered bootstrap
logs) again.  What i'm keying in on is this

"Cleanup Archive for default" Id=47 RUNNABLE
at sun.nio.fs.WindowsNativeDispatcher.CreateFile0(Native Method)
at sun.nio.fs.WindowsNativeDispatcher.CreateFile(WindowsNativeDispatcher.java:71)
at sun.nio.fs.WindowsChannelFactory.open(WindowsChannelFactory.java:302)
at sun.nio.fs.WindowsChannelFactory.newFileChannel(WindowsChannelFactory.java:162)
at sun.nio.fs.WindowsFileSystemProvider.checkReadAccess(WindowsFileSystemProvider.java:325)
at sun.nio.fs.WindowsFileSystemProvider.checkAccess(WindowsFileSystemProvider.java:362)
at java.nio.file.Files.exists(Files.java:2385)
at org.apache.nifi.controller.repository.FileSystemRepository.destroyExpiredArchives(FileSystemRepository.java:1335)
at org.apache.nifi.controller.repository.FileSystemRepository.access$1700(FileSystemRepository.java:84)
at org.apache.nifi.controller.repository.FileSystemRepository$DestroyExpiredArchiveClaims.run(FileSystemRepository.java:1572)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
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)
Number of Locked Synchronizers: 1
- java.util.concurrent.ThreadPoolExecutor$Worker@43a72f0f

Thanks
Joe

On Wed, Jan 3, 2018 at 7:10 PM, Bob Mroczka <Ro...@bcbsil.com>> wrote:
Looks like the thread dump went to the bootstrap log.  See attached.





HCSC Company Disclaimer

The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee.  Unauthorized use, disclosure, distribution or copying is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately at
(312) 653-6000 in Illinois; (800) 447-7828 in Montana;
(800)835-8699 in New Mexico; (918)560-3500 in Oklahoma;
or (972)766-6900 in Texas.


RE: Getting 404 from Nifi UI on new installation

Posted by Bob Mroczka <Ro...@bcbsil.com>.
Please find attached the bootstrap log with a few stack dumps taken every 60 seconds from this morning.  There are no rolled over logs since yesterday.  The attached log contains everything since the last bootstrap log sent yesterday.  The nifi-app.log only has two lines after the controller initialization that continually repeat.

2018-01-03 17:28:01,674 INFO [Write-Ahead Local State Provider Maintenance] org.wali.MinimalLockingWriteAheadLog org.wali.MinimalLockingWriteAheadLog@4bb644dc checkpointed with 0 Records and 0 Swap Files in 28 milliseconds (Stop-the-world time = 10 milliseconds, Clear Edit Logs time = 9 millis), max Transaction ID -1
2018-01-03 17:28:02,682 INFO [pool-11-thread-1] o.a.n.c.r.WriteAheadFlowFileRepository Initiating checkpoint of FlowFile Repository
HCSC Company Disclaimer

The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee.  Unauthorized use, disclosure, distribution or copying is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately at
(312)653-6000 in Illinois; (800) 447-7828 in Montana;
(800)835-8699 in New Mexico; (918)560-3500 in Oklahoma; 
or (972)766-6900 in Texas.

Re: Getting 404 from Nifi UI on new installation

Posted by Joe Witt <jo...@gmail.com>.
Bob,

There should be more in the app log after that controller
initialization line and of course there should be things in the user
log for when you're attempting access.  Looking at the stack dump I'm
thinking there is an issue with archive cleanup/management.  It is
either stuck on a native call or it is just taking a long time.

Can you please grab a couple more stack dumps at about 60 second
intervals.  Then send the bootstrap log (and any rollovered bootstrap
logs) again.  What i'm keying in on is this

"Cleanup Archive for default" Id=47 RUNNABLE
at sun.nio.fs.WindowsNativeDispatcher.CreateFile0(Native Method)
at sun.nio.fs.WindowsNativeDispatcher.CreateFile(WindowsNativeDispatcher.java:71)
at sun.nio.fs.WindowsChannelFactory.open(WindowsChannelFactory.java:302)
at sun.nio.fs.WindowsChannelFactory.newFileChannel(WindowsChannelFactory.java:162)
at sun.nio.fs.WindowsFileSystemProvider.checkReadAccess(WindowsFileSystemProvider.java:325)
at sun.nio.fs.WindowsFileSystemProvider.checkAccess(WindowsFileSystemProvider.java:362)
at java.nio.file.Files.exists(Files.java:2385)
at org.apache.nifi.controller.repository.FileSystemRepository.destroyExpiredArchives(FileSystemRepository.java:1335)
at org.apache.nifi.controller.repository.FileSystemRepository.access$1700(FileSystemRepository.java:84)
at org.apache.nifi.controller.repository.FileSystemRepository$DestroyExpiredArchiveClaims.run(FileSystemRepository.java:1572)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
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)
Number of Locked Synchronizers: 1
- java.util.concurrent.ThreadPoolExecutor$Worker@43a72f0f

Thanks
Joe

On Wed, Jan 3, 2018 at 7:10 PM, Bob Mroczka <Ro...@bcbsil.com> wrote:
> Looks like the thread dump went to the bootstrap log.  See attached.
>
>
>
>
>
> HCSC Company Disclaimer
>
> The information contained in this communication is confidential, private,
> proprietary, or otherwise privileged and is intended only for the use of
> the addressee.  Unauthorized use, disclosure, distribution or copying is
> strictly prohibited and may be unlawful.  If you have received this
> communication in error, please notify the sender immediately at
> (312) 653-6000 in Illinois; (800) 447-7828 in Montana;
> (800)835-8699 in New Mexico; (918)560-3500 in Oklahoma;
> or (972)766-6900 in Texas.

RE: Getting 404 from Nifi UI on new installation

Posted by Bob Mroczka <Ro...@bcbsil.com>.
Looks like the thread dump went to the bootstrap log.  See attached.


HCSC Company Disclaimer

The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee.  Unauthorized use, disclosure, distribution or copying is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately at
(312)653-6000 in Illinois; (800) 447-7828 in Montana;
(800)835-8699 in New Mexico; (918)560-3500 in Oklahoma; 
or (972)766-6900 in Texas.

RE: Getting 404 from Nifi UI on new installation

Posted by Bob Mroczka <Ro...@bcbsil.com>.
I’ve sanitized the user log a bit but everything else is there.  Since this is Windows I ran dump-nifi.bat but it doesn’t show where the output file was stored.
HCSC Company Disclaimer

The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee.  Unauthorized use, disclosure, distribution or copying is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately at
(312)653-6000 in Illinois; (800) 447-7828 in Montana;
(800)835-8699 in New Mexico; (918)560-3500 in Oklahoma; 
or (972)766-6900 in Texas.

RE: Getting 404 from Nifi UI on new installation

Posted by Joe Witt <jo...@gmail.com>.
ok yeah the user log is what i was curious about.

that is interesting.  can you please run

bin/nifi.sh dump

then share the bootstrap.log.

one log at a time we will get there

On Jan 3, 2018 6:57 PM, "Bob Mroczka" <Ro...@bcbsil.com> wrote:

> The only log files I see being written to are the nifi-app.log,
> nifi-bootstrap.log, and the nifi-user.log.  None of these files show any
> access attempts.
>
> HCSC Company Disclaimer
>
> The information contained in this communication is confidential, private,
> proprietary, or otherwise privileged and is intended only for the use of
> the addressee.  Unauthorized use, disclosure, distribution or copying is
> strictly prohibited and may be unlawful.  If you have received this
> communication in error, please notify the sender immediately at
> (312) 653-6000 in Illinois; (800) 447-7828 in Montana;
> (800)835-8699 <(800)%20835-8699> in New Mexico; (918)560-3500
> <(918)%20560-3500> in Oklahoma;
> or (972)766-6900 <(972)%20766-6900> in Texas.
>

RE: Getting 404 from Nifi UI on new installation

Posted by Bob Mroczka <Ro...@bcbsil.com>.
The only log files I see being written to are the nifi-app.log, nifi-bootstrap.log, and the nifi-user.log.  None of these files show any access attempts.
HCSC Company Disclaimer

The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee.  Unauthorized use, disclosure, distribution or copying is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately at
(312)653-6000 in Illinois; (800) 447-7828 in Montana;
(800)835-8699 in New Mexico; (918)560-3500 in Oklahoma; 
or (972)766-6900 in Texas.

RE: Getting 404 from Nifi UI on new installation

Posted by Joe Witt <jo...@gmail.com>.
hmm..ill have to get to a computer to compare logs.  nothing obvious to me
there yet.

do your access logs show the requests?

please share those too.



On Jan 3, 2018 6:41 PM, "Bob Mroczka" <Ro...@bcbsil.com> wrote:

> The URL I’m trying to access is listed in the app-log, third line from the
> bottom:
>
>
>
> https://dchiswifss01.adhcscdev.net:9091/nifi
>
> HCSC Company Disclaimer
>
> The information contained in this communication is confidential, private,
> proprietary, or otherwise privileged and is intended only for the use of
> the addressee.  Unauthorized use, disclosure, distribution or copying is
> strictly prohibited and may be unlawful.  If you have received this
> communication in error, please notify the sender immediately at
> (312) 653-6000 in Illinois; (800) 447-7828 in Montana;
> (800)835-8699 <(800)%20835-8699> in New Mexico; (918)560-3500
> <(918)%20560-3500> in Oklahoma;
> or (972)766-6900 <(972)%20766-6900> in Texas.
>

RE: Getting 404 from Nifi UI on new installation

Posted by Bob Mroczka <Ro...@bcbsil.com>.
The URL I’m trying to access is listed in the app-log, third line from the bottom:

https://dchiswifss01.adhcscdev.net:9091/nifi
HCSC Company Disclaimer

The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee.  Unauthorized use, disclosure, distribution or copying is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately at
(312)653-6000 in Illinois; (800) 447-7828 in Montana;
(800)835-8699 in New Mexico; (918)560-3500 in Oklahoma; 
or (972)766-6900 in Texas.

RE: Getting 404 from Nifi UI on new installation

Posted by Joe Witt <jo...@gmail.com>.
can you show what url you are trying to access?

On Jan 3, 2018 6:28 PM, "Bob Mroczka" <Ro...@bcbsil.com> wrote:

>
>
> HCSC Company Disclaimer
>
> The information contained in this communication is confidential, private,
> proprietary, or otherwise privileged and is intended only for the use of
> the addressee.  Unauthorized use, disclosure, distribution or copying is
> strictly prohibited and may be unlawful.  If you have received this
> communication in error, please notify the sender immediately at
> (312) 653-6000 in Illinois; (800) 447-7828 in Montana;
> (800)835-8699 <(800)%20835-8699> in New Mexico; (918)560-3500
> <(918)%20560-3500> in Oklahoma;
> or (972)766-6900 <(972)%20766-6900> in Texas.
>

RE: Getting 404 from Nifi UI on new installation

Posted by Bob Mroczka <Ro...@bcbsil.com>.
HCSC Company Disclaimer

The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee.  Unauthorized use, disclosure, distribution or copying is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately at
(312)653-6000 in Illinois; (800) 447-7828 in Montana;
(800)835-8699 in New Mexico; (918)560-3500 in Oklahoma; 
or (972)766-6900 in Texas.

Re: Getting 404 from Nifi UI on new installation

Posted by Joe Witt <jo...@gmail.com>.
hello

please share the contents of the nifi app log.  might need to creat a jira
and attach or something similar.

thanks
joe

On Jan 3, 2018 6:16 PM, "Bob Mroczka" <Ro...@bcbsil.com> wrote:

> I’ve installed a standalone Nifi 1.4.0 instance on a Windows 2012 R2
> server.   The instance starts successfully and there are no errors in
> either the bootstrap or app logs but when I attempt to access the UI I get
> the following 404 page.  I’ve attempted to enable debugging in the
> logback.xml file but nothing stands out.  Any suggestions on
> troubleshooting this issue?
>
>
> HTTP ERROR 404
>
> Problem accessing /nifi/. Reason:
>
>     Not Found
>
> ------------------------------
>
> Powered by Jetty:// 9.4.3.v20170317 <http://eclipse.org/jetty>
>
>
>
> HCSC Company Disclaimer
>
> The information contained in this communication is confidential, private,
> proprietary, or otherwise privileged and is intended only for the use of
> the addressee.  Unauthorized use, disclosure, distribution or copying is
> strictly prohibited and may be unlawful.  If you have received this
> communication in error, please notify the sender immediately at
> (312) 653-6000 in Illinois; (800) 447-7828 in Montana;
> (800)835-8699 <(800)%20835-8699> in New Mexico; (918)560-3500
> <(918)%20560-3500> in Oklahoma;
> or (972)766-6900 <(972)%20766-6900> in Texas.
>