Home

Results 1 to 10 of 15

Thread: Code(-9039) Element <modify> does not have a valid associati

Threaded View

  1. #1
    Join Date
    Nov 2007
    Location
    Albany, NY
    Posts
    7,099

    Code(-9039) Element <modify> does not have a valid associati

    So I've got a delimitted text driver (IDM Engine 4.5, driver may be 4.0.2?) on OES 11 SP2 Linux.

    Scenario:

    New user is created via iManager.
    Department field is populated with say: Marine Resources

    Some time later, the "HR" file is plopped onto the server and the text driver processes this file. This file comes from our HR/timecard system and is "authoritative" for the Department/ou and Location fields.

    Anyway, user in question isn't updated properly. Rather, it appends (adds) the new value: Mineral Resources, so the user in question now has TWO values.

    I looked in the trace file and it looks like it didn't do the "remove all" properly because of this error:
    Code(-9039) Element <modify> does not have a valid association

    Now, interestingly enough, if i manually remove the values via iManager, save the changes, and then re-populate the original value via iManager, and save the changes, and THEN re-process the file, it'll work (my guess is that after the first run it somehow associated)?

    But I don't recall it (the driver) ever behaving this way before. I mean we've certainly added more than one user in the 10+ years the driver has been around.

    Here's the snippet from the trace file:

    Code:
    [01/04/17 15:31:02.798]:HRIS-Delimited Text-2 PT:Receiving DOM document from application.
    [01/04/17 15:31:02.798]:HRIS-Delimited Text-2 PT:
    <delimited-text>
      <record>
        <field name="USER_ID">hagabrie</field>
        <field name="FIRST_NAME">HEATHER</field>
        <field name="LAST_NAME">GABRIEL</field>
        <field name="DIVISION_TITLE">MINERAL RESOURCES</field>
        <field name="WORK_LOCATION_DESC"></field>
        <field name="SUPERVISOR">hwduda</field>
        <field name="EMP_SUBTYPE">09000</field>
      </record>
    </delimited-text>
    [01/04/17 15:31:02.799]:HRIS-Delimited Text-2 PT:Applying input transformation policies.
    [01/04/17 15:31:02.799]:HRIS-Delimited Text-2 PT:Applying XSLT policy: %+C%14CInputTransformSS%-C.
    [01/04/17 15:31:02.799]:HRIS-Delimited Text-2 PT:Applying schema mapping policies to input.
    [01/04/17 15:31:02.799]:HRIS-Delimited Text-2 PT:Applying policy: %+C%14CMappingRule%-C.
    [01/04/17 15:31:02.799]:HRIS-Delimited Text-2 PT:Resolving association references.
    [01/04/17 15:31:02.800]:HRIS-Delimited Text-2 PT:Applying event transformation policies.
    [01/04/17 15:31:02.800]:HRIS-Delimited Text-2 PT:Applying policy: %+C%14CDepartment Attribute Handling%-C.
    [01/04/17 15:31:02.800]:HRIS-Delimited Text-2 PT:  Direct command from policy
    [01/04/17 15:31:02.800]:HRIS-Delimited Text-2 PT:  
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.0.1.0">DirXML</product>
        <contact>Novell, Inc.</contact>
      </source>
      <input>
        <modify class-name="User" src-dn=" ">
          <association>hagabrie</association>
          <modify-attr attr-name="OU">
            <remove-all-values/>
          </modify-attr>
        </modify>
      </input>
    </nds>
    [01/04/17 15:31:02.801]:HRIS-Delimited Text-2 PT:  Pumping XDS to eDirectory.
    [01/04/17 15:31:02.801]:HRIS-Delimited Text-2 PT:  Performing operation modify for .
    [01/04/17 15:31:02.809]:HRIS-Delimited Text-2 PT:  
    DirXML Log Event -------------------
         Driver:   \ACME\ABC\IDM-Drivers\IDM-Drivers\HRIS-Delimited Text-2
         Channel:  Publisher
         Status:   Error
         Message:  Code(-9039) Element <modify> does not have a valid association.
    [01/04/17 15:31:02.823]:HRIS-Delimited Text-2 PT:  Direct command from policy result
    [01/04/17 15:31:02.824]:HRIS-Delimited Text-2 PT:  
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.0.1.0">DirXML</product>
        <contact>Novell, Inc.</contact>
      </source>
      <output>
        <status level="error">Code(-9039) Element &lt;modify> does not have a valid association.<application>DirXML</application>
          <module>HRIS-Delimited Text-2</module>
          <object-dn></object-dn>
          <component>Publisher</component>
        </status>
      </output>
    </nds>
    [01/04/17 15:31:02.825]:HRIS-Delimited Text-2 PT:No associated objects.
    [01/04/17 15:31:02.825]:HRIS-Delimited Text-2 PT:Applying publisher filter.
    [01/04/17 15:31:02.825]:HRIS-Delimited Text-2 PT:  Filtered out <add-attr attr-name='Given Name'>.
    [01/04/17 15:31:02.825]:HRIS-Delimited Text-2 PT:  Filtered out <add-attr attr-name='Surname'>.
    [01/04/17 15:31:02.825]:HRIS-Delimited Text-2 PT:Publisher processing add for  .
    [01/04/17 15:31:02.825]:HRIS-Delimited Text-2 PT:Applying object matching policies.
    [01/04/17 15:31:02.826]:HRIS-Delimited Text-2 PT:Applying policy: %+C%14CPublisherMatchingRule%-C.
    [01/04/17 15:31:02.826]:HRIS-Delimited Text-2 PT:        Query from policy
    [01/04/17 15:31:02.826]:HRIS-Delimited Text-2 PT:        
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.0.1.0">DirXML</product>
        <contact>Novell, Inc.</contact>
      </source>
      <input>
        <query class-name="User" dest-dn="DEC" scope="subtree">
          <search-class class-name="User"/>
          <search-attr attr-name="CN">
            <value type="string">hagabrie</value>
          </search-attr>
          <read-attr/>
        </query>
      </input>
    </nds>
    [01/04/17 15:31:02.826]:HRIS-Delimited Text-2 PT:        Pumping XDS to eDirectory.
    [01/04/17 15:31:02.827]:HRIS-Delimited Text-2 PT:        Performing operation query for DEC.
    [01/04/17 15:31:02.827]:HRIS-Delimited Text-2 PT:        --JCLNT-- \ACME\ABC\IDM-Drivers\IDM-Drivers\HRIS-Delimited Text-2 - Publisher : Duplicating : context = 1280573533, tempContext = 1280573618
    [01/04/17 15:31:02.828]:HRIS-Delimited Text-2 PT:        --JCLNT-- \ACME\ABC\IDM-Drivers\IDM-Drivers\HRIS-Delimited Text-2 - Publisher : Calling free on tempContext = 1280573618
    [01/04/17 15:31:02.829]:HRIS-Delimited Text-2 PT:        Query from policy result
    [01/04/17 15:31:02.829]:HRIS-Delimited Text-2 PT:        
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.0.1.0">DirXML</product>
        <contact>Novell, Inc.</contact>
      </source>
      <output>
        <instance class-name="User" event-id="0" qualified-src-dn="O=ABC\OU=R3\OU=NEWP\CN=hagabrie" src-dn="\ACME\ABC\R3\NEWP\hagabrie" src-entry-id="252772"/>
        <status event-id="0" level="success"></status>
      </output>
    </nds>
    [01/04/17 15:31:02.829]:HRIS-Delimited Text-2 PT:A match found, using \ACME\ABC\R3\NEWP\hagabrie.
    [01/04/17 15:31:02.832]:HRIS-Delimited Text-2 PT:Merging eDirectory and application values.
    [01/04/17 15:31:02.833]:HRIS-Delimited Text-2 PT:Reading relevant attributes from \ACME\ABC\R3\NEWP\hagabrie.
    [01/04/17 15:31:02.833]:HRIS-Delimited Text-2 PT:
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.0.1.0">DirXML</product>
        <contact>Novell, Inc.</contact>
      </source>
      <input>
        <query class-name="User" dest-dn="\ACME\ABC\R3\NEWP\hagabrie" dest-entry-id="252772" scope="entry">
          <read-attr attr-name="employeeSubType"/>
          <read-attr attr-name="employeeType"/>
          <read-attr attr-name="L"/>
          <read-attr attr-name="manager"/>
          <read-attr attr-name="OU"/>
          <read-attr attr-name="Object Class"/>
        </query>
      </input>
    </nds>
    [01/04/17 15:31:02.834]:HRIS-Delimited Text-2 PT:Pumping XDS to eDirectory.
    [01/04/17 15:31:02.834]:HRIS-Delimited Text-2 PT:Performing operation query for \ACME\ABC\R3\NEWP\hagabrie.
    [01/04/17 15:31:02.835]:HRIS-Delimited Text-2 PT:--JCLNT-- \ACME\ABC\IDM-Drivers\IDM-Drivers\HRIS-Delimited Text-2 - Publisher : Duplicating : context = 1280573533, tempContext = 1280573618
    [01/04/17 15:31:02.837]:HRIS-Delimited Text-2 PT:--JCLNT-- \ACME\ABC\IDM-Drivers\IDM-Drivers\HRIS-Delimited Text-2 - Publisher : Calling free on tempContext = 1280573618
    [01/04/17 15:31:02.839]:HRIS-Delimited Text-2 PT:Read result:
    [01/04/17 15:31:02.839]:HRIS-Delimited Text-2 PT:
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.0.1.0">DirXML</product>
        <contact>Novell, Inc.</contact>
      </source>
      <output>
        <instance class-name="User" event-id="0" qualified-src-dn="O=ABC\OU=R3\OU=NEWP\CN=hagabrie" src-dn="\ACME\ABC\R3\NEWP\hagabrie" src-entry-id="252772">
          <association state="associated">hagabrie</association>
          <attr attr-name="employeeType">
            <value timestamp="1482237647#6" type="string">DEC - Non-Employee</value>
          </attr>
          <attr attr-name="L">
            <value timestamp="1482237642#14" type="string">R3 - New Paltz - Regional HQ</value>
          </attr>
          <attr attr-name="OU">
            <value timestamp="1482237642#12" type="string">Marine Resources</value>
          </attr>
          <attr attr-name="Object Class">
            <value timestamp="1482237642#29" type="string">User</value>
            <value timestamp="1482237642#30" type="string">ITS</value>
            <value timestamp="1482237642#31" type="string">Organizational Person</value>
            <value timestamp="1482237642#32" type="string">ndsLoginProperties</value>
            <value timestamp="1482237642#33" type="string">Person</value>
            <value timestamp="1482237642#34" type="string">Top</value>
            <value timestamp="1482237647#4" type="string">ASMSProd</value>
            <value timestamp="1482237647#17" type="string">DirXML-PasswordSyncStatusUser</value>
            <value timestamp="1482237649#13" type="string">DirXML-ApplicationAttrs</value>
          </attr>
        </instance>
        <status event-id="0" level="success"></status>
      </output>
    </nds>
    [01/04/17 15:31:02.844]:HRIS-Delimited Text-2 PT:Updating eDirectory with application values.
    [01/04/17 15:31:02.844]:HRIS-Delimited Text-2 PT:
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.0.1.0">DirXML</product>
        <contact>Novell, Inc.</contact>
      </source>
      <input>
        <modify class-name="User" dest-dn="\ACME\ABC\R3\NEWP\hagabrie" dest-entry-id="252772" from-merge="true" src-dn=" ">
          <association>hagabrie</association>
          <modify-attr attr-name="OU">
            <remove-value>
              <value timestamp="1482237642#12" type="string">Marine Resources</value>
            </remove-value>
          </modify-attr>
          <modify-attr attr-name="L">
            <remove-value>
              <value timestamp="1482237642#14" type="string">R3 - New Paltz - Regional HQ</value>
            </remove-value>
          </modify-attr>
          <modify-attr attr-name="employeeType">
            <remove-value>
              <value timestamp="1482237647#6" type="string">ACME - Non-Employee</value>
            </remove-value>
          </modify-attr>
          <modify-attr attr-name="manager">
            <add-value>
              <value type="string">hwduda</value>
            </add-value>
          </modify-attr>
          <modify-attr attr-name="OU">
            <add-value>
              <value type="string">MINERAL RESOURCES</value>
            </add-value>
          </modify-attr>
          <modify-attr attr-name="employeeSubType">
            <remove-all-values/>
            <add-value>
              <value type="string">09000</value>
            </add-value>
          </modify-attr>
          <operation-data/>
        </modify>
      </input>
    </nds>
    [01/04/17 15:31:02.848]:HRIS-Delimited Text-2 PT:Applying command transformation policies.
    [01/04/17 15:31:02.848]:HRIS-Delimited Text-2 PT:Applying policy: %+C%14CChangeManagerID%-C.
    [01/04/17 15:31:02.848]:HRIS-Delimited Text-2 PT:            Query from policy
    [01/04/17 15:31:02.849]:HRIS-Delimited Text-2 PT:            
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.0.1.0">DirXML</product>
        <contact>Novell, Inc.</contact>
      </source>
      <input>
        <query class-name="User" dest-dn="\ACME\ABC" scope="subtree">
          <search-class class-name="User"/>
          <search-attr attr-name="CN">
            <value>hwduda</value>
          </search-attr>
          <read-attr/>
        </query>
      </input>
    </nds>
    [01/04/17 15:31:02.850]:HRIS-Delimited Text-2 PT:            Pumping XDS to eDirectory.
    [01/04/17 15:31:02.850]:HRIS-Delimited Text-2 PT:            Performing operation query for \ACME\ABC.
    [01/04/17 15:31:02.850]:HRIS-Delimited Text-2 PT:            --JCLNT-- \ACME\ABC\IDM-Drivers\IDM-Drivers\HRIS-Delimited Text-2 - Publisher : Duplicating : context = 1280573533, tempContext = 1280573618
    [01/04/17 15:31:02.853]:HRIS-Delimited Text-2 PT:            --JCLNT-- \ACME\ABC\IDM-Drivers\IDM-Drivers\HRIS-Delimited Text-2 - Publisher : Calling free on tempContext = 1280573618
    [01/04/17 15:31:02.854]:HRIS-Delimited Text-2 PT:            Query from policy result
    [01/04/17 15:31:02.854]:HRIS-Delimited Text-2 PT:            
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.0.1.0">DirXML</product>
        <contact>Novell, Inc.</contact>
      </source>
      <output>
        <instance class-name="User" event-id="0" qualified-src-dn="O=ABC\OU=R3\OU=NEWP\CN=hwduda" src-dn="\ACME\ABC\R3\NEWP\hwduda" src-entry-id="36999">
          <association state="associated">hwduda</association>
        </instance>
        <status event-id="0" level="success"></status>
      </output>
    </nds>
    [01/04/17 15:31:02.855]:HRIS-Delimited Text-2 PT:Applying policy: %+C%14CEmployee Type and SubType Handling%-C.
    [01/04/17 15:31:02.855]:HRIS-Delimited Text-2 PT:Applying policy: %+C%14CChange Case%-C.
    [01/04/17 15:31:02.855]:HRIS-Delimited Text-2 PT:Filtering out notification-only attributes.
    [01/04/17 15:31:02.855]:HRIS-Delimited Text-2 PT:Pumping XDS to eDirectory.
    [01/04/17 15:31:02.856]:HRIS-Delimited Text-2 PT:Performing operation modify for \ACME\ABC\R3\NEWP\hagabrie.
    [01/04/17 15:31:02.856]:HRIS-Delimited Text-2 PT:--JCLNT-- \ACME\ABC\IDM-Drivers\IDM-Drivers\HRIS-Delimited Text-2 - Publisher : Duplicating : context = 1280573533, tempContext = 1280573618
    [01/04/17 15:31:02.857]:HRIS-Delimited Text-2 PT:Modifying entry \ACME\ABC\R3\NEWP\hagabrie.
    [01/04/17 15:31:02.866]:HRIS-Delimited Text-2 PT:--JCLNT-- \ACME\ABC\IDM-Drivers\IDM-Drivers\HRIS-Delimited Text-2 - Publisher : Calling free on tempContext = 1280573618
    [01/04/17 15:31:02.866]:HRIS-Delimited Text-2 PT:
    DirXML Log Event -------------------
         Driver:   \ACME\ABC\IDM-Drivers\IDM-Drivers\HRIS-Delimited Text-2
         Channel:  Publisher
         Object:     (\ACME\ABC\R3\NEWP\hagabrie)
         Status:   Success
    [01/04/17 15:31:02.867]:HRIS-Delimited Text-2 PT:Fixing up association references.
    [01/04/17 15:31:02.867]:HRIS-Delimited Text-2 PT:Applying schema mapping policies to output.
    [01/04/17 15:31:02.867]:HRIS-Delimited Text-2 PT:Applying policy: %+C%14CMappingRule%-C.
    [01/04/17 15:31:02.867]:HRIS-Delimited Text-2 PT:Applying output transformation policies.
    [01/04/17 15:31:02.867]:HRIS-Delimited Text-2 PT:Applying XSLT policy: %+C%14COutputTransformSS%-C.
    [01/04/17 15:31:02.867]:HRIS-Delimited Text-2 PT:
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.0.1.0">DirXML</product>
        <contact>Novell, Inc.</contact>
      </source>
      <output>
        <status event-id="0" level="success"><operation-data/>
          <application>DirXML</application>
          <module>HRIS-Delimited Text-2</module>
          <object-dn>  (\ACME\ABC\R3\NEWP\hagabrie)</object-dn>
          <component>Publisher</component>
        </status>
      </output>
    </nds>
    Last edited by kjhurni; 06-Jan-2017 at 04:58 PM.
    The opinions expressed are my own.
    Check out my OES2 Guides:
    Installing OES2 SP2: http://www.novell.com/communities/no...allation-guide
    Upgrading to OES2 with ID Transfer: http://www.novell.com/communities/no...r-id-scenarios
    GroupWise Migration with OES2 ID Transfer: http://www.novell.com/communities/no...p2-transfer-id

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •