[ 
https://issues.apache.org/jira/browse/NIFI-8734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Grey resolved NIFI-8734.
-----------------------------
    Resolution: Won't Do

In a recent mailing list discussion [1], a consensus discussion was made to 
deprecate the module "nifi-toolkit-tls".  A set of tickets [2] [3] [4] was 
opened and resolved to carry out this work.

In order to complete this effort, any open tickets in the NIFI project relating 
to defects, enhancements, etc of "nifi-toolkit-tls" should be marked resolved.

[1] https://lists.apache.org/thread/vn1nzobtz4fh7fs461sgg8jj9zygrk0f
[2] NIFI-12169 - Documentation updates to provide alternatives to usage of TLS 
Toolkit
[3] NIFI-12200 - Remove nifi-toolkit-tls module
[4] NIFI-12201 - Deprecation markings for nifi-toolkit-tls module in 
support/nifi-1.x


> NiFi Toolkit .bat breaks with paths containing spaces
> -----------------------------------------------------
>
>                 Key: NIFI-8734
>                 URL: https://issues.apache.org/jira/browse/NIFI-8734
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.13.2
>         Environment: Windows Server 2019 1809 (Win 10), PowerShell 5.1, 
> Oracle JRE 1.8. 291
>            Reporter: Mark Ward
>            Priority: Major
>              Labels: newbie
>
> I'm using PowerShell on Windows Server 2019 with Java 1.8, and the following 
> command run from the "nifi-toolkit-1.13.2" directory:
> {code:java}
> cd 'C:\Program Files\Apache\NiFi Toolkit\nifi-toolkit-1.13.2\'{code}
> {code:java}
> .\bin\tls-toolkit.bat standalone -h{code}
> returns: 
> {code:java}
> Error: Could not find or load main class Files\Apache\NiFi
> {code}
> I believe the issue lies with spaces in the path where toolkit is located and 
> if I alter this line in the tls-toolkit.bat:
> {code:java}
> SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% 
> org.apache.nifi.toolkit.tls.TlsToolkitMain
> {code}
> to include double quotes around the %LIB_DIR% variable:
> {code:java}
> SET JAVA_PARAMS=-cp "%LIB_DIR%\*" %JAVA_OPTS% 
> org.apache.nifi.toolkit.tls.TlsToolkitMain{code}
>  It works as expected.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to