0 Replies Latest reply: May 22, 2013 7:43 AM by 745870 RSS

    WLST : To create SAF Agent targeted on Migratable servers

    745870
      I am trying to write wlst to create SAF Agent targeted on Migratable servers on existing file store and jms server.

      cmo.createSAFAgent('SAFAgent');
      safagent = cmo.lookupSAFAgent('SAFAgent');
      safagent.setStore(saffilestore);
      safagent.setServiceType('Sending-only');

      cmo = cd('/SAFAgents/SAFAgent')
      cmo.setTargets(jarray.array([ObjectName('com.bea:Name='jeem1 (migratable)',Type=MigratableTarget ')],Class.forName(weblogic.management.configuration.TargetMBean)))


      I am getting error javax.management.invalidattributevalueexception array has at least one null element

      Can somebody please help? Or can somebody let me know how to target SAFAgent to migratable target using wlst