Skip to Content
author's profile photo Former Member
Former Member

WebDynpro Jco SLD error

When I attempt to create a JCo connection for a WebDynpro application I cannot create a load balanced connection. I have used the SLD locally on a WAS Java EP system and not a WAS ABAP...when I go to connect to back end system the load balance fails due to message server error...

java.lang.StringIndexOutOfBoundsException: String index out of range: -1

at java.lang.String.substring(String.java(Compiled Code))

at com.sap.tc.webdynpro.tools.sld.MessageServerConnectionDefinition.updateSelection(MessageServerConnectionDefinition.java:320)

at com.sap.tc.webdynpro.tools.sld.MessageServerConnectionDefinition.wdDoInit(MessageServerConnectionDefinition.java:171)

at com.sap.tc.webdynpro.tools.sld.wdp.InternalMessageServerConnectionDefinition.wdDoInit(InternalMessageServerConnectionDefinition.java:182)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)

Does the SLD require an ABAP stack ie, message server?

Thanks

Mike Brogan

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 15, 2005 at 02:31 AM

    Here is some more info....

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

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

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

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

    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:101)

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

    The MetaData one fails because I cannot allocate the load server JCO is failes with the above error message before I select it...

    What should I add or change on the SLD or JCo connector...

    THanks

    Mike

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Mike,

      make sure, that you can connect to the SLD within the "Content Administrator" at http://<host>:<port>/webdynpro/welcome

      then, check the JCO-Connection "FMBLDEMO_RFC_METADATA_DEST" with "Maintain JCO COnnections". You have to create at least two JCos (the one mentioned and one for you application data).

      kind regards, achim

  • Posted on Oct 15, 2005 at 01:28 AM

    I'm not sure what is causing your error, but to answer your question, no, you don't have to have an ABAP stack in order for the SLD to work. I have a standalone java stack running with SLD and webdynpro working fine.

    Regards,

    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2005 at 01:45 AM

    Achim,

    SLD is running....the error happens when I am attepting to create Jco connection....

    When I atempt to select load balance for the webdynpro object, the error message pops up...

    Mike

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2005 at 12:02 AM

    Rich

    Yes restarted EP and J2EE. still can't create load balanced JCO connection...

    Actually just to catch all up, the SLD is running on the same server as the EP server which is a WAS Java and not a WAS ABAP +java....I am pointting to a backend 4.7 system....but I cannot create the JCO connection....

    I have defined the services and hosts entries on each server. J2ee is Sp14.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.