[jira] [Commented] (KAFKA-1703) The bat script failed to start on windows
[ https://issues.apache.org/jira/browse/KAFKA-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14288535#comment-14288535 ] JK Dong commented on KAFKA-1703: modify set BASE_DIR=%CD%\.. to set BASE_DIR=%CD%\..\.. and add classpath for release version: for %%i in (%BASE_DIR%\libs\*.jar) do ( call :concat %%i ) > The bat script failed to start on windows > - > > Key: KAFKA-1703 > URL: https://issues.apache.org/jira/browse/KAFKA-1703 > Project: Kafka > Issue Type: Bug > Components: build >Affects Versions: 0.8.1.1 >Reporter: ChengRen > Labels: newbie > Attachments: kafka-run-class.bat > > > The bat script in bin\windows can not start zookeeper and kafka correctly > (where my os is just installed and only jdk ready). I modified the > kafka-run-class.bat and add jars in libs folder to classpath. > for %%i in (%BASE_DIR%\core\lib\*.jar) do ( > call :concat %%i > ) > added begin > for %%i in (%BASE_DIR%\..\libs\*.jar) do ( > call :concat %%i > ) > added end > for %%i in (%BASE_DIR%\perf\target\scala-2.8.0/kafka*.jar) do ( > call :concat %%i > ) > Now it runs correctly. > Under bin\windows: > zookeeper-server-start.bat ..\..\config\zookeeper.properties >kafka-server-start.bat ..\..\config\kafka.properties -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (KAFKA-1703) The bat script failed to start on windows
[ https://issues.apache.org/jira/browse/KAFKA-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JK Dong updated KAFKA-1703: --- Attachment: kafka-run-class.bat > The bat script failed to start on windows > - > > Key: KAFKA-1703 > URL: https://issues.apache.org/jira/browse/KAFKA-1703 > Project: Kafka > Issue Type: Bug > Components: build >Affects Versions: 0.8.1.1 >Reporter: ChengRen > Labels: newbie > Attachments: kafka-run-class.bat > > > The bat script in bin\windows can not start zookeeper and kafka correctly > (where my os is just installed and only jdk ready). I modified the > kafka-run-class.bat and add jars in libs folder to classpath. > for %%i in (%BASE_DIR%\core\lib\*.jar) do ( > call :concat %%i > ) > added begin > for %%i in (%BASE_DIR%\..\libs\*.jar) do ( > call :concat %%i > ) > added end > for %%i in (%BASE_DIR%\perf\target\scala-2.8.0/kafka*.jar) do ( > call :concat %%i > ) > Now it runs correctly. > Under bin\windows: > zookeeper-server-start.bat ..\..\config\zookeeper.properties >kafka-server-start.bat ..\..\config\kafka.properties -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (KAFKA-1703) The bat script failed to start on windows
[ https://issues.apache.org/jira/browse/KAFKA-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JK Dong updated KAFKA-1703: --- Status: Patch Available (was: Open) > The bat script failed to start on windows > - > > Key: KAFKA-1703 > URL: https://issues.apache.org/jira/browse/KAFKA-1703 > Project: Kafka > Issue Type: Bug > Components: build >Affects Versions: 0.8.1.1 >Reporter: ChengRen > Labels: newbie > > The bat script in bin\windows can not start zookeeper and kafka correctly > (where my os is just installed and only jdk ready). I modified the > kafka-run-class.bat and add jars in libs folder to classpath. > for %%i in (%BASE_DIR%\core\lib\*.jar) do ( > call :concat %%i > ) > added begin > for %%i in (%BASE_DIR%\..\libs\*.jar) do ( > call :concat %%i > ) > added end > for %%i in (%BASE_DIR%\perf\target\scala-2.8.0/kafka*.jar) do ( > call :concat %%i > ) > Now it runs correctly. > Under bin\windows: > zookeeper-server-start.bat ..\..\config\zookeeper.properties >kafka-server-start.bat ..\..\config\kafka.properties -- This message was sent by Atlassian JIRA (v6.3.4#6332)