on 04-04-2005 10:21 AM
Hello all,
I have a WD project, when a single user run it, everything is working fine.
The problem occurs when you make a multiple entries to the application... Several users or logging in and out several time.
I suddenly get a message saying:
"Could not create JCOClientConnection for logical System: WD_XXXXXXX_MODELDATA_DEST - Model: class XXXX.model.XXXXX. Please assure that you have configured the RFC connections and/or logical System Name properly for this model! "
My guess is that the problem is with the JCO pool size.
Here is my configuration:
Maximum Pool Size - 40
Maximum Connections - 30
ConnectionTimout - 10
Maximum Wait Time - 30
Any suggestions?
Hi Yaniv,
try this piece of code afrer executing the model.
<Model Name> myModel = (<Model Name>)WDModelFactory.getModelInstance(<Model Name>.class);
myModel.disconnectIfAlive();
This will get the model instance and disconnects it after executing provided the connection is alive.
Regards,
Shyam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First, thanks for the quick reply...
Second, I've read the documents, followed the instructions and changed my configuration, but with no success...
The error keeps appearing.
I've started thinking that maybe the java connection isn't closed at all, and maybe my application keep creating new ones until it's stuck...
can it be?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please go through the following.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how to configure the jco destination settings.pdf
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.