cancel
Showing results for 
Search instead for 
Did you mean: 

JCO Error in WebDynPro appl(Could not create JCOClientConnection for logic)

Former Member
0 Kudos

Hi All,

I am getting the following JCO Error when i am trying to deploy my WebDynPro application in to SAP J2E server.

JCOs are running proper and JCO names are same what i used in DynPro application.

<b>Error:</b>

Could not create JCOClientConnection for logical System: WD_MODELDATA_DEST_ESC - Model: class com.na.ko.esupply.login.model.UserLoginScreenModel. Please assure that you have configured the RFC connections and/or logical system name properly for this model

<b>WebDynPro application code :</b>

LoginScreenModel objLogIn = null;

Y_Web_Esc_Logon_Input objLogInput = null;

try{

(LoginScreenModel.class,WDModelScopeType.APPLICATION_SCOPE);

objLogInput = new Y_Web_Esc_Logon_Input();

wdContext.nodeY_Web_Esc_Logon_Input().bind(objLogInput);

wdContext.currentY_Web_Esc_Logon_InputElement().setCompany_Code("200002");

wdContext.currentY_Web_Esc_Logon_InputElement().setWebuser("1626");

wdContext.currentY_Web_Esc_Logon_InputElement().modelObject().execute();

wdContext.currentContextElement().setCa_message("Success");

}

catch(Exception e){

wdContext.currentContextElement().setCa_message("Catch block Error==> Message-"e.getMessage()"StackTrace->""StackTrace"e.getStackTrace().toString());

}

Please help me out.

Thanks & Regards

Adam

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member435358
Discoverer
0 Kudos

Hi Willam,

Is your issue solved ? I am also facing the same problem.

Observation : If change the modeldata JCO to user/password it works fine.

Thanks

Former Member
0 Kudos

hi,

Check out this pdf which has some details.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how%20to%...

Check out this threads as well .

Regards,

Gopi

Former Member
0 Kudos

Hi Gopi,

Thanks for your reply.

But i have gone through the PDF.I have followed same stpes.

Still my problem remains same. Please help me out.

Thanks & Regards

Sridhar

Former Member
0 Kudos

Hi,

Check if the SLD is running. Check if backend system is available and that you can ping jcos successfully in Content Administrator.

Rajit

Former Member
0 Kudos

Hi Rajit,

Yep.

I am able to login backend system through remote GUI.

SLD is running Properly.

JCO i am able to ping as well as Test successfully.

But i am getting error from WedDynPro application.

Thanks & Regards

Adams

Former Member
0 Kudos

The other option i can think of is to re-import the model, build, deploy and restart the server again.

Thanks,

Rajit S