Error in JCo Connection creation

Hi All,
When I create a JCo connection on my local J2EE it fails with the error enclosed as below:
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=frces4066 GROUP=PUBLIC R3NAME=AM1 MSSERV=sapmsAM1 PCS=1 ERROR       partner not reached (host frces4066, service sapmsAM1) TIME        Mon Apr 03 18:44:33 2006 RELEASE     640 COMPONENT   NI (network interface) VERSION     37 RC          -10 MODULE      nixxi_r.cpp LINE        8596 DETAIL      NiPConnect2 SYSTEM CALL SiPeekPendConn ERRNO       10061 ERRNO TEXT  WSAECONNREFUSED: Connection refused COUNTER     1 
When I try and ping the JCo the error is as enclosed below:
Failed to ping JCo destination WD_COMMITMENT_MODELDATA_DEST
I have maintained the enteries in hosts file as well as the services file and when I telnet the server on port 36XX where XX is the system number of the system I create the JCo for it connects successfully.
When I test the CIM test for the SLD that connects successfully.
Where and why is the JCo failing after creation?
Can someone throw some light on this error.
Thanks in advance for all your help.
Best regards,
Divya

Hi All,
Anyone can help? I got the same problem. It seems that the PUBLIC group in NSP ABAP system can't not be accessed.
Here is my system landscape:
- I have installed the Java and ABAP in the same host
- My ABAP system is NW2004sSneakPreviewABAP, Java is SAPNetWeaver04_SP16Preview
1) I set up SLD successfully (import CIM, run <b>RZ70</b>, the ABAP system shown up in the Technical Landscape in SLD
2) I created JCO destination with Load Balancing but it failed to ping and to test
3) I already define the group 'PUBLIC' in tx <b>SMLG</b> but from SAPGUI I can't add the group. I got the error message "<b>Message Sever could not find any group</b>".
4) The PUBLIC group does not show if I run the program <b>'lgtst'</b>.
Test lgtst:
===========
c:\usr\sap\NSP\SYS\exe\nuc\NTI386><b>lgtst.exe -H hpxp2 -S sapmsNSP</b>using trcfile: dev_lg
list of reachable application servers
<b>[hpxp2_NSP_00] [hpxp2] [10.10.0.10] [sapdp00] [3200] [DIA UPD ENQ BTC SPO ICM ]</b>
c:\usr\sap\NSP\SYS\exe\nuc\NTI386>lgtst.exe -H hpxp2 -S 3600
using trcfile: dev_lg
list of reachable application servers
[hpxp2_NSP_00] [hpxp2] [10.10.0.10] [sapdp00] [3200] [DIA UPD ENQ BTC SPO ICM ]
James

