cancel
Showing results for 
Search instead for 
Did you mean: 

TypeBroker failed to access SLD: Error while obtaining JCO connection

Former Member
0 Kudos

Hi All,

In CE7.2 portal application we are getting the below exception while accessing some of the Development components related to JCO. This issue is facing every server restart and after sometime this will be resolved automatically.

When we checked the JCO destinations, they are able to ping successfully.

[EXCEPTION]

com.sap.tc.webdynpro.progmodel.context.DictionaryException: TypeBroker failed to access SLD: Error while obtaining JCO connection.

at com.sap.tc.webdynpro.progmodel.context.DictionaryHandler.getScalarType(DictionaryHandler.java:378)

at com.sap.tc.webdynpro.progmodel.context.DictionaryHandler.getDataType(DictionaryHandler.java:126)

at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.init(DataAttributeInfo.java:438)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initUnmappedAttributes(NodeInfo.java:1002)

at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:294)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:974)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:978)

at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:67)

at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

Caused by: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection.

at com.sap.tc.webdynpro.services.datatypes.core.DictionarySetup$1.fillSldConnection(DictionarySetup.java:43)

at com.sap.dictionary.runtime.ProviderFactory.internalResolveLogicalNameToJCODestination(ProviderFactory.java:437)

at com.sap.dictionary.runtime.ProviderFactory.resolveLogicalNameToJCODestination(ProviderFactory.java:361)

at com.sap.dictionary.runtime.ProviderFactory.internalGetProvider(ProviderFactory.java:198)

at com.sap.dictionary.runtime.ProviderFactory.getProvider(ProviderFactory.java:161)

at com.sap.dictionary.runtime.DdDictionaryPool.getProvider(DdDictionaryPool.java:96)

at com.sap.dictionary.runtime.DdDictionaryPool.makeDictionary(DdDictionaryPool.java:75)

at com.sap.dictionary.runtime.DdDictionaryPool.makeDictionary(DdDictionaryPool.java:63)

at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:224)

at com.sap.tc.webdynpro.progmodel.context.DictionaryHandler.getScalarType(DictionaryHandler.java:370)

... 128 more

Caused by: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Error while obtaining JCO connection.

at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnectionUnMapped(SystemLandscapeFactory.java:153)

at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnectionUnMapped(SystemLandscapeFactory.java:161)

at com.sap.tc.webdynpro.services.sal.sl.core.SystemLandscapeInternal.getJCOClientConnectionUnMapped(SystemLandscapeInternal.java:64)

at com.sap.tc.webdynpro.services.datatypes.core.DictionarySetup$1.fillSldConnection(DictionarySetup.java:31)

... 137 more

Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'DC_DX_Modeldata' in the SLD. No such JCO destination is defined in the SLD.

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

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

at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:222)

at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.<init>(JCOClientConnection.java:84)

at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnectionUnMapped(SystemLandscapeFactory.java:151)

... 140 more

With Regards,

Ramesh G.

Edited by: Ramesh Ganasala on Dec 28, 2011 1:39 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

junwu
Active Contributor
0 Kudos

did you create rfc destination for you dc?

Former Member
0 Kudos

Hi John,

We created the RFC destinations and they are pinging well.

With Regards

Ramesh G

Edited by: Ramesh Ganasala on Dec 30, 2011 11:15 AM

junwu
Active Contributor
0 Kudos

are you using local sld?

Former Member
0 Kudos

Hi All,

Finally we solved this problem.

The problem is while creating one of the model used DC_DX_Metadata instead of DC_DX_Modeldata. After recreating the model the problem got resolved.

Thanks for your answers.

With Regards,

Ramesh G.

vijay_kumar49
Active Contributor
0 Kudos

Hi,

Please configure your SLD. Your SLD holds the system definition. Define a SAP WebAS abap system and then try to create a Metadata connection using WebDynpro content administrator. Now you will be able to see the msg server defined in the dropdown. Also ensure that you have the message server entry in your services file.

Refer these links for SLD

http://help.sap.com/saphelp_nw04/helpdata/en/c9/dc37520bdf4b48bb8f6d4329f073d5/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/24/8fa93e08503614e10000000a114084/content.htm

Please check [6. Error obtaining JCO connection|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f3f93ee7-0c01-0010-2593-d7c28b5377c2?QuickLink=index&overridelayout=true] point this Document.

Hope that helps.

Regards

Vijay K