RE: rexec task failed with error "can't connect to..."

2009-02-19 Thread Anat
Thanks :) Rinehart, Raleigh wrote: > > > >> -Original Message- >> From: Anat [mailto:anat.ba...@gmail.com] >> Sent: Wednesday, February 18, 2009 3:13 AM >> To: user@ant.apache.org >> Subject: rexec task failed with error "can't connect

RE: rexec task failed with error "can't connect to..."

2009-02-18 Thread Rinehart, Raleigh
> -Original Message- > From: Anat [mailto:anat.ba...@gmail.com] > Sent: Wednesday, February 18, 2009 3:13 AM > To: user@ant.apache.org > Subject: rexec task failed with error "can't connect to..." > > > Hi, > When I run rexec task it fails wit

rexec task failed with error "can't connect to..."

2009-02-18 Thread Anat
Hi, When I run rexec task it fails with the error "can't connect to ". I run it in the following way: I also tried to run the task on other machines but it failed with the same error. My machine is windows 2008. The final goal is to run the task from linux machine on a windo

Rexec Task

2008-02-12 Thread Swati Gaikwad
Hello, I am using the rexec task of ant. This is the very useful task I found. I have a doubt: I want to run a shell script remotely using rexec task of ant. This shell script runs another process to the background. When I

Re: sshexec and rexec hung

