Re: Help. 2 Questions:

"Stephen Higgins" <[email protected]> Thu, 7 Dec 2006 13:19:05 +0000
Newsgroups gmane.comp.java.anthill.devel
Message-ID <[email protected]>
--===============2043944368==
Content-Type: multipart/alternative; 
	boundary="----=_Part_103685_31046035.1165497545501"

------=_Part_103685_31046035.1165497545501
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I encountered issues with schedules not running on interval 1440 also and
got round it by setting the start time in the past (12:00 if it is currently
13:10) and deciding to build every 60 mins (why not, it only builds if there
are changes in the repository and it's a good thing to catch any coding
issues early); I think there are explanations of this available in the
forum, soemthing to do with the time at startup being skipped over I think.

I have no issues with mail notifications, ensure you have access from the
server anthill is deployed on and the correct address setup etc.



On 06/12/06, Peter Chandler <pchandle-j7Fd8dkzv11Wk0Htik3J/[email protected]> wrote:
>
>  1. I am not getting my build notifications email. I believe that my
> outgoing SMTP Server requires authentication (username/password). Does
> Anthill OS support an SMTP Authentication? How do I pass in the password?
>
>
>
> Tomcat stdout_log:
>
>  15:15:53:256 [Thread - AnthillBuildDaemon] ERROR
> com.urbancode.anthill.BuildManager  - couldn't send result email
>
> javax.mail.SendFailedException: Sending failed;
>
>   nested exception is:
>
>             javax.mail.SendFailedException: Invalid Addresses;
>
>   nested exception is:
>
>             javax.mail.SendFailedException: 550 5.7.1 Unable to relay for
> pchandle-j7Fd8dkzv11Wk0Htik3J/[email protected]
>
>
>
>             at javax.mail.Transport.send0(Transport.java:219)
>
>             at javax.mail.Transport.send(Transport.java:81)
>
>             at com.urbancode.pagelet.module.email.EmailMessage.send(
> EmailMessage.java:170)
>
>             at com.urbancode.anthill.PageletResultEmail.send(
> PageletResultEmail.java:40)
>
>             at com.urbancode.anthill.PageletResultEmail.send(
> PageletResultEmail.java:24)
>
>             at com.urbancode.anthill.BuildManager.build(BuildManager.java
> :258)
>
>             at com.urbancode.anthill.AnthillProject.releaseProject(
> AnthillProject.java:231)
>
>             at com.urbancode.anthill.BuildDefinition.run(
> BuildDefinition.java:158)
>
>             at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
>
>
>
> 2. How do I schedule a nightly build to run every night at 1:00AM. Below
> is how I configured the schedule. But the "RegressionTesting" Project did
> not run at 1:00am?  Also, there is nothing in the build queue? What am I
> missing?
>
>
> *Schedule*
>
>   Schedule Name
>
>   Minutes between builds
>
> build interval
>
>   The time this schedule initially starts (hh:mm)
> Current server time: 3:51 PM
>
> start time
>
>
>
>    *Projects using Schedule*
>
> RegressionTesting
>
>
>  ------------------------------
>
> Anthill version 1.8.1.303
>
>
>
> Thanks in advance,
>
>
>
> Peter.
>
>
>
> =======================================================
>
> Peter Chandler
>
> Consultant
>
> IT Development
>
> *PROGRESS* Software
>
> 14 Oak Park
>
> Bedford, MA 01730
>
> Progress Email: Peter.Chandler-j7Fd8dkzv11Wk0Htik3J/[email protected]
> Office:  781-280-4778
> Cell phone:  774 258 0231, Business email: [email protected]
> =======================================================
>
>
>
> _______________________________________________
> Anthill-dev mailing list
> Anthill-dev-IWHQxnLZ/[email protected]
> http://lists.urbancode.com/mailman/listinfo/anthill-dev
>
>
>

