title: How to untarget a JDBC resource using wlst script?
body: <p>I am trying to untarget a JDBCResource in weblogic using wlst script.</p>
  
  <p>I tried the following:</p>
  
  <pre><code>cd('/JdbcSystemResource/DataSource1')
  set('Targets',jarray.array([], ObjectName))
  </code></pre>
  
  <p>but it fails with the following exception:</p>
  
  <pre><code>com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: java.lang.IllegalArgumentException: Param type [Ljavax.management.ObjectName; not supported
  </code></pre>
  
  <p>Why does it say ObjectName not supported?</p>