Apache Solr open-source search software
SOLR-4691: zkcli.sh/bat is broken because it cannot find the logging jars.
Mark Robert Miller1a9de4ba0a12
diff --git a/solr/cloud-dev/solrcloud-extzk-start.sh b/solr/cloud-dev/solrcloud-extzk-start.shindex 3ff2a8e61a7..e695e54e13f 100644--- a/solr/cloud-dev/solrcloud-extzk-start.sh+++ b/solr/cloud-dev/solrcloud-extzk-start.sh@@ -24,7 +24,7 @@ cp -r -f example example4cp -r -f example example5cp -r -f example example6-java -classpath lib/*:dist/*:build/lucene-libs/* org.apache.solr.cloud.ZkController "$zkaddress" 8983 example/solr/conf conf1+java -classpath "example/solr-webapp/webapp/WEB-INF/lib/*:example/lib/ext/" org.apache.solr.cloud.ZkController "$zkaddress" 8983 example/solr/conf conf1cd examplejava -DzkHost="$zkaddress" -DnumShards=2 -DSTOP.PORT=7983 -DSTOP.KEY=key -jar start.jar 1>example.log 2>&1 &diff --git a/solr/cloud-dev/solrcloud-multi-start.sh b/solr/cloud-dev/solrcloud-multi-start.shindex 32d8fca3807..ce338c6fb2e 100644--- a/solr/cloud-dev/solrcloud-multi-start.sh+++ b/solr/cloud-dev/solrcloud-multi-start.sh@@ -24,7 +24,7 @@ cp -r -f example example4cp -r -f example example5cp -r -f example example6-java -classpath lib/*:dist/*:build/lucene-libs/* org.apache.solr.cloud.ZkCLI -cmd upconf -zkhost 127.0.0.1:9983 -solrhome example/multicore -runzk 8983+java -classpath "example/solr-webapp/webapp/WEB-INF/lib/*:example/lib/ext/" org.apache.solr.cloud.ZkCLI -cmd upconf -zkhost 127.0.0.1:9983 -solrhome example/multicore -runzk 8983cd examplejava -DzkRun -DnumShards=2 -DSTOP.PORT=7983 -DSTOP.KEY=key -Dsolr.solr.home=multicore -jar start.jar 1>example.log 2>&1 &diff --git a/solr/cloud-dev/solrcloud-start.sh b/solr/cloud-dev/solrcloud-start.shindex 082c0f684ef..a8940ecf064 100644--- a/solr/cloud-dev/solrcloud-start.sh+++ b/solr/cloud-dev/solrcloud-start.sh@@ -25,7 +25,7 @@ cp -r -f example example4cp -r -f example example5cp -r -f example example6-java -classpath "example/solr-webapp/webapp/WEB-INF/lib/*" org.apache.solr.cloud.ZkCLI -cmd bootstrap -zkhost 127.0.0.1:9983 -solrhome example/solr -runzk 8983+java -classpath "example/solr-webapp/webapp/WEB-INF/lib/*:example/lib/ext/" org.apache.solr.cloud.ZkCLI -cmd bootstrap -zkhost 127.0.0.1:9983 -solrhome example/solr -runzk 8983cd examplejava -DzkRun -DnumShards=2 -DSTOP.PORT=7983 -DSTOP.KEY=key -jar start.jar 1>example.log 2>&1 &diff --git a/solr/example/cloud-scripts/zkcli.bat b/solr/example/cloud-scripts/zkcli.batindex b57513088aa..5857a3cf959 100644--- a/solr/example/cloud-scripts/zkcli.bat+++ b/solr/example/cloud-scripts/zkcli.bat@@ -9,4 +9,4 @@ set SDIR=%~dp0if "%SDIR:~-1%"=="\" set SDIR=%SDIR:~0,-1%-"%JVM%" -classpath "%SDIR%\..\solr-webapp\webapp\WEB-INF\lib\*" org.apache.solr.cloud.ZkCLI %*+"%JVM%" -classpath "%SDIR%\..\solr-webapp\webapp\WEB-INF\lib\*;%SDIR%\..\lib\ext" org.apache.solr.cloud.ZkCLI %*diff --git a/solr/example/cloud-scripts/zkcli.sh b/solr/example/cloud-scripts/zkcli.shindex 26c5bc09b22..1a8f47723d7 100644--- a/solr/example/cloud-scripts/zkcli.sh+++ b/solr/example/cloud-scripts/zkcli.sh@@ -10,5 +10,5 @@ JVM="java"sdir="`dirname \"$0\"`"-$JVM -classpath "$sdir/../solr-webapp/webapp/WEB-INF/lib/*" org.apache.solr.cloud.ZkCLI ${1+"$@"}+$JVM -classpath "$sdir/../solr-webapp/webapp/WEB-INF/lib/*:$sdir/../lib/ext/*" org.apache.solr.cloud.ZkCLI ${1+"$@"}