Will system change effect JCO connections.

Hi,
We are connecting to other server. So will the changes in the system reflect in the JCO connections or we have to create JCO connections individually for each application??
Is there any way to create JCOs for all applications together?
Thanks,
Zayed

If you are referring to the generated metadata and modeldata JCo destinations after creating/importing a model, it's wise to choose meaningful names for them. In my opinion a good practice is to let them reflect the type of system (ECC, CRM, etc.) that they will connect to. You can use the same names for different models. These models will then use the same JCo destinations, which has the advantage that you will only have to change 2 JCo destinations (the metadata and modeldata) when your ECC system connection parameters change for example.

Similar Messages

  • How to change JCO Connection in a WD project?

    Hi to all,
    I want to deploy my WD projects to another J2EE server, but I have to change the JCO connection (modeldata and metadata) in my WD projects, otherwise I can't deploy. Where can I re-assign the new jco connection?
    thank you very much,
    Antonio

    hi Antonio,
    you have to make two changes:
    1) double-click on the generated adaptive-rfc-class below "Models / <Name> / Model classes" and change the property "modelInstance_defaultLogicalSystem" in the Properties-Editor for the modeldata-connection
    2)double-click on the dictionary that was generated for your adaptive-rfc-call below Dictionaries and change the "Logical System Name" in the Properties-Editor for your Metadata-Connection
    kr, achim
    feel free to reward points, if this answers your question

  • JCo connection and  SLD

    Greetings, we have a federated portal which is using JCo connections as part of the MSS/ESS business package. We had a situation where the SLD was down therefore the JCo connections were down. Our question is JCo connection completely dependent on SLD. In other words if SLD is down, will that mean our JCo connection will fail thus an outage.
    If this is the case what is the best way to make sure SLD is highly available? Our options are to make SLD highly available or distribute SLD on each system.
    Also, what is the performance hit on making SLD distributed on all Portal system if this the route we go?
    Thanks in advance!

    Hi,
    The distributed SLD servers can cause higher administration expense with regard to consistent data. Therefore, we recommend that you consider to use a single SLD server first.
    but for large system landscapes that are distributed over different geographic locations, a single SLD server might slow down the performance of involved application systems. In this case, a distributed SLDserver installation can be taken into account.
    Samrat

  • Dynamic JCo Connection

    Hi Victor,
    I see two options:
    1: If you know at design time which JCO connections you want to use and that they are available on your system: create a Model for every connection.
    2: If you want to create these connections dynamically change the JCO connection everytime you call your model like this:
    IWDDynamicRFCModel model;
    model = (IWDDynamicRFCModel) WDModelFactory.getModelInstance(ModelName.class);
    model.setJcoClient(connection)
    --> continue calling code.
    or:
    model.setSystemName(<<JCO ClientName>>)
    see: [http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/modelimpl/dynamicrfc/IWDDynamicRFCModel.html]
    Regards,
    Jeschael

    Thanks J.V.
    It helps me a lot

  • JCo Connection using file.properties doesn't work when deployed

    Hello Experts,
    I'm trying to connect to a SAP backend system using the JCo connection.
    I've tyed with the standard connection, crating dinamically the connection and it works fine:
    mConnection = JCO.createClient("001", // SAP client
    "sap.user", // userid
    "********", // password
    "IT", // language
    "ashost.domain.dom", // application server host name
    "06"); // system number
    mConnection.connect();
    Then I tryed to store the login data in a file 'login.properties' put in the same package of my connection classes.
    The code is:
    String[] logonStr = new String[5];
    Properties properties = new Properties();
    try {
    InputStream is = getClass().getResourceAsStream("login.properties");
    properties.load(is);
    } catch (Exception e) {
    e.printStackTrace();
    logonStr[0] = PropertyManager.getProperty(applicationProperties,"jco.client.client");
    logonStr[1] = PropertyManager.getProperty(applicationProperties,"jco.client.user");
    logonStr[2] = PropertyManager.getProperty(applicationProperties,"jco.client.passwd");
    logonStr[3] = PropertyManager.getProperty(applicationProperties,"jco.client.ashost");
    logonStr[4] = PropertyManager.getProperty(applicationProperties,"jco.client.sysnr");
    mConnection = JCO.createClient(logonStr[0],      // SAP client
    logonStr[1],    // userid
    logonStr[2],    // password
    "IT",           // language
    logonStr[3],    // application server host name
    logonStr[4]);   // system number
    If I test locally this code it works fine and the login datas are extracted from the 'login.properties' file.
    But when I deploy my PAR file in the Portal seems that the 'login.properties' file isn't found by my application...
    Which could be the cause??
    Could it be a permission problem??
    Any Ideas?
    Thanks in Advance,
    Best Regards

    Hi Shyam,
    Thanks for your answer!
    I could use the string "ashost.domain.dom" instead to extract it from the 'login.properties' but I need also the others login info as username and password.
    My problem is that the 'login.properties' file is not found by my application when the PAR file is deployed in the portal...
    I need to know if I need to move the 'login.properties' file in another package or something else...
    Any ideas??
    Have I to declare the .properties file in some configuration file (for example portalapp.xml or somthing similar..) ??
    Best Regards...

  • Meta JCo connection issue - cannot have 2 systems for ESS????

    I have a finance R/3 system and also an HR R/3 System.
    I need to be able to use the FI system for the timesheet ESS screens and the HR system for the others.  I have used the iView Application parameter as documented;
    (sap-wd-arfc-useSys=SAP_R3_HumanResources:FIN&sap-wd-arfc-useSys=SAP_R3_HumanResources_MetaData:FIN)
    The JCo destinations have been configured and do work ....
    However the problem is that the meta data jco connection that is used first appears to be cached and is then used going forward for every subsequent screen. 
    Therefore if I leave the menu screens as they are by default my timesheet screen won't work because the meta connection has been opened to the HR system and therefore the meta and data connections now don't match - even though the parameter has been set as above the configuration is ignored.
    I get the following error message
    Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException:
    Accessing System DE7 is not possible because RFC Metadata was retrieved
    using System DH7. Please assure you have configured the RFC Connections
    properly. A Server restart may be necessary!
    So if I change the menu to use the finance system then the timesheet screen will work but none of the HR screens will work. (same error with the systems reversed)
    Is there any way of getting this to behave properly and make sure that the right Jco connection is used.  It is very frustrating because the configuration is correct, I just need to be able to force the applications to use the the Jco destination that has been defined for the iView.
    Regards
    Marina

    Hi, I have created new iview for Who's Who and put the below in Application Parameters:
    sap-wd-arfc-useSys=SAP_R3_HumanResources:UTL&sap-wdarfc-useSys=SAP_R3_HumanResources_MetaData:UTL&sap-wd-arfc-useSys=WD_MODELDATA_DEST:UTL&sap-wd-arfc-useSys=WD_RFC_METADATA_DEST:UTL&sap-wd-arfc-useSys=SAP_R3_SelfServiceGenerics:UTL&sap-wd-arfc-useSys=SAP_R3_SelfServiceGenerics_MetaData:UTL
    The Home Page Framework is working fine. but when clicking on the who's who service the below error is there:
    The initial exception that caused the request to fail, was: java.lang.NullPointerException at com.sap.pcuigp.tracking.BTrackingComp.isValuePackSystem(BTrackingComp.java:290) at com.sap.pcuigp.tracking.BTrackingComp.onInit(BTrackingComp.java:206) at com.sap.pcuigp.tracking.wdp.InternalBTrackingComp.onInit(InternalBTrackingComp.java:173) at com.sap.pcuigp.tracking.BTrackingCompInterface.onInit(BTrackingCompInterface.java:115) at com.sap.pcuigp.tracking.wdp.InternalBTrackingCompInterface.onInit(InternalBTrackingCompInterface.java:124) ... 75 more See full exception chain for details. System Environment Client Web Dynpro Client Type HTML Client User agent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30) Version null DOM version null Client Type msie7 Client Type Profile ie6 ActiveX enabled Cookies enabled Frames enabled Java Applets enabled JavaScript enabled Tables enabled VB Script enabled Server Web Dynpro Runtime Vendor: SAP, build ID: 7.0103.20081111115141.0000 (release=NW701_03_REL, buildtime=2008-12-07:13:19:14[UTC], changelist=51958, host=pwdfm246), build date: Mon Dec 20 02:32:06 CST 2010 J2EE Engine 7.01 PatchLevel 56102. Java VM IBM J9 VM, version:2.3, vendor: IBM Corporation Operating system AIX, version: 6.1, architecture: ppc64 Session & Other Session Locale en_US Time of Failure Wed Feb 09 14:56:21 CST 2011 (Java Time: 1297284981490) Web Dynpro Code Generation Infos sap.com/pb SapDictionaryGenerationCore 7.0103.20071003090459.0000 (release=701_SP_REL, buildtime=2008-11-05:19:55:10[UTC], changelist=463950, host=PWDFM201.wdf.sap.corp) SapDictionaryGenerationTemplates 7.0103.20071003090459.0000 (release=701_SP_REL, buildtime=2008-11-05:19:55:16[UTC], changelist=463950, host=PWDFM201.wdf.sap.corp) SapGenerationFrameworkCore 7.0103.20071003090713.0000 (release=701_SP_REL, buildtime=2008-11-05:19:48:07[UTC], changelist=463957, host=PWDFM201.wdf.sap.corp) SapIdeWebDynproCheckLayer 7.0103.20080730170941.0000 (release=701_SP_REL, buildtime=2008-11-05:20:00:15[UTC], changelist=494993, host=PWDFM201.wdf.sap.corp) SapMetamodelCommon 7.0103.20071003091208.0000 (release=701_SP_REL, buildtime=2008-11-05:19:48:51[UTC], changelist=463971, host=PWDFM201.wdf.sap.corp) SapMetamodelCore 7.0103.20071003091208.0000 (release=701_SP_REL, buildtime=2008-11-05:19:48:46[UTC], changelist=463971, host=PWDFM201.wdf.sap.corp) SapMetamodelDictionary 7.0103.20071003090530.0000 (release=701_SP_REL, buildtime=2008-11-05:19:52:58[UTC], changelist=463951, host=PWDFM201.wdf.sap.corp) SapMetamodelWebDynpro 7.0103.20080730170953.0000 (release=701_SP_REL, buildtime=2008-11-05:19:57:29[UTC], changelist=494995, host=PWDFM201.wdf.sap.corp) SapWebDynproGenerationCTemplates 7.0103.20081105123737.0000 (release=701_SP_REL, buildtime=2008-11-05:20:06:40[UTC], changelist=507414, host=pwdfm201) SapWebDynproGenerationCore 7.0103.20080730170941.0000 (release=701_SP_REL, buildtime=2008-11-05:20:00:20[UTC], changelist=494993, host=PWDFM201.wdf.sap.corp) SapWebDynproGenerationTemplates 7.0103.20081105123737.0000 (release=701_SP_REL, buildtime=2008-11-05:20:06:40[UTC], changelist=507414, host=pwdfm201) sap.com/tcwddispwda No information available null sap.com/pb_api SapDictionaryGenerationCore 7.0103.20071003090459.0000 (release=701_SP_REL, buildtime=2008-11-05:19:55:10[UTC], changelist=463950, host=PWDFM201.wdf.sap.corp) SapDictionaryGenerationTemplates 7.0103.20071003090459.0000 (release=701_SP_REL, buildtime=2008-11-05:19:55:16[UTC], changelist=463950, host=PWDFM201.wdf.sap.corp) SapGenerationFrameworkCore 7.0103.20071003090713.0000 (release=701_SP_REL, buildtime=2008-11-05:19:48:07[UTC], changelist=463957, host=PWDFM201.wdf.sap.corp) SapIdeWebDynproCheckLayer 7.0103.20080730170941.0000 (release=701_SP_REL, buildtime=2008-11-05:20:00:15[UTC], changelist=494993, host=PWDFM201.wdf.sap.corp) SapMetamodelCommon 7.0103.20071003091208.0000 (release=701_SP_REL, buildtime=2008-11-05:19:48:51[UTC], changelist=463971, host=PWDFM201.wdf.sap.corp) SapMetamodelCore 7.0103.20071003091208.0000 (release=701_SP_REL, buildtime=2008-11-05:19:48:46[UTC], changelist=463971, host=PWDFM201.wdf.sap.corp) SapMetamodelDictionary 7.0103.20071003090530.0000 (release=701_SP_REL, buildtime=2008-11-05:19:52:58[UTC], changelist=463951, host=PWDFM201.wdf.sap.corp) SapMetamodelWebDynpro 7.0103.20080730170953.0000 (release=701_SP_REL, buildtime=2008-11-05:19:57:29[UTC], changelist=494995, host=PWDFM201.wdf.sap.corp) SapWebDynproGenerationCTemplates 7.0103.20081105123737.0000 (release=701_SP_REL, buildtime=2008-11-05:20:06:40[UTC], changelist=507414, host=pwdfm201) SapWebDynproGenerationCore 7.0103.20080730170941.0000 (release=701_SP_REL, buildtime=2008-11-05:20:00:20[UTC], changelist=494993, host=PWDFM201.wdf.sap.corp) SapWebDynproGenerationTemplates 7.0103.20081105123737.0000 (release=701_SP_REL, buildtime=2008-11-05:20:06:40[UTC], changelist=507414, host=pwdfm201) sap.com/tcwdcorecomp No information available null Detailed Error Information Detailed Exception Chain java.lang.NullPointerException at com.sap.pcuigp.tracking.BTrackingComp.isValuePackSystem(BTrackingComp.java:290) at com.sap.pcuigp.tracking.BTrackingComp.onInit(BTrackingComp.java:206) at com.sap.pcuigp.tracking.wdp.InternalBTrackingComp.onInit(InternalBTrackingComp.java:173) at com.sap.pcuigp.tracking.BTrackingCompInterface.onInit(BTrackingCompInterface.java:115) at com.sap.pcuigp.tracking.wdp.InternalBTrackingCompInterface.onInit(InternalBTrackingCompInterface.java:124) at com.sap.pcuigp.tracking.wdp.InternalBTrackingCompInterface$External.onInit(InternalBTrackingCompInterface.java:198) at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:922) at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:891) at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.attachComponentToUsage(FPMComponent.java:1084) at com.sap.pcuigp.xssutils.pernr.FcEmployeeServices.onInit(FcEmployeeServices.java:219) at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServices.onInit(InternalFcEmployeeServices.java:273) at com.sap.pcuigp.xssutils.pernr.FcEmployeeServicesInterface.onInit(FcEmployeeServicesInterface.java:135) at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServicesInterface.onInit(InternalFcEmployeeServicesInterface.java:198) at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServicesInterface$External.onInit(InternalFcEmployeeServicesInterface.java:258) at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:922) at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:891) at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.attachComponentToUsage(FPMComponent.java:1084) at com.sap.xss.hr.wiw.FcWiwBusinessLogicComp.onInit(FcWiwBusinessLogicComp.java:217) at com.sap.xss.hr.wiw.wdp.InternalFcWiwBusinessLogicComp.onInit(InternalFcWiwBusinessLogicComp.java:414) at com.sap.xss.hr.wiw.FcWiwBusinessLogicCompInterface.onInit(FcWiwBusinessLogicCompInterface.java:115) at com.sap.xss.hr.wiw.wdp.InternalFcWiwBusinessLogicCompInterface.onInit(InternalFcWiwBusinessLogicCompInterface.java:298) at com.sap.xss.hr.wiw.wdp.InternalFcWiwBusinessLogicCompInterface$External.onInit(InternalFcWiwBusinessLogicCompInterface.java:358) at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:922) at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:891) at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.attachComponentToUsage(FPMComponent.java:1084) at com.sap.xss.hr.wiw.selection.VcWiwSelectionComp.onInit(VcWiwSelectionComp.java:212) at com.sap.xss.hr.wiw.selection.wdp.InternalVcWiwSelectionComp.onInit(InternalVcWiwSelectionComp.java:206) at com.sap.xss.hr.wiw.selection.VcWiwSelectionCompInterface.onInit(VcWiwSelectionCompInterface.java:162) at com.sap.xss.hr.wiw.selection.wdp.InternalVcWiwSelectionCompInterface.onInit(InternalVcWiwSelectionCompInterface.java:144) at com.sap.xss.hr.wiw.selection.wdp.InternalVcWiwSelectionCompInterface$External.onInit(InternalVcWiwSelectionCompInterface.java:220) at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:564) at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438) at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196) at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110) at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108) at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215) at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200) at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430) at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362) at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:754) at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:289) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250) at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149) at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73) at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860) at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220) at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1289) at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356) at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549) at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:593) at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:865) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136) at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335) at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143) at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:684) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250) at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53) 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:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:219) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

  • JCO connection error:Couldn't create JCOClientConnection for logical System

    Hi All,
    We are facing a production outage issue.
      We have a Federated Portal Network setup where one of our producer goes down automatically (seems on heavy load).
      On this Producer server we have 3 Web Dynpro applications deployed and default trace is full with JCO connection error   saying Could   not create JCOClientConnection for logical System: CSVMR_WD_MODELDATA_DEST.
    We had issue with max allowed JCO connections so we changed the below mentioned parameters for JCO connection settings in portal:
    u2022     Minimum value of JCo Pool Size in total = 80
    u2022     Minimum value for CPIC_MAX_CONV per SAP Web AS = 320
    u2022     Maximum Number JCo Connections = 160
    Please let us know if we are missing on some settings, any help in this regard is appreciated.
    Regards,
    Priyanka

    Hi,
    As you have already increased the maximum number of connections/pool size but still you are facing this problem. I would suggest you to check the web dynpro application which might not be able to release/disconnect the JCO connection.
    Please check this [Thread|How to close a model object connection for Adaptive RFC?; for more details.
    Regards
    Puneet

  • JCO Connect Exception for connecting to ABAP system

    Hey Guys,
    When running the program
    [code]import com.sap.mw.jco.*;
    public class TutorialConnect1 extends Object {
       JCO.Client mConnection;
       public Connect1() {
         try {
           // Change the logon information to your own system/user
           mConnection =
              JCO.createClient("100", // SAP client
                "RFCUSER2"// userid
                "RFCUSER2", // password
                null, // language
                "LABR3", // application server host name
                "00"); // system number
           mConnection.connect();
           System.out.println(mConnection.getAttributes());
           mConnection.disconnect();
        catch (Exception ex) {
          ex.printStackTrace();
          System.exit(1);
      public static void main (String args[]) {
        Connect1 app = new Connect1();
    [/code]
    I get the exception
    [code]java.lang.NoClassDefFoundError
         at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:836)
         at com.sap.mw.jco.JCO$Client.connect(JCO.java:3159)
         at com.ids.jco.JCOUtil.getClient(JCOUtil.java:37)
         at com.ids.jco.JCOUtil.main(JCOUtil.java:23)[/code]
    My program in the developer studio compiles just fine, I have added all the libraries in the developer studio. In the "set additional libraries" context menu of the project I have included all the libraries.
    In the Debug/Run settings I see all the libraries included when I test the program.
    I am running the program on Netweaver Developer Studio SP15
    Any help is appreciated.
    Regards
    Sumit.

    Hi Sumit,
    the exact problem is discussed in this forum..just check this....
    Re: Some problems about JCo >.<
    let me know...
                           Regards
                           Kishor Gopinathan

  • Error while trying to creat a RFC_METADATA JCo Connection to R/3 system

    hi,
    i have installed the EP . when i am trying to maintain the JCo connection for RFC_METADATA i am getting an error.
    the error states : "com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=esuides GROUP=PUBLIC R3NAME=ESR MSSERV=sapmsESR PCS=1 ERROR       Group PUBLIC not found TIME        Fri Aug 26 14:46:24 2005 RELEASE     640 COMPONENT   LG VERSION     5 RC          -6 MODULE      lgxx.c LINE        3515 DETAIL      LgIGroup COUNTER     1"
    cna you please tell me how to resolve this error.
    thanks
    -uday

    Hi Uday,
    you have to create a logon Group named PUBLIC with Transaction SMLG in your Backend system. Also don't forget to add the line:
    sapmsXYZ   <port_number on which XYZ listens>/tcp <For ex: 3600>
    to your services file in C:\winNT\system32\drivers\etc (for the Windows 2000 system). XYZ means your Instance Name.
    Regards
    Gregor

  • Logical System Creation & JCO Connection.................

    Hi,
    I have configured ESS in my portal 6.0 but I am confused with some concepts.
    I have created System in portal System Landscape with alias "SAP_WebDynpro_XSS" . & also i have created JCO Connection SAP_R3_HumanResources (Appln data/Metadata).These are the steps in configuration guide.....
    My backend system is ECC 5.0.
    If i can access my backend for my webdynpro iview through JCO connectiones why i need to create system in portal ????
    Thanks in advance!!!
    Smita.

    Hi,
    All the Standard iviews use this System for calling the JavaWD Application.
    This Java WD Application in turn uses the JCo to communicate with backend to get the application sensitive data to the application and display it.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • JCO connection to SRM system - in Supplier collaboration 2.0 BP

    Hi Friends,
    We have deployed the Supplier Collaboration 2.0 Business Package on SAP Enterprise Portal 7.
    After deployed, we need to configure the JCO to SRM System. We are not configuring for catalog, IHS, et.
    Now, Under the 'Supplier Portal Administration'->'System Integration' Workset, There are 4 iViews which talks about the JCO, Integration to BP.
    1. JCO Client Maintanance
    2. External JCO connection configuration
    3. Application maintenance
    4. System type configuration
    I searched for documentation in tthe sap.help.com, sdn, service.sap.com but nowhere anyone mentioned the step-by-step details.
    Could anyone please let me know how integrate Backend to BP of Supplier Collaboration 2.0 with JCO's using the BP iViews.
    Thanks for your time.
    Thanks,
    Raghavendra Pothula

    Hi all,
    Please advise if any of you managed to resolve your query? Im busy with Supplier Collaboration 4.0 BP u2013 and am completely new to the portal area. Would appreciate any advice? I went through the SAP documentation (http://help.sap.com/saphelp_srm70/helpdata/en/55/c88265d15b4f0f9ee1653bc1146414/content.htm). So I was currently trying to set up RFC users for the systems, but not sure if Im on the right track. Would you be able to advise?
    Thanks,
    Emily

  • JCO  connection getting expired when system restart...

    Hi experts,
               I configured the JCO connection.It worked at first time..when i restart the system...It gives the following error
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message serverhost failed Connect_PM  TYPE=B MSHOST=Hostname GROUP=SPACE R3NAME=D MSSERV=sapmsDEV PCS=1 ERROR       hostname '?' unknown TIME       
    Fri Dec 21 04:25:25 2007 RELEASE     640 COMPONENT   NI (network interface) VERSION     37 RC -2 COUNTER     1
    I have to configure the jco connection each and every time when restart the system..Please tel me what may be the reason..
    Thanks & Regards
    Mathi

    Hi Mathi,
    Did u add the the sapgw<instance> 3600\tcp in the services file of the path mentioned above.
    If so can you atleast ping the Destinations created by you successfully?
    If everything goes on well then a final option would be tryingto Restart the Server.
    Also to analyse the problems caused by JCO this manual should be helpful for you.
    http://help.sap.com/saphelp_nw04/helpdata/en/f6/daea401675752ae10000000a155106/content.htm
    Regards,
    Nagarajan.

  • Error creation of JCO connection: System Already Exist

    Hi Experts,
    We have created the SLD connection to the ECC6.0 from the Portal 7.0.
    Created one JCO connection using that SLD successfully for the Clinet 100.
    Now we required to create one more JCO Connection for client200 also. But it is giving the Error that
    System Already Exist.
    How can we resolve this. When we create the JCO connection for one client, con't we create one more JCO connection for the same system for the differt client or not?
    If so How do it?
    Regards

    I think you can add one more client in the existing connection. well, I am not sure about that even.
    nikhil

  • Retrieving System Name used in JCO connection ?

    Hi All,
    Do you know how to retrive the System Name paramer value used in JCO connection using Web Dynpro programe. If so can you please sen me how.
    I promise to award points for the correct answer.
    Thank you and Regards
    Maruti CR

    Hi Jennifer,
    Thank you for your reply. I am still trying to get the SAP system name for the model used. I trind to your your code but I am getting some compilation errors.
    Bapi_User_Get_Detail_Input iasmodel  = new Bapi_User_Get_Detail_Input();
    The code I used is
    Bapi_User_Get_Detail_Input iasmodel = (Bapi_User_Get_Detail_Input)WDModelFactory.getModelInstance(Bapi_User_Get_Detail_Input.class);
    IWDJCOClientConnection jcoClientConn = (IWDJCOClientConnection)iasmodel.modelInstance();
    I am getting compile errors..
    The type of model represented by class 'com.ias.Bapi_User_Get_Detail_Input' is not compatible for creation by WDModelFactory
    Can you please suggest?
    Thank you and Regards
    Maruti CR

  • When I buy the system, will it change the previous system?

    I mean that I now have a normal Macbook Pro 13".
    Until now, I used Linux for my WEB servers, but now I want to try Mac OS X Lion Server.
    If I buy the system, will it change my normal Lion system?
    Because its a normal computer that I use every day, and I dont want it to become to a server that will not let me work normaly on every day.
    When I will have the system, when I close the program that run the server, the computer will return to be normal Lion system?

    when you download Lion Server from the App Store, by default it stops running when you quit lion server. You can configure it to be always running if you want.
    When I installed lion server, I found that I had to wait a little bit longer for system updates to become avaliable.
    Some of the features in lion server are really targeted to a 'server,' for instance HTTPS, FQDNS, Bonjour Domain hosting, DHCP with DNS. some of these services are really built around the idea of the computer having a static ip address.
    So far, with lion server, I have been able to do every I could do with lion.  plus I have the server stuff. The one thing I do notice, is that having lion server running dose consume system resources.

Maybe you are looking for

  • Illustrator Crashing on open and save of files

    PC using Windows 8 I've been using Illustrator CC for 6 months and it worked fine, all of a sudden it can't open or save files without taking very long (5-10 minutes) and occasionally crashes. Please help!

  • With in smart forms   i need time format like 12:26:37

    hi, in smart forms time format is coming to one variable time in this format 122637, but i need this format  12:26:37 plz tell me the answer. thanks.

  • D-link 604 DMZ, etc.

    I was finally able to connect to a PC AIM user by by-passing my router completely. They did have to initiate the a/v chat, though. I had tried all of the settings for the router, including the DMZ but always got the "failed to respond" message. My qu

  • O and Alt Button Stick

    My "o" letter button just started sticking or something.  when I type anything with an "o" I automatically get 2 o's or sometimes a capital o like it is scrolling through the cases from little to big.  Also, when I type the "i" button it automaticall

  • I followed directions to restore ipod contents to iTunes after computer crashed. Now my ipod is dead.

    I followed directions to restore ipod contents to iTunes after computer crashed Now my ipod is dead. iTumes does not recognize it; the device is not showing in the left pane.Can I do something?