2

Linux Mint に JMeter をインストールしようとしています。私は認証プロキシの背後にいて、ant を as として呼び出していant -autoproxy download_jarsます。これにより、次の出力が得られ、スタックします。

download_jars:

_process_all_jars:

_check_exists:

_check_jarfile:
     [echo] Checking bsf-2.4.0.jar
     [echo] Deleting bsf-*.jar (excluding bsf-2.4.0.jar)

_get_jarfile:
     [echo] Fetching: lib/bsf-2.4.0.jar
      [get] Getting: http://repo2.maven.org/maven2/bsf/bsf/2.4.0/bsf-2.4.0.jar
      [get] To: /home/xxx/xxx/Jmeter/apache-jmeter-2.10/build/bsf-2.4.0.jar

実際にファイルを取得したり、エラーを報告したりすることはありません。システム モニターは無視できるほどのネットワーク アクティビティを示します (~4kB/秒)。しばらく待っても処理が終わらない。

このような場合、ソースから ant をインストールするにはどうすればよいですか? すべての JAR を手動でダウンロードするのは現実的ではありません。

更新:呼び出しは次の例外で失敗します:

BUILD FAILED
/home/xxx/xxx/Jmeter/apache-jmeter-2.10/build.xml:2944: The following error occurred while executing this line:
/home/xxx/xxx/Jmeter/apache-jmeter-2.10/build.xml:2870: The following error occurred while executing this line:
/home/xxx/xxx/Jmeter/apache-jmeter-2.10/build.xml:2764: The following error occurred while executing this line:
/home/xxx/xxx/Jmeter/apache-jmeter-2.10/build.xml:2807: The following error occurred while executing this line:
/home/xxx/xxx/Jmeter/apache-jmeter-2.10/build.xml:2837: java.net.SocketException: Malformed reply from SOCKS server
    at java.net.SocksSocketImpl.readSocksReply(SocksSocketImpl.java:111)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:448)
    at java.net.Socket.connect(Socket.java:546)
    at java.net.Socket.connect(Socket.java:495)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:178)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:409)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:240)
    at sun.net.www.http.HttpClient.New(HttpClient.java:321)
    at sun.net.www.http.HttpClient.New(HttpClient.java:338)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:935)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:801)
    at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:660)
    at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:579)
    at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:569)

Total time: 15 minutes 2 seconds
4

0 に答える 0