Skip to Content
author's profile photo
Former Member

Source not found for JCO$Client.connect()

Hi All,

I am trying to create JCo with my SAP system through a java class.

I have added sapjco.jar. When I try to debug the java class I get the error Source not found for JCO$Client.connect() line: 3248. Before this error one pop up comes "debugger source lookup" stating that The source of the 'com.sap.mw.jco$Client' could not be shown as the type was not found. And in this window it shows me jrfc.jar under my java project and there some buttons to add jars, external jars.

But it is not showing sapjco.jar. What is the problem? Do I have to add additional jars.

cheers

jayant

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • author's profile photo
    Former Member
    Posted on Aug 10, 2007 at 08:32 AM

    Hi Jayant,

    Are you develop your application as a Development Component?

    If yes, then you must add the JCO DC to used DC's of your DC.

    Regards!

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 13, 2007 at 05:40 AM

    Hi,

    Have you added sapjcorfc.dll and librfc32.dll libraries in your WINDOWS folder?

    Regards,

    Dhanasekar K

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 21, 2007 at 11:33 AM

    maybe this is just because there is no source code for the JCO Classes. I don't think SAP ships JCO Classes with source Infos for debugging.

    In debugging i would suggest just not to step into the JCO Methods.

    franz

    Add comment
    10|10000 characters needed characters exceeded