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

James Sevener commented on NIFI-6609:
-------------------------------------

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)

Reply via email to