ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chappell, Simon P" <Simon.Chapp...@landsend.com>
Subject RE: scp task error
Date Wed, 12 Nov 2003 16:06:10 GMT
      [scp] Connecting to leuswd00.landsend.com:22

BUILD FAILED
java.lang.ExceptionInInitializerError
        at org.apache.tools.ant.Project.executeTarget(Project.java:1246)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1094)
        at org.apache.tools.ant.Main.runBuild(Main.java:669)
        at org.apache.tools.ant.Main.startAnt(Main.java:220)
        at org.apache.tools.ant.Main.start(Main.java:184)
        at org.apache.tools.ant.Main.main(Main.java:267)
--- Nested Exception ---
java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for
trusted
CAs
        at javax.crypto.a.<clinit>(Unknown Source)
        at javax.crypto.KeyAgreement.getInstance(Unknown Source)
        at com.jcraft.jsch.jce.DH.init(Unknown Source)
        at com.jcraft.jsch.jce.DHG1.init(Unknown Source)
        at com.jcraft.jsch.Session.receive_kexinit(Unknown Source)
        at com.jcraft.jsch.Session.connect(Unknown Source)
        at org.apache.tools.ant.taskdefs.optional.ssh.SSHBase.openSession(SSHBase.java:204)
        at org.apache.tools.ant.taskdefs.optional.ssh.Scp.upload(Scp.java:227)
        at org.apache.tools.ant.taskdefs.optional.ssh.Scp.execute(Scp.java:155)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:302)
        at org.apache.tools.ant.Task.perform(Task.java:401)
        at org.apache.tools.ant.Target.execute(Target.java:338)
        at org.apache.tools.ant.Target.performTasks(Target.java:365)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1094)
        at org.apache.tools.ant.Main.runBuild(Main.java:669)
        at org.apache.tools.ant.Main.startAnt(Main.java:220)
        at org.apache.tools.ant.Main.start(Main.java:184)
        at org.apache.tools.ant.Main.main(Main.java:267)

Total time: 6 seconds

>-----Original Message-----
>From: Stefan Bodewig [mailto:bodewig@apache.org]
>Sent: Wednesday, November 12, 2003 1:19 AM
>To: user@ant.apache.org
>Subject: Re: scp task error
>
>
>On Tue, 11 Nov 2003, Simon P. Chappell <Simon.Chappell@landsend.com>
>wrote:
>
>> I get a java.lang.ExceptionInInitializerError when trying to scp a
>> file to a remote box.
>
>in which class does the exception occur?  Could we see the stack
>trace?
>
>Stefan
>
>-- 
>http://stefanbodewig.blogger.de/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message