[ https://issues.apache.org/jira/browse/SOLR-17595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17905728#comment-17905728 ]
Christos Malliaridis commented on SOLR-17595: --------------------------------------------- So there was a new bug introduced in SOLR-16781. The -D options are specially treated and we have custom logic for parsing them. Handling them is quite tricky and we have in multiple places workarounds. The RunExampleTool is executing the solr script with the arguments, and during the argument parsing in the script, it splits the \-D option at "=" and at ",". This causes the values of {{\-Dsolr.moduels=...}} to beĀ interpreted as separate arguments. Adding quotes or adding the values to the jvm-options seems not to be sufficient, even though the script correctly receives the arguments. Its probably the logic in our cmd script that is not working. And this is only one bug. The issue from 9.7 still persists if I remove the additional arguments. > CLI examples are broken on Windows > ---------------------------------- > > Key: SOLR-17595 > URL: https://issues.apache.org/jira/browse/SOLR-17595 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: cli, examples, SolrCLI > Affects Versions: 9.7 > Reporter: Christos Malliaridis > Assignee: Christos Malliaridis > Priority: Blocker > Labels: cli > Fix For: 9.8 > > Attachments: console-output-9.7.txt, console-output.txt > > > When trying to run the examples on Windows, it fails with an unspecified > error. I have attached the output for investigation. Bug is present in latest > changes. > A previous state was reporting more details about a potential cause. It was > mentioning the "*/xml" in in RunExampleTool.java, but that may not be anymore > the issue for the current failure (but could be a lead for the error). > The error is slightly different in the branches main, 9x and 9.8. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org