------=_Part_103685_31046035.1165497545501
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I encountered issues with schedules not running on interval 1440 also and got round it by setting the start time in the past (12:00 if it is currently 13:10) and deciding to build every 60 mins (why not, it only builds if there are changes in the repository and it's a good thing to catch any coding issues early); I think there are explanations of this available in the forum, soemthing to do with the time at startup being skipped over I think.
<br><br>I have no issues with mail notifications, ensure you have access from the server anthill is deployed on and the correct address setup etc.<br><br><br><br><div><span class="gmail_quote">On 06/12/06, <b class="gmail_sendername">
Peter Chandler</b> &lt;<a href="mailto:pchandle-j7Fd8dkzv11Wk0Htik3J/[email protected]">pchandle-j7Fd8dkzv11Wk0Htik3J/[email protected]</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">














<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">1. I am not getting my build notifications email. I believe
that my outgoing SMTP Server requires authentication (username/password). Does
Anthill OS support an SMTP Authentication? How do I pass in the password?</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Tomcat stdout_log: &nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;15:15:53:256 [Thread - AnthillBuildDaemon] ERROR
com.urbancode.anthill.BuildManager&nbsp; - couldn't send result email</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">javax.mail.SendFailedException: Sending failed;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp; nested exception is: </span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; javax.mail.SendFailedException:
Invalid Addresses;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp; nested exception is: </span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; javax.mail.SendFailedException:
550 5.7.1 Unable to relay for <a href="mailto:pchandle-j7Fd8dkzv11Wk0Htik3J/[email protected]" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">pchandle-j7Fd8dkzv11Wk0Htik3J/[email protected]</a></span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
javax.mail.Transport.send0(Transport.java:219)</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
javax.mail.Transport.send(Transport.java:81)</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
com.urbancode.pagelet.module.email.EmailMessage.send(EmailMessage.java:170)</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
com.urbancode.anthill.PageletResultEmail.send(PageletResultEmail.java:40)</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
com.urbancode.anthill.PageletResultEmail.send(PageletResultEmail.java:24)</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
com.urbancode.anthill.BuildManager.build(BuildManager.java:258)</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:231)</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:158)</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">2. How do I schedule a nightly build to run every night at
1:00AM. Below is how I configured the schedule. But the "RegressionTesting"
Project did not run at 1:00am? &nbsp;Also, there is nothing in the build queue?
What am I missing?</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<h2><b><font face="Arial" size="4"><span style="font-size: 14pt; font-family: Arial;">Schedule</span></font></b></h2>

<form action="http://ScheduleUpdateServlet" method="post" enctype="application/x-www-form-urlencoded" target="_blank" onsubmit="return window.confirm(&quot;You are submitting information to an external page. \nAre you sure?&quot;);">


<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><span><input name="ScheduleName" value="NightlyBuild" type="hidden"></span></span></font></p>

<div align="center">

<table style="width: 225pt;" border="1" cellpadding="0" cellspacing="0" width="300">
 <tbody><tr>
  <td style="padding: 2.25pt;">
  <p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Schedule Name</span></font></p>
  </td>
  <td style="padding: 2.25pt;">
  <p style="text-align: center;" align="center"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><input name="schedule.name" value="NightlyBuild" type="text"></span></font></p>
  </td>
 </tr>
 <tr>
  <td colspan="2" style="padding: 2.25pt; background: rgb(255, 255, 192) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" bgcolor="#ffffc0">

  <p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Minutes between builds</span></font></p>
  </td>
 </tr>
 <tr>
  <td style="padding: 2.25pt;">
  <p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">build interval</span></font></p>
  </td>
  <td style="padding: 2.25pt;">
  <p style="text-align: center;" align="center"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><input name="schedule.build.interval" value="1440" type="text"></span></font></p>
  </td>
 </tr>
 <tr>
  <td colspan="2" style="padding: 2.25pt; background: rgb(255, 255, 192) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" bgcolor="#ffffc0">

  <p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">The time this schedule initially starts (hh:mm)<br>
  Current server time: 3:51 PM </span></font></p>
  </td>
 </tr>
 <tr>
  <td style="padding: 2.25pt;">
  <p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">start time</span></font></p>
  </td>
  <td style="padding: 2.25pt;">
  <p style="text-align: center;" align="center"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><input name="schedule.start.time" value="1:00" type="text"></span></font></p>
  </td>
 </tr>
 <tr>
  <td colspan="2" style="padding: 2.25pt;">
  <p style="text-align: right;" align="right"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><input action="http://ScheduleUpdateServlet" value="Update" method="post" name="Submit" type="submit">
</span></font></p>
  </td>
 </tr>
