cancel
Showing results for 
Search instead for 
Did you mean: 

WebDynpro Jco SLD error

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

achim_hauck2
Active Contributor
0 Kudos

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

Answers (3)

Answers (3)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

I guess you have tryed rebooting that machine? Or at least, stopping/starting the j2ee engine?

Regards,

Rich Heilman

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

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