JCO  DATA_BUFFER_EXCEEDED exception

Hi all,
while executing below code I got this error;
ERROR;
com.sap.mw.jco.JCO$Exception: (127) JCO_ERROR_FIELD_NOT_FOUND: Field EBELN not a member of RFC_DB_FLD
     at com.sap.mw.jco.JCO$MetaData.indexOf(Unknown Source)
     at com.sap.mw.jco.JCO$MetaData.getDescription(Unknown Source)
     at Test6.<init>(Test6.java:33)
     at Test6.main(Test6.java:62)
Exception in thread "main"
FOLLOWING CODE;
import java.util.ArrayList;
import com.sap.mw.jco.*;
import com.sap.mw.jco.JCO.Field;
import com.sap.mw.jco.JCO.Record;
public class Test6 {     
     JCO.Client mConnection;
     JCO.Repository mRepository;
     IFunctionTemplate ftemplate;
     public Test6() {
          try {
               mConnection =JCO.createClient("800","sapuser","sapuser","en","10.113.10.201","00");
               mConnection.connect();
               System.out.println("connection attribute:"+ mConnection.getAttributes());
               if (mConnection == null) {
                    System.out.println("Connection to SAP Server failed.");
               mRepository = new JCO.Repository("User", mConnection);
               ftemplate = mRepository.getFunctionTemplate("RFC_READ_TABLE");
          catch (Exception ex) {
               ex.printStackTrace();
               System.exit(1);
          JCO.Function function = ftemplate.getFunction();
          JCO.ParameterList importParamList = function.getImportParameterList();
          importParamList.setValue("EKKO", "QUERY_TABLE");//For Purchase Order
          importParamList.setValue(",", "DELIMITER");
          JCO.Table tableData = function.getTableParameterList().getTable("DATA");
          System.out.println(""+tableData);
          JCO.Table fields = function.getTableParameterList().getTable("FIELDS");
          System.out.println(""+fields);
          String sg =fields.getDescription("EBELN");
          System.out.println("...."+sg);
          mConnection.execute(function);     
          if (tableData.getNumRows() > 0) {
               do {
                    System.out.println("Purchase Order Details::");
                    for (JCO.FieldIterator e = tableData.fields();e.hasMoreElements();) {
                         JCO.Field field = e.nextField();
                         String str = field.getString();
                         String[] values = str.split(",");
                         for (int j = 0; j < values.length; j++) {
                              System.out.println("\t"+values[j].trim());
               } while (tableData.nextRow());
      else
               System.out.println("No results found");     
          mConnection.disconnect();
     public static void main (String args[]) {
          Test6 app = new Test6();
please suggest suitable code.....
Thanks in advance.....
Ramesh

Hi,
This line produces the error:
String sg =fields.getDescription("EBELN");
I would delete (comment out) these lines:
String sg =fields.getDescription("EBELN");
System.out.println("...."+sg);
Good luck, Roelof
PS what strange subject!?

Similar Messages

  • 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

  • JCO ABAP Exception

    Hi Experts,
    Portal version: 7.02
    When I am trying to run a application, I am getting the following error,
    com.sap.mw.jco.JCO$AbapException: (126) NOT_FOUND: NOT_FOUND
    at com.sap.mw.jco.JCO$Client.execute(JCO.java:3712)
    at com.sap.mw.jco.JCO$Repository.execute(JCO.java:21910)
    at com.sap.mw.jco.JCO$Repository.queryFunctionInterface(JCO.java:22312)
    at com.sap.mw.jco.JCO$Repository.queryFunctionInterface(JCO.java:21935)
    at com.sap.mw.jco.JCO$Repository.getFunctionInterface(JCO.java:22039)
    at com.sap.tc.webdynpro.modelimpl.dynamicrfc.RFCMetadataRepository.getJcoMetadataForFunction(RFCMetadataRepository.java:77)
    at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.descriptor(AiiModelClass.java:220)
    at com.pg.invmodel.models.inv_unicode.Zisp_Inv_Get_Details_Input.<init>(Zisp_Inv_Get_Details_Input.java:51)
    at com.pg.invoicedetailapp.controllers.datauncust.DataUNCust.wdDoInit(DataUNCust.java:109)
    at com.pg.invoicedetailapp.controllers.datauncust.wdp.InternalDataUNCust.wdDoInit(InternalDataUNCust.java:327)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingCustomController.doInit(DelegatingCustomController.java:73)
    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.progmodel.controller.Component.getCustomControllerInternal(Component.java:450)
    at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:388)
    at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:417)
    at com.sap.tc.webdynpro.progmodel.context.MappingInfo.getDataNode(MappingInfo.java:83)
    at com.sap.tc.webdynpro.progmodel.context.MappingInfo.initMapping(MappingInfo.java:125)
    at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:121)
    at com.sap.tc.webdynpro.progmodel.context.MappedNodeInfo.doInit(MappedNodeInfo.java:215)
    at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
    at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
    at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
    at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:450)
    at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:388)
    at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:417)
    at com.sap.tc.webdynpro.progmodel.context.MappingInfo.getDataNode(MappingInfo.java:83)
    at com.sap.tc.webdynpro.progmodel.context.MappingInfo.initMapping(MappingInfo.java:125)
    at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:121)
    at com.sap.tc.webdynpro.progmodel.context.MappedNodeInfo.doInit(MappedNodeInfo.java:215)
    at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
    at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
    at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
    at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
    at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
    at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
    at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:182)
    at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:177)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    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:1060)
    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(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Here I checked ,
    1. JCOs- no issue with jcos, all are working fine.
    2. There is no modification done in that particular FM Zisp_Inv_Get_Details ( Confirmed with ABAP team)
    3. This was working previous, i mean 1 week back but  now its dumping.
    4. I also refereed Error while Accessing RFC in java webdynpro and  some other scn links, but no luck yet.
    Kindly help me to find the root-cause   for this issue.
    Thanks & regards
    Rabin D

    HI Experts,
    When i tried the application in quality portal, the error is different, the error is as below
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: CPIC-CALL: CMRCV on convId: 86354998
    LOCATION CPIC (TCP/IP) on local host with Unicode
    ERROR connection to partner '155.111.253.124:3300' broken
    TIME Tue May 27 06:46:18 2014
    RELEASE 720
    COMPONENT NI (network interface)
    VERSION 40
    RC -6
    MODULE nixxi.cpp
    LINE 5086
    DETAIL NiIRead: P=155.111.253.124:3300; L=???
    SYSTEM CALL recv
    ERRNO 232
    ERRNO TEXT Connection reset by peer
    COUNTER 35
    at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:516)
    at com.sap.mw.jco.MiddlewareJRfc$Client.execute(MiddlewareJRfc.java:1498)
    at com.sap.mw.jco.JCO$Client.execute(JCO.java:4185)
    at com.sap.mw.jco.JCO$Client.execute(JCO.java:3697)
    at com.sap.mw.jco.JCO$Repository.execute(JCO.java:21910)
    at com.sap.mw.jco.JCO$Repository.queryFunctionInterface(JCO.java:22249)
    at com.sap.mw.jco.JCO$Repository.queryFunctionInterface(JCO.java:21935)
    at com.sap.mw.jco.JCO$Repository.getFunctionInterface(JCO.java:22039)
    at com.sap.tc.webdynpro.modelimpl.dynamicrfc.RFCMetadataRepository.getJcoMetadataForFunction(RFCMetadataRepository.java:77)
    at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.descriptor(AiiModelClass.java:220)
    at com.pg.invmodel.models.inv_unicode.Zisp_Inv_Get_Details_Input.<init>(Zisp_Inv_Get_Details_Input.java:51)
    at com.pg.invoicedetailapp.controllers.datauncust.DataUNCust.wdDoInit(DataUNCust.java:109)
    at com.pg.invoicedetailapp.controllers.datauncust.wdp.InternalDataUNCust.wdDoInit(InternalDataUNCust.java:327)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingCustomController.doInit(DelegatingCustomController.java:73)
    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.progmodel.controller.Component.getCustomControllerInternal(Component.java:450)
    at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:388)
    at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:417)
    at com.sap.tc.webdynpro.progmodel.context.MappingInfo.getDataNode(MappingInfo.java:83)
    at com.sap.tc.webdynpro.progmodel.context.MappingInfo.initMapping(MappingInfo.java:125)
    at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:121)
    at com.sap.tc.webdynpro.progmodel.context.MappedNodeInfo.doInit(MappedNodeInfo.java:215)
    at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
    at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
    at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
    at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:450)
    at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:388)
    at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:417)
    at com.sap.tc.webdynpro.progmodel.context.MappingInfo.getDataNode(MappingInfo.java:83)
    at com.sap.tc.webdynpro.progmodel.context.MappingInfo.initMapping(MappingInfo.java:125)
    at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:121)
    at com.sap.tc.webdynpro.progmodel.context.MappedNodeInfo.doInit(MappedNodeInfo.java:215)
    at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
    at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
    at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
    at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
    at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
    at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
    at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:182)
    at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:177)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    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:1060)
    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(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Thanks & Regards
    Rabin D

  • JCO exceptions in business connector

    hi..
    i am getting the below JCO$ABAp exceptions in BC server.
    can anyone pls clarify the root cause of these errors and possible solutions as to how they can be eliminated:
    com.sap.mw.jco.JCO$AbapException: (126) INVALID_STATUS: INVALID_STATUS
         at com.wm.pkg.sap.rfc.SAPSession.invoke(SAPSession.java:463)
         at pub.sap.client.invoke(client.java:297)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
         at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
         at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
         at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
         at com.wm.lang.flow.FlowState.step(FlowState.java:430)
         at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
         at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
         at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
         at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
         at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
         at com.wm.lang.flow.FlowState.step(FlowState.java:430)
         at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
         at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
         at wm.server.net.EmailTransaction$RunService.write(EmailTransaction.java:1375)
         at wm.server.net.EmailTransaction$RunService.run(EmailTransaction.java:1218)
         at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
         at java.lang.Thread.run(Unknown Source)
    any inputs would be highly appreciated.
    thanks
    priya.

    hii..
    i am not handling sap side as such..just taking care of the business connector side.
    i need to know if the resulting jco exceptions are due to services running in bc or sap function module side
    thanks

  • Error in Connecting to BAPI (Error connecting using JCO.Client: null)

    Hi,
        I am trying to connect to a BAPI to extract data. However, I am getting this error
        Error connecting using JCO.Client: null
        Pls explain the meaning of the error and solution to the problem
    TIA
    Himanshu

    Hi,
    This means you are getting error while executing your model. its not able to use the JCO's.
    as I asked previously check your JCO status... its up and running????
    Here are some threads having same problem
    URGENT :Error connecting using JCO.Client: null
    Model and MetaData configarations  in JCO Connection
    Exception while executing
    PradeeP
    Edited by: pradeep bondla on Jul 31, 2008 11:53 AM

  • JCO Error in leave request.

    Dear Experts,
    When i open the leave request application, when we select date & leave type & go futhure ...i am facing below mentioned error in my portal.This is after upgradation of EHP5
    JCO$Abap Exception
    com.sap.mw.jco.JCO$AbapException: (126) NOT_FOUND: NOT_FOUND
    at com.sap.mw.jco.JCO$Client.execute(JCO.java:3486)
    at com.sap.mw.jco.JCO$Repository.execute(JCO.java:20965)
    at com.sap.mw.jco.JCO$Repository.queryFunctionInterface(JCO.java:21367)
    at com.sap.mw.jco.JCO$Repository.queryFunctionInterface(JCO.java:20990)
    at com.sap.mw.jco.JCO$Repository.getFunctionInterface(JCO.java:21094)
    Regards,
    *Nisha K

    Dear Nisha,
    Hope you are doing good.
    The below link gives the reason for this issue:
    http://help.sap.com/erp2005_ehp_05/helpdata/en/f6/daea401675752ae10000000a155106/frameset.htm
    Can you please download the latest patch level of the RFC library for your release as well. Please see note 413708 on how to download the RFC library.
    Make sure that the JDK being used is supported and if the issue persists, enable the below JCo trace as per:
    628962 - How to switch on the SAP JCo trace
    Then reproduce the issue and check the latest logs for more info..
    Thank you and have a nice day :).
    Kind Regards,
    Hemanth
    SAP AGS

  • What wrong with JCO and SAP

    I add all necessary class for JCO in my package but it returns error.
    =========================================
    28 &#3617;&#3636;.&#3618;. 2550 16:09:31 org.apache.axis.utils.JavaUtils isAttachmentSupported
    WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
    AxisFault
    faultCode: Server.generalException
    faultSubcode:
    <b>faultString: java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO; nested exception is:
         java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO</b> faultActor:
    faultNode:
    faultDetail:
         hostname:tagdvtrat1
    java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO; nested exception is:
         java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)>>
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at com.pda.IssueBAPISoapBindingStub.doIssue201(IssueBAPISoapBindingStub.java:144)
         at com.pda.testWS.main(testWS.java:14)

    Hi Pornthep,
    this is not the fault of JCO/SAP. There are jar files/classes missing in the classpath. If you are using Axis2 there are some good samples on how to deploy the web service using environmental variables (keywords AXIS2_HOME, ant and maven build file). This may help you to avoid missing libraries. In case you are using Axis1 you can adapt most of the deployment procedure.
    Hope that this may help you.
    Best regards
    Frieder

  • Connect to SAP Gateway failed.

    Hello.  When I setup the databridge it errors out.  When I check for processes, it shows sapmsj2e as being on port 3601 in my services file.  But I can't launch a webdyn pro or access my machine with the sap gui.  Any ideas?
    Heres the log file snipped
    352 11/16/04 1:28:12 PM [SAPEngine_Application_Thread[impl:3]_12] INFO com.sap.lcr.webui.DPBridgeServlet: Data Supplier Bridge started.
    #351 11/16/04 1:28:09 PM [JCO.ServerThread-97] DEBUG com.sap.lcr.sagent.SAPProxyServer: JCO exception processed.
    #350 11/16/04 1:28:09 PM [JCO.ServerThread-97] DEBUG com.sap.lcr.sagent.SAPProxyServer: On server exception: Terminated thread.
    #349 11/16/04 1:28:09 PM [JCO.ServerThread-97] DEBUG com.sap.lcr.sagent.SAPProxyServer: JCO Server exception received: Server startup failed at Tue Nov 16 13:28:09 PST 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 1 seconds.
    Could not start server: Connect to SAP gateway failed
    Connect_PM TPNAME=SLD_NUC, GWHOST=orw-gharnish, GWSERV=sapmsJ2E
    LOCATION CPIC (TCP/IP) on local host with Unicode
    ERROR connection to partner broken
    TIME Tue Nov 16 13:28:09 2004
    RELEASE 640
    COMPONENT NI (network interface)
    VERSION 37
    RC -6
    MODULE ninti.c
    LINE 784
    DETAIL NiPRead (147.34.68.157/sapmsJ2E, hdl 1)
    SYSTEM CALL recv
    COUNTER 88
    Thrown:
    com.sap.mw.jco.JCO$Exception: Server startup failed at Tue Nov 16 13:28:09 PST 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 1 seconds.
    Could not start server: Connect to SAP gateway failed
    Connect_PM TPNAME=SLD_NUC, GWHOST=orw-gharnish, GWSERV=sapmsJ2E
    LOCATION CPIC (TCP/IP) on local host with Unicode
    ERROR connection to partner broken
    TIME Tue Nov 16 13:28:09 2004
    RELEASE 640
    COMPONENT NI (network interface)
    VERSION 37
    RC -6
    MODULE ninti.c
    LINE 784
    DETAIL NiPRead (147.34.68.157/sapmsJ2E, hdl 1)
    SYSTEM CALL recv
    COUNTER 88

    Also.  If I check my bridge connections it shows this:
    [DOWN] JCO/RFC server threads
    Is that related to the other problem?
    Thanks,  Graeme.

  • Remote Enabled function module of SAP working - debug mode but not run mode

    Hi,
    When a remote function module is called from Java a message should get thrown from the function module which the FM is throwing but Java is not able to fetch the error. This problem is coming in execution mode but if we are in debugging mode and go to the function module  remotely the error is getting triggered.
    Please suggest the solution to the problem.
    Thanks,
    Abhishek

    Hello
    try something like this
    try {
       JCO.Client.execute(myFunction)
    } catch (JCO.AbapException ex) {
       System.out.println ("ABAP Exception: " + ex.getKey() + " " + ex.getMessage());
    the problem is, that JCo ABAP Exceptions are subclasses of java.lang.RuntimeException so the Java Compiler doesn't force you to catch them
    regards franz
    reward points if useful

  • UWL: User MSSNO1 has No rfc authorization for function group SWK1

    Dear all,
    We have just recently upgrade our support pack and the UWL in the portal is not working anymore. It throw an error message when we click on the work item.
    (connector): com.sap.mw.jco.JCOSE Exception:User MSSNO1 has No rfc authorization for function group SWK1
    Anyone know how to fix this?
    I am not too sure about the authorization part. Can someone guide me please?
    Thanks.
    Regards,
    Bryan.

    Hi Brain,
    Pls check this thread for solution
    Re: UWL and function group swk1
    Regards,
    Harini S

  • Cannot Connect to Gateway Server

    Hello. When I setup the databridge it errors out. When I check for processes, it shows sapmsj2e as being on port 3601 in my services file. But I can't launch a webdyn pro or access my machine with the sap gui. Any ideas?
    I've also tried using the sapgw00 as well, and it still doesn't work.  Its defined as port 3300 in my service file.  Also, it doesnt show under netstat.
    Thanks!
    Heres the log file snipped
    352 11/16/04 1:28:12 PM [SAPEngine_Application_Thread[impl:3]_12] INFO com.sap.lcr.webui.DPBridgeServlet: Data Supplier Bridge started.
    #351 11/16/04 1:28:09 PM [JCO.ServerThread-97] DEBUG com.sap.lcr.sagent.SAPProxyServer: JCO exception processed.
    #350 11/16/04 1:28:09 PM [JCO.ServerThread-97] DEBUG com.sap.lcr.sagent.SAPProxyServer: On server exception: Terminated thread.
    #349 11/16/04 1:28:09 PM [JCO.ServerThread-97] DEBUG com.sap.lcr.sagent.SAPProxyServer: JCO Server exception received: Server startup failed at Tue Nov 16 13:28:09 PST 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 1 seconds.
    Could not start server: Connect to SAP gateway failed
    Connect_PM TPNAME=SLD_NUC, GWHOST=orw-gharnish, GWSERV=sapmsJ2E
    LOCATION CPIC (TCP/IP) on local host with Unicode
    ERROR connection to partner broken
    TIME Tue Nov 16 13:28:09 2004
    RELEASE 640
    COMPONENT NI (network interface)
    VERSION 37
    RC -6
    MODULE ninti.c
    LINE 784
    DETAIL NiPRead (147.34.68.157/sapmsJ2E, hdl 1)
    SYSTEM CALL recv
    COUNTER 88
    Thrown:
    com.sap.mw.jco.JCO$Exception: Server startup failed at Tue Nov 16 13:28:09 PST 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 1 seconds.
    Could not start server: Connect to SAP gateway failed
    Connect_PM TPNAME=SLD_NUC, GWHOST=orw-gharnish, GWSERV=sapmsJ2E
    LOCATION CPIC (TCP/IP) on local host with Unicode
    ERROR connection to partner broken
    TIME Tue Nov 16 13:28:09 2004
    RELEASE 640
    COMPONENT NI (network interface)
    VERSION 37
    RC -6
    MODULE ninti.c
    LINE 784
    DETAIL NiPRead (147.34.68.157/sapmsJ2E, hdl 1)
    SYSTEM CALL recv
    COUNTER 88

    Still need help =(

  • SLD bridge error, unable RZ70

    Hi
    I have installed WAS Java Only system, the SLD supplier is able to push the data into SLD using HTTP SLD Supplier of Visual Admin.
    But now I would like to push an ABAP system's data over, so I try to configure the Data Supplier Bridge in SLD, but hit the following error, so unable to RZ70 as well:
    Please advise.
    Thanks
    Jack
    #54 04/19/2006 22:38:37.134 [JCO.ServerThread-9] ERROR com.sap.lcr.sagent.SAPProxyServer: JCO Server exception raised: Server startup failed at Wed Apr 19 22:38:37 GMT+08:00 2006.
    This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 1 seconds.
    Could not start server: Connect to SAP gateway failed
    Connect_PM TPNAME=SLD_NUC, GWHOST=lpc1, GWSERV=sapgw54
    ERROR partner not reached (host 192.168.1.10, service sapgw54)
    TIME Wed Apr 19 22:38:37 2006
    RELEASE 640
    COMPONENT NI (network interface)
    VERSION 37
    RC -10
    MODULE nixxi_r.cpp
    LINE 8579
    DETAIL NiPConnect2
    SYSTEM CALL SiPeekPendConn
    ERRNO 10061
    ERRNO TEXT WSAECONNREFUSED: Connection refused
    COUNTER 1
    Thrown:
    com.sap.mw.jco.JCO$Exception: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Wed Apr 19 22:38:37 GMT+08:00 2006.
    This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 1 seconds.
    Could not start server: Connect to SAP gateway failed
    Connect_PM TPNAME=SLD_NUC, GWHOST=lpc1, GWSERV=sapgw54

    Hi JackLim
    You had better check RFC Destination by SM59,
    and JCo RFC Provider by Visual Admin .
    1:Check whether Program ID is matching.
    2:Check ABAP System is Unicode or Non-Unicode,
      and collect settings.
      ->if ABAP System is Non-Unicode System,
        Check off the Unicode Flag of JCo RFC Provider.
    regards.
    Yuki Fujioka

  • Problems in porting J2EE applications to EP

    Hi Experts,
    I'm looking for problems that are faced when one migrates J2EE applicaitons on to EP. If possible please share the solutions as well.
    Thank you and Best Regards,
    Chintamani

    Hi Kishor,
    see guide to deploy pure-j2ee app to WAS 640?
    Hope it helps
    Detlev
    PS: Please be more responsive! If you ask something and people answer, it is not more than kind to reply if it was helpful or not, and then, where the problem stayed. This is friendly against the ones who help as well as against other users running into the same issue. And: One can very efficiently say "thanks" on SDN by rewarding points for helpful answers.
    This holds at least for the following threads opened by yours:
    Netweaver Studio and Portal Development  Application Creation (elp)
    Netweaver Studio(J2EE)  and Portal Applications (Help Me)
    Webdynpro Flights Project using JCO Connection
    Exceptions in Flights Webdynpro using JCO Connection

  • Never got any response from this forum!!!!

    Never got any response from this forum!!!!

    PLEASE DO HELP ME, ELSE I WILL BE KICKED OUT FROM MY JOB!!!
              I have been encountering the same problem for two weeks, but I couldn't solve it yet since I am using WebLogic not Websphere, and I'm not using SAPJ2EE server.
              Running it under Windows, there is no problem. But in Linux, it does. I always encounter,
              java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO; nested exception is: java.rmi.RemoteException: EJB Exception:
              The configurations are right on LD_LIBRARY_PATH. I mean, the file "librfccm.so" and "libsapjcorfc.so" are being refered. Also the sapjco.jar is set to CLASSPATH.
              I am using JCO in Linux and deploying it in WebLogic. I already put the
              APP_CLASSPATH=$APP_HOME/sapjco.jar. I guarantee you that the configurations on path and classpath are correct.
              Is there anything to do with "application.xml" of the j2ee? Do I need to add some tag there?
              I tried also putting the "sapjco.jar" in WEB-INF\lib but it doesn't wiork.
              The tag below obviously, wouldn't work for me.
              <reference reference-type="hard">
              <reference-target
              provider-name="engine.sap.com"
              target-type="library">com.sap.mw.jco
              </reference-target>
              </reference>
              PLEASE DO HELP SINCE MY DAYS ARE NUMBERED

  • Porting J2EE Applications to SAP WAS

    Helloo,
    Can anyone help me.
    If u have informations about porting of J2EE Applications into SAP WAS , then plz help me.
    I need certain J2EE Applications which are developed under J2EE 1.2 or lower than 1.3 (EAR files for conversion using convert tool).
    Please help me with suficient help including links for downloading EAR files(J2EE 1.2 ) with help for porting.
    I want to port one J2EE Application which is not developed under SAP WAS Netweaver (means not  even under 6.2), completely out of SAP WAS environment.
    How can i port that Application into SAP WAS?
    What are the prerequisites for this?(I Have Netweaver Studio).
    If any documents with helps available then help me with that links also..
                   With Regards
                    Kishor

    Hi Kishor,
    see guide to deploy pure-j2ee app to WAS 640?
    Hope it helps
    Detlev
    PS: Please be more responsive! If you ask something and people answer, it is not more than kind to reply if it was helpful or not, and then, where the problem stayed. This is friendly against the ones who help as well as against other users running into the same issue. And: One can very efficiently say "thanks" on SDN by rewarding points for helpful answers.
    This holds at least for the following threads opened by yours:
    Netweaver Studio and Portal Development  Application Creation (elp)
    Netweaver Studio(J2EE)  and Portal Applications (Help Me)
    Webdynpro Flights Project using JCO Connection
    Exceptions in Flights Webdynpro using JCO Connection

Maybe you are looking for

  • I need to batch process images to 800x800px without cropping off any part of the images.  Is this possible in photoshop?

    I have tried processing these through Bridge and image processor, but can only limit either of the height or width to the 800px size.  I need the final images to be 800x800px, and don't mind if they have a white border to achieve this.

  • Photos/Pictures viewd in Safari

    Hey all, I was just wondering if there is anyway of saving photos/pictures that you view in Safari to the iPhone so that you can use these as wallpaper? It seems silly to have to use a PC to download the picture and then synch to your iPhone when all

  • ATP in SD. Advantage of ATP server & locks for multiple users.

    hi, I am working on ATP in SD. We have to design our own ATP calculation logic. 1. What is advantage of ATP server (logical partition) in SD. does it helps in regulating the calls for ATP calculation. 2. In standard there is lock for plant & material

  • BRING BACK THE ALBUM ART IN THE BOTTOM LEFT!!!!!!!!!!

    UGH!!!!!! I don't like having to go to the Album list to see the album art.  I could care less about what others think.  But this was helpful to me.  It kept me from having to switch back and forth between screen to see what album art hasn't been dow

  • Local werc webserver

    Dear all, I'm trying to run a werc website locally on my machine, but it's not that easy. When I open http://localhost in a browser, I only get the source file index.md as a text file, instead of the full werc interface. I use lighttpd as a webserver