cancel
Showing results for 
Search instead for 
Did you mean: 

"Connection to the SLD couldn't be opened successfully"

Former Member
0 Kudos
294

Hello There,

I am trying to call my SAP Test System from my WebDynpro Application via RFC Bapi - Call.

This <b>worked fine</b> until last week but then suddenly I can't make any connection to the SLD anymore. The error message in the browser says:

The initial exception that caused the request to fail, was:

com.sap.lcr.api.cimclient.LcrException: com.sap.lcr.api.cimclient.UnauthorizedUserException: User credentials are invalid or user is denied access

at com.sap.lcr.api.sapmodel.SAP_J2EEEngineClusterAccessor.getInstance(SAP_J2EEEngineClusterAccessor.java:99)

at com.sap.lcr.api.sapmodel.SAP_J2EEEngineClusterAccessor.getInstance(SAP_J2EEEngineClusterAccessor.java:78)

at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.readJCODestinationFromSLD(JCOClientConnection.java:520)

at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:454)

at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:248)

<b>My permissions at the sld are fine if I connect directly to the sld...

The SLD / RFC Connection is already configured and it worked fine until last week</b>

Everything worked fine. But then suddenly there was this error coming up. I

Any ideas or help is greatly appreciated and points are awarded!!!

Thanks,

Kiran

Accepted Solutions (1)

Accepted Solutions (1)

christof_kohler
Explorer
0 Kudos

Hey,

I think your first problem seems to be your sld Connection, make sure that this works fine.

Actually the sld user can not be set to unlimitied expiry, thats a regular problem we face.

Than check the connection in the Visual Administrator and make sure that all settings

->SLD Data Supplier-> HTTP Settings and RFC Settings are valid.

Than the CIM Client Generation should work.

Hope that helped a little,

Kind Regards

Christof

Former Member
0 Kudos

Yes, the SLD user was expired and Thanks Christof, for giving that information

Thanks every one for your responses

kk

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Check if SAP is up.

Also check the JCO connections in WebDynpro administrator.

Regards,

Nagaraju Donikena.

Former Member
0 Kudos

Yes SAP is up, and I cannot check the JCO Connections, the JCO Connection is not administrable anymore in the Content Administrator, all related buttons are grey.

Thanks,

Kiran

Former Member
0 Kudos

Hi,

Check in the visual administartor if the sld is configured properly and then test the connection in the content administrator , if the sld is intialized all the related buttons will be activated.

Regards,

Bhavana

Dheerendra
Participant
0 Kudos

Hi ,

Check the following link and it will give u a full idea how to set JCO Connections.

Thanks

Best Regard's

Dheerendra Shukla

Dheerendra
Participant
0 Kudos

Hi,

If u have any problem to open the above link then u can follow the following steps.

Follow the step as below for SLD connection setting-->

1. Log in to the Visusal Administrator

2. Go to the Server-->Services

3. Go to the SLD Data Supplier.

4. Under Runtime Tab change the Host name , port name and Username and password for the Http Setting and CIM Client Generation Setting sub tab.

5. After this just restart the SLD data service.

Thanks

Dheerendra shukla