Hello,

I want to use my customised java file in a transformation rule of my jdbc
driver.
So I have generated myjar.jar file, I put it in usr/lib/dirxml/classes and
I have restarted the machine.
Unfortunately, when I start my driver I have an error
"com.novell.xml.xpath.XPathEvaluationException ".
So I can't find my customised function

Have you an idea ?
Thank you for your help,
I give you code of my policie and the logs.

Christine


<policy
xmlns:uuid="http://www.novell.com/nxsl/java/myjar.SpecialPasswordCrypt">
<rule>
<actions>
<do-set-local-variable name="motpas" scope="policy">
<arg-string>
<token-op-attr name="userPassword"/>
</arg-string>
</do-set-local-variable>
<do-set-local-variable name="crypte" scope="policy">
<arg-string>
<token-xpath expression="uuid:giveCrypte($motpas)"/>
</arg-string>
</do-set-local-variable>
<do-set-dest-attr-value class-name="AlphaPerson" name="userPassword">
<arg-value>
<token-local-variable name="crypte"/>
</arg-value>
</do-set-dest-attr-value>
</actions>
</rule>
</policy>



Logs



[09/21/07 07:49:04.899]:/root/tracesNC_UTI.log ST:
DirXML Log Event -------------------
Driver: DEVNDSalphasystemEnsemble PiloteNoyau_Conv_Uti
Channel: Subscriber
Object: DEVNDSalphaagent\001001
Status: Error
Message: Code(-9131) Error in
vnd.nds.stream://DEVNDS/alpha/system/Ensemble+Pilote/Noyau_Conv_Uti/Subscriber/Cmd#XmlData:70
: Error evaluating XPATH expression
'token-xpath("uuid:giveCrypte($motpas)")' :
com.novell.xml.xpath.XPathEvaluationException: function 'uuid:giveCrypte'
not found.
[09/21/07 07:49:05.001]:/root/tracesNC_UTI.log ST:End transaction.
[09/21/07 07:49:05.003]:/root/tracesNC_UTI.log ST:Start transaction.
[09/21/07 07:49:05.006]:/root/tracesNC_UTI.log ST:Processing events for
transaction.
[09/21/07 07:49:05.007]:/root/tracesNC_UTI.log ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.0.20070315 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<rename class-name="AlphaPerson"
event-id="PK_OLDMATRIC=001001,table=VIEW_POP2,schema=MET A"
old-src-dn="DEVNDSalphaagent\001001"
qualified-old-src-dn="O=alphaOU=agentCN=001001"
qualified-src-dn="O=alphaOU=agentuniqueID=001001" remove-old-name="true"
src-dn="DEVNDSalphaagent\001001" src-entry-id="34051"
timestamp="1190353744#1">
<new-name>001001</new-name>
</rename>
</input>
</nds>
[09/21/07 07:49:05.013]:/root/tracesNC_UTI.log ST:No event transformation
policies.
[09/21/07 07:49:05.014]:/root/tracesNC_UTI.log ST:Subscriber processing
rename for DEVNDSalphaagent\001001.
[09/21/07 07:49:05.019]:/root/tracesNC_UTI.log ST:Processing returned
document.
[09/21/07 07:49:05.019]:/root/tracesNC_UTI.log ST:Processing operation
<status> for .
[09/21/07 07:49:05.020]:/root/tracesNC_UTI.log ST:
DirXML Log Event -------------------
Driver: DEVNDSalphasystemEnsemble PiloteNoyau_Conv_Uti
Channel: Subscriber
Object: DEVNDSalphaagent\001001
Status: Warning
Message: Code(-8019) Operation vetoed on unassociated object.
[09/21/07 07:49:05.024]:/root/tracesNC_UTI.log ST:End transaction.