on 11-10-2008 3:38 AM
Hi,
I have deployed a webdynpro application which uses RFC's.It was working perfectly but suddenly while running it today am getting this error:
Could not create JCOClientConnection for logical System: TDC_SSM_MODELDATA_DEST - Model: class com.sap.ltil.darpan.model.AddUserModel. Please assure that you have configured the RFC connections and/or logical system name properly for this model!
can anybody tellme why this is happening and what is its solution?
Thanks,
Parama.
Hi
Check this same problem got resolve using this thread
/message/5839021#5839021 [original link is broken]
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Parama,
when you are using adaptive rfc models you must be very careful in closing all the connections that are opened using JCOs.
check these threads for more details.
/thread/1083065 [original link is broken]
once you execute the RFC from java you have to write the following code
let's assume name of the model is ztest
try{
ztest model = (ztest) WDModelFactory.getModelInstance(ztest.class);
if(model!=null)model.disconnectIfAlive();
}catch(Exception e){}
Thanks
Bala Duvvuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you all so very much for assistance. It is very helpful.
One last question to ensure that I'm doing everything correctly.
Let's say I have the following code. Can I call disconnectIfAlive() immediately after invalidating the output node? or do I have to call it after I've finished looping through the output?
Z_RFC_XYZ input = new Z_RFC_XYZ();
wdContext.nodeZ_RFC_XYZ().bind(input);
try {
input.execute();
wdContext.nodeOutput_Z_RFC_XYZ().invalidate();
//do I call this here?
input.disconnectIfAlive();
//loop through output nodes...
//or here?
input.disconnectIfAlive();
}
catch(Exception ex) {
//do stuff with exception...
}
Thanks again.
hi,
Check the login id and password for the jco connection in SAP Gui.
Check connection pool size in the jco.
The above are the possible errors with the jco connection.
with regards
shanto aloor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.