cancel
Showing results for 
Search instead for 
Did you mean: 

RFC receiver adapter maximum connection , Where to congifure in j2ee engine

former_member189387
Active Contributor
0 Kudos

Hi friends ,

Can you please explain the following .

1.When we are using RFC receiver adapter we are setting the maximum connection property right ? What is the use of that ? For eg if i give as 5 connections .In my mail scenario if mail adapter reads 5 mails ata atime will it send to 5 connections 5 times or 1 time ?

2. Only in adaapter configuration enough ? or in J2EE visula admin we need to do any configuration ?

Please clarify the above

Regards.,

V.Rangarajan

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member189387
Active Contributor
0 Kudos

Any suggestions friends !

Former Member
0 Kudos

Hi,

This is the number of threads that will be open when the RFC adapter is connected to your SAP instance you have configured.

This has nothing to do with the processing of the mail adapter.

Cheers

Colin.

former_member189387
Active Contributor
0 Kudos

Hi colin ,

Thanks for your reply.

<b><i>

This is the number of threads that will be open when the RFC adapter is connected to your SAP instance you have configured.</i></b>

Yes, ur right. But , what to do ? If Many mail comes our RFC adapter should be in a position to handle that na?

Please tell me ! where to increase the connection pool size . Max connection property of RFC adapter is not solved our requirement.

Regards.,

V.Rangarajan

Former Member
0 Kudos

Hi,

Is it necessary that all the mails are processed at once in this scenario ?

Why is there a problem processing one behind another ??

Please elaborate.

Cheers

Colin.

former_member189387
Active Contributor
0 Kudos

Hi Colin,

Our Scenario is Mail to RFC Asynchronus .

<i><b>Is it necessary that all the mails are processed at once in this scenario ?</b></i>

Poll interval is set as 30 minutes . Once in 30 minutes mail sender will check for mails . For ex in btween 30 minutes many mails ( Eg 50 mails ) will come from External vendors . So, we cannot say how many mails will come with in that period.

<i><b>Why is there a problem processing one behind another ??</b></i>

No problem but , But Once poll interval raised , All mails in inbox which are in unread condition get read right !.

If they send 10 files only 2 or 3 getting uploaded , Due to

connection issue.

If we did like increasing the Maximum connection property of RFC receiver adapter to 5 , if one mail comes the same data ( Each attachement's ) sent 5

times to RFC. So , multiple overwriting is happening.

Error Description from RWB CC monitoring

-


<i>

Error: 2007-10-01 15:59:05 GMT-05:30: Message processed for interface

YRFC_EXT_WARR: com.sap.aii.af.rfc.afcommunication.RfcAFWException:

error while processing message to remote

system:com.sap.aii.af.rfc.core.client.RfcClientException: resource

error: could not get a client from JCO.Pool:

com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool

RfcClient[CC_EXTE_WAREN_2W_RFC_RECEIVER]

e7fa21f86ec535e883636c0beffc0f0c is exhausted. The current pool size

limit (max connections) is 1 connections.

YRFC_EXT_WARR: com.sap.aii.af.rfc.afcommunication.RfcAFWException:

error while processing message to remote

system:com.sap.aii.af.rfc.core.client.RfcClientException: JCO.Exception

while calling YRFC_EXT_WARR in remote system (RfcClient

[CC_EXTE_WAREN_2W_RFC_RECEIVER]):com.sap.mw.jco.JCO$Exception: (104)

RFC_ERROR_SYSTEM_FAILURE: Exception condition "DOCUMENT_NOT_SENT"

raised.

- Error: 2007-10-01 16:29:02 GMT-05:30: Message processed for interface

YRFC_EXT_WARR: com.sap.aii.af.rfc.afcommunication.RfcAFWException:

error while processing message to remote

system:com.sap.aii.af.rfc.core.client.RfcClientException: JCO.Exception

while calling YRFC_EXT_WARR in remote system (RfcClient

[CC_EXTE_WAREN_2W_RFC_RECEIVER]):com.sap.mw.jco.JCO$Exception: (104)

RFC_ERROR_SYSTEM_FAILURE: Exception condition "DOCUMENT_NOT_SENT"</i>

raised.

In our scenario many mails will come at a time each mail

contains the attachemnt will contain many rows of data . So, I think

at time pusing all the data of attachements to RFC , the connection is

getting exhausted .

If i increase the maximum connection property it is inserting

multiple times .

Regards.,

V.Rangarajan

Former Member
0 Kudos

Hi,

If there are 10 unread mails picked up by the mail adapter, you should get 10 messages routed into the RFC adapter in this example.

However, I can see the issue you are getting from the error message you have posted.

I think Basis should be able to advise where this needs to change - you should not change this as it will be a central setting.

Cheers

Colin.