Tuesday, June 18, 2013

Configuring the Quick Publish scheduler to run a job on an instance or cluster member

Procedure

Step-1
  1. Log onto the WebSphere Administrative Console.
  2. Select Servers > Application Servers.
  3. Select your WebSphere Commerce Server name. For example, server1.
  4. On the Application Servers panel, under the Server Infrastructure heading, select Java and Process Management > Process Definition.
  5. On the Process Definition panel, under the Additional Properties heading, select Java Virtual Machine.
  6. In the middle window, on the right hand side under the Additional Properties heading, select Custom Properties.
  7. Click New. A new page opens for you to add additional JVM properties.
  8. In the Name field, enter com.ibm.commerce.scheduler.SchedulerHostName.
  9. In the Value field, enter the unique identifier of the scheduler instance on this Java process.
  10. In the Description field, enter the host name parameter for this scheduler instance to use.
Step-2

Update the value of the quick publish JVM name attribute in the wc-resource-containers.xml file.
a.Open the WC_profiledir\installedApps\cell_name\WCServer_enterprise_archive\xml\content-management\wc-resource-containers.xml file for editing.
b.Locate the <wc:QuickPublishConfiguration> element, and add the jvmName parameter as shown:
<wc:QuickPublishConfiguration>
<wc:Publisher className="com.ibm.commerce.context.content.resources.publish.De
faultJDBCContentPublisherImpl"  initParameters=[other-parameters]
jvmName="QPHostname" [other-parameters]/ >
</wc:QuickPublishConfiguration>

No comments:

Post a Comment