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
> -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
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
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
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
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
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
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
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
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
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
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
>
>
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
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
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
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"
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
, 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
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
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
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
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-
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
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:\>
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
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
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
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
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
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
>
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
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
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.
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
---
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:
Hi, All,
Why it hangs?
ant 1.6.5
Thanks
Tao
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
> 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
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
> 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/
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
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
42 matches
Mail list logo