2008-01-30 Thread Z W
n what you are executing with your shell > script. Do the same scripts hang when you execute outside ant, using > rexec or ssh? Try using nohup and be sure to background any processes > you start. > > -Rob A > > -Original Message- > From: Z W [mailto:[EMAIL PROTECTE

RE: sshexec and rexec hung

2008-01-30 Thread Anderson, Rob (Global Trade)
I think this really depends on what you are executing with your shell script. Do the same scripts hang when you execute outside ant, using rexec or ssh? Try using nohup and be sure to background any processes you start. -Rob A -Original Message- From: Z W [mailto:[EMAIL PROTECTED] Sent

sshexec and rexec hung

2008-01-29 Thread Z W
Hi I've been trying to get my shell scripts to work with rexec and sshexec. My experience seems to indicate to me that both tasks don't seem to hang when executing shell scripts after exporting env variables with . ./profile. Is that everyone's experience or perhaps it's j

RE: rexec and setting env variables on remote host

2008-01-29 Thread Vallon, Justin
8-383-6725, 212-272-6725; cell 917-861-6042 -Original Message- From: Z W [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 11:16 PM To: Ant Users List Subject: Re: rexec and setting env variables on remote host Also within "try" shrell script, I have a nohup command ie inside try

Re: rexec and setting env variables on remote host

2008-01-28 Thread Z W
ie inside try.sh. I have > > nohup ./start & > > where "start" is another shell script > > On Jan 28, 2008 8:03 PM, Z W <[EMAIL PROTECTED]> wrote: > > > Rob > > > > Appreciate your response there. > > Your approach does allow the

Re: rexec and setting env variables on remote host

2008-01-28 Thread Z W
oes allow the env variables read but > I'm not sure why rexec hangs when it reaches the end of command execution. > > > < > rexec userid="${a_user}" > > password="${a_word}" > > server="${a_host}" > > command=". ./.profi

Re: rexec and setting env variables on remote host

2008-01-28 Thread Z W
Rob Appreciate your response there. Your approach does allow the env variables read but I'm not sure why rexec hangs when it reaches the end of command execution. Output [rexec] stty: : Invalid argument [rexec] /root [rexec] /mdm /opt [rexec] Starting p

RE: rexec and setting env variables on remote host

2008-01-28 Thread Anderson, Rob (Global Trade)
You could also source the .profile in your ant script... -Rob Anderson -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 2:40 AM To: Ant Users List Subject: Re: rexec and setting env variables on remote host Z W wrote: > Hi > >

Re: rexec and setting env variables on remote host

2008-01-28 Thread Z W
Steve, I'm sorry that I need a little more help here. Could you elaborate on * I think its an SSH option to turn this back on. Otherwise run bash -login to run bash as a login What tasks are you thinking of that I should use for both options ? Thanks

Re: rexec and setting env variables on remote host

2008-01-28 Thread Steve Loughran
Z W wrote: Hi I tried using rexec task to invoke a shell script. The output is as follows: [rexec] /af/gord [echo] But when I check the local host of this unix box, the variables are set in .profile. When echoed, they are displayed. How do I make sure the shell sets these variables

rexec and setting env variables on remote host

2008-01-25 Thread Z W
Hi I tried using rexec task to invoke a shell script. The output is as follows: [rexec] /af/gord [echo] But when I check the local host of this unix box, the variables are set in .profile. When echoed, they are displayed. How do I make sure the shell sets these variables in Ant

Re: Rexec task for bash command in ant script

2008-01-24 Thread Chuck Holzwarth
ad <[EMAIL PROTECTED]> wrote: Hello, I am using the rexec task of ant. I could successfully run the commands (ls, cd, pwd, etc) to the remote machine using rexec task of ant. When I try to run the bash command, rexec hangs. The rexec task I tried is as follows: command="bash"

Rexec task for bash command in ant script

2008-01-23 Thread Swati Gaikwad
Hello, I am using the rexec task of ant. I could successfully run the commands (ls, cd, pwd, etc) to the remote machine using rexec task of ant. When I try to run the bash command, rexec hangs. The rexec task I tried is as follows: Can I have a solution for this? Please let me

RE: rexec

2007-12-14 Thread Anderson, Rob (Global Trade)
, 2007 10:54 AM To: Ant Users List; user@ant.apache.org Subject: rexec question regarding rexec task , how I can build dymically the classpath used by this task ? it required commons-net-xx.jar I want to avoid to put the dependency jars in the ant lib. I tried to redefine the task and use a user

rexec

2007-12-12 Thread Bourzeix , Hervé
question regarding rexec task , how I can build dymically the classpath used by this task ? it required commons-net-xx.jar I want to avoid to put the dependency jars in the ant lib. I tried to redefine the task and use a user defined classpath but it seems the task is still using the main ant

RE: RE: RE: rexec hangs

2006-06-21 Thread Lu, Tao (MTO)
hanks! Cheers, Tao -Original Message- From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] Sent: June 21, 2006 3:09 PM To: Ant Users List Subject: Re: RE: RE: rexec hangs Hello, I think that the rexec functionality in ant is delivered by commons-net. Which version of commons-net were you

Re: RE: RE: rexec hangs

2006-06-21 Thread Antoine Levy-Lambert
Hello, I think that the rexec functionality in ant is delivered by commons-net. Which version of commons-net were you using ? Also, if your custom client works, then there is a bug in ant or a bug in commons-net. Regards, Antoine Original-Nachricht Datum: Wed, 21 Jun 2006

RE: RE: rexec hangs

2006-06-21 Thread Lu, Tao (MTO)
I used the default value for timeout which is "no timeout". Also I tried to set it to "5 secs", I got the same result. Anyways, I just wrote my own REXEC client(Java), and wrapped it as custom Ant task, everything is working fine. Cheers, Tao -Original Message-

Re: RE: rexec hangs

2006-06-21 Thread Martin Gainty
Bonjour/Hello- My first instinct was to say set fork="true" but that options doesnt exist ..at least not yet! What is your To: "'Ant Users List'" Sent: Wednesday, June 21, 2006 10:26 AMWhats t Subject: RE: RE: rexec hangs > Sorry for the confusion. The

RE: RE: rexec hangs

2006-06-21 Thread Lu, Tao (MTO)
st Subject: Re: RE: rexec hangs On 20/06/06, Lu, Tao (MTO) <[EMAIL PROTECTED]> wrote: > In command prompt, I issued "telnet 142.142.125.60 512", no error messages, > I got a blank DOS screen. I believe port 512 is already open. > > Btw, if I run this locally > C:\>

Re: AW: how to unsubscribe [WAS Re: RE: rexec hangs]

2006-06-21 Thread Antoine Levy-Lambert
Cool ! Antoine Original-Nachricht Datum: Wed, 21 Jun 2006 07:38:40 +0200 Von: [EMAIL PROTECTED] An: user@ant.apache.org Betreff: AW: how to unsubscribe [WAS Re: RE: rexec hangs] > Strike - after a few days full ROI ;-) > > Jan > > >-Ursprüngliche Nac

Re: RE: rexec hangs

2006-06-21 Thread Petar Tahchiev
On 20/06/06, Lu, Tao (MTO) <[EMAIL PROTECTED]> wrote: In command prompt, I issued "telnet 142.142.125.60 512", no error messages, I got a blank DOS screen. I believe port 512 is already open. Btw, if I run this locally C:\>rexec 142.142.125.60 -l bob ls -l It work

AW: how to unsubscribe [WAS Re: RE: rexec hangs]

2006-06-20 Thread Jan.Materne
Strike - after a few days full ROI ;-) Jan >-Ursprüngliche Nachricht- >Von: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 21. Juni 2006 00:38 >An: Ant Users List >Betreff: how to unsubscribe [WAS Re: RE: rexec hangs] > >Please loo

RE: RE: rexec hangs

2006-06-20 Thread Lu, Tao (MTO)
In command prompt, I issued "telnet 142.142.125.60 512", no error messages, I got a blank DOS screen. I believe port 512 is already open. Btw, if I run this locally C:\>rexec 142.142.125.60 -l bob ls -l It works fine. Thanks Tao -Original Message- From: Antoine Levy-La

Re: RE: rexec hangs

2006-06-20 Thread Antoine Levy-Lambert
Hello Lu, open a command prompt, then try this command : telnet localhost 512 if rexec is disabled on your computer, you will see this message : Connecting To localhost...Could not open connection to the host, on port 512: Co nnect failed (this is what I see on my Windows box). Regards

how to unsubscribe [WAS Re: RE: rexec hangs]

2006-06-20 Thread Antoine Levy-Lambert
Please look at this URL : http://ant.apache.org/mail.html it gives a pointer about how to unsubscribe. Regards, Antoine Original-Nachricht Datum: Tue, 20 Jun 2006 18:33:18 -0400 Von: MK <[EMAIL PROTECTED]> An: \'Ant Users List\' Betreff: RE: rexec hangs >

RE: rexec hangs

2006-06-20 Thread MK
Please unsubscribe me from this list. I don't know how to do it. Your help will be appreciated. -Original Message- From: kindsol [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 20, 2006 6:28 PM To: Ant Users List Subject: Re: rexec hangs did you run ant in verbose mode? ant -v

RE: rexec hangs

2006-06-20 Thread Lu, Tao (MTO)
I tried, but the same thing. Is there any setting required on remote server side? Thanks Tao -Original Message- From: kindsol [mailto:[EMAIL PROTECTED] Sent: June 20, 2006 6:28 PM To: Ant Users List Subject: Re: rexec hangs did you run ant in verbose mode? ant -v And still nothing

Re: rexec hangs

2006-06-20 Thread kindsol
utput. The version I am using is ant 1.6.5 Any clue? Thanks a lot! Tao -Original Message- From: Lu, Tao (MTO) Sent: June 20, 2006 5:57 PM To: 'user@ant.apache.org' Subject:rexec hangs Hi, All, Why it hangs? ant 1.

RE: rexec hangs

2006-06-20 Thread Lu, Tao (MTO)
Lu, Tao (MTO) > Sent: June 20, 2006 5:57 PM > To: 'user@ant.apache.org' > Subject: rexec hangs > > Hi, All, > > > > Why it hangs? > > ant 1.6.5 > > Thanks > Tao ---

RE: rexec hangs

2006-06-20 Thread Anderson, Rob (Global Trade)
Not enough information. Take a look at this... http://www.catb.org/~esr/faqs/smart-questions.html -Rob A > -Original Message- > From: Lu, Tao (MTO) [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 20, 2006 2:57 PM > To: 'user@ant.apache.org' > Subject:

rexec hangs

2006-06-20 Thread Lu, Tao (MTO)
Hi, All, Why it hangs? ant 1.6.5 Thanks Tao - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Feedback from RExec or SshExec

2005-08-23 Thread koden (sent by Nabble.com)
I have a problem. I am remotely executing an ant script on another machine from the local ant script using the telnet task. The problem is, once this is run, I get no messages and warnings and such back, it just sort of runs on it's own. Does rexec and sshexec provide echo messages lik

RE: RExec hangs

2004-12-09 Thread Nick_Gianakas
> I was running this command on windows from windows, so I was simulating > the command exactly as we execute from start->run .. I see; thanks. Has anyone had any success w/ rexec using a non-Windows server? Regards, Nick G. "Radha Sangal" <[EMAIL PROTECTED]> 1

RE: RExec hangs

2004-12-08 Thread Radha Sangal
I was running this command on windows from windows, so I was simulating the command exactly as we execute from start->run .. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 5:01 PM To: Ant Users List Subject: RE: RExec hangs &g

RE: RExec hangs

2004-12-08 Thread Nick_Gianakas
> Try > command="ls" /> It caused a java.lang.NullPointerException. What's the logic behind prefixing the IP w/ "\\"? BTW, the rexec server is Linux, the client is WinXP. Regards, Nick G. "Radha Sangal" <[EMAIL PROTECTED]> 12/

RE: RExec hangs

2004-12-08 Thread Radha Sangal
Try -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 4:44 PM To: [EMAIL PROTECTED] Subject: RExec hangs Has anyone had any success w/ the rexec task? I can use sshexec w/out any problems. But when I try rexec, the process halts

RExec hangs

2004-12-08 Thread Nick_Gianakas
Has anyone had any success w/ the rexec task? I can use sshexec w/out any problems. But when I try rexec, the process halts at the rexec task. By 'halt' or 'hang' I mean it doesn't issue the command--as if it's waiting for something. I validated rexec work