WLST Snippet to create WorkManager :
DOMAIN_NAME=osbpl1do
CLUSTER_NAME=osbpl1cl
edit()
startEdit()
cd('/SelfTuning/' + DOMAIN_NAME)
cmo.createWorkManager('WorkManagerIgnoreStuckThreads')
cd('/SelfTuning/' + DOMAIN_NAME + '/WorkManagers/WorkManagerIgnoreStuckThreads')
set('Targets',jarray.array([ObjectName('com.bea:Name=' + CLUSTER_NAME + ',Type=Cluster')], ObjectName))
cmo.setIgnoreStuckThreads(true)
activate()
For each of the FileAdapter JCA Proxy Services, edit the JCA Properties and assign 'WorkManagerIgnoreStuckThreads' to the Dispatch Policy.
See also the official Oracle doc on this topic (search for ignore-stuck-threads)
No comments:
Post a Comment