KB Article #66783

Integrator-PM connectors doens't work

Problem

the connector Integrator PM doesn't work



we have this error



ERROR  :20100923:12.58.10.57:procengine(procengine(ta_xpm)):JAVA.CallStaticMethod: exception occurred in method "core/xpm/Wrapper.queueRequest"
ERROR  :20100923:12.58.10.57:procengine(procengine(ta_xpm)):[PMTriggerCommAdapter:XPM Retrieve:220] Failed to retrieve Trigger BDoc: Failed to set the Bdoc listener
FATAL  :20100923:12.58.10.57:procengine(procengine(ta_xpm)):[PMTriggerCommAdapter:XPM TA:102] Abort Transfer Adapter: All XPM sessions are closed or have failed
ERROR  :20100923:12.58.10.62:procengine(procengine(transadaptenv)):../../event.s4:709:XDK.Hash_Get: not found
ERROR  :20100923:12.58.10.62:procengine(procengine(transadaptenv)):../../event.s4:712:internal error: unregister unknown event


Resolution

copy into the directory $CORE_ROOT/java/conf all the content of the directories $XPM_HOME/conf and $XPM_HOME/xdk/conf create a directory $CORE_ROOT/java/xpmlib and copy into it all the content of the directory $XPM_HOME/xdk/lib This is not a problem if XPM_HOME and CORE_ROOT are located on different hosts (machines) : use network to copy files.



(For convenience, the directories java/conf and java/xpmlib are available in attachment here.)



Then, Integrator has to be configured correctly.



In file CORE_ROOT/config/environment.dat, set XPMLIB with the correct value : XPMLIB=${CORE_ROOT}/java/xpmlib remove from CLASSPATH the ProcessManager jars : :$XPMLIB/xms/xmsapi.jar:$XPMLIB/xpmDK.jar:$XPMLIB/castor.jar:$XPMLIB/hibernate/commonslang.jar
In file CORE_LOCAL/config/environment.dat add the ProcessManager settings only for the Integrator processing engine task that is in charge of Process Manager :
ProcessingEngine_XPM:
CLASSPATH=${CLASSPATH}:$XPMLIB/xms/xmsapi.jar:$XPMLIB/xpmDK.jar:$XPMLIB/castor.jar:$XPMLIB/hibernate/commonslang.jar "