cancel
Showing results for 
Search instead for 
Did you mean: 

SLD Error

Former Member
0 Kudos

hi,

I created the JCO destination in my Webdynpro content administrator...while running my application i get the below error.

-


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

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

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

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

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

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

at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:150)

... 47 more

See full exception chain for details.

-


Please help

Accepted Solutions (0)

Answers (9)

Answers (9)

Former Member
0 Kudos

Hello,

I am having a similar exception.

I am able to test the Jco Connection on SLD and teh test is sucessfull.

Please help

Root Cause

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

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

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

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

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

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

at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:147)

... 45 more

Stack Trace:

com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type extern:com.sap.netweaver.mobile.emp.types.GetEmployeeTimeModel:com.sap.netweaver.mobile.emp.types.Bapicats2 could not be loaded: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection.

at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getStructure(DataTypeBroker.java:305)

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

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

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

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

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

at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:429)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:345)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:668)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:268)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:705)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:659)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:227)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:150)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:56)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:40)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

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.DataTypeBroker$1.fillSldConnection(DataTypeBroker.java:90)

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

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

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

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

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

at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:73)

at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:48)

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

at com.sap.dictionary.runtime.DdBroker.getStructure(DdBroker.java:180)

at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getStructure(DataTypeBroker.java:303)

... 32 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.getJCOClientConnection(SystemLandscapeFactory.java:149)

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

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

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

... 42 more

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

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

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

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

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

at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:147)

... 45 more

Sharathmg
Active Contributor
0 Kudos

Dear All,

Risht now, I am facing a similar issue.

When i look to create a JCo, the user authentication under security is set to userid and pwd. It appears as a read-only field.

The requirement is for SSO ticket, but unable to change the property.

Kindly provide your suggestions and could-be reasons.

Thanks,

Sharath MG

Former Member
0 Kudos

Hi,

If your are creating the JCO for Metadata then it would be userid/pwd only and not ticket. you can set ticket authentatication only for modeldata destination that is when you select Application data while creating JCO.

Regards,

Murtuza

Former Member
0 Kudos

Hi Shyam,

I used 'Dictionary Meta Data' but still Message Server combo box is empty ... wat to do now???

Thanks,

Shiny

sid_sunny
Contributor
0 Kudos

Hi shiny,

I have mailed you the docs.

Do reward points if it helps.

Regards

Sid

Former Member
0 Kudos

Hi,

It seems you have not configured the SLD properly. Are you able to see the ABAP technical system in the SLD -> Technical Systems -> Web AS ABAP.

regards

Shyam.

Former Member
0 Kudos

Hi Sid,

Send it to shiny.victoria@gmail.com. Can u pls send it now itself Sid.

Thanks,

Shiny

Former Member
0 Kudos

Hi,

when i give create a JCO i did the following:

1. Name: WD_MODELDATA_DEST

Client: 200

then i clicked next...

2. I checked "Use local J2EE engine ''J2E on bconeblr017'' "

then next

3. then i selected Application Data & Single Server Connection (should be used only for debugging) ...then next

4. Here in the Application Server combo box....i dont have any values to select and i also didnt select 'use SAP router' then next...

5. User Authentication

Used Method: user/Password

Name: "SAPICOMAMJ_E", // sap userid

Password: "bcone999", // sap password

Confirm Password: "bcone999",

Language: en

then i clicked finish.

Sorry I dont know whether this creation is successful or not. Please help

Thanks,

Shiny

Former Member
Former Member
0 Kudos

Hi Shiny,

Try with 'Dictionary Meta Data' and specify the corresponding message server.

regards

Shyam.

nikhil_bose
Active Contributor
0 Kudos

hi shiny!!

Go to Content Administrator, check MODEL & RFCMETA DATA destinations. If both of them gives success your JCos are okay. If it gives error while checking, post the error

regards,

nikhil

Former Member
0 Kudos

Hi,

I read those links.....But still i dont get a solution y those links ('edit' ,'preview' ,'ping', 'remove' ,'test'') are disabled? Can u pls suggest.

Regards,

Shiny

Former Member
0 Kudos

Hi Shiny,

Is the JCO destination successfully created ?

If so a green color square should appear beside the JCO name in the JCO details table.

sid_sunny
Contributor
0 Kudos

Hi Shiny,

Provide me with your E-mail ID I have two docs which will help you configure JCo for you.

Regards

Sid

former_member189631
Active Contributor
0 Kudos

Hi Shiny,

Try this Link,

/thread/162233 [original link is broken]

Regards,

Ramganesan K.

Former Member
0 Kudos

Hi Shyam,

Except 'create ,the other links like 'test', 'preview','edit','ping','remove' are all disabled. I know i'm missing something. Can u pls send me the step by step process to create a JCO connection.

Thanks,

Shiny

Former Member
0 Kudos

Hi,

Check these:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3103eb90-0201-0010-71af-be6...

/people/sugree.phatanapherom/blog/2005/08/14/configuring-sld-in-sneak-preview-sap-netweaver-04-sneak

regards

Shyam.

Former Member
0 Kudos

Hi Shiny,

Could you successfully test the jco destination in the content admin?

regards

Shyam.