WriteHTML has no value using com.sap.mw.jco reference

When we use the weak reference of JCO(WAS6.40 built-in) in the Deploy service to deploy our J2EE application, the writeHTML will write out files with all the parameters but NO value. It will have "default" row with no value instead of "value" row with actual values.
However, if we change to use jco2.0 and add the path to the J2EE startup, the writeHTML will includes the parameters and a value row with the actual values.
Is there any special settings we need to set? Any help is appreciated. Thank you

Hey,
I know it's been a long time. Did you figure out why the writeHTML of JCo printed without any values?
Rajiv

Similar Messages

  • Read RFC output table contents using com.sap.mw.jco.* API

    Hi,
    I have a requirement where I need to call an RFC in JSPDynpage component.
    In doInitialization method, I wrote following code: -
    IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
    IPortalComponentContext myContext = request.getComponentContext();
    IPortalComponentProfile myProfile = myContext.getProfile();
    String sapSystem = myProfile.getProperty("SystemIdentifier");
    ISystemLandscapeWrapper landscapeWrapper = (ISystemLandscapeWrapper) UMFactory.getSystemLandscapeWrappers().get(0);
    ISystemLandscapeObject systemLandscapeObject = landscapeWrapper.getSystemByAlias(sapSystem);
    IJCOClientService clientService = (IJCOClientService) PortalRuntime.getRuntimeResources().getService(JCO_CLIENT);
    request.getNode().putValue(LOCALE_NODE_KEY,     Locale.ENGLISH);
    IJCOClientPoolEntry poolEntry = clientService.getJCOClientPoolEntry(sapSystem,request);
    JCO.Client client = poolEntry.getJCOClient();
    client.connect();
    IRepository repository = JCO.createRepository("repository", client);
    IFunctionTemplate functionTemplate = repository.getFunctionTemplate(Z_BAPI_EMP_GBU_GET);
    JCO.Function function = new JCO.Function(functionTemplate);
    JCO.ParameterList importList = function.getImportParameterList();
    importList.setValue("US", "OBJTYP");
    importList.setValue(request.getUser().getUniqueName(), "USRID");
    client.execute(function);
    Now, this RFC returns two tables.
    I want to know how do I read a table and iterate over its contents to read all fields.
    (Till now, I only used getString("GBU") method that just reads an export type of String parameter)
    Please help.
    Thanks & Regards,
    Amey

    Amey,
    If I understood the problem correctly. A snippet will be something like
                   JCO.Table itemList = function.getTableParameterList().getTable("QUALIFICATION");
                   Vector qualItems = new Vector();
                   QualItemBean qualItem;
                   for (int i = 0; i < itemList.getNumRows(); i++) {
                        itemList.setRow(i);
                        qualItem = new QualItemBean();
                        qualItem.setQual(itemList.getString("TBJID").trim());
                        qualItem.setQualText(itemList.getString("TTEXT").trim());
                        qualItem.setVBDate(itemList.getString("VBEGD").trim());
                        qualItem.setSBDate(itemList.getString("SBEGD").trim());
                        qualItem.setSEDate(itemList.getString("SENDD").trim());
                        qualItem.setVEDate(itemList.getString("VENDD").trim());
                        qualItem.setProfText(itemList.getString("PROFC_TEXT").trim());
                        qualItems.add(qualItem);
                   qualBean.setQual(qualItems);
    Ofcourse you need to change the variable names based on your scenario.
    Thanks
    Prashant

  • Setting up web Bex in BWsystem:error com.sap.mw.jco.JCO$Exception:Issuer of

    Dear SAP Gurus,
    I'm facing an error when seting up web Bex in BW system which is based on AS java patch 14 when i run Diagnostics & Support Desk Tool as described in Note 937697  there is only one red signal which is BI Mastersystem
    the error is
    RFC connection using properties in Portal System Landscape to ABAP backend has failed. Reason:
    com.sap.mw.jco.JCO$Exception:Issuer of SSO ticket is not authorized
    thanks in advance
    Rgds
    George Varghese

    thanks Deepika ,unfortunately I posted this a Long back ,time limit was very less ,we were not in a situation to do more R&D on that,it will be a Waste of time ,what I did is that I uninstall ed SAP and installed again with latest available Patches and we were succeed
    thanks
    George Varghese

  • Error in creating GUID using com.sap.guid API's

    Hi
       i am trying to create GUID using com.sap.guid API's. I've included the guidgenerator.jar in the classpath. I ran the following code. i got the "Caused by: java.lang.NoClassDefFoundError: com/sap/guid/GUIDGeneratorFactory " error.
    the code is
    package com.portal;
    import com.sapportals.portal.prt.component.;*
    import com.sap.guid.GUIDGeneratorFactory;
    import com.sap.guid.IGUID;
    import com.sap.guid.IGUIDGenerator;
    import com.sap.guid.IGUIDGeneratorFactory;
    public class TestCompforGUID extends AbstractPortalComponent
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
    *          IGUIDGenerator generator = GUIDGeneratorFactory.getInstance().createGUIDGenerator();*
    *          String guid = generator.createGUID().toString();*
    *          String hexGuid = generator.createGUID().toHexString();*
    *          response.write(guid);*
    *          response.write(hexGuid);*
    can anyone created the GUID's using com.sap.guid API's and help me here.
    Do i need to specify any reference in Portalapp.xml ?
    Thanks,
    Saravanan

    difficult to reproduce. But it might be a data conversion problem.
    e.g. try
    to_char(a.num_tabs)If that's not the error comment out certain lines or xmltags and test which one is the reason for the error.
    Edited by: Sven W. on Sep 9, 2011 3:13 PM - typo correction

  • Deployable cannot be retrieved from FILE_PROVIDER , stopping. Cause:com.sap.conn.jco.JCoException: (103) JCO_ERROR_LOGON_FAILURE: Name or password is incorrect

    Hi All,
    After two years of CTS+ working without issue, in the last fortnight JCO_ERROR_LOGON_FAILURE has occurred. I have reviewed all the configuration  in document http://scn.sap.com/doc/DOC-30177, and it all looks fine. The user configured also checks out fine as well. The user id that is causing all the trouble is CTS_<SID>. We chose this option so we could determine which user in case of future issues. We have two development paths, Project and BAU. So at anyone time transports that have started in the BAU development system will need to be imported into the Project development system (using transport express) and vice versa.  Attached is the security authentication log from the system showing authentication failure. I have also checked the transport routes defined for the business systems in the SLD and these look fine as well. Roles assigned to the user are SAP_CTS_PLUS,
    SAP_J2EE_ADMIN, SAP_XI_CMS_SERV_USER, SAP_XI_CONFIGURATOR, SAP_XI_DEVELOPER, Z_CTS_PLUS_ADDITIONAL. I have also checked the permissions on the file at the operating system level.
    Any suggestions/advice gratefully received as this really has me scratching my head.
    Log:
    !REPOSITORY_ERROR_CHECK_STACKTRACE!
    [EXCEPTION]
    com.sap.conn.jco.JCoException: (103) JCO_ERROR_LOGON_FAILURE: Name or password is incorrect (repeat logon) on DXI mshost strsap31
    at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:662)
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1364)
    at com.sap.conn.jco.rt.ClientConnection.connect(ClientConnection.java:731)
    at com.sap.conn.jco.rt.PoolingFactory.init(PoolingFactory.java:103)
    at com.sap.conn.jco.rt.ConnectionManager.createFactory(ConnectionManager.java:293)
    at com.sap.conn.jco.rt.DefaultConnectionManager.createFactory(DefaultConnectionManager.java:46)
    at com.sap.conn.jco.rt.ConnectionManager.getFactory(ConnectionManager.java:262)
    at com.sap.conn.jco.rt.RfcDestination.initialize(RfcDestination.java:509)
    at com.sap.conn.jco.rt.RfcDestination.getSystemID(RfcDestination.java:533)
    at com.sap.conn.jco.rt.RepositoryManager.getRepository(RepositoryManager.java:30)
    at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:603)
    at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:27)
    at com.sap.cts.jco.tms.TmsJCoAdapter.initializeJCo(TmsJCoAdapter.java:76)
    at com.sap.cts.jco.tms.TmsJCoAdapter.<init>(TmsJCoAdapter.java:57)
    at com.sap.cts.jco.EpsFileReader.<init>(EpsFileReader.java:76)
    at com.sap.cts.jco.EpsFileReaderController.doImport(EpsFileReaderController.java:90)
    at com.sap.cts.core.ImportManager.execImport(ImportManager.java:102)
    at com.sap.cts.ejb.DeployBean.execImport(DeployBean.java:170)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:47)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke(Interceptors_MethodRetry.java:46)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
    at com.sap.engine.services.ejb3.webservice.impl.DefaultImplementationContainer.invokeMethod(DefaultImplementationContainer.java:204)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:710)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:662)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:322)
    at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:199)
    at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:65)
    at com.sap.engine.services.webservices.servlet.SoapServlet.doPost(SoapServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:457)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:276)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Caused by: RfcException: [null]
      message: Name or password is incorrect (repeat logon) on DXI mshost strsap31
      Return code: RFC_SYS_EXCEPTION(3)
      error group: 103
      key: RFC_ERROR_LOGON_FAILURE
    at com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:219)
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1331)
    ... 87 more
    Caused by: RfcException: [DXI|strsap31]
      message: Name or password is incorrect (repeat logon)
      Return code: RFC_SYS_EXCEPTION(3)
      error group: 104
      key: RFC_ERROR_SYSTEM_FAILURE
    Exception raised by DXI|strsap31
    at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:2034)
    at com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:187)
    ... 88 more
    Caused by: com.sap.conn.rfc.exceptions.RfcGetException: Name or password is incorrect (repeat logon)
    at com.sap.conn.rfc.engine.RfcImp.ab_rfcerror(RfcImp.java:1157)
    at com.sap.conn.rfc.engine.RfcGet.rfcget_run(RfcGet.java:131)
    at com.sap.conn.rfc.engine.RfcGet.ab_rfcget(RfcGet.java:23)
    at com.sap.conn.rfc.engine.RfcRcv.ab_rfcreceive(RfcRcv.java:33)
    at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:1981)
    ... 89 more

    User id missing in client 000

  • Com.sap.mw.jco.JCO$Exception:JCO_ERROR_XML_PARSER

    Hi all,
    I try to send data from RFC to XI, but I get error in adapter like :
    After a value an end tag must follow. That did not happen in "ATTR_SET>- Error: 2006-08-10 11:12:56 GMT+02:00: com.sap.mw.jco.JCO$Exception: (130) JCO_ERROR_XML_PARSER: After a value an end tag must follow. That did not happen in "ATTR_SET>-
    I use 3 tables(deep structures)...
    Anybody any idea?
    Thanks

    Thanks for your rapid answer
    Very funny thing - after I made cold backup (stopping XI) it started to work(I saw my XML in SXMB_MONI), but when I did this the next time(adding fields to my RFC) the same happened...
    Full cache refresh didn't solve the problem...
    Any idea?
    Thanks a lot

  • Com.sap.mw.jco.JCO$Exception starting the J2EE server 620

    We are using J2EE 620 pl26, with the latest JCO, but often trying to acces the J2EE services like Mobile Engine Webconsole 21 or the WebEnabled Sapconsole 640 we recive the message:
    'Dispatche runningbut no server connected'.
    The J2EE dispatcher and server are started at Sap startup. Just after that time the J2EE is working fine, but after some time the J2EE server get down.
    We found this message into the J2EE console_logs:
    "RFCEngine: Server startup error, stopping "SAPProfile:F:\usr\sap\CAM\SYS\profile\CAM_DVEBMGS00_itmif089" :
    com.sap.mw.jco.JCO$Exception: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Fri Oct 15 09:58:20 CEST 2004.
    This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 2 seconds.
    Could not establish the lcom accepted connection: lcomListenCreate failed with rc 9"
    We do not find any Oss notes for that.
    Any advise is wellcome.
    Regards

    Hi Mauro,
    normally when you apply a new SAP Kernel a frfclib.sar file is delivered. This frfclib file need to be copied to the J2EE directory /os_libs and need to be extracted there. This frfclib version must always match to the SAP Kernel version.
    Ciao
    tc

  • Adaptive RFC 2 gives error: com/sap/ide/jco/service/internal/R3Service

    Hi,
    I've run into the following problem about NWDS. This happens as I create a Model. It appears there is a new version of the Adaptive RFC Model, which is called Adaptive RFC 2 Model.
    1. Right click on Models, and select Create.
    2. Double Click on Adaptive RFC 2 Model
    3. The error pops up. It says "An error has occurred. See error log for more details. java.lang.NoClassDefFoundError". Then if you click details you get "An error has occurred. See error log for more details. com/sap/ide/jco/service/internal/R3Service "
    If you know which log to have a look, or what this error is about please let me know urgently. Any help if much appreciated.
    Thanks,
    Ogeday Isiklar

    Hi,
    I am also getting same problem. Waiting for solution
    Regards,
    Pradeep Kumar

  • Java.lang.NoClassDefFoundError:Couldnot initialize class com.sap.mw.jco.JCO

    Hi,
    I am having an issue with SAP adapter configuration. It throws below error in log files :
    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 [opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386/client:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/../lib/i386:/opt/apps/Oracle/patch_wls1032/profiles/default/native:/opt/apps/Oracle/patch_jdev1111/profiles/default/native:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386/client:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/../lib/i386:/opt/apps/Oracle/patch_wls1032/profiles/default/native:/opt/apps/Oracle/patch_jdev1111/profiles/default/native:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686/oci920_8:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686/oci920_8:/opt/apps/Oracle/Oracle_SOA1/soa/thirdparty/edifecs/XEngine/bin:/opt/apps/Oracle/Oracle_SOA1/soa/thirdparty/edifecs/XEngine/bin]
    java.lang.NoClassDefFoundError: Could not initialize class com.sap.mw.jco.JCO
    Invoking SAP targets from bpel or iwafjca test servlet fails with "java.lang.NoClassDefFoundError: Could not initialize class com.sap.mw.jco.JCO."
    I am able to connect from Application Explorer(AE) and browse through idocs and bapis. I tried to check the class loading pattern for AE using Jconsole :
    1. Started the AE
    2. /opt/apps/Oracle/jdk1.6.0_19/bin/jps
    15279 BseFlashScreen
    3. /opt/apps/Oracle/jdk1.6.0_19/bin/jconsole 15279
    Enabled verbose output on class loading page and connected to SAP target from AE
    4. The verbose output shows below :
    Loaded com.sap.mw.jco.JCO from file:/opt/apps/Oracle/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib/sapjco.jar
    I have added the above path to my LD_LIBRARY_PATH
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/${arch}:${MW_HOME}/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib:${MW_HOME}/user_projects/domains/base_domain/lib:${WL_HOME}/server/native/linux/${arch}/oci920_8
    I also added the path to WEBLOGIC_CLASSPATH in commEnv.sh file.
    The sapjco.jar, libsapjcorfc.so and librfccm.so files are also available under below directories
    WL_HOME/server/lib
    MW_HOME/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib
    MW_HOME/user_projects/domains/base_domain/lib
    Any suggestions will be really helpful.
    Regards
    Subhankar

    Hi Manoj,
    I have added the libsapjcorfc.so and librfccm.so files to below locations:
    WL_HOME/server/lib
    MW_HOME/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib
    MW_HOME/user_projects/domains/base_domain/lib
    And also set the LD_LIBRARY_PATH and WEBLOGIC_CLASSPATH in commEnv.sh file.
    Eg:
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/${arch}:${MW_HOME}/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib:${MW_HOME}/user_projects/domains/base_domain/lib:${WL_HOME}/server/native/linux/${arch}/oci920_8
    Is there any other location where these need to be added ? I hope library path/system path refers to the WEBLOGIC_CLASSPATH ?
    Regards
    Subhankar

  • SSO issue in the production server,com.sap.mw.jco.JCO$Exception: (103)

    com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: This system rejects all logons using SSO tickets
    in the production server.....
    while testing the jco maintained for Ess applications.
    if i go for uidpw method for modeldata destination i am getting the error. in the Ess pages that administrtor not in this peroid(administrator with which id i maintained jco destination)
    if i assign one employee to the admin in pa30......for every employee getting the same details of admin)
    I guess this problem with modeldata ......i should maintain the usermanagement method for modeldata jco destination is logon ticket.
    while maintainig that ping is successfull but getting the above error.
    it is the problem with production server.......of E.P
    in dev and quality everything is working fine.
    plz help me out.
    thankyou
    swapna

    Hi Swapna,
    Please check the logon group properties for SAP system in t-code SMLG. If there is any issue with logon group then it might cause for this issue.
    Refer to [Click here|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/7.0/portal%20integration/how%20to%20configure%20the%20jco%20destination%20settings.pdf] and [System Landscape Directory Process and JCo Configuration|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c1d495-048e-2b10-babd-924a136f56b5?QuickLink=index&overridelayout=true]
    Hope it will helps
    Regards, Arun Jaiswal

  • JCO - RFC_ERROR_SYSTEM_FAILURE: com/sap/mw/jco/JCO$Server

    Hi,
    I call from Java an ABAP RFC and this RFC in turn call back the Java stack and it fails.
    At Java side I get:
    #1#com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: com/sap/mw/jco/JCO$Server
         at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:516)
         at com.sap.mw.jco.MiddlewareJRfc$Client.execute(MiddlewareJRfc.java:1515)
         at com.sap.mw.jco.JCO$Client.execute(JCO.java:3996)
         at com.sap.mw.jco.JCO$Client.execute(JCO.java:3544)
         at com.sap.sup.admin.setup.SolManRfcAdapter.getJabapLandscape(SolManRfcAdapter.java:787)
         at com.sap.sup.admin.setup.SetupUpgrader.execute(SetupUpgrader.java:52)
    At ABAP side I get:
    Category               ABAP Programming Error
    Runtime Errors      CALL_FUNCTION_REMOTE_ERROR
    ABAP Program      CL_DIAGLS_SMSY_FACTORY========CP
    Application Component  SV-SMG-DIA
    Date and Time        21.09.2009 17:50:59
    Short text
         "com/sap/mw/jco/JCO$Server"
    Is it allowed to call JAVA -> ABAP -> JAVA from JCO point of view?
    Thanks in advance!
    Regards,
    Serge.

    Hi Serge,
    Two doubts:
    - Does your RFC work when you call it directly from the SE37 puting the same input parameters used by Java application?
    - Was the RFC changed after the coding of Java application? If so, the interface between Java and RFC must be regenerated.
    Regards,
    Rodrigo.

  • (101) RFC_ERROR_PROGRAM: 'password' missing at com.sap.mw.jco.Middlewar

    All,
    I am trying to set up a simple demo about Payer direct with our 46C system. I have the R3 system defined in the system landscape. In user management, I have assigned UIDPW as logon method. I have maintained the User mapping where it is successfully saved but then when I go for the actual execution of the payer direct package, I get following error:
    com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: 'password' missing at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:413) at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:823) at com.sap.mw.jco.JCO$Client.connect(JCO.java:2922) at com.sapportals.portal.prt.service.jco.JCOClientService.getJCOClientPoolEntry(JCOClientService.java:1290) at com.sapportals.portal.prt.service.jco.JCOClientService.getJCOClientPoolEntry(JCOClientService.java:1059) at com.sap.pct.fin.suss.PortalJcoService.getClientFromPortalJCOService(PortalJcoService.java:71) at com.sap.pct.fin.suss.PortalJcoService.getFunctionFromPortalJCOService(PortalJcoService.java:85) at com.sap.pct.fin.suss.R3UserAccountService.getUserAccounts(R3UserAccountService.java:37) at com.sap.pct.fin.suss.PortalBusinessPartnerService.loadBusObjects(PortalBusinessPartnerService.java:150) at com.sap.pct.fin.suss.FrontController.createBillerDirectUser(FrontController.java:244) at com.sap.pct.fin.suss.FrontController.createNewModelManager(FrontController.java:207) at com.sap.pct.fin.suss.FrontController.prepare(FrontController.java:168) at com.sap.pct.fin.suss.FrontController.doContent(FrontController.java:94) 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:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377) at java.security.AccessController.doPrivileged(Native Method) at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390) at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729) at java.lang.Thread.run(Thread.java:534) .
    Exception id: 05:45_29/07/05_0026_3897050
    See the details for the exception ID in the log file
    Any help will be greatly appreciated.
    Regards,
    Abhijeet

    Hi Abhijeet,
    Can you tell us on what version of EP you are working?
    Did u try out other R/3 transaction codes using the same system. you can test in Sys Admin--> support --> SAP Application --> SAP Transaction for EP6 SP2 .Check to see whether you can access and have no error. For EP6 SP9, you can test connection after you create the system.
    there are few sAP notes with reference to EP5.0 on RFC_ERROR_PROGRAM - SAP note - 458082, 543870, 516636.
    Hope this helps,
    Thanks,
    Praveen
    PS.Dont forget to reward points for useful/solved answers

  • Failure in Model Create Step: com.sap.mw.jco.JCO$Exception: Missing R3NAME=

    Hi,
    I am running NW04sp10 and am trying to connect my WebDynPro to my R/3 backend app server - am running through the FlightChecking example using DevStudio 2.0.10.
    Have successfully created my meta + app data JCo's, they test and ping OK from the Content Manager.  SLD is fine, connecting happily to the NW and R/3 boxes.  One is message server, one central instance.
    When the 'create model' wizard tries to build the java proxies though, it comes back with this:
    [Fatal]:     com.sap.mw.jco.JCO$Exception: Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx
    Can anyone help?
    Cheers guys,
    Andy

    Hi Wael,
    I'm using the tutorial 'Handling Transactions with BAPIs in Web Dynpro' [part of SAP Online Help].
    The BAPI does work in se37, it's just a standard SAP delivered BAPI, and I've tried a few different ones to make sure it wasn't a BAPI specific problem.
    In the content admin I've navigated through the local/FlightChecking/Applications/FlightCheckingComp and then used the wizard to add the 2 JCOs [I've kept the default names for now after your previous advice]
    The data is like this:
    WD_MODELDATA_DEST:
    Name                  WD_MODELDATA_DEST
    Client                800
    J2EE Cluster Name     NW1 on chippy
    USER                  USER1
    Password              <password>
    Application Server    nero
    System ID             00
    WD_RFC_METADATA_DEST:
    Name                  WD_RFC_MODELDATA_DEST
    Client                020
    J2EE Cluster Name     NW1 on chippy
    USER                  USER1
    Password              <password>
    Application Server    chippy
    System name           NW1
    Logon Group           PUBLIC
    My landscape here is of 2 servers:
    'Nero'    SAP r/3 4.7 Application Server System ID ACI
    'Chippy'  SAP WebAS640 NW04 System ID NW1 ABAP+J2EE stack
    The JCOs 'test' and 'ping' successfully.  My WD_RFC_METADATA_DEST connection is to a message server, the WD_MODEL_DEST is to a central instance.
    Here's the full log from the create model wizard [I used a random BAPI for testing, BAPI_GET_PAYSLIP, so don't worry about that]:
    [Warning]:     Creating a connection with Metamodel language <en_GB> failed.  Continuing with language <EN>
    [Fatal]:     com.sap.mw.jco.JCO$Exception: Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx
    [Info]:     Creating Model: FlightChecking
    [Info]:     Creating Model Class: Bapi_Get_Payslip_Input
    [Info]:     Creating Model Class: Bapi_Get_Payslip_Output
    [Info]:     Creating Model Class: Bapireturn1
    [Info]:     Creating Model Relation: Bapi_Get_Payslip_Output:Return
    [Info]:     Creating Model Class Property: Type
    [Info]:     Creating Model Class Property: Id
    [Info]:     Creating Model Class Property: Number
    [Info]:     Creating Model Class Property: Message
    [Info]:     Creating Model Class Property: Log_No
    [Info]:     Creating Model Class Property: Log_Msg_No
    [Info]:     Creating Model Class Property: Message_V1
    [Info]:     Creating Model Class Property: Message_V2
    [Info]:     Creating Model Class Property: Message_V3
    [Info]:     Creating Model Class Property: Message_V4
    [Info]:     Creating Model Class Property: Employeenumber
    [Info]:     Creating Model Class Property: Payslipvariant
    [Info]:     Creating Model Class Property: Sequencenumber
    [Info]:     Creating Model Class: Bapi7004_Payslip
    [Info]:     Creating Model Relation: Bapi_Get_Payslip_Input:Payslip
    [Info]:     Creating Model Class Property: Format_Col
    [Info]:     Creating Model Class Property: Text_Col
    [Info]:     Creating Model Relation: Bapi_Get_Payslip_Output:Payslip
    [Info]:     Creating Model Relation: Bapi_Get_Payslip_Input:Output:Bapi_Get_Payslip_Output
    So it seems to actually be able to retrieve the metadata for the BAPIs, but not to make the relevant JCo's.  I've not gone on and completed the tutorial, assuming it won't work until I can sort out the above 'fatal' error.
    Thanks again for all of your good advice.
    Cheers,
    Andy

  • Com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP

    For reason to change server IP address,
    EP: 192.168.2.21 to 192.168.2.41
    BW:192.168.2.22 to 192.168.2.42
    and fix system by steps:
    1,logon bw system,using tcode sm59 to modify tcp/ip connection.
    2,logon ep system using visual administrator,and modified jco parameters.
    3,logon ep system using ie,and modified sld,datasupplier.
    4,restart bw and ep system.
    after changed,the BEx Web did not work,
    enter Maintain Jco destination
    select jco destination: mete_data
    click test
    raise the error:
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM  TYPE=B MSHOST=bw GROUP=public R3NAME=BW1 MSSERV=sapmsBW1 PCS=1 LOCATION    CPIC (TCP/IP) on local host with Unicode ERROR       partner '192.168.2.22:sapgw00' not reached TIME        Tue Dec 18 15:39:34 2007 RELEASE     700 COMPONENT   NI (network interface) VERSION     38 RC          -10 MODULE      nibuf.cpp LINE        4601 DETAIL      NiBufIConnect: connection pending after 60000ms SYSTEM CALL connect ERRNO       55 ERRNO TEXT  A connect operation on a socket is not complete. COUNTER     1
    would someone tell me how to resolve this problem.
    regards

    Hi,
    It seems that the SAP gateway host is deactivated or the TCP/IP port 33xx (where xx corresponds to the system number) is not open.
    First try pinging <IP address>.  If there is no reply, then Boot SAP Gateway host required.
    Check whether the TCP/IP port 33xx is open (where xx corresponds to the system number) and start the SAP gateway
    The TCP/IP port is also partially defined in the services file as an sapgw<SID> or sapgwxx entry (where xx corresponds to the system number). The services file is in the Windows directory or in WinNT/System32/drivers/etc.
    Hope this helps.
    Regards
    Srinivasan T

  • Com.sap.mw.jco.JCO$Exception: How to resolve this ???

    Hi all
    I am facing the following error while the Portal Loads the Logon Page.
    com.sap.mw.jco.JCO$Exception: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Tue Dec 20 15:55:17 GMT 2005.
    This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 3600 seconds.
    Could not start server: Connect to SAP gateway failed
    Connect_PM TPNAME=SAP.CCMS.J2EE.XPD, GWHOST=box4.manor.sap.point, GWSERV=sapgw00
    ERROR internal error
    (this retcode should be handled by caller of NI-layer)
    TIME Tue Dec 20 15:55:16 2005
    RELEASE 640
    COMPONENT NI (network interface)
    VERSION 37
    RC -8
    MODULE nixx.c
    LINE 666
    COUNTER 28
    FYI :
    1. I have customized the LOGON PAR
    2. Imported a new Package into the Logon JSP file
    3. The imported new Package has been added in the Class Build Path of the PAR Project
    4. The Imported Package does the JCO connection and disconnection
    Thanks
    Kay

    Hello Kay,
    have you checked you services file for an Entry with
    3300/tcp sapgw00
    Regards
    Gregor

Maybe you are looking for