cancel
Showing results for 
Search instead for 
Did you mean: 

Could not create JCOClientConnection

Former Member
0 Kudos

Hi,

I am facing the following error which occurs very often but not always.

Could not create JCOClientConnection for logical System: <Model Destination Name>- Model: class com.ouraes.gad.ltc.Model.

Please assure that you have configured the RFC connections and/or logical system name properly for this model!

I have tried to search in forums and found some many answers.

for me it seems , that the max. number of connections is created . does anybody know , which parameter i have to change to

increase this value?

The current Portal has the default parameters:
Maximum Pool Size: 5

Maximum Connections: 10

Connection Timeout: 10

Maximum Waiting Time: 30

The authentication method used is "DefinedUser".

Total 8 applications for around 200 users.

I want to increase the above parameters for which there is SAP document for the calculation of the parameters which are to be

increased.Can someone give to do it production and client needs supporting doucments for the

same.


thanks for your help .

Thanks,

Rajani

Accepted Solutions (0)

Answers (1)

Answers (1)

Sharathmg
Active Contributor
0 Kudos

Please assure that you have configured the RFC connections and/or logical system name properly for this model!

Have you tested the JCo connection - metadata and modeldata connectors?

Also, the connection and pools are issues only in exceptional cases, when too many connections are opened simultaneously. * apps for 200 users generally should be fine.

Suggestion test the connections and test if the RFC is getting connected/invoked in the call.

Regards,

Sharath

Former Member
0 Kudos

Thanks Sharath for your reply.

But I have tested the metadata and modeldata connectors which tested positive.RFC connection is also working when there is no error.

But obviously where the above exception occur, there will be no call to the RFC done.This is very random behaviour during the peak hours of business.So I assume the cause  could be the load on the portal server.

Please suggest the tuning parameters for JCO.

Thanks,

Rajani

Sharathmg
Active Contributor
0 Kudos

Well, could try to check if the connection is possible.

JCO.Client mConnection = CO.createClient("001", // SAP client

                                            "<userid>", // userid

                                            "****", // password

                                            "EN", // language (null for the default language)

                                            "<hostname>", // application server host name

                                            "XX"); // system number  

If it returns the connection, then proceed. Any exception, try to wait and try and try again( suggestion ). Like a loop to keep trying till you get a connection established. It may be performance risk to limit the attempts by using some wait statements.

Its a suggestion which I have not implemented it. You can try to do so.

Regards,

Sharath