SAP HR - Destination does not exist

We are facing problems with one of our sap-hr drivers after an upgrade to Identity Manager version 4.8.7. When adding an associaton to the driver it fails with the following error in the process log:

Read XXXX Table ... [XXXX LIKE 'XXX']
Version: 2014 09 04
SAPhost        :XXXX.XXXX.XXXX
SAPSystemnumber:XXXX
SAPClientnumber:XXXX
SAPusername    :XXXX
paramPW        :XXXX
Language       :XXXX
Systemname     :XXXX
Tablename      :XXXX
Colnames       :XXXX,XXXX,XXXX,XXXX,XXXX
Where          :XXXX LIKE 'XXXX'
Max rows       :12000
Skip rows      :0
Start: ReadSAPTable ...
OutDoc created
RFC_SingleConnection: before getDestinationProperties:XXXX
ReaderDestinationDataProvider: getDestinationProperties( XXXX )
RFC_SingleConnection: getDestinationProperties have returned a value of type:classname = "java.util.Properties"   packagename= "package java.util"
found RFC_SingleConnection: parammhost :"null
found RFC_SingleConnection: paramSysNr :"null
found RFC_SingleConnection: paramClient :"null
RFC_SingleConnection: GetDestination( XXXX ) Error: Destination XXXX does not exist::Destination XXXX does not exist::com.sap.conn.jco.JCoException: (106) JCO_ERROR_RESOURCE: Destination XXXX does not exist
RFC_SingleConnection: GetDestination( XXXX ) Error: com.sap.conn.jco.JCoException: (106) JCO_ERROR_RESOURCE: Destination XXXX does not exist::com.sap.conn.jco.JCoException: (106) JCO_ERROR_RESOURCE: Destination XXXX does not exist::java.lang.RuntimeException: com.sap.conn.jco.JCoException: (106) JCO_ERROR_RESOURCE: Destination XXXX does not exist
Exception:java.lang.RuntimeException: java.lang.RuntimeException: com.sap.conn.jco.JCoException: (106) JCO_ERROR_RESOURCE: Destination XXXX does not exist
java.lang.RuntimeException: java.lang.RuntimeException: com.sap.conn.jco.JCoException: (106) JCO_ERROR_RESOURCE: Destination XXXX does not exist
        at com.novell.ncs.jco3.JCoTableReader.RFC_SingleConnection.<init>(RFC_SingleConnection.java:170)
        at com.novell.ncs.jco3.JCoTableReader.idm.ReadSAPTable(idm.java:444)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at com.novell.xsl.extensions.JavaMethodInstance.invoke(JavaMethodInstance.java:148)
        at com.novell.xml.xpath.FunctionCall.evaluate(FunctionCall.java:90)
        at com.novell.xml.xpath.PathExpr.evaluate(PathExpr.java:33)
        at com.novell.xml.dom.DOMEvaluator.evaluate(DOMEvaluator.java:89)
        at com.novell.nds.dirxml.engine.rules.RuleDynamicContext.evaluateXPath(RuleDynamicContext.java:176)
        at com.novell.nds.dirxml.engine.rules.TokenXPath.expand(TokenXPath.java:72)
        at com.novell.nds.dirxml.engine.rules.Arg.evaluate(Arg.java:457)
        at com.novell.nds.dirxml.engine.rules.DoSetLocalVariable.apply(DoSetLocalVariable.java:101)
        at com.novell.nds.dirxml.engine.rules.ActionSet.apply(ActionSet.java:189)
        at com.novell.nds.dirxml.engine.rules.DoIf.apply(DoIf.java:84)
        at com.novell.nds.dirxml.engine.rules.ActionSet.apply(ActionSet.java:189)
        at com.novell.nds.dirxml.engine.rules.DoIf.apply(DoIf.java:84)
        at com.novell.nds.dirxml.engine.rules.ActionSet.apply(ActionSet.java:189)
        at com.novell.nds.dirxml.engine.rules.DirXMLScriptProcessor.applyRules(DirXMLScriptProcessor.java:310)
        at com.novell.nds.dirxml.engine.rules.DirXMLScriptProcessor.applyRules(DirXMLScriptProcessor.java:436)
        at com.novell.nds.dirxml.engine.Subscriber.processEvents(Subscriber.java:979)
        at com.novell.nds.dirxml.engine.Driver.submitTransaction(Driver.java:902)
        at com.novell.nds.dirxml.engine.DriverEntry.submitTransaction(DriverEntry.java:1174)
        at com.novell.nds.dirxml.engine.DriverEntry.processCachedTransaction(DriverEntry.java:1058)
        at com.novell.nds.dirxml.engine.DriverEntry.eventLoop(DriverEntry.java:866)
        at com.novell.nds.dirxml.engine.DriverEntry.run(DriverEntry.java:640)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: com.sap.conn.jco.JCoException: (106) JCO_ERROR_RESOURCE: Destination XXXX does not exist
        at com.novell.ncs.jco3.JCoTableReader.RFC_SingleConnection.GetDestination(RFC_SingleConnection.java:191)
        at com.novell.ncs.jco3.JCoTableReader.RFC_SingleConnection.<init>(RFC_SingleConnection.java:164)
        ... 27 more
Caused by: com.sap.conn.jco.JCoException: (106) JCO_ERROR_RESOURCE: Destination XXXX does not exist
        at com.sap.conn.jco.rt.DefaultDestinationManager.update(DefaultDestinationManager.java:217)
        at com.sap.conn.jco.rt.DefaultDestinationManager.searchDestination(DefaultDestinationManager.java:382)
        at com.sap.conn.jco.rt.DefaultDestinationManager.getDestinationInstance(DefaultDestinationManager.java:100)
        at com.sap.conn.jco.JCoDestinationManager.getDestination(JCoDestinationManager.java:104)
        at com.novell.ncs.jco3.JCoTableReader.RFC_SingleConnection.GetDestination(RFC_SingleConnection.java:180)
        ... 28 more

Result exception Document classinfo: classname = "com.novell.xml.xpath.InsertionOrderNodeSet"   packagename= "package com.novell.xml.xpath"
              ... 0 (12000) records found

The driver starts up without any problems and there is no errors in the driver trace. Network connectivity and the connection settings to the SAP system has been verified with the corresponding teams. We have also verified that the jar files matches between the old and the new servers. As can be seen in the log the getDestinationProperties seems to return null for some of the parameters. 

  • 0  

    In IDM 4.8.7 they recompiled the JARs in Java 11 but in Java 8 compatibility mode, and in IDM 49 they recompiled in full Java 11 mode.

    The function it is using to get the Destintation information is failing because of a missing class.  Probably one of those moved around in Java 8->11.  

    I would try running this on a 4.8.6 RL with the 4.8.6 shim and report this as a bug to support.  (If you have a test system you can upgrade to 4.9 and test as well thatw ould be even better.  Not everyone has an SAP HR system just sitting around for testing.)

  • 0   in reply to   

    This might be a SAP-HR driver, but one of the policies (engine side) is calling a Java extension by Professional Services: com.novell.ncs.jco3.JCoTableReader.idm.ReadSAPTable

    The exception is thrown form SAPs Java Connector library: com.sap.conn.jco.JCoException: (106) JCO_ERROR_RESOURCE: Destination XXXX does not exist.

     Are you sure "XXXX" is correct?

     Is see no ClassNotFoundException or NoSuchMethodException. Am I missing something?

  • 0   in reply to   

    I forgot about that TableRead class.  I was thinking there was something similar.  I think I may have misread the output as complaining about a class, but on re-read maybe that is how it outputs properly.

    If it read the XXXX value properly, then it would be a different problem.