Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 122 invoked from network); 20 Jun 2005 19:00:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jun 2005 19:00:44 -0000 Received: (qmail 53346 invoked by uid 500); 20 Jun 2005 19:00:36 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 53269 invoked by uid 500); 20 Jun 2005 19:00:35 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 53248 invoked by uid 99); 20 Jun 2005 19:00:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2005 12:00:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [146.197.27.40] (HELO barrierb241.nike.com) (146.197.27.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2005 12:00:34 -0700 X-Server-Uuid: BDE2CC8B-9671-48D4-9A25-CA756DA0A621 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: FW: Connection Failures On SSHExec Task Date: Mon, 20 Jun 2005 12:00:21 -0700 Message-ID: <200506201900.j5KJ0VvI006348@barrierb241.nike.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FW: Connection Failures On SSHExec Task Thread-Index: AcV1H8KqmQm5zIbJTmqCQG28v1uzMgAqSAKg From: "Anderson, Rob (Global Trade)" To: "Ant Users List" X-OriginalArrivalTime: 20 Jun 2005 19:00:22.0048 (UTC) FILETIME=[4F13FA00:01C575CA] X-WSS-ID: 6EA9CDCD1L8299580-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I have looked into this a little bit and found that I am in way too deep = to fix this myself. I was seeing some really bizare behavior, which I = will try to explain here. I downloaded the source to Ant 1.6.5 and jsch = 1.20. I made a new eclipse project to debug the code interactively. I = set a breakpoint at line 156 of the Channel object. When I run ant in = debug mode and break at this point, it behaves as described below. When = I choose to watch the ChannelExec.io object and I am watching it during = the debug, the problem goes away. There must be something about how the = debugger interacts with the debugee JVM that I am not aware of that is = causing this behavior. Anyway, I hope this gets us closer to solving the = issue. -Rob Anderson > -----Original Message----- > From: Bill Winspur [mailto:bwinspur@wynnon.com] > Sent: Sunday, June 19, 2005 3:40 PM > To: Ant Users List > Subject: Re: FW: Connection Failures On SSHExec Task >=20 >=20 > Atsuhiko, >=20 > Thanks for your response. Have you/jcraft pursued this=20 > problem any further ? > I moved on to other aspects of my project, after receiving=20 > your note, in the > hope that you might find a workaround for the problem. However, I must > return to the issue of exploiting SSH in my application very soon, >=20 > Bill Winspur >=20 >=20 > Atsuhiko Yamanaka wrote: >=20 > >Hi, > > > > +-From: "Anderson, Rob (Global Trade)" -- > > |_Date: Fri, 3 Jun 2005 10:16:53 -0700 __________________________ > > | > > |> > > [sshexec] Connecting to xxx.com:22 > > |> > > [sshexec] root > > |> > > [sshexec] Connecting to xxx.com:22 > > |> > > [sshexec] Connecting to xxx.com:22 > > |> > > [sshexec] Connecting to xxx.com:22 > > |> > > [sshexec] Connecting to xxx.com:22 > > |> > > [sshexec] Connecting to xxx.com:22 > > |> > > [sshexec] Connecting to xxx.com:22 > > |> > > [sshexec] Connecting to xxx.com:22 > > |> > > [sshexec] Connecting to xxx.com:22 > > |> > > [sshexec] Connecting to xxx.com:22 > > > >I have not found the reason yet, but I have remembered that=20 > >OpenSSH's sshd allows to use only 10 sessions simultaneously on=20 > >the single channel. So, it seems each sshexec channel has not > >be disconnected cleanly. > > > >Thanks, > >-- > >Atsuhiko Yamanaka > >JCraft,Inc. > >4-1 OHMACHI 1-CHOME AOBA-KU, > >SENDAI, MIYAGI 980-0804 Japan. > >Tel +81-22-723-2150 > > +1-415-578-3454 > >Fax +81-22-224-8773 > >Skype callto://jcraft/ > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > >For additional commands, e-mail: user-help@ant.apache.org > > > > > > =20 > > >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org