Skip to Content

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

error while configuring SNC(secure network connection) ( SAP JCo 3.0.5)

Hi,

I tried configuring SNC setup on my local machine using SAP JCo 3.0.5.

I am trying to establish a secure connection using a SAP JCo , using sapcrypto lib file provided on SAP portal.

I tried following the steps mentioned in this blog:

/people/gregor.wolf3/blog/2006/09/29/setup-data-encryption-between-rfc-client-and-web-as-abap-with-snc

But, I am still getting below mentioned error:-

Attributes:
[Thr 4424] Mon Jun 14 22:04:59 2010
[Thr 4424] *** ERROR => SncPEstablishContext() failed for target='p:CN=sap00.sapperf2, OU=Adapter, O=IBM, C=US'
[Thr 4424]  [sncxxall3370]com.sap.conn.jco.JCoException: (107) RFC_ERROR_PROTOCOL: CPIC-CALL: 'CMRCV'
null
 
	at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:619)
	at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1286)
	at com.sap.conn.jco.rt.ClientConnection.connect(ClientConnection.java:665)
	at com.sap.conn.jco.rt.PoolingFactory.init(PoolingFactory.java:103)
	at com.sap.conn.jco.rt.ConnectionManager.createFactory(ConnectionManager.java:171)
	at com.sap.conn.jco.rt.DefaultConnectionManager.createFactory(DefaultConnectionManager.java:44)
	at com.sap.conn.jco.rt.ConnectionManager.getFactory(ConnectionManager.java:160)
	at com.sap.conn.jco.rt.RfcDestination.initialize(RfcDestination.java:799)
	at com.sap.conn.jco.rt.RfcDestination.getAttributes(RfcDestination.java:634)
	at com.sap.conn.jco.rt.RfcDestination.getAttributes(RfcDestination.java:29)
	at SNCConnectionTest.main(SNCConnectionTest.java:24)
Caused by: RfcException: [null]
    message: CPIC-CALL: 'CMRCV'
null
 
    Return code: RFC_FAILURE(1)
    error group: 107
    key: RFC_ERROR_PROTOCOL
 
	at com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:179)
	at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1279)
	... 9 more
Caused by: 
<div class="jive-quote">RfcIoException:</div>
    message: CPIC-CALL: 'CMRCV'
null
 
    Return code: RFCIO_ERROR_NO_DATA(8)<
 
 
	at com.sap.conn.rfc.engine.RfcIoOpenCntl.ab_rfclisten(RfcIoOpenCntl.java:1360)
	at com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:143)
	... 10 more

any advice /comments to overcome this error will be very helpful

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