Similar Messages

  • Cockpit doesnu0092t work (SAP AII 4.0) - Error in JCO connection

    Hi all,
    After some days working with the "Cockpit" in AII 4.0, today we can not access to it and we don’t know why.
    When we execute the transaction “/AIN/DTUIURL - Auto-ID Cockpit”, we do logon and after that it appears the error:
    "Failed to process the request. Please contact your system administrator.” Pressing on “Show Details”, in “Error stacktrace” we can see the following:
    "com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type com.sap.ain.model.utility.types.Syuname could not be loaded: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection."
    In fact, we have the same problem (an error in JCO connection) when IDOCs try to be sent from R3 to AII or vice versa. We can see in transaction sxmb_moni of XI system this error.
    Does anybody know where the problem could be?
    Thanks in advance,
    Xavier

    Hi,
    Thank you for this question. What you are reporting looks to me like a bug. The channel for such questions is the Service Marketplace http://service.sap.com/. Please post it there.
    Best regards,
    Steve

  • Error In JCO Connection

    Folks,
    I am getting the following error listing while connecting to R/3 system using JCO.
    In first try block
    sales order
    In sales order try block
    java.lang.NoClassDefFoundError
         at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:831)
         at com.sap.mw.jco.JCO$Client.connect(JCO.java:2992)
         at com.sap.mw.jco.JCO$Pool.initPool(JCO.java:4449)
         at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:5827)
         at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:5782)
         at com.sap.mw.jco.JCO.getClient(JCO.java:8059)
         at com.sap.mw.jco.JCO$Repository.queryFunctionInterface(JCO.java:19581)
         at com.sap.mw.jco.JCO$Repository.getFunctionInterface(JCO.java:19705)
         at com.sap.mw.jco.JCO$BasicRepository.getFunctionTemplate(JCO.java:18773)
         at com.i3l.sukanta.project.tCon.salesOrders(tCon.java:57)
         at com.i3l.sukanta.project.tCon.main(tCon.java:112)
    Exception in thread "main"
    I am following the following program below:
    Created on Jul 5, 2006
    To change the template for this generated file go to
    Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    package com.i3l.sukanta.project;
    @author sukanta
    To change the template for this generated type comment go to
    Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    import com.sap.mw.jco.*;
    //import com.sap.mw.jco.rfc.*;
    public class tCon {
         static final String SID = "KDC";
         IRepository repository;
         public tCon()
              try
                   JCO.addClientPool(
                   SID,               // System ID i.e alias for this pool ??
                   10,                    // max no of connections
                   "100",               // SAP Client
                   "XXXXX",          // userid
                   "XXXXX",     // password
                   "EN",               // language
                   "XXXXX",          // host name
                   "00"               // system number ??
                   repository = JCO.createRepository("MYRepository", SID);
                   System.out.println("In first try block");
              catch(JCO.Exception ex)
                   System.out.println("In first catch block");
                   System.out.println("From Sukanta:Exception throuwn"+ ex);
         //Retrieves and prints list of sales orders
         public void salesOrders()
              System.out.println("sales order");
              JCO.Client client = null;
              try
                   System.out.println("In sales order try block");
                   //Get a function template from the repository
                   JCO.Function function = repository.getFunctionTemplate("BAPI_SALESORDER_GETLIST").getFunction();
                   System.out.println("after BAPI & BEFORE RECORD");
                   //Fill in input parameters
                   JCO.ParameterList input = function.getImportParameterList();
                   input.setValue("0000001200", "CUSTOMER_NUMBER");
                   input.setValue("1000", "SALES_ORGANIZATION");
                   input.setValue("0", "TRANSACTION_GROUP");
                   System.out.println("AFTER RECORD");
                   //Get a client from the pool
                   client = JCO.getClient(SID);
                   //Execute function the remote system
                   client.execute(function);
                   //Print return message
                   JCO.Structure ret = function.getExportParameterList().getStructure("RETURN");
                   System.out.println("RETURN MESSAGE: " + ret.getString("MESSAGE"));
                   //Get a reference to the table which contains the orders
                   JCO.Table orders = function.getTableParameterList().getTable("SALES_ORDERS");
                   if(orders.getNumRows() > 0)
         //            Loop over all rows
                        do
         //                      Loop over all columns in the current row
                             for(JCO.FieldIterator e = orders.fields(); e.hasMoreElements();)
                                  JCO.Field field = e.nextField();
                                  System.out.println(field.getName() + ":\t" + field.getString());
                             }//for
                   while(orders.nextRow());
                   else
                        System.out.println("No results found");
                   }//if
                   catch(Exception ex)
                        System.out.println("Caught an exception: " + ex);
                   finally
                        // Always release client !!!
                        JCO.releaseClient(client);
                   //try
         //            Main program
                   public static void main(String[]argv)
                        tCon jcoconnection= new tCon();
                        jcoconnection.salesOrders();
    Plz help me asap.
    regds,
    S

    Hello S,
    you've marked your question as solved. What was your solution?
    Regards
    Gregor

  • Error with JCO connection ?

    Hi,
    I used the example TutWD_FlightList yo test Web-dynpro , Then after I deployed to the Server . I enter 'Web-dynpro' to create 2 JCO connections . There were 2 cases :
    1. If I chose Application Data & Single Server Connection . Test is OK ( Connection for 'WD_FLIGHTLIST_MODELDATA_DEST' was sucessfully tested with user 'XXX' ) . And the if I run the web-dynpro I get the error :
    The initial exception that caused the request to fail, was:
       com.sap.dictionary.runtime.DdException: 'WD_FLIGHTLIST_RFC_METADATA_DEST' not properly defined! Unable to create Metadata connection for Dictionary Provider. Either the logical System Name 'WD_FLIGHTLIST_RFC_METADATA_DEST' has not been properly defined in the System Landscape Directory, or you are not using a MsgServerDestination (AppServerDestinations are not permitted for Metadata connections)
        at com.sap.dictionary.runtime.ProviderFactory.internalGetProvider(ProviderFactory.java:191)
        at com.sap.dictionary.runtime.ProviderFactory.getProvider(ProviderFactory.java:146)
        at com.sap.dictionary.runtime.DdDictionaryPool.getProvider(DdDictionaryPool.java:97)
        at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:79)
        at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:48)
        ... 54 more
    But If I chose 'Dictionary Meta Data ' ( When create JCO connection ) , The test was not successfull , Here I have only 1 R/3 Server So i do not use message server for load balancing . So In my case How can I do ?
    Thanks

    hi,
    please find out the below link it will be useful to u.
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0019b1a-775f-2910-beb8-d81f27d0d8d0]
    in order to call the BAPIs from the backend system Logical destionations should be created properly for ur R/3 system and they should be in enable mode. please check it once. and also check ur message server once.
    Thanks
    Anu

  • Error during JCO connection

    Hi,
    I am currently running on EP6.0 sp2(J2ee engine 6.2).
      During Jco connection executing BAPI in the Bakened system i am getting the followinmg error.
    <b>com.sapportals.portal.prt.component.PortalComponentException 31 : >>
    > com.sapportals.portal.prt.component.PortalComponentException
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : Connect.Bapi_getlist
    Component class : pkg.Bapi_getlist
    User : 511972
    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:858)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:310)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
    at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
    at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:666)
    at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:313)
    at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
    at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
    at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
    at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
    at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    > Caused by: java.lang.NoClassDefFoundError
    at pkg.Bapi_getlist.doContent(Bapi_getlist.java:38)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
    at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
    at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:666)
    at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:313)
    at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
    at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
    at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
    at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
    at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    <</b>
    the same code when i am executing in the WAS 6.4 system
    its executing properly.
    why its throughing error in EP6.0 sp2(J2ee engine 6.2) Portal server.
    Regards

    Hello,
    Please see if note: 765461 is relevant for you.
    Best Regards,
    Ran

  • Error in JCo Connections

    Hi All,
       Suddenly i am getting this error In JCo application type connections
    com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: 'password' missing
    How to resolve this error?
    Regards,
    Phanikumar

    Hi
    Check your JCo connection definition..
    The usrname/password is missing in the JCo connection definition
    for JCO Metedata.
    Use JRFC or JCo trace to find out..
    Before that just review the JCo connection definition to fix this
    Hope this helps
    Cheers
    Senthil

  • Error in JCO Connection prorgam

    Hi Experts,
    I am developing one tomcat application using servlet. In servlet i am connecting to R/3. For this i am writing JCO Connection code. This Java file is compiled, but while running the servlet in browser it is giving exception like
    java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [no sapjcorfc in java.library.path]. java.library.path [C:Tomcat 5.0bin;.;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:jdk1.5.0_12bin;C:Program Files (x86)AdobeFlex Builder 2Flex SDK 2bin;C:j2mej2me_cldcbinwin32;C:j2memidp1.0.3fcsbin;C:jdk1.5.0_12libsapjco.jar]
         com.sap.mw.jco.JCO.<clinit>(JCO.java:738)
         ConnectToR3.getConnection(ConnectToR3.java:25)
         HitServlet.doGet(HitServlet.java:29)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    How to slove this problem. Is their any other way to connect to SAP R/3 from Servlets. I created normal java program without servlets, it's wokring fine. But If paste the same code in servlets mean it is giving above Exception.
    Please Help me........ Give any solution to this problem.
    Regards,
    Sunil

    sapjcorfc.dll is required on the server to handle jco connections.
    It seems it is not there or if it is there but is not part of "path" environment variable on the server.
    1) Go to you server. Search for this file and add the directory containing this file to path environment variable for server. You have to restart your server.
    2) It runs in your local java program because your local java program runs in local JVM instance. And on your local machine you have the sapjcorfc.dll plus its folder being in part of path environment variable.
    3) The servlet runs in ServletContext on the server JVM instance where the sapjcorfc.dll cann't located.
    Regards,
    Ashwani Kr Sharma

  • JCO Connection Creation

    Hi,
    When I am trying to create JCO Connection in Webdynpro Content Admin ,
    In step 2 it is asking for Connection
    Message Server Connection / Application Server Connection
    >>If I choose Message Server Connection , I am getting a runtime exception .
    >>If I choose Application Server Connection , The Application Server DropDownList is blank.
    >>Also there is a Use Router CheckBox , if I check this what should I give in the SAP Router InputField.
    Can anyone help.
    Thanks in Advance

    Hi Chemmam,
    I guess you have not created technical system in SLD.
    You need to first create your technical system in sld.
    Goto link http://<host>:<port>/sld
    there choose Technical landscape link and then click on "New Technical System". I gives one wizard. Give information about your ABAP system there.
    Now, you can see this system in the drop down.
    Regards,
    Bhavik

  • Need help in JCO connection creation/maintanence.

    Hi,
       In our project we have EP system ( Java Stack).We need to form the JCO connection that is required to deploy the web dynpro applications.We have taken a couple of JCO connection which are already there  SAP_R3_HumanResources  & SAP_R3_HumanResources_Metadata.For SAP_R3_HumanResources_Metadata JCO connection the user existing is a dialog user,also not having sufficient authorization to access all DDIC functions.My question is that what authorization required to user in this case to access all DDIC functions?Also for SAP_R3_HumanResources JCO connection what all prerequisites we require?.In this environment CD2 ( Dev.SAP system) is acting as backend to production portal PP6 system.Please let me know if you want any more details from my side.

    Hi nileshshete
    I quote this from sap-img.com:
    There are many functions of DDIC user.
    For E.g.. When you configure TMS you won't be able to configure it using sap*. For this you need a user who has access to Data dictionary and ABAP repository Object like DDIC user or user with sap_all and sap_new permission.
    http://www.sap-img.com/basis/function-and-role-of-user-types.htm
    I think u need a user with sap_all premission.
    Hope it helps,
    Nitsan

  • Error In JCO Destination Creation

    Hi,
    I'm creating JCO Destination in Web Dynpro for Java. While finishing the JCO Destination wizard it shows a error as follows:
    Root Cause
    The initial exception that caused the request to fail, was:
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.RangeCheck(ArrayList.java:507)
        at java.util.ArrayList.get(ArrayList.java:324)
        at com.sap.tc.webdynpro.progmodel.context.Node$ElementList.getElement(Node.java:2022)
        at com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:617)
        at com.sap.tc.webdynpro.progmodel.context.Node.setLeadSelection(Node.java:749)
        ... 45 more
    But the JCO Destination is created successfully and I can test and ping tit successfully. But it becomes the part of System Denied JCO Destinations.
    In the server log file I'm getting the following log:
    1.5#00112F5374F1005B0000011100000EDC000443BF97417983#1200390062389#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#0#####SAPEngine_Application_Thread[impl:3]_14##0#0#Error#1#/System/Server/WebRequests#Plain###Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Cannot navigate via outbound plug tointeractiveForm of view InvoiceListView because there is no navigational link attached to it
    Exception id: [00112F5374F1005B0000010F00000EDC000443BF974176DF]#
    #1.5#00112F5374F1004F0000055B00000EDC000443BFA0A4587B#1200390219953#com.sap.tc.webdynpro.sessionmanagement#sap.com/tcwddispwda#com.sap.tc.webdynpro.sessionmanagement.ExceptionHandler.handleThrowable#subhayuds#116#####J-Integra for .NET TP Thread 2##0#0#Error#1#/System/UserInterface#Java###Exception occured during processing of a Web Dynpro application: "java.lang.IndexOutOfBoundsException: Index: 0, Size: 0".
    [EXCEPTION]
    #1#java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:507)
    Can anybody help to find out this problem.

    Hi,
    This is a Web Dynpro bug. You need to apply the latest patch for Web Dynpro runtime.
    Regards
    Srinivasan T

  • Jco connection creation for plan modeler on BI 7.0

    If I open plan modeler RSPLAN on BI 7.0 I am getting u201CJco connection not availableu201D message so I tried to create the connection from webdynpro content administrator.from there I could see all the connections in red colour
    BI_MODELDATA
    BI_METADATA
    WD_ALV_MODELDATA_DEST
    WD_ALV_METADATA_DEST
                                 So I have chosen u201Ccreate u201Coption of the above connections to establish Jc0 .please let me know what parameters to be given for each settings.
    For example we take BI_METADATA ,
    General data:
    Name : BI_METADATA
    Client u2013 xxx ( should we have to give BI client no here ,by default it shows 000)
    J2ee cluster :
    Default :hostname ( no doubt)
    Connection type:
    Dictionary melta data( chosen by default u2013 no doubt)
    Application data:
    Message server :SID hostname (no doubt)
    System name
    Logon group:
    User authentication :\
    Username : **** ( should I have to give the user name of BI client)
    Password
    Confirm password :
      Please carify the above doubts and help me out to resolve the issue Plan modeler
    Once I set the connection of each should I have to restart JAVA engine,
       I would appreciate all your help and suggestion

    Take the Basis help to troubleshoot it
    919850 Problems with the planning modeler and the planning wizard
    901022 Integrated planning: RSPLS321 (J2EE engine not found)
    947376 Troubleshooting JCo and AdaptiveRFC in Web Dynpro for Java
    One more thing is to check if the SLD is maintained properly or not:
    Hope it Helps
    Chetan
    @CP..

  • Error in creating JCo connection with destination type'Load-Balanced Con'

    Hi,
    I am working on webdynpro application(NW 04s), i need to connect with the backend system(ECC 6.0) using model.I configured my SLD and created technical system successfully.
    The technical system got created with an error:
    CIM_ERR_ALREADY_EXISTS: Instance already exists: SAP_BCApplicationServer.CreationClassName="SAP_BCApplicationServer",Name="ID1.Number.01.HostName.ahsides"
    But the system got created so I proceeded with Jco connection creation:
    I need to create 2 Jco connections for this,
    First with Data Type 'Application Data' & Destination Type 'Single-Server connection'. Second with Data Type 'Data Dictionary' & Destination type 'Load-balanced Connection'. 
    The first Jco with 'Single-Server connection' got created successfully and ping and test is also successfull.
    The second Jco connection with 'Load-Balanced Connection' got created successfull but it is throwing error while pinging and testing.
    Ping Error : Failed to ping JCo destination 'WD_EMPLOYEE_RFC_METADATA_DEST'.
    Test Error : com.sap.mw.jco.JCO$Exception: (102) JCO_ERROR_COMMUNICATION: JCO.Client not connected in repository call
    Please help me in this.This problem was with 'Load-Balanced Connection' only.

    Hi,
    Have you taken a look at the file %windir%\system32\drivers\etc\services?
    If you haven't, try and find the line sapms<sid>, where sid is de SID of the system you-re trying to reach.
    If the line isn't there write it down like this.
    sapms<sid>     36<nr>/tcp
    That works for me.

  • JCO Connection test fails taking wrong IP Address

    Hi All,
      We are configuring JCO Destinations(MODEL & METADATA) for ECC 6.0 system. Our portal is on EP7.0 SP8.  Our server i.e.ECC and Portal are in two different networks.
    The problem here is, for our ECC system we have two IP Addresses.
    1. Internal IP Address (130...*) -- on which our ECC system is configured
    2. External IP Address (10...*) -- to access the ECC from outside network.
    We are able to connect to ECC system with external IP address from Portal server using SAP GUI. We have configured hosts file entries referring ECC system for external IP.
    We have configured the ECC system in SLD and configured the JCO destinations for the same. But, Connection tests to the JCO system are failing (partner not reached) as it is referring to internal IP even though we have configured ECC system for external IP address in portal server.
    We are getting the follwoing error for JCO Connection test:
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM  TYPE=B MSHOST=sapsys GROUP=ESS R3NAME=SYS MSSERV=sapmsSYS PCS=1 LOCATION    CPIC (TCP/IP) on local host with Unicode ERROR       partner '130.7.8.88:sapgw00' not reached TIME        Thu Dec 21 10:25:24 2006 RELEASE     700 COMPONENT   NI (network interface) VERSION     38 RC          -10 MODULE      nixxi.cpp LINE        2764 DETAIL      NiPConnect2 SYSTEM CALL connect ERRNO       10061 ERRNO TEXT  WSAECONNREFUSED: Connection refused COUNTER     1
    <b>Why JCO destinations are trying to connect ECC system using the internal IP address even though we didn't mention it anywhere in our portal server configurations?</b>
    Please Suggest
    Thanks much in advance.
    Cheers...
    S..S

    Hi
    Please try this:
    First remove the configured ECC from SLD.
    Logon the SAP R/3 (ECC).
    Run rz70 (T-code).
    Enter the serverIP:port of the EP server in the host.
    Enter the “sapgw” in the service.
    Check the option SLDRFC for test and activate the current configuration
    Then again add the ECC in your SLD.
    And please check the entry in the host file also and try to ping the ECC server from the EP server.
    Hope this will help you.
    Thanks & regards
    Arun Singh

  • JCO connection help

    Dear all,
      After go though the steps of the JCO connection creation wizard and specify the connection data.When i  press finish ,i ge this statement "JCo destination 'WD_MODELDATA_DEST' was successfully updated in SLD. " but my status for this JCO connection still showing RED,any idea? thank you

    problem solved..thx all

  • JCo Connection / RFC in Pricing Userexit

    Hi Experts,
    Need your help: I have a requirement to make a RFC call in IPC Pricing Userexit.  First I made a simple test java class to make RFC call and run it locally without any problem. then I copy the same code to the Userexit, but it failed on the 1st statment JCO.createClient(.....).  Do I need to add a different JAR file to make JCo Connection work in the Userexit? Any advise or documentation?.
    Thanks, Jin
    Here is the error message:
    Message: document not existing
    --> com.sap.spe.document.rfc.DocIllegalArgumentException: document 49149C3E59925857E10000000A02901D not existing
    at com.sap.spe.document.rfc.DocHandlerAdapter.appendProtocolLine(I[Ljava/lang/Object;)V(DocHandlerAdapter.java:123)
    at com.sap.spe.document.rfc.GetPricingDocumentInfo.handleDocRequest()V(GetPricingDocumentInfo.java:73)
    at com.sap.spe.document.rfc.DocHandlerAdapter.handleRequest()V(DocHandlerAdapter.java:72)
    at com.sap.spe.base.util.jco.HandlerAdapter.handleRequest(Lcom/sap/vmc/RFCContainer/Call;)V(HandlerAdapter.java:103)
    at com.sap.vmc.remserver.RFCDispatcher.privHandleRequest(Lcom/sap/conn/jco/JCoFunction;)V(RFCDispatcher.java:895)
    at com.sap.vmc.remserver.RFCDispatcher.handleRequest(Lcom/sap/conn/jco/JCoFunction;)V(RFCDispatcher.java:673)
    at com.sap.conn.jco.rt.JCoServer.dispatchRequest(Lcom/sap/conn/jco/rt/AbapFunction;)V(JCoServer.java:1605)
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.dispatchRequest(Lcom/sap/conn/jco/rt/JCoServer;Ljava/lang/String;)V(MiddlewareJavaRfc.java:2387)
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(Lcom/sap/conn/jco/rt/JCoServer;Ljava/lang/String;)V(MiddlewareJavaRfc.java:1694)
    at com.sap.conn.jco.rt.JCoServer.listen()V(JCoServer.java:1375)
    at com.sap.conn.jco.rt.JCoServer.run()V(JCoServer.java:1299)
    at com.sap.vmc.remserver.RfcServer.run()V(RfcServer.java:386)
    at java.lang.Thread.startup(Z)V(Thr
    Thanks, Jin

    Hello Jin,
    IPC does make calls to CRM . To do so it maintains a JCo connection. We got to leverage this connection object and make calls to our RFC. We can use the get_current_connection(); from connection_factory.
    import com.sap.mw.jco.JCO;
    import com.sap.sce.engine.ddb_inst;
    import com.sap.sxe.db.*;
    import com.sap.sxe.db.imp.rfc.*;
    import com.sap.mw.jco.IFunctionTemplate;
    import com.sap.mw.jco.IRepository;
    // For the default connection
    JCO.Client crmJCO = null;
    try{
    / RFC and JCO connection to CRM
         connRFC cRFC = (connRFC)connection_factory.get_current_connection();
         crmJCO = cRFC.getIdleConnection();
    }catch(Exception e){
         log_api.log_write_msg("LOG1", "LOG2",1,
           "Error establishing JCO connection to CRM: "+ e);
    // Now for the BAPI (RFC calls)
    try{
         IRepository repository = JCO.createRepository
                               ("<my BAPI RFC module>", crmJCO);
         IFunctionTemplate ftemplate = repository.getFunctionTemplate
                              ("<my BAPI RFC module>");
         JCO.Function bapiFunc= new JCO.Function(ftemplate);
    // Set your IMPORT, EXPORT, TABLE parameters here
    // Call the JCo function
         crmJCO.execute(bapiFunc);
    // Process the output.
    }catch(Exception e){
         log_api.log_write_msg("LOG3", "LOG4",1,
           "Error calling BAPI "+ e);
    /// DO NOT FORGET TO CLOSE ***+++ MUST DO +++***
    }finally{
         if(crmJCO != null)
              JCO.releaseClient(crmJCO);
    Hence this is using standard connection, no need for any additional jars.
    Easwar Ram
    http://www.parxlns.com

Maybe you are looking for

  • Error while executing a scenario from CMD

    I am trying to execute a scenario from CMD using the starctscen command. when I use the below command E:\OraHome_ODI\oracledi\bin\startscen EXT_DATA 002 GLOBAL it is executing correctly but I tried to create a sceduler for the execution where i used

  • Motion Crashes on COLOR PICKER (after arch. install to leopard)

    So, I took the plunge hearing that things were resolved with FCS2 and leopard, only to find that motion crashes every time I use the built in color picker. Everything else seems to work great. I just get a beach ball for about 2 secs then Boom! Crash

  • Internet Connect crash/Software Update won't open

    I have a 500mhz G3 slot loading iMac running 10.3.9 About 2 weeks ago, after waking FrankenMac up from sleep mode, I noticed the Airport status symbol failed to appear in the menu bar (next to the volume/date&time etc). Looking into my Network settin

  • Downloading help for PS CS6 and MAC

    I have been trying to download Photoshop CS6 that I just purchased for my MAC and have not been successful.  Failure with Akamai, failure with alternative methods.....any advice?

  • Computer crashes when using illustrator

    I have Windows Vista, 3 GB of RAM, and am using CS3. There are times when I use certain tools in Illustrator (as well as Photoshop) that will cause my computer to shut down or crash without warning. The tools that seem to trigger this shut down is th