You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "James Sevener (Jira)" <ji...@apache.org> on 2019/09/11 15:59:00 UTC

[jira] [Comment Edited] (NIFI-6609) NiFi Docker can't load some JAR files

    [ https://issues.apache.org/jira/browse/NIFI-6609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16927714#comment-16927714 ] 

James Sevener edited comment on NIFI-6609 at 9/11/19 3:58 PM:
--------------------------------------------------------------

Changing 
{code:java}
"${NIFI_HOME}/bin/nifi.sh" run &
{code}
to 
{code:java}
"${NIFI_HOME}/bin/nifi.sh" start
{code}
in the start.sh file fixes this


was (Author: jamessevener):
Changing `"${NIFI_HOME}/bin/nifi.sh" run &` to `"${NIFI_HOME}/bin/nifi.sh" start` in the start.sh file fixes this

> NiFi Docker can't load some JAR files
> -------------------------------------
>
>                 Key: NIFI-6609
>                 URL: https://issues.apache.org/jira/browse/NIFI-6609
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Docker
>    Affects Versions: 1.9.2
>         Environment: Docker (tested on Docker Desktop, Windows)
>            Reporter: James Sevener
>            Priority: Minor
>
> When adding the Splunk Java Logging JAR and dependencies, and introducing the appender to the logback.xml config, a ClassNotFound error is produced. This config and JARs were pulled directly from a working instance of NiFi running on RHEL. Also, a workaround is to set the entry point to /bin/bash and then run ./bin/nifi.sh. This then successfully starts and sends logs to Splunk.
>  
> Reproduceable by building the dockerfile here: [https://github.com/jamessevener/nifi/tree/master/nifi-docker/dockerhub]



--
This message was sent by Atlassian Jira
(v8.3.2#803003)