Skip to Content
author's profile photo
Former Member

jCoClientConnection test

Hi,

I'm trying to connect the PDK to one of our R/3 systems and seem to have run into a snag. When running the system viewer, everything works. When running the jCo destination viewer, everything works. When running the System Test, the "Check for launching WinGUI and PlatinGUI transactions" works and the "Check for launching WebGUI transactions, EasyWebTransactions and BW 2.x objects" works. BUT... when running the JCOClientConnection test, I get this:

Test failed: Getting JcoClientService ...

Variant: jCo connection test for DEVCLNT300

Client successful created

Error while getting connection:

Stack trace:

com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Open file 'saprfc.ini' failed: 'No such file or directory'

Client logon data

USER = null

I don't know what to do from here. I read one post that said something about applying patches, but what kind of patches are there for the PDK? Where would I find this file?

TIA (thanks in advance).

Kevin

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Mar 05, 2004 at 10:07 AM

    Hi Kevin,

    no, sorry, dont have a solution or explanation. But at least I am struggling with the same contrarieties. I found out that the PDK (5.0.5) is looking for that file in %tomcat%\bin. Creating this file (an empty saprfc.ini in that folder) leads to another exception: "Destination '' not found in saprfc.ini"

    This indicates imo that the sapjco.jar methods dont use the landscape definitons, especially the jcodestinations.xml. Or at least these data are not sufficent to create the connection. If you discover a solution for this problem please let me know, so as I do for my part.

    Greets.

    Matthias

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Mar 05, 2004 at 03:32 PM

    Hey Matthias,

    I installed the new SAP jCo 2.1.2, following all the instructions and I'm getting a little bit of a different error now. It says:

    Test failed: Getting JcoClientService ...

    Variant: jCo connection test for DEVCLNT300

    Client successful created

    Error while getting connection:

    Stack trace:

    <b>com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: :2W:002</b>

    Client logon data

    USER = null

    At least it's not telling me that saprfc.ini does not exist, but now I have to figure out what 2W:002 means.

    Maybe this wil help a bit.

    Check these out...

    http://service.sap.com/connectors/ (SAP Java Connector)

    and

    http://service.sap.com/notes/

    note #: 413708, 516636, 683100 (these could be helpful)

    Kevin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I'm running windows xp, could you give me an example of what you did within your hosts and services files? Not sure what you mean in your reply (should I list the IP address, localhost name, and then the port number for each R/3 instance?) This should go in both the hosts and the services file I assume.

      Thanks in advance,

      Kyle