Hi everyone,

This is a bit strange: for some hours, it seems that my policies and
their rules don't complete successfully.

Looking at the trace, there is no error message and the query is
correctly generated in xml.
For instance, i have some workorders which have to move some users when
they get activated, here is a part of the trace :

Code:
--------------------

15:43:32 2D0 Drvrs: WorkOrder Driver PT:Applying policy: Process WorkOrders.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Applying to add #1.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Evaluating selection criteria for rule 'User Activation'.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: (if-operation equal "add") = TRUE.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: (if-class-name equal "DirXML-WorkToDo") = TRUE.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: (if-op-attr 'DirXML-Other1' equal "user") = TRUE.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Rule selected.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Applying rule 'User Activation'.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Action: do-move-dest-object(class-name="htUser",arg-dn("\IDVAULT\Vault\Users\Inactive\"+token-op-attr("DirXML-nwoContent")),arg-dn("\IDVAULT\Vault\Users\Active\Intern\"+token-dest-attr("htStatus",class-name="htUser",arg-dn("\IDVAULT\Vault\Users\Inactive\"+token-op-attr("DirXML-nwoContent")))+"s")).
15:43:32 2D0 Drvrs: WorkOrder Driver PT: arg-dn("\IDVAULT\Vault\Users\Inactive\"+token-op-attr("DirXML-nwoContent"))
15:43:32 2D0 Drvrs: WorkOrder Driver PT: token-text("\IDVAULT\Vault\Users\Inactive\")
15:43:32 2D0 Drvrs: WorkOrder Driver PT: token-op-attr("DirXML-nwoContent")
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Token Value: "CO000007".
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Arg Value: "\IDVAULT\Vault\Users\Inactive\CO000007".
15:43:32 2D0 Drvrs: WorkOrder Driver PT: arg-dn("\IDVAULT\Vault\Users\Active\Intern\"+token-dest-attr("htStatus",class-name="htUser",arg-dn("\IDVAULT\Vault\Users\Inactive\"+token-op-attr("DirXML-nwoContent")))+"s")
15:43:32 2D0 Drvrs: WorkOrder Driver PT: token-text("\IDVAULT\Vault\Users\Active\Intern\")
15:43:32 2D0 Drvrs: WorkOrder Driver PT: token-dest-attr("htStatus",class-name="htUser",arg-dn("\IDVAULT\Vault\Users\Inactive\"+token-op-attr("DirXML-nwoContent")))
15:43:32 2D0 Drvrs: WorkOrder Driver PT: arg-dn("\IDVAULT\Vault\Users\Inactive\"+token-op-attr("DirXML-nwoContent"))
15:43:32 2D0 Drvrs: WorkOrder Driver PT: token-text("\IDVAULT\Vault\Users\Inactive\")
15:43:32 2D0 Drvrs: WorkOrder Driver PT: token-op-attr("DirXML-nwoContent")
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Token Value: "CO000007".
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Arg Value: "\IDVAULT\Vault\Users\Inactive\CO000007".
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Query from policy
15:43:32 2D0 Drvrs: WorkOrder Driver PT:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.10.20070918 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="htUser" dest-dn="\IDVAULT\Vault\Users\Inactive\CO000007" scope="entry">
<read-attr attr-name="htStatus"/>
</query>
</input>
</nds>
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Pumping XDS to eDirectory.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Performing operation query for \IDVAULT\Vault\Users\Inactive\CO000007.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Query from policy result
15:43:32 2D0 Drvrs: WorkOrder Driver PT:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.10.20070918 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name="htUser" event-id="0" qualified-src-dn="O=Vault\OU=Users\OU=Inactive\uniqueID=CO000007 " src-dn="\IDVAULT\Vault\Users\Inactive\CO000007" src-entry-id="33520">
<attr attr-name="htStatus">
<value timestamp="1213269900#2" type="string">contractor</value>
</attr>
</instance>
<status event-id="0" level="success"></status>
</output>
</nds>
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Token Value: "contractor".
15:43:32 2D0 Drvrs: WorkOrder Driver PT: token-text("s")
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Arg Value: "\IDVAULT\Vault\Users\Active\Intern\contractor s".
15:43:32 2D0 Drvrs: WorkOrder Driver PT:Policy returned:
15:43:32 2D0 Drvrs: WorkOrder Driver PT:
<nds dtdversion="3.0">
<source>
<product build="20070920_1057" instance="WorkOrder Driver" version="3.5.1">DirXML WorkOrder Driver (Java)</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<add class-name="DirXML-WorkToDo" event-id="01" src-dn="\WorkOrder Driver\WO-CO000007-ActivationToDo06/02/2008 2:00 AM">
<add-attr attr-name="DirXML-nwoContent">
<value>CO000007</value>
</add-attr>
<add-attr attr-name="Description">
<value> </value>
</add-attr>
<add-attr attr-name="DirXML-nwoDN">
<value>\IDVAULT\services\WorkOrders\WO-CO000007-Activation</value>
</add-attr>
<add-attr attr-name="DirXML-Other1">
<value>user</value>
</add-attr>
</add>
<MOVE CLASS-NAME=\"HTUSER\" DEST-DN=\"\IDVAULT\VAULT\USERS\INACTIVE\CO000007\" EVENT-ID=\"01\">
<PARENT DEST-DN=\"\IDVAULT\VAULT\USERS\ACTIVE\INTERN\CONTRACTOR S\"/>
</MOVE>
</input>
</nds>
15:43:32 2D0 Drvrs: WorkOrder Driver PT:Missing valid association or dest-dn.
15:43:32 2D0 Drvrs: WorkOrder Driver PT:Applying publisher filter.
15:43:32 2D0 Drvrs: WorkOrder Driver PT:Publisher processing add for \WorkOrder Driver\WO-CO000007-ActivationToDo06/02/2008 2:00 AM.
15:43:32 2D0 Drvrs: WorkOrder Driver PT:No object matching policies.
15:43:32 2D0 Drvrs: WorkOrder Driver PT:No object creation policies.
15:43:32 2D0 Drvrs: WorkOrder Driver PT:Applying object placement policies.
15:43:32 2D0 Drvrs: WorkOrder Driver PT:Applying policy: Placement Rule.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Applying to add #1.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Evaluating selection criteria for rule 'Work Order Placement'.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: (if-class-name equal "DirXML-WorkOrder") = FALSE.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Rule rejected.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Evaluating selection criteria for rule 'Work Order To Do Placement'.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: (if-class-name equal "DirXML-WorkToDo") = TRUE.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Rule selected.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Applying rule 'Work Order To Do Placement'.
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Action: do-set-op-dest-dn(arg-dn("services\WorkOrders"+"\"+token-src-name())).
15:43:32 2D0 Drvrs: WorkOrder Driver PT: arg-dn("services\WorkOrders"+"\"+token-src-name())
15:43:32 2D0 Drvrs: WorkOrder Driver PT: token-text("services\WorkOrders")
15:43:32 2D0 Drvrs: WorkOrder Driver PT: token-text("\")
15:43:32 2D0 Drvrs: WorkOrder Driver PT: token-src-name()
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Token Value: "WO-CO000007-ActivationToDo06/02/2008 2:00 AM".
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Arg Value: "services\WorkOrders\WO-CO000007-ActivationToDo06/02/2008 2:00 AM".
15:43:32 2D0 Drvrs: WorkOrder Driver PT: Action: do-break().
15:43:32 2D0 Drvrs: WorkOrder Driver PT:Policy returned:
15:43:32 2D0 Drvrs: WorkOrder Driver PT:
<nds dtdversion="3.0">
<source>
<product build="20070920_1057" instance="WorkOrder Driver" version="3.5.1">DirXML WorkOrder Driver (Java)</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<add class-name="DirXML-WorkToDo" dest-dn="services\WorkOrders\WO-CO000007-ActivationToDo06/02/2008 2:00 AM" event-id="01" src-dn="\WorkOrder Driver\WO-CO000007-ActivationToDo06/02/2008 2:00 AM">
<add-attr attr-name="DirXML-nwoContent">
<value>CO000007</value>
</add-attr>
<add-attr attr-name="Description">
<value> </value>
</add-attr>
<add-attr attr-name="DirXML-nwoDN">
<value>\IDVAULT\services\WorkOrders\WO-CO000007-Activation</value>
</add-attr>
<add-attr attr-name="DirXML-Other1">
<value>user</value>
</add-attr>
</add>
</input>
</nds>
15:43:32 2D0 Drvrs: WorkOrder Driver PT:No command transformation policies.
15:43:32 2D0 Drvrs: WorkOrder Driver PT:Filtering out notification-only attributes.
15:43:32 2D0 Drvrs: WorkOrder Driver PT:Pumping XDS to eDirectory.
15:43:32 2D0 Drvrs: WorkOrder Driver PT:Performing operation add for services\WorkOrders\WO-CO000007-ActivationToDo06/02/2008 2:00 AM.
15:43:32 2D0 Drvrs: WorkOrder Driver PT:Adding entry services\WorkOrders\WO-CO000007-ActivationToDo06/02/2008 2:00 AM.
15:43:32 2D0 Drvrs: WorkOrder Driver PT:Creating RDN WO-CO000007-ActivationToDo06/02/2008 2:00 AM in context services\WorkOrders.
15:43:32 2D0 Drvrs: WorkOrder Driver PT:
DirXML Log Event -------------------
Driver: \IDVAULT\services\DriverSet\WorkOrder Driver
Channel: Publisher
Object: \WorkOrder Driver\WO-CO000007-ActivationToDo06/02/2008 2:00 AM (services\WorkOrders\WO-CO000007-ActivationToDo06/02/2008 2:00 AM)
Status: Success

--------------------

The bold part is the xml part which should move the user, but it simply
didn't produce any result.
The problem seems to be global cause i have the same thing with another
driver...
If anyone has already encounter this problem...
Thanks for support,
Sébastien.


--
sjahan
------------------------------------------------------------------------
sjahan's Profile: http://forums.novell.com/member.php?userid=16002
View this thread: http://forums.novell.com/showthread.php?t=332402