You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Vicent Sendra Server <B3...@ge.cokecce.com> on 2018/07/23 08:01:36 UTC
running nifi in windows server
Hello,
I'm trying to run minifi as a Windows service, in a Windows 2016 server.
It is already installed, but when I try to start the service I receive the following error:
2018-07-23 07:22:22 Commons Daemon procrun stderr initialized
java.lang.NoClassDefFoundError: org/apache/nifi/minifi/bootstrap/WindowsService
Caused by: java.lang.ClassNotFoundException: org.apache.nifi.minifi.bootstrap.WindowsService
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Exception in thread "main"
I found this solution on github:
https://github.com/apache/nifi-minifi/tree/05ad9679c162dd3bf38632c7c81762ce3cd3de0e
where I found the WindowsService.java class .
How can I integrate the WindowsService.java into the main installation and solve the problem?
Thanks in advance and kind regars,
Vicent Sendra
Information Security, Risk & Compliance
Senior Technical Security Specialist
Business Process & Technology
E. vsendraserver@cokecce.com<ma...@cokecce.com>
T. +34 93 496 6683
Av. Països Catalans 32 www.ccep.com<http://www.ccep.com/>
08950 Esplugues de Llobregat
Spain
[http://www.cocacolaiberianpartners.com/logomail/logoccep.jpg]
Re: running nifi in windows server
Posted by Aldrin Piri <al...@gmail.com>.
Hello,
Could you please share what version you are attempting to use?
On Mon, Jul 23, 2018 at 11:00 AM Vicent Sendra Server <B3...@ge.cokecce.com>
wrote:
> Hello,
>
>
>
> I’m trying to run minifi as a Windows service, in a Windows 2016 server.
>
> It is already installed, but when I try to start the service I receive the
> following error:
>
>
>
> 2018-07-23 07:22:22 Commons Daemon procrun stderr initialized
>
> java.lang.NoClassDefFoundError:
> org/apache/nifi/minifi/bootstrap/WindowsService
>
> Caused by: java.lang.ClassNotFoundException:
> org.apache.nifi.minifi.bootstrap.WindowsService
>
> at java.net.URLClassLoader.findClass(Unknown Source)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
>
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
>
> Exception in thread "main"
>
>
>
> I found this solution on github:
>
>
> https://github.com/apache/nifi-minifi/tree/05ad9679c162dd3bf38632c7c81762ce3cd3de0e
>
>
>
> where I found the WindowsService.java class .
>
>
>
> How can I integrate the WindowsService.java into the main installation and
> solve the problem?
>
>
>
> Thanks in advance and kind regars,
>
>
>
> *Vicent Sendra*
>
> *Information Security, Risk & Compliance*
>
> *Senior Technical Security Specialist*
>
> *Business Process & Technology*
>
> E. vsendraserver@cokecce.com
>
> T. +34 93 496 6683
>
>
>
>
>
> Av. Països Catalans 32 www.ccep.com
>
> 08950 Esplugues de Llobregat
>
> Spain
>
>
>
>
>
> [image: http://www.cocacolaiberianpartners.com/logomail/logoccep.jpg]
>
>
>
>
>
>
>