RFC works - JCo doesn't

Hello,
we have a SAP/R3 system (QW8) which we bound to an WebAS successfully ( that means that RFC call via rz70 was successful and system was added to technical landscape also).
When we try to create JCo connection, we get the following
Failed to ping JCo destination 'test2'.
or
  com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=pwdf0672 GROUP=PUBLIC R3NAME=QW8 MSSERV=sapmsQW8 PCS=1 ERROR       partner not reached (host 10.17.73.95, service sapmsQW8) TIME        Wed Nov 02 10:41:00 2005 RELEASE     640 COMPONENT   NI (network interface) VERSION     37 RC          -10 MODULE      nixxi_r.cpp LINE        8634 DETAIL      NiPConnect2 SYSTEM CALL SiPeekPendConn ERRNO       10061 ERRNO TEXT  WSAECONNREFUSED: Connection refused COUNTER     1 
The system is there, we can ping it via cmd line and we added sapmsQW8 3225 to the services file also. The PUBLIC group does also exist.
When we used rz70 we took "localhost" and "sapgw25" as params.
So maybe anybody can help us out with that,
Clemens

Hi Dharmi,
I appreciate your help very much!
So I created a JCo "test3" with Client 100 and I checked "Use local Engine" and it is an "Appl.Data" Connection
I provided my username and password in capitals of the R/3 system and Group is PUBLIC.
The ping fails and when testing it gives:
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=pwdf0672 GROUP=PUBLIC R3NAME=QW8 MSSERV=sapmsQW8 PCS=1 ERROR       partner not reached (host 10.17.73.95, service sapmsQW8) TIME        Wed Nov 02 11:25:20 2005 RELEASE     640 COMPONENT   NI (network interface) VERSION     37 RC          -10 MODULE      nixxi_r.cpp LINE        8625 DETAIL      NiPConnect2 SYSTEM CALL SiPeekPendConn ERRNO       10061 ERRNO TEXT  WSAECONNREFUSED: Connection refused COUNTER     1 
When I set up the same thing wit "Dictionary Meta Data" it says:
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=pwdf0672 GROUP=PUBLIC R3NAME=QW8 MSSERV=sapmsQW8 PCS=1 ERROR       partner not reached (host 10.17.73.95, service sapmsQW8) TIME        Wed Nov 02 11:27:37 2005 RELEASE     640 COMPONENT   NI (network interface) VERSION     37 RC          -10 MODULE      nixxi_r.cpp LINE        8625 DETAIL      NiPConnect2 SYSTEM CALL SiPeekPendConn ERRNO       10061 ERRNO TEXT  WSAECONNREFUSED: Connection refused COUNTER     1
Regards,
Clemens

