ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Styles" <styles...@gmail.com>
Subject telnet task that stops websphere server remotely....
Date Thu, 31 Jan 2008 15:38:34 GMT
Hi,

I wrote a target that uses telnet to stop my websphere server remotely, and
the target kicks off with no problem, but it doesn't seem to be doing
anything.... It verifies my username, password, etc, then it just sits
there.... Am I doing something wrong...??? Please help....

<target name="stop-web-server"
           description="Stop the WebSphere Application Server">
      <telnet server="${remoteHostName}" userid="${ws.userid}" password="${
ws.password}">
         <read>/local/sys/was-01/profiles$</read>
         <write>/local/sys/was-01/profiles/EnterpriseApp01/bin/stopServer.sh
${servername} -user ${username} -password ${password}</write>
         <read>/local/sys/was-01/profiles$</read>
       </telnet>
</target>

Thanks
Chris

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message