Groups > Application developers > Community Server Setup and Installation > Re: Telligent.Tasks Service with CommunityServer.MailRoom.Components.EmailJob




Telligent.Tasks Service with
CommunityServer.MailRoom.Components.EmailJob

Telligent.Tasks Service with CommunityServer.MailRoom.Components.EmailJob
Tue, 6 Nov 2007 13:31:31 +0000
I am having trouble getting the Telligent Tasks service sending emails, I have
the service installed and all configs and other files in place as far as I know.
The service / console app starts and the tasks are added to their threads
however when the EmailJob Execute method is called it then never calls
SendQueuedEmailJob. Digging a bit deeper it fails in the call to

SiteSettingsManager.IterateSiteSettings(newSiteSettingsListIterator(SendQueuedEm
ailJob));

This IterateSiteSettings method never finds any site settings and so the 
delegate is never used to call  SendQueuedEmailJob. 

 Any help in solving my configuration issue would be great.

Im running CS 2007.1

Thanks Nathan.
Post Reply
Re: Telligent.Tasks Service with CommunityServer.MailRoom.Components.EmailJob
Tue, 6 Nov 2007 16:54:10 +0000
What other jobs do you have configured to run?  For the CS jobs to work, most of
them require you to also load the SiteSettingsModule in the <Modules>
section of the tasks.config.  This handles the things like loading the list of
SiteSettings so that the call to IterateSiteSettings will work.  Such as:

<add name="SiteSettingsModule"
type="Telligent.Tasks.CommunityServer.SiteSettingsModule,
Telligent.Tasks.CommunityServer" />
Post Reply
Re: Telligent.Tasks Service with CommunityServer.MailRoom.Components.EmailJob
Thu, 8 Nov 2007 12:55:33 +0000
The install of the Tasks Service was done from the Enterprise Search MSI and
then I stripped out the task that were not required. 

My tasks.config looks like this


<Tasks>
<Modules>

<addname="ServiceTaskModule"type="Telligent.Tasks.ServiceTaskM
odule, Telligent.Tasks" /></Modules>
<Threads>
<Threadminutes="15">

<taskname = "SiteStatisticsUpdates"type =
"CommunityServer.Components.SiteStatisticsJob,
CommunityServer.Components"enabled = "true"enableShutDown =
"false" />

<taskname = "EventLog"type =
"CommunityServer.Components.EventLogJob,
CommunityServer.Components"enabled = "true"enableShutDown =
"false" />

..........................

</Thread>
<Threadminutes="5">

<taskname = "Emails"type =
"CommunityServer.MailRoom.Components.EmailJob,
CommunityServer.MailGateway.MailRoom"enabled =
"true"enableShutDown = "false"failureInterval =
"1"numberOfTries = "10" /></Thread>
</Threads>
</Tasks>




So the install apears to have been missing the site settings module in the
tasks.config however I also do not have the assembly
Telligent.Tasks.CommunityServer just Telligent.Tasks
Post Reply
Re: Telligent.Tasks Service with CommunityServer.MailRoom.Components.EmailJob
Fri, 9 Nov 2007 01:00:33 +0000
It appears this was a bug with it not being included.  I'm working on repacking
the Tasks Service with all the CS 2007.1 DLLs.  Should have it posted soon and
will let you know.
Post Reply
about | contact