[jira] [Commented] (NIFI-6665) NiFi toolkit bind issue with cli.bat file
[ https://issues.apache.org/jira/browse/NIFI-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16936812#comment-16936812 ] Bryan Bende commented on NIFI-6665: --- Currently all released versions of NiFi and NiFi Toolkit require Java 8. Once 1.10.0 is released you can then use Java 9 or newer. > NiFi toolkit bind issue with cli.bat file > - > > Key: NIFI-6665 > URL: https://issues.apache.org/jira/browse/NIFI-6665 > Project: Apache NiFi > Issue Type: Bug > Components: Tools and Build >Affects Versions: 1.8.0, 1.9.2 >Reporter: Sridhar >Priority: Critical > Time Spent: 10m > Remaining Estimate: 0h > > When any cli command executed with cli.bat file ( like list bucket in > registry etc..) Exception comes with like " class not found" > Issue is with line : > *SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% > org.apache.nifi.toolkit.cli.CLIMain* > please make change above in cli.bat file as below. > *SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% --add-modules=java.xml.bind > org.apache.nifi.toolkit.cli.CLIMain* -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (NIFI-6665) NiFi toolkit bind issue with cli.bat file
[ https://issues.apache.org/jira/browse/NIFI-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16936535#comment-16936535 ] Sridhar commented on NIFI-6665: --- Ok, So we need to use toolkit version 1.10.0 and above to get this fix? If so I need to change my jenkins file > NiFi toolkit bind issue with cli.bat file > - > > Key: NIFI-6665 > URL: https://issues.apache.org/jira/browse/NIFI-6665 > Project: Apache NiFi > Issue Type: Bug > Components: Tools and Build >Affects Versions: 1.8.0, 1.9.2 >Reporter: Sridhar >Priority: Critical > Time Spent: 10m > Remaining Estimate: 0h > > When any cli command executed with cli.bat file ( like list bucket in > registry etc..) Exception comes with like " class not found" > Issue is with line : > *SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% > org.apache.nifi.toolkit.cli.CLIMain* > please make change above in cli.bat file as below. > *SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% --add-modules=java.xml.bind > org.apache.nifi.toolkit.cli.CLIMain* -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (NIFI-6665) NiFi toolkit bind issue with cli.bat file
[ https://issues.apache.org/jira/browse/NIFI-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933666#comment-16933666 ] Muazma Zahid commented on NIFI-6665: Just tested, in the master build this issue is resolved. It does still exist with Java 8. > NiFi toolkit bind issue with cli.bat file > - > > Key: NIFI-6665 > URL: https://issues.apache.org/jira/browse/NIFI-6665 > Project: Apache NiFi > Issue Type: Bug > Components: Tools and Build >Affects Versions: 1.8.0, 1.9.2 >Reporter: Sridhar >Priority: Critical > Time Spent: 10m > Remaining Estimate: 0h > > When any cli command executed with cli.bat file ( like list bucket in > registry etc..) Exception comes with like " class not found" > Issue is with line : > *SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% > org.apache.nifi.toolkit.cli.CLIMain* > please make change above in cli.bat file as below. > *SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% --add-modules=java.xml.bind > org.apache.nifi.toolkit.cli.CLIMain* -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (NIFI-6665) NiFi toolkit bind issue with cli.bat file
[ https://issues.apache.org/jira/browse/NIFI-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933628#comment-16933628 ] Bryan Bende commented on NIFI-6665: --- You would to build NiFi from the master branch and then get the result toolkit assembly from nifi-toolkit/nifi-toolkit-assembly/target > NiFi toolkit bind issue with cli.bat file > - > > Key: NIFI-6665 > URL: https://issues.apache.org/jira/browse/NIFI-6665 > Project: Apache NiFi > Issue Type: Bug > Components: Tools and Build >Affects Versions: 1.8.0, 1.9.2 >Reporter: Sridhar >Priority: Critical > Time Spent: 10m > Remaining Estimate: 0h > > When any cli command executed with cli.bat file ( like list bucket in > registry etc..) Exception comes with like " class not found" > Issue is with line : > *SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% > org.apache.nifi.toolkit.cli.CLIMain* > please make change above in cli.bat file as below. > *SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% --add-modules=java.xml.bind > org.apache.nifi.toolkit.cli.CLIMain* -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (NIFI-6665) NiFi toolkit bind issue with cli.bat file
[ https://issues.apache.org/jira/browse/NIFI-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933576#comment-16933576 ] Muazma Zahid commented on NIFI-6665: Is there a way to test 1.10.0 with newer Java and test that new toolkit would work? > NiFi toolkit bind issue with cli.bat file > - > > Key: NIFI-6665 > URL: https://issues.apache.org/jira/browse/NIFI-6665 > Project: Apache NiFi > Issue Type: Bug > Components: Tools and Build >Affects Versions: 1.8.0, 1.9.2 >Reporter: Sridhar >Priority: Critical > Time Spent: 10m > Remaining Estimate: 0h > > When any cli command executed with cli.bat file ( like list bucket in > registry etc..) Exception comes with like " class not found" > Issue is with line : > *SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% > org.apache.nifi.toolkit.cli.CLIMain* > please make change above in cli.bat file as below. > *SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% --add-modules=java.xml.bind > org.apache.nifi.toolkit.cli.CLIMain* -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (NIFI-6665) NiFi toolkit bind issue with cli.bat file
[ https://issues.apache.org/jira/browse/NIFI-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933492#comment-16933492 ] Bryan Bende commented on NIFI-6665: --- Also, so far all released versions of NiFi only support Java 8. There are changes in master to support > Java 8, so I would like to see if the new toolkit from master (which will be 1.10.0) works without needing this change. > NiFi toolkit bind issue with cli.bat file > - > > Key: NIFI-6665 > URL: https://issues.apache.org/jira/browse/NIFI-6665 > Project: Apache NiFi > Issue Type: Bug > Components: Tools and Build >Affects Versions: 1.8.0, 1.9.2 >Reporter: Sridhar >Priority: Critical > Time Spent: 10m > Remaining Estimate: 0h > > When any cli command executed with cli.bat file ( like list bucket in > registry etc..) Exception comes with like " class not found" > Issue is with line : > *SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% > org.apache.nifi.toolkit.cli.CLIMain* > please make change above in cli.bat file as below. > *SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% --add-modules=java.xml.bind > org.apache.nifi.toolkit.cli.CLIMain* -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (NIFI-6665) NiFi toolkit bind issue with cli.bat file
[ https://issues.apache.org/jira/browse/NIFI-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933465#comment-16933465 ] Bryan Bende commented on NIFI-6665: --- I'm confused because the concept "modules" only exists in Java 9 and greater, so if you were running with Java 8 then adding the JAXB modules shouldn't be necessary. > NiFi toolkit bind issue with cli.bat file > - > > Key: NIFI-6665 > URL: https://issues.apache.org/jira/browse/NIFI-6665 > Project: Apache NiFi > Issue Type: Bug > Components: Tools and Build >Affects Versions: 1.8.0, 1.9.2 >Reporter: Sridhar >Priority: Critical > Time Spent: 10m > Remaining Estimate: 0h > > When any cli command executed with cli.bat file ( like list bucket in > registry etc..) Exception comes with like " class not found" > Issue is with line : > *SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% > org.apache.nifi.toolkit.cli.CLIMain* > please make change above in cli.bat file as below. > *SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% --add-modules=java.xml.bind > org.apache.nifi.toolkit.cli.CLIMain* -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (NIFI-6665) NiFi toolkit bind issue with cli.bat file
[ https://issues.apache.org/jira/browse/NIFI-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16931178#comment-16931178 ] Sridhar commented on NIFI-6665: --- Its : java version "1.8.0_221" > NiFi toolkit bind issue with cli.bat file > - > > Key: NIFI-6665 > URL: https://issues.apache.org/jira/browse/NIFI-6665 > Project: Apache NiFi > Issue Type: Bug > Components: Tools and Build >Affects Versions: 1.8.0, 1.9.2 >Reporter: Sridhar >Priority: Critical > > When any cli command executed with cli.bat file ( like list bucket in > registry etc..) Exception comes with like " class not found" > Issue is with line : > *SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% > org.apache.nifi.toolkit.cli.CLIMain* > please make change above in cli.bat file as below. > *SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% --add-modules=java.xml.bind > org.apache.nifi.toolkit.cli.CLIMain* -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (NIFI-6665) NiFi toolkit bind issue with cli.bat file
[ https://issues.apache.org/jira/browse/NIFI-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16929194#comment-16929194 ] Bryan Bende commented on NIFI-6665: --- What version of Java are you using? > NiFi toolkit bind issue with cli.bat file > - > > Key: NIFI-6665 > URL: https://issues.apache.org/jira/browse/NIFI-6665 > Project: Apache NiFi > Issue Type: Bug > Components: Tools and Build >Affects Versions: 1.8.0, 1.9.2 >Reporter: Sridhar >Priority: Critical > > When any cli command executed with cli.bat file ( like list bucket in > registry etc..) Exception comes with like " class not found" > Issue is with line : > *SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% > org.apache.nifi.toolkit.cli.CLIMain* > please make change above in cli.bat file as below. > *SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% --add-modules=java.xml.bind > org.apache.nifi.toolkit.cli.CLIMain* -- This message was sent by Atlassian Jira (v8.3.2#803003)