This is an automated email from the ASF dual-hosted git repository.

vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit 10491a655053497520fe02657283e317fff79f32
Author: junyejiang <[email protected]>
AuthorDate: Mon Jan 13 20:18:46 2025 +0800

    Correct mirror server class path
---
 bin/mirror-server.cmd | 4 +---
 bin/mirror-server.sh  | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/bin/mirror-server.cmd b/bin/mirror-server.cmd
index 6f76adf595..dc38a0ce42 100644
--- a/bin/mirror-server.cmd
+++ b/bin/mirror-server.cmd
@@ -26,9 +26,7 @@ set JMETER_CMD_LINE_ARGS=%*
 
 cd /D %~dp0
 
-set 
CP=..\lib\ext\ApacheJMeter_http.jar;..\lib\ext\ApacheJMeter_core.jar;..\lib\jorphan.jar;..\lib\oro-2.0.8.jar
-set 
CP=%CP%;..\lib\slf4j-api-1.7.25.jar;..\lib\jcl-over-slf4j-1.7.25.jar;..\lib\log4j-slf4j-impl-2.11.1.jar
-set 
CP=%CP%;..\lib\log4j-api-2.11.1.jar;..\lib\log4j-core-2.11.1.jar;..\lib\log4j-1.2-api-2.11.1.jar
+set 
CP=../lib/ext/ApacheJMeter_http.jar:../lib/ext/ApacheJMeter_core.jar:../lib/*
 
 java -cp %CP% org.apache.jmeter.protocol.http.control.HttpMirrorServer 
%JMETER_CMD_LINE_ARGS%
 
diff --git a/bin/mirror-server.sh b/bin/mirror-server.sh
index 7e96962625..1444d5170c 100755
--- a/bin/mirror-server.sh
+++ b/bin/mirror-server.sh
@@ -21,8 +21,6 @@
 
 cd "$(dirname "$0")" || exit 1
 
-CP=../lib/ext/ApacheJMeter_http.jar:../lib/ext/ApacheJMeter_core.jar:../lib/jorphan.jar:../lib/oro-2.0.8.jar
-CP=${CP}:../lib/slf4j-api-1.7.25.jar:../lib/jcl-over-slf4j-1.7.25.jar:../lib/log4j-slf4j-impl-2.11.0.jar
-CP=${CP}:../lib/log4j-api-2.11.1.jar:../lib/log4j-core-2.11.1.jar:../lib/log4j-1.2-api-2.11.1.jar
+CP=../lib/ext/ApacheJMeter_http.jar:../lib/ext/ApacheJMeter_core.jar:../lib/*
 
 java -cp $CP org.apache.jmeter.protocol.http.control.HttpMirrorServer "$@"

Reply via email to