Skip to Content
0
Former Member
Jun 04, 2009 at 11:44 PM

ABAP process hangs when calling a jCO Server J2EE-available RFC

199 Views

Hi there

Here's the scenario:

We have deployed a jCO server under the SAP WAS. This jCO server implements two functions. They are both called from ABAP process through RFC. We are using the same RFC destination for both

First function is defined with import/export parameters and the second one only operates with a TABLE parameter.

Incidentally, these functions are captured by the jCO server, which calls an IBM MQ server

First function works fine. Second function hangs and there is not even a timeout so the ABAP process (run on foreground) can stay forever.

The interesting part is that the same application works really fine when called from a Tomcat using a standalon instance of the jCO.

Additional info:

We have noticed that some time after the second function gets called, there are five dumps on the system (the same amount of servers we make available). These are CALL_FUNCTION_SIGNON_REJECTED.

The fun part of the dumps is that the user making the RFC call is a different user that the one we use for the jCO connection, and the client number is '000', instead of the '728' we are using for the connection. Somehow they seem related but we do not know how yet:

Short text

You are not authorized to logon to the target system (error code 1).

What happened?

Error in the ABAP Application Program

The current ABAP program "SAPMSSY1" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

Error analysis

RFC (Remote Function Call) sent with invalid

user ID "%_LOG01% " or client 000.

User "ARINSO " under client 001 from system "SMD " has tried to carry out an

RFC

call under the user ID "%_LOG01% " and client 000 (Note: For releases < 4.0,

the

information on caller and caller system do not exist.).

...

Call Program........."SAPLSMSY_ACTUALIZE_DATA"

Function Module..... "SCSM_SYSTEM_LIST"

Call Destination.... "SM_ET7CLNT000_READ"

Source Server....... "sapwasmd_SMD_10"

Source IP Address... "172.17.82.80"

...

Termination occurred in the ABAP program "SAPMSSY1" - in

"REMOTE_FUNCTION_CALL".

The main program was "SAPMSSY1 ".

In the source code you have the termination point in line 67

of the (Include) program "SAPMSSY1".

Any tip or suggestion on where to look at is more than welcome

Thanks in advance,

Miguel