Error description Error Message: Received java.io.IOException: Unexpected reply to command: HELO <machine> when running ANT with -logger org.apache.tools.ant.listener.MailLogger to send mail message. . Stack Trace: Can vary from application to application. . Local fix Application using the java.io.PrintStream can use PrintStream.flush() to flush the data and not to rely on autoFlush=true to flush automatically. Problem summary The problem is caused when java.io.PrintStream is updated to cater for EBCDIC platform. Problem conclusion This defect will be fixed in: 5.0.0 SR7 . The java.io.PrintStream is updated to autoFlush on '\n' on ASCII platform according to the specification. . To obtain the fix: Install build 20071118 or later
________________________________ From: "Richard, Troy" <troy.rich...@blackhillscorp.com> To: Ant Users List <user@ant.apache.org> Sent: Tuesday, May 12, 2009 2:47:05 PM Subject: RE: Problem with Ant and MailLogger I'm using: java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build pwi32dev-20060511 (SR2)) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-2006050 4 (JIT enabled) J9VM - 20060501_06428_lHdSMR JIT - 20060428_1800_r8 GC - 20060501_AA) JCL - 20060511a -----Original Message----- From: Eric Fetzer [mailto:elstonk...@yahoo.com] Sent: Tuesday, May 12, 2009 2:45 PM To: Ant Users List Subject: Re: Problem with Ant and MailLogger What version of Java are you using? http://www-01.ibm.com/support/docview.wss?uid=swg1IZ08156 ________________________________ From: "Richard, Troy" <troy.rich...@blackhillscorp.com> To: "user@ant.apache.org" <user@ant.apache.org> Sent: Tuesday, May 12, 2009 2:09:09 PM Subject: Problem with Ant and MailLogger I'm getting the following error message: MailLogger failed to send e-mail! java.io.IOException: Unexpected reply to command: HELO L00113: 451 4.7.0 Timeout waiting for client input at org.apache.tools.mail.MailMessage.send(MailMessage.java:445) at org.apache.tools.mail.MailMessage.sendHelo(MailMessage.java:411) at org.apache.tools.mail.MailMessage.<init>(MailMessage.java:176) at org.apache.tools.ant.listener.MailLogger.sendMail(MailLogger.java:273 ) at org.apache.tools.ant.listener.MailLogger.buildFinished(MailLogger.jav a:141) at org.apache.tools.ant.Project.fireBuildFinished(Project.java:2037) at org.apache.tools.ant.Main.runBuild(Main.java:778) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) I cannot seem to figure out where my problem is. I'm trying to build a java project using the Websphere java environment. Here is the command I'm trying to execute. call %ANT_HOME%/bin/ant.bat -buildfile SampleWebProject.xml -logger org.apache.tools.ant.listener.MailLogger -DrunFromMain=true -verbose buildTest Where %ANT_HOME% = c:\apache-ant-1.7.1 Any help would be appreciated. Thanks Troy Troy B. Richard Applications Manager for Exploration & Production Black Hills Corporation o: 303.566.3360 c: 303.518.6483 e: troy.rich...@blackhillscorp.com<mailto:troy.rich...@blackhillscorp.com> ________________________________ This electronic message transmission contains information from Black Hills Corporation, its affiliate or subsidiary, which may be confidential or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, be aware the disclosure, copying, distribution or use of the contents of this information is prohibited. If you received this electronic transmission in error, please reply to sender immediately; then delete this message without copying it or further reading. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org