StreamStudio Composition Center configurations > Scheduling synchronization of templates

Scheduling synchronization of templates
By default, the latest StoryTeller template version stored in the runtime repository is copied to the web content repository when a StreamStudio user logs in and accesses the Composition Center landing page.
Thereafter, synchronization is performed according to the value specified in the applicationDomainDispatcherTriggerBean property in the docdef.xml
For example, if you use Tomcat, this file is located in:
<Tomcat installation>\
webapps\ROOT\<
portal_name>\WEB_INF\apps\CorrMan\spring
The default synchronization interval is 2 minutes. When the user session stops, for example by logging out, the synchronization stops within the current application domain.
Better control of synchronization
It can be useful to get better control of the synchronization. For example, you need to deploy a new template version but do not want this version to be used in Composition Center until a given time. Or, you do not want to depend on a Composition Center user logging in for the synchronization to be triggered.
To achieve this, you can create a Task Scheduler task that triggers the synchronization. This task is configured per application domain, i.e. you can have a specific different synchronization interval for a specific application domain. The default synchronization specified in the docdef.xml is automatically stopped for this domain.
In addition, logging of the synchronization is more visual through standard StreamServe logging (e.g. via Control Center) when you use the Task Scheduler.
Note:
 
1
Open the schedulers.properties file in a text editor. For Tomcat, it is located in the following directory:
<Tomcat installation>\
webapps\<portal_name>\WEB_INF\spring\properties
2
Specify templatesynch.local.enabled=false
You can add Task Scheduler applications on your local host, or on remote hosts that are part of the site. The remote host must be configured to use the StreamServe Enterprise Repository that the site is connected to.
Note:
Post requisites
For information on how to create and deploy a StreamStudio application, see Deploying a web application
Note:
See To set up a StreamStudio web service profile.
See To set up an authentication profile for a StreamStudio portal.
For more information, see the Profile configurations documentation.
 
To add and configure a Task Scheduler
1
2
3
Note:
You cannot use the name Task Scheduler if you run the application on a Windows host, since this name is used by a Windows service.
4
Click OK. The Task Scheduler application is added to the application domain and the Configuration dialog box opens.
5
6
Click in the value field for the Tasks property and click the browse button.
7
In the Service Configuration dialog, select Template synchronization from the drop-down list and click Add.
8
To add and configure a Task Scheduler on a remote host
1
Right-click the application domain and select New Application. The New Application dialog box opens.
2
From the Application host drop-down list, select Show all. All the hosts in the site are displayed.
3
4
Note:
You cannot use the name Task Scheduler if you run the application on a Windows host, since this name is used by a Windows service.
5
Click OK. The Connect dialog box opens.
6
Enter the user name and password for a management gateway user and click OK. The remote host and Task Scheduler application are added to the tree view and the Configuration dialog box opens.
7
To set up a StreamStudio web service profile
1
2
For more information, see the StreamStudio connection profiles in the Profile configurations documentation.
3
To set up an authentication profile for a StreamStudio portal
1
2
3
4
5
Optionally, configure a Secure channel profile.
6
OpenText StreamServe 5.6 Updated: 2013-03-01