anchor.diff:  updateDomain()
   dumpStack()
   
  -if bamEnabled == true:
  -    print "to do fix BAM foreign jndi"
  -    cd('/')
  -    delete('BAMForeignJndiProvider','ForeignJNDIProvider')
  -    delete('BPMForeignJndiProvider','ForeignJNDIProvider')
  +print "change Coherence"
  +if soaEnabled == true:
  +    cd('/')
  +    assign('Cluster',SOAClusterName,'CoherenceClusterSystemResource','defaultCoherenceCluster')
  +if osbEnabled == true:
  +    cd('/')
  +    assign('Cluster',OSBClusterName,'CoherenceClusterSystemResource','defaultCoherenceCluster')
  +if bamEnabled == true:
  +    cd('/')
  +    assign('Cluster',BAMClusterName,'CoherenceClusterSystemResource','defaultCoherenceCluster')
  +
  +cd('/')
  +cd('/CoherenceClusterSystemResource/defaultCoherenceCluster')
  +set('Target',AllClusters)
  +cd('CoherenceResource/defaultCoherenceCluster/CoherenceClusterParams/NO_NAME_0')
  +set('UnicastListenPort',9991) 
   
   if soaEnabled == true:
       print "fix SOA"
  
positive.code: BAMClusterName = '<%= @bam_cluster_name %>'
  OSBClusterName = '<%= @osb_cluster_name %>'
  Admin          = '<%= @adminserver_name %>'
  
  def getFirstClusterServer(cluster):
      s = ls('/Server')
  
negative.code: 
  WLHOME      ='<%= @weblogic_home_dir %>'
  DOMAIN_PATH ='<%= @domain_dir %>'
  
  bpmEnabled     = <%= @bpm_enabled %>
  bamEnabled     = <%= @bam_enabled %>
  