Hi Bruno,

Thank you for reply, could you please mention ANT version too.

I am using following java/ANT version

# Java -version

C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk>java -version
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)

# ANT version: 

C:\Users\sanjay.chaurasia>ant -version
Apache Ant(TM) version 1.10.1 compiled on February 2 2017

-----Original Message-----
From: Bruno Antunes [mailto:[email protected]] 
Sent: Tuesday, January 29, 2019 5:48 PM
To: JMeter Users List <[email protected]>
Subject: Re: ant package-and-check command is not executing successfully.

The "ant download_checkstyle" should work. Make surge you are using updated 
version o Java SE 8. The download is performed from "
https://downloads.sourceforge.net/";. The error you are getting is related with 
validation of SSL Certificate

Actions:
* Check versions for Java and Ant

My Test

# java -version
java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08) Java HotSpot(TM) 64-Bit 
Server VM (build 25.202-b08, mixed mode)

# ant download_checkstyle
Buildfile: /home/bantunes/b/apache-jmeter-5.0/build.xml

download_checkstyle:

_process_checkstyle_jars:

_check_exists:

_check_jarfile:
     [echo] Checking checkstyle-8.8-all.jar
     [echo] Deleting checkstyle-8.8-all.jar (excluding
checkstyle-8.8-all.jar)

setproxy:

_get_jarfile:
     [echo] Fetching: lib/opt/checkstyle-8.8-all.jar
      [get] Getting:
https://downloads.sourceforge.net/checkstyle/checkstyle/8.8/checkstyle-8.8-all.jar?ts=1548763907232&use_mirror=autoselect/checkstyle-8.8-all.jar
      [get] To:
/home/bantunes/b/apache-jmeter-5.0/build/checkstyle-8.8-all.jar
      [get]
https://downloads.sourceforge.net/checkstyle/checkstyle/8.8/checkstyle-8.8-all.jar?ts=1548763907232&use_mirror=autoselect/checkstyle-8.8-all.jar
permanently moved to
https://downloads.sourceforge.net/project/checkstyle/OldFiles/8.8/checkstyle-8.8-all.jar?use_mirror=autoselect%2Fcheckstyle-8.8-all.jar
      [get]
https://downloads.sourceforge.net/project/checkstyle/OldFiles/8.8/checkstyle-8.8-all.jar?use_mirror=autoselect%2Fcheckstyle-8.8-all.jar
moved to
https://master.dl.sourceforge.net/project/checkstyle/OldFiles/8.8/checkstyle-8.8-all.jar

_checkMD5:
     [echo] Checksum OK: checkstyle-8.8-all.jar
     [move] Moving 1 file to /home/bantunes/b/apache-jmeter-5.0/lib/opt
     [move] Attempting to rename:
/home/bantunes/b/apache-jmeter-5.0/build/checkstyle-8.8-all.jar to 
/home/bantunes/b/apache-jmeter-5.0/lib/opt/checkstyle-8.8-all.jar

setproxy:

_get_zipfile:

BUILD SUCCESSFUL
Total time: 14 seconds


On Tue, 29 Jan 2019 at 12:04, Sanjay Chaurasia < 
[email protected]> wrote:

> I tried this, but did not work.
> If you observe the error log I have shared, it is trying to find some 
> certification path.
>
> Please have a look below error message.
>
> javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException:
> PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderExce
> ption: unable to find valid certification path to requested target
>
> -----Original Message-----
> From: sebb [mailto:[email protected]]
> Sent: Tuesday, January 29, 2019 4:54 PM
> To: JMeter Users List <[email protected]>
> Subject: Re: ant package-and-check command is not executing successfully.
>
> On Tue, 29 Jan 2019 at 10:58, Sanjay Chaurasia < 
> [email protected]> wrote:
> >
> > Thank you for reply sebb, that was the typo error while executing 
> > the
> command I had written correct command.
>
> I think you have misunderstood.
>
> According to the output you posted, the path name in which JMeter is 
> installed contains a space:
>
> C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk (1)\jmeter-trunk
>
> (It certainly looks like a space before the '(1)' above)
>
> This space can cause problems.
>
> Rename the path segment 'jmeter-trunk (1)' so it does not contain a 
> space and try again.
>
> > -----Original Message-----
> > From: sebb [mailto:[email protected]]
> > Sent: Tuesday, January 29, 2019 3:36 PM
> > To: JMeter Users List <[email protected]>
> > Subject: Re: ant package-and-check command is not executing successfully.
> >
> > On Tue, 29 Jan 2019 at 03:22, Sanjay Chaurasia <
> [email protected]> wrote:
> > >
> > > Thank you for your quick reply Deepak.
> > >
> > > Yes, I tried this by executing command "ant download_checkstyle"  
> > > and
> "ant download_checkstyle target"
> > > But It's not working as well and throwing below errors.
> > >
> > > C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk 
> > > (1)\jmeter-trunk>ant download_che ckstyle
> >
> > There's a space in the pathname.
> > That can cause issues.
> >
> > Rename and try again.
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>

--
Bruno Antunes
Java Software Engineer

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to