You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ka...@alltel.com on 2002/04/02 18:35:43 UTC
telnet task
All,
I have a weird problem. I am using the telnet task to do just ls on
the remote machine. My code looks like
<target name="TELNET">
<telnet server="picasso" userid="user" password="password">
<read>/home/picasso/vobadm</read>
<write>ls</write>
<read>/home/picasso/vobadm</read>
</telnet>
</target>
I run this on a Solaris box and doing a telnet to a HP-UX box. It hangs for ever as shown below,
______________________________________________________________________________________
Ant version 1.4.1 compiled on October 11 2001
Buildfile: /ebppvobstore/vobs/vobadm_project/Spectrum/version3.xml
Detected Java version: 1.2 in: /usr/java1.2/jre
Detected OS: SunOS
parsing buildfile /ebppvobstore/vobs/vobadm_project/Spectrum/version3.xml with URI = file:/ebppvobstore/vobs/vobadm_project/Spectrum
/version3.xml
Project base dir set to: /view/vobadm_ECL_HIBERNIA/ebppvobstore/vobs/HIBERNIA
[property] Loading /ebppvobstore/vobs/vobadm_project/Spectrum/lock.properties
Build sequence for target `TELNET' is [TELNET]
Complete build sequence is [TELNET, JAR, init, startview, lock_stream, build, deploy, jspcompile]
UNJAR:
[telnet] login:
[telnet] user
[telnet] Password:
_________________________________________________________________________________________________
I can see a "ttytype -s" process running on the HP-UX machine when it hangs.
But if I run this from the HP-UX box and telnet to a Solaris box(with neccessary modification to the code), it works fine.
Any idea, what is going on ?
I would appreciate any help on this.
Thx
Kailash
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>