[
https://issues.apache.org/jira/browse/SOLR-10735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16026393#comment-16026393
]
Uwe Schindler commented on SOLR-10735:
--------------------------------------
Here is my output with the Solr 6.6.0 release candidate:
{noformat}
C:\Users\Uwe Schindler\Desktop\solr-6.6.0\bin>solr.cmd start -e techproducts
Creating Solr home directory C:\Users\Uwe
Schindler\Desktop\solr-6.6.0\example\techproducts\solr
Starting up Solr on port 8983 using command:
C:\Users\Uwe Schindler\Desktop\solr-6.6.0\bin\solr.cmd start -p 8983 -s
"C:\Users\Uwe Schindler\Desktop\solr-6.6.0\example\techproducts\solr"
ERROR: Failed to start Solr using command: C:\Users\Uwe
Schindler\Desktop\solr-6.6.0\bin\solr.cmd start -p 8983 -s "C:\Users\Uwe
Schindler\Desktop\solr-6.6.0\example\techproducts\solr" Exception :
org.apache.commons.exec.ExecuteException: Execution failed (Exit value:
-559038737. Caused by java.io.IOException: Cannot run program "C:\Users\Uwe"
(in directory "."): CreateProcess error=193, %1 ist keine zulässige
Win32-Anwendung)
{noformat}
This is when starting without example (in Solr 6.5.1 this failed, too):
{noformat}
C:\Users\Uwe Schindler\Desktop\solr-6.6.0\bin>solr.cmd start
Waiting up to 30 to see Solr running on port 8983
Started Solr server on port 8983. Happy searching!
{noformat}
So the general startup script works, but booting the techexample breaks. I
think it is the (IMHO broken commons-commandline stuff, I hate it - damns
broken, sorry!). Java 8 has a phantastic ProcessBuilder API, why do we need
such sh*t like command line libs for stuff that works OOB??
> Solr is broken when directory with spaces used on Windows
> ---------------------------------------------------------
>
> Key: SOLR-10735
> URL: https://issues.apache.org/jira/browse/SOLR-10735
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Affects Versions: 6.5
> Reporter: Ishan Chattopadhyaya
> Attachments: Screenshot from 2017-05-24 21-00-29.png
>
>
> [~thetaphi] mentioned this in the 6.6 RC1 voting thread:
> {code}
> The startup script (Windows at least) again does not work with whitepsace
> directory names, which is standard on Windows. It does give an error message
> not while server startup, but when trying to create the techproducts core. I
> am about to open issue.
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]