Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error when using RFC Accessor Lookup Service in Load Balancing Environment

Has anyone had any problems when using the RFC Accessor Lookup Service in a load balancing environment?

When I run the below code in our single server development and quality assurance environments it works fine, however when I run it in our staging environment, which has load balancing configured, it fails if both of the servers are on but if only one of the servers are on it works fine.

InputParameters inputParameters = container.getInputParameters();

Channel channel = inputParameters.getChannel(rfcChannelName);

RfcAccessor rfcAccessor = LookupService.getRfcAccessor(channel);

XmlPayload request = getXmlPayloadRequest();

XmlPayload response = rfcAccessor.call(request);

The error that we receive if both servers are on is:

Technical error when calling an adapter remotely. The HMI method with the ID process was called with an incorrect session status. The system accessor object is missing

Any ideas as to where I should start looking? We are running PI 7.11 and the code is called in the init method of the message mapping.

Thanks in advance,

Jon

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question