Skip to Content

Reg. JCo Connection

Hi,

I am trying to establish JCO from my system.

There are certain issues that I am not able to resolve/fix.

1. I am not getting any values in the table that populates all available JCo Destination details.

2. I am trying to create a new JCo destination. It throws an exception after the step where I select Data Type as Application Data (the Data Type step).

The exception is as below.

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

at java.lang.String.substring(String.java:1444)

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

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

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

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

at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:197)

at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:250)

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

at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:529)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:387)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:609)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:262)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:710)

at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:339)

at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:538)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:49)

at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:239)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:130)

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

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:42)

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

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

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

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

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

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

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

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

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

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

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

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)

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

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

[/code]

In the SLD parameter settings, I have defined a BC Message Server and all Server parameters.

Please guide me to find out whats wrong with this?

DONT WORRY ABOUT POINTS, I AM AWARE OF THAT..

Regards

Ashutosh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 29, 2005 at 10:08 AM

    Hi Ashutosh,

    Have you configured your SLD?

    If yes then check whether you have specified correct sld settings in visual administrator and also check for technical system in sld.

    Regards,

    Bhavik

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 29, 2005 at 10:23 AM

    hi

    Well looks like a problem with your Message Server config. Have you configured your SLD. Ensure that you have a entry in your services file which can be found in

    c:\winnt\system32\etc\drivers\services

    There should be a entry like

    sapms<DEV> tcp/3601

    now DEV is the 3 letter System ID

    and 36 + instance number is your message server port.

    Have you loaded the CIM models into your SLD?. If not that also needs to be done.

    In your SLD ensure that you have created a WebAS ABAP System.

    Then in your Visual Administrator --> Server --> services ---> SLD DATA Supplier

    ensure you have maintained the details to connect to the SLD. Also here you can grant permissions for your WebDynpro Content admin.

    After the above steps try creating a JCO connection. That should help you.

    Let me know if you still face some problem.

    regards

    Ravi

    Add comment
    10|10000 characters needed characters exceeded