</tbody></table>

</div>

</form>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><br>
<br>
</span></font></p>



<div align="center">

<table style="width: 225pt;" border="1" cellpadding="0" cellspacing="0" width="300">
 <tbody><tr>
  <td style="padding: 2.25pt; background: rgb(0, 91, 183) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" bgcolor="#005bb7">

  <p><b><font color="white" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: white; font-weight: bold;">Projects
  using Schedule</span></font></b></p>
  </td>
 </tr>
 <tr>
  <td style="padding: 2.25pt;">
  <p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">RegressionTesting</span></font></p>
  </td>
 </tr>
</tbody></table>

</div>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<div style="text-align: center;" align="center"><font face="Arial" size="1"><span style="font-size: 8pt; font-family: Arial;">

<hr align="center" size="2" width="80%">

</span></font></div>

<p style="text-align: center;" align="center"><font face="Arial" size="1"><span style="font-size: 8pt; font-family: Arial;">Anthill version
1.8.1.303</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Thanks in advance,</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Peter.</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font color="black" face="Times New Roman" size="1"><span style="font-size: 8pt; color: black;">=======================================================
</span></font></p>

<p><font color="black" face="Times New Roman" size="1"><span style="font-size: 8pt; color: black;">Peter Chandler</span></font></p>

<p><font color="black" face="Times New Roman" size="1"><span style="font-size: 8pt; color: black;">Consultant </span></font></p>

<p><font color="black" face="Times New Roman" size="1"><span style="font-size: 8pt; color: black;">IT Development</span></font></p>

<p><i><font color="black" face="Times New Roman" size="1"><span style="font-size: 8pt; color: black; font-style: italic;">PROGRESS</span></font></i><font color="black" size="1"><span style="font-size: 8pt; color: black;">
 Software </span></font></p>

<p><font color="black" face="Times New Roman" size="1"><span style="font-size: 8pt; color: black;">14 Oak
  Park </span></font></p>

<p><font color="black" face="Times New Roman" size="1"><span style="font-size: 8pt; color: black;">Bedford</span></font><font color="black" size="1"><span style="font-size: 8pt; color: black;">, MA 01730</span></font><font color="black" size="1">
<span style="font-size: 8pt; color: black;"> </span></font></p>

<p><font color="black" face="Times New Roman" size="1"><span style="font-size: 8pt; color: black;">Progress Email: </span></font><font color="#000066" size="1"><span style="font-size: 8pt; color: rgb(0, 0, 102);"><a href="mailto:Peter.Chandler-j7Fd8dkzv11Wk0Htik3J/[email protected]" title="mailto:Peter.Chandler-j7Fd8dkzv11Wk0Htik3J/[email protected]" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
<font color="black"><span style="color: windowtext;"><span title="mailto:Peter.Chandler-j7Fd8dkzv11Wk0Htik3J/[email protected]">Peter.Chandler-j7Fd8dkzv11Wk0Htik3J/[email protected]</span></span></font></a></span></font><font color="black" size="1"><span style="font-size: 8pt; color: black;">
 <br>
Office:&nbsp; 781-280-4778 <br>
Cell phone:&nbsp;&nbsp;774 258 0231, Business email: </span></font><font color="#000066" size="1"><span style="font-size: 8pt; color: rgb(0, 0, 102);"><a href="mailto:[email protected]" title="mailto:[email protected]" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
<font color="black"><span style="color: windowtext;"><span title="mailto:[email protected]">[email protected]</span></span></font></a></span></font><font color="black" size="1"><span style="font-size: 8pt; color: black;">
 <br>
=======================================================</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

</div>

</div>



<br>_______________________________________________<br>Anthill-dev mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Anthill-dev-IWHQxnLZ/[email protected]">Anthill-dev-IWHQxnLZ/[email protected]</a>
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.urbancode.com/mailman/listinfo/anthill-dev" target="_blank">http://lists.urbancode.com/mailman/listinfo/anthill-dev</a><br><br><br></blockquote>
</div><br>

------=_Part_103685_31046035.1165497545501--

--===============2043944368==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Anthill-dev mailing list
Anthill-dev-IWHQxnLZ/[email protected]
http://lists.urbancode.com/mailman/listinfo/anthill-dev

--===============2043944368==--