cancel
Showing results for 
Search instead for 
Did you mean: 

RFC strange problem

david_fryda2
Participant
0 Kudos

Hi everyone,

I have a real strange problem concerning RFCs calls.

When I deploy my application I success calling RFCs.

When I deploy twice the same application, I have problems calling the RFCs.

If I kill one of the browser, I do success calling the RFCs.

How does the number of browsers can affect the call of rfcs.

Here is the error I get :

Could not create JCOClientConnection for logical System: SAP_R3_TM_Sys_AD - Model: class com.model.bapi_sun_notif_create.BAPI_SUN_NOTIF_CREATE_Model. Please assure that you have configured the RFC connections and/or logical system name properly for this model!

Thanks,

Regards

Accepted Solutions (1)

Accepted Solutions (1)

lajitha_menon
Contributor
0 Kudos

Hi David,

Could be something to do with your JCo connection configurations...settings for connection pool, time out etc..Have a look there,

Regards

LM

david_fryda2
Participant
0 Kudos

Hi Menon,

Can you please tell me how to proceed to get the connection pool etc ?

Thanks.

Regards.

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi David,

Check the JCo Pool Configuration settings of your JCO Destination. This message normally comes when the maximum connections has been reached. Increase the "Maximum Connections" to some number depending on the usage. follow these steps.

1. Login to Content Administrator using Administrator rights.

http://localhost:50000/webdynpro/welcome/Welcome.jsp

2. click on content administrator.

3. Navigate under deployment content choose your project which you want to edit JCO connections and click on application.

other way is

Good to disconnect the jco connection after executing the same in your webdynpro code if you don't want it to be synchronous.

<ModelName>.modelInstance().disconnectIfAlive()

Check this thread too

Regards, Suresh KB

david_fryda2
Participant
0 Kudos

Hi,

Thanks for the hellpful information guys!

How do I increase the pool using Java ?

I read on the thread that I must use JCO.addClientPool....what is the parameter LogonProperties specified in the example of the thread you posted ?

Thanks!

Regards.

Former Member
0 Kudos

hi

David i have a document to increase the pool of the jco .Plz give me your mail id.

Regards

nidhideep

Former Member
0 Kudos

Hi,

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f3f93ee7-0c01-0010-2593-d7c...

Go thru this link find your pool size in page no 9 in this Document.

Thanks,

Lohi.

david_fryda2
Participant
0 Kudos

The problem was solved using the disconnectIfAlive() methode.

After each call to RFC, I do use this methode.

Thanks guys for the help.

Regards.

PS : For Nidhideep : My mail is david_fryda@yahoo.com

Answers (0)