cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Connection being closed by SAP

Former Member
0 Kudos

Hello Everyone,

Our B2B system is connecting to SAP. in between 900 to 1100 seconds connection is being closed after a cancel request issued by the SAP system.

with a RFC return code:

Return code: RFC_CANCELED(20)

error group: 112

I have checked below link which has the list of RFC return codes. Please advise me to resolve this issue.

[http://help.sap.com/saphelp_nwpi71/helpdata/en/45/ec56cdd90860d4e10000000a11466f/frameset.htm]

-


*Error:*----


Error: >Wed Dec 14 11:12:08,917< >RfcGetException rc (24) message: connection with handle 1 [79113588] closed after cancel

Stack trace:

at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcCancel(RfcIoOpenCntl.java:1908)

at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcConnection.cancel(MiddlewareJavaRfc.java:786)

at com.sap.conn.jco.rt.ClientConnection.cancel(ClientConnection.java:245)

at com.sap.conn.jco.rt.ConnectionManager.releaseWithCancel(ConnectionManager.java:204)

at com.sap.conn.jco.rt.Context.closeConnections(Context.java:352)

at com.sap.conn.jco.rt.Context.reset(Context.java:412)

at com.sap.conn.jco.rt.DefaultJCoRuntime.releaseRuntimeContext(DefaultJCoRuntime.java:225)

at com.sap.conn.jco.rt.SessionTimeoutChecker.execute(SessionTimeoutChecker.java:52)

at com.sap.conn.jco.rt.AutoJobRunner.run(AutoJobRunner.java:91)

at java.lang.Thread.run(Thread.java:619)

<RfcGetException

Error: [1] >Wed Dec 14 11:12:09,005< RfcException: [TS4|SAPTS4]

message: connection with handle 1 [79113588] closed after cancel

Stack trace:

at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcCancel(RfcIoOpenCntl.java:1908)

at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcConnection.cancel(MiddlewareJavaRfc.java:786)

at com.sap.conn.jco.rt.ClientConnection.cancel(ClientConnection.java:245)

at com.sap.conn.jco.rt.ConnectionManager.releaseWithCancel(ConnectionManager.java:204)

at com.sap.conn.jco.rt.Context.closeConnections(Context.java:352)

at com.sap.conn.jco.rt.Context.reset(Context.java:412)

at com.sap.conn.jco.rt.DefaultJCoRuntime.releaseRuntimeContext(DefaultJCoRuntime.java:225)

at com.sap.conn.jco.rt.SessionTimeoutChecker.execute(SessionTimeoutChecker.java:52)

at com.sap.conn.jco.rt.AutoJobRunner.run(AutoJobRunner.java:91)

at java.lang.Thread.run(Thread.java:619)

Return code: RFC_CANCELED(20)

error group: 112

key: RFC_ERROR_REQUEST_CANCELLED

Exception raised by TS4|SAPTS4

-


*Error End:*----


Accepted Solutions (1)

Accepted Solutions (1)

vincentlim826
Employee
Employee
0 Kudos

Could be JCo connector issue. What is your JCo version ? probably get latest version of the JCo connector.

Try to see if note 1467969 helpful.

Regards,

Vincent

Answers (0)