lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-6928) solr.cmd stop works only in english
Date Thu, 22 Jan 2015 09:57:35 GMT

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

Uwe Schindler commented on SOLR-6928:
-------------------------------------

In addition, "ant run-example" is broken on windows, which makes development harder for me:

{noformat}
run-example:

BUILD FAILED
C:\Users\Uwe Schindler\Projects\lucene\trunk-lusolr1\solr\build.xml:66: Execute failed: java.io.IOException:
Cannot run program "C:\Users\Uwe Schindler\Projects\lucene\trunk-lusolr1\solr\bin\solr": CreateProcess
error=193, %1 ist keine zulässige Win32-Anwendung
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
        at java.lang.Runtime.exec(Runtime.java:620)
        at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
        at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631)
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
        at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:392)
        at org.apache.tools.ant.Target.performTasks(Target.java:413)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
        at org.apache.tools.ant.Main.runBuild(Main.java:811)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.io.IOException: CreateProcess error=193, %1 ist keine zulõssige Win32-Anwendung
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
        at java.lang.ProcessImpl.start(ProcessImpl.java:137)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
        ... 23 more

Total time: 4 minutes 0 seconds
{noformat}

I think the problem is that the ant task should use "solr.cmd" if it detects windows.

> solr.cmd stop works only in english
> -----------------------------------
>
>                 Key: SOLR-6928
>                 URL: https://issues.apache.org/jira/browse/SOLR-6928
>             Project: Solr
>          Issue Type: Bug
>          Components: scripts and tools
>    Affects Versions: 4.10.3
>         Environment: german windows 7
>            Reporter: john.work
>            Assignee: Timothy Potter
>            Priority: Minor
>             Fix For: 5.0, Trunk
>
>         Attachments: SOLR-6928.patch, SOLR-6928.patch
>
>
> in solr.cmd the stop doesnt work while executing 'netstat -nao ^| find /i "listening"
^| find ":%SOLR_PORT%"' so "listening" is not found.
> e.g. in german cmd.exe the netstat -nao prints the following output:
> {noformat}
>   Proto  Lokale Adresse         Remoteadresse          Status           PID
>   TCP    0.0.0.0:80             0.0.0.0:0              ABHÖREN         4
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message