Similar Messages

  • Big Problem: ABAP-RFC and JCO  client

    Hi Friends,
    I am a java developer in trouble with a ABAP/RFC, and I dont have idea whoe lese ask for help
    This is the situation:
    In order to send a "candidates resume" (curriculum) in to SAP,
    the ABAP developers made for me a RFC which uses the transaction PB10 (applicant master data).
    The rFC when tested in the SAP GUI works fine.
    I wrote a java client which calls the RFC, send the parameters and expect the results.
    This client uses JCO to access SAP.
    But, from the java client the RFC works PARTIALLY.
    I mean, it creates the applicant, fills his name, address (infotypes 002,006,001)
    but doesnt fill the education a qualifications (infotypes 22 and 24).
    I am trying to figure why.
    Some of the internal ABAP errors code that we get are:
    DC -006
    PA -054
    5A -135
    Also I get this message:
    "Exception condition "CNTL_ERROR" raised"
    Please, I am a java-per lost in the SAP land.
    Thanks in advance by any help!!!
    PD: I could sent you the ABAP code of the RFC or the java code of the client if necessary.

    That CNTL_ERROR tells me that its trying to access a gui control which I don't is possible thru jCo.  Gui Controls are very dependent on the SAP Gui Frontend.  Since you are calling the transaction thru jCo,  it oviously doesn't know what to do with it.  Any chance that you can get a hold of the ABAP developer which wrote it initially?  Maybe there is another transaction that can be used instead of the PB10 transaction.
    Regards,
    Rich Heilman

  • Problem in RFC as JCO changed from user/password to  SSO

    Hi all
    Initially i was using CO with user/password properties but now it has been changed to SO.
    In my webdynpro project there are 3 RFC Models being used.
    Out of which 2 are working fine and giving the desired results but 1 RFC works fine on the R/3 side but from the webdynpro side it does not work just displays bapireturn - "Not successful".
    As the properties of the JCO changes to USer/password , the RFC works fine giving the desired results
    Plz let me know wht cld be the problem
    Thanks and Regards

    Vindhya,
    With SSO, the details of the user who's logged in goto R/3 and thus determines if the user has authorizations to run this RFC. This user could be different from the user you were using previously without SSO.
    Meaning, this time, with SSO, the user is you whereas the user for user/pwd is someone else and you dont have authorizations to run the RFC??
    And another thing, even if you can successfully run that RFC logging into R/3, your userid may not have RFC authorizations (which is required to do a RFC call). IF thats the case, you need to talk to your security/basis guys.
    Lemme know if that could be the case in your situation.
    Rajit
    Message was edited by:
            Rajit Srinivas

  • RFC sender adapter doesn't reconnect after a R/3 down

    Hi everybody,
    We are in PI 7.0.
    The RFC sender adapter doesn't reconnect automaticaly after a shutdown/restart of the R/3 system.
    Theoritically, the system should retry after 2, 4 .... 3600 seconds  but it doesn't do.
    Is there anybody who have an idea ?
    Thank in advance.
    Best regards.
    Eric.

    After the restart of R/3 system , when I look in SM59, I receive the answer that the program is not registered ( RFC sender adapter) .
    As I told in my previous post, since the RFC adapter has lost the connection, the RFC destination is not registered. Just try to stop/start the channel and reactivate. the destination should work fine then.
    I read in documentation that is done automatically but that is not the case.
    Thats right. but it doesn't happen usually. probably u can ask SAP to explan this with an OSS

  • The application DOCS doesn't work. Doesn't have HELP. it is very bad. Help me. My ID is regobarros.thanks in advance

    The application DOCS doesn't work. Doesn't have HELP. it is very bad. Help me. My ID is regobarros.thanks in advance

    Also it was not and never has been jailbroken if that helps.

  • When i upgrade my Mac Pro to yosemite safari doesn't good work and doesn't save bookmark plz help me to fix it

    when i upgrade my Mac Pro to yosemite safari doesn't good work and doesn't save bookmark plz help me to fix it

    hi
    when i save a page as boomark shown at the bookmark list when i close safari and restart safari evry bookmark that i saved dosn't show at the bookmark list
    excuse me for whriting i speak a little english
    1 save bookmark and show at the bookmarklist
    2 i close safari
    3 and reopen it
    4any bookmark ,i saved them dosn't show at the bookmark list

  • Hi everyone, I have a computer linked to my iPAD through itunes.  Then my Computer crashed and had to get  a new one. How do I get rid of the old computers link on ipad and get it on new computer bcos is wont work! (doesn't work) PLZ HELP :(

    Hi everyone, I have a computer linked to my iPAD through itunes.  Then my Computer crashed and had to get  a new one. How do I get rid of the old computers link on ipad and get it on new computer bcos is wont work! (doesn't work) PLZ HELP

    what do you mean the old computers link?
    my ipad is sycned with my computer but nowhere is there a link
    and if I connected it with a new computer and set it to sync it would replace all my data with the data from the new computer

  • My iphone 6 connects to the car via bluetooth, the music works good, but the phone calles does not work.  It looks like it is working but doesn't.  I have tried in my Hyundai and a Dodge rent car and get the same results.  I updated the last 8.0.2.

    My iphone 6 connects to the car via bluetooth, the music works good, but the phone calls does not work.  It looks like it is working but doesn't.  I have tried in my Hyundai Sonata and a Dodge Dart rent car and get the same results.  I updated the last 8.0.2.  It worked the first day i had the phone, and then i updated to Ios 8.0.2 and it quit working.
    Now when i get in the car, it acts like it is connected and makes the same call it was on after syncing to bluetooth, but it really isn't on a call.  This is happening on both cars.
    Does anyone know if this is the phone and i need to take it to Apple or if there is an issue that Apple is working on getting a fix for?
    My son in law has the exact same phone as me, we both got the on 10/6, he had a Dodge Dart and his is working via bluetooth.
    Someone HELP please, as i consider this a safety issue by not having my calls go to bluetooth.

    We had the same problem, but figure out the solution.
    You MUST have at least 1 song added to your ITUNE!  After you add a free song, then everything else should work as normal!
    Hope this helps!

  • My iTunes suddenly stopped working and doesn't recognize any of my devices and gives me a AMD error. I've tried several times to uninstall all Apple programs and reinstall to no avail. I'm running windows 7 on a Dell laptop. It worked fine for years .

    My iTunes suddenly stopped working and doesn't recognize any of my devices and gives me a AMD error. I've tried several times to uninstall all Apple programs and reinstall to no avail. I'm running windows 7 on a Dell laptop. It worked fine for years then I decided to update my iPhone 4S and it didn't recognize it or any other iPod or iPad.
    Can someone please help ?

    I am having all sorts of problems with 9.1.1.Crashes and not only iTunes but I have to restart all the time.
    GET TO WORK APPLE !!!!

  • HT201210 I started update connected to my work computer....it started update and now it is asking me to connect to Itunes, which I have but my work computer doesn't have my Iphone information..... I can't use my phone now when I start up it says connect t

    I started update connected to my work computer....it started update and now it is asking me to connect to Itunes, which I have but my work computer doesn't have my Iphone information, it says I have the latest software, my only option is to "restore phone" which I don't want to do here at work as none of my apps or music are showing up ..... I can't use my phone now when I start up it says connect to itunes.....

    Mozilla has nothing to do with a Microsoft product activation key.
    That "test" page should be viewed in Internet Explorer and not with Firefox, as it may use ActiveX which isn't compatible with any Mozilla product.
    [https://support.mozilla.com/en-US/kb/ActiveX]

  • Why clipping path postponed from a photoshop in indesign at operation of addition of the new channel by means of work path doesn't work

    why clipping path postponed from a photoshop in indesign at operation of addition of the new channel by means of work path doesn't work 

    Please elaborate the issue and Supply pertinent information for quicker answers:
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • Micosoft word isn't working. it said to see available updates so i did and updated it and sill doesn't work. it doesn't open.

    micosoft word isn't working. it said to see available updates so i did and updated it and sill doesn't work. it doesn't open.

    Since Word is made by Microsoft please post your quesiton on their own forums for their Mac software.  Apple Communities only provide support for Apple products:  http://www.officeformac.com/productforums

  • Locked Work Status doesn't work

    Hi
    This is a new case.
    I have original work status like this. I show MAN only in this example
    Unlock    MAN=unlock
    Submitted MAN=owner
    Approved  MAN=locked
    Then I add a new work status line as the intial state
    Start     MAN=locked
    Unlock    MAN=unlock
    Submitted MAN=owner
    Approved  MAN=locked
    The purpose of the Start work status is to prevent the user submit something at the initial state.
    But the Start work status doesn't lock anything, user is freely to submit data on this work state.
    My analysis,
    I changed the current work status from Start to Unlock and switch it back to Start and the lock does its job.
    Anybody has the same issue?
    Halomoan
    Edited by: Halomoan Zhou on Aug 26, 2008 11:50 AM

    It is logical that it works only after you upgrade to unlocked and downgrade again. The workstatus mechanism makes use of a table called tblFINANCElock (or what name your application has). In the beginning there are no records in this table which indicates that the data is unlocked. Once you update the status for the first time a record is generated with a status. From now on the system can link the records to the work status setting that you have defined and see that status "start" should lock the data. I think this functioality works as it is intended, and the only workaround for you is to lock and unlock the data before the users start entering data for that period.
    -Joost

  • My camera doesn't work + it doesn't recognize external cameras. what's the problem here?

    I set up a new windows 7 version for my laptop (probook 4510s) & the camera doesn't work + it doesn't recognize any external camera. So how to fix my camera & get it back to work?

    What kind of external camera is this? I am assuming it is a USB camera? Make sure that you aren't using any USB hubs. Also try connecting it to another USB port. Have you installed the drivers from the camera manufacturer yet?
    Thanks,
    Sean
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • RFC works but web service for that RFC does not work..weird??

    hi all,
    I created an RFC enabled function module to create a Sales Order in SAP CRM for both for Varinat Configurable and Normal Materials.
    The RFC Works well...if i test it..it creates an order and if i go and check the sales order in CRM GUI. i find that sales order is perfect with the configuration data for the configurable items..
    Now i created a Web service for this RFC by calling the Web service creation wizard.
    Now i am testing the Web service in SOAMANGER T-code and the sales order is created and weird thing the configuration data is missing for Varinat configurable item..
    But i dont encounter this problem if i am testing the RFC directly
    What could be wrong...why is my web service behaving weird?
    I am dying to find this out..did any body enocunter this situation befor ..please help

    Sure Oliver..
    I put a break point using external debugger and when i was testing the Web service in SOAMANAGER..
    i could then land into ABAP debugger.
    There in my RFC i put a logic such that i diffenetiate between VC and Non-VC items and fill the Charateristic Values only if it is aVC item.
    I saw that the IF condition was not executing as they suddenly changed the material structure in ECC and it reflected in CRM.
    SO i am inputting 18 digits of material no like '000000000000000001' for '1'...but the if condition was checking against 1 =1 so that loop never executed and chara values are not getting filled.
    But if i test RFC in se37 ..it works as i am inputting 1...
    Since Web service works with XML (WSDL) need to be very careful with the format in which data is inputted and the format in which the logic we wrote in RFC works.
    Once again ..thanks to all people who helped me with the answers...
    Regards,
    Jessica Sam

Maybe you are looking for

  • Trying to find the best format for an external hard drive

    I have a new iMac 20", and I am now converting an external hard drive I had on another computer to be compatible with this one. The ext. HD was formatted as NTFS, and I would like to make it much more easily read/write. I've tried using various tools

  • Help with Zen Micro installat

    I bought a Zen Micro and came home extremely excited, having previously owned a Zen Xtra 30GB complimented by an Audigy 2 soundcard. I put in the installation cd; as the drivers for the Micro are being installed, it stops at 99% saying "Jukebox Drive

  • Apple Mail not received by Optonline etc.

    I send and receive mail using Apple Mail program with several email accounts (Comcast, Gmail, Mac/Me) I have a couple people who never get my email if I send using Mail, but if I send using Gmail's web browser interace, it works.  I have Mail setup s

  • Error when installing Eclipse 3.1

    I am trying (<b>emphasis on trying!)</b> to install Eclipse on my system and getting the following error message: JVM terminated. Exit code=2 c:\WINNT\system32\javaw.ese - cp c:\eclipse\startup.jar org.ecliplse.core.launcher.Main - os win32 - ws win3

  • OIM manipulating provisioning - description on resource profile

    Kamaraden! I have an OIM installation with AD and Exchange connectors. When users are provisioned, going back to the resource profile, you can see the resource and several data, for example the Description field. For AD User, descriptions shows the w