Error during JCO connection

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

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

Similar Messages

  • Error during database connection to the database : MS SQL Server 2008 R2

    Hi All,
    I am working with ABAP Proxy to Rec JDBC( Integrating XI with MS SQL Server 2008 R2). I am using SAP PI 7.0
    I am getting error in RWB at communication channel monitoring :
    Error during database connection to the database URL 'jdbc:microsoft:sqlserver://10.1.92.111:1433;database=XONTUSERVENTURA_ORG_TEST' using the JDBC driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://10.1.92.111:1433;database=XONTUSERVENTURA_ORG_TEST': SAPClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver'
    I have given Connection details at Rec JDBC Communication channel as :
    JDBC Driver as : com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection : jdbc:sqlserver://10.1.92.111:1433;database=XONTUSERVENTURA_ORG_TEST.
    Please help me in this regard. I really appreciate your valuable information and time.
    Thanks and Regards,
    Ayub.
    Edited by: Ayubsajjid on Feb 15, 2012 8:49 AM

    Hi All,
    Thanks for all your valuable inputs on my question...
    As per all your inputs, we have to install/Deploy the below required jar files in the aii_af_jmsproviderlib.sda file
    ojdbc14.jar
    msbase.jar
    mssqlserver.jar
    msutil.jar
    Can you please tell me from where we will exact this .jar file, bcoz we have search lotzz but we helpless.
    We install from this link http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=21599--> we download sqljdbc_3.0.1301.101_enu  file >sqljdbc_3.0>enu-->in that I find sqljdbc.jar and sqljdbc4.jar files only . I cant above said .jar files.
    Please help me.
    Regards,
    Ayub.

  • RemoteException: java.rmi.ConnectIOException: error during JRMP connection

    We have a Java application implementing a RMI server.
    The server uses with the jacob api in order to generate Word files in a windows system.
    My clients work in linux.
    The RMI method is synchronized in order not to have problems executing Word from multiple threads.
    The application and the RMI server work all right for some time, but after some hours (sometimes days) the client throws the following error:
    RemoteException: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    java.net.SocketException: Connection reset

    Hi Varun,
    This is definitely required even if you are on WAS6.40.
    After copying this , you have to also follow the register dll using this command
    rgsvr32 "c:\Winnt\system32\librfc32.dll"
    check the OS your using wether it is windowsXP/2003 or 2000.
    there are seperate commands for them to register the dll.
    This is available in the installation guide.
    we also had the same problem and then we did this and it worked for us.
    f you have done this, then there are other possibilities also
    1. Install SOAP toolkit on the CRM server as this is required to establish the connectivity
    2. See whether the MAPBOX services are deployed on the SAP J2EE engine
    3. Create RFC through SM59 only for mapbox and register them.
    4. See if there are any old versions of Java on your machine then uninstall them and install the required java components.
    Let us know if it resolved the problem
    Thanks
    Yash
    reward points if it helps.

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

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

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

  • Error during RFC connection

    Hi
    I am trying to edit test partner script from eca script, but i am getting one error 'ecatt error ECATT_STORE_BLOB(2)
    saving of blob denied for security reasons. you may not be in the edit mode of ecatt ' when i click on ok button it is telling error during RFC connection and whatever changes i made in test partner is not saved.
    How to solve this problem. Please help me.

    Is it working fine in the standalone mode?
    Refer to the below checklist for trouble shooting:
    1) Maintenance of DSN settings to the databases -  TP_EDIT and TP_EXEC
    2) Maintenance of R/3 connection parameters
    3) Refer eCATT Security guide
    4) Refer OSS note - 519858
    Please note that for an integration Scenario, the connection and user information is required so that appropriate rights are established automatically.
    Hope this helps!

  • Error during JRMP connection

    I am havin some problem with RMI. Let me explain the application a bit first.
    I've an application form which invokes some remote method from the database (oracle). Since oracle cannot call remote methods directly from database, we use a bridge which is developed in java.
    In order to run that i do the following in a batch file:
    start rmiregistry 2607
    rem Attempt to run the bridge
    echo Runing the bridge ...
    java com.cramer.syncengine.RegisterBridge
    the service starts up successfully without any prob.
    Now, when im using the application (which requires this RMI bridge and RMI registry) i'm getting the following error.
    Starting the RMI Registry...
    Runing the bridge ...
    Object instantiated: com.cramer.syncengine.SyncEngineBridgeServer[RemoteStub [ref: [endpoint:[172.24.5.99:1519](local),objID:[0]]]]
    java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    java.net.SocketTimeoutException: Read timed out
    If anyone can help me out to understand where the problem is?

    It looks like your server is timing out trying to bind itself to the Registry. You might need to allow a little time for the Registry to get itself started before starting your server, or at least between the export and the bind inside your server code, or just retry the bind a couple of times after increasing intervals before bailing out.

  • Error during database connection (JDBC)

    Hello!
    When I try testing my connection to MSSQL (using sender JDBC channel) in communication channel monitoring (RWB)i can read that Error explanation:
    Error during database connection to the database URL 'jdbc:microsoftsqlserver://<DB_IP_ADRESS>:1433;databaseName=XXXX' using the JDBC driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Unable to locate a suitable JDBC driver to establish a connection to URL 'jdbc:microsoftsqlserver://<DB_IP_ADRESS>:1433;databaseName=XXXX''
    Before I did the communication channel configuration I did the driver instalation and deploy like in document "HowTo_ConfigExtAdapters". In Adapter Monitor (RWB) i can see the JDBC adapter instaled and started (gray square).
    Any idea what is wrong?

    hi,
    try this:
    jdbc:microsoft:sqlserver://
    and not
    jdbc:microsoftsqlserver
    Regards,
    michal

  • Error in JCo Connection creation

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

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

  • Error In JCO Connection

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

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

  • Error with JCO connection ?

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

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

  • Error in JCo Connections

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

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

  • Error in JCO Connection prorgam

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

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

  • ICU shows errors during the connection to exchange mail

    Hello everyone,
    I have the following problem. When connection the exchange mail, during the synchronisation, such error appears on my device's screen:
    "Cannot Get Mail.
    The connection to the server failed"
    After few minutes, when errors on the screen are confirmed many times, the mail is synchronised and messages are downloaded from the server to the device (e.g on iPhone5 iOS 7.1).
    The logs in ICU show the following information:
    Mar 26 10:42:14 #######-iPad dataaccessd[111] <Warning>: NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9824)
    Mar 26 10:42:15 #######-iPad dataaccessd[111] <Notice>: 0x16d41ab0|EAS|Error|[ASFolderItemsSyncTask 0x16f07680, conn 0x16ef9470, request 0x16ef8020] connection died with error Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo=0x180f02c0 {NSErrorFailingURLStringKey=https://mail.#######.com/Microsoft-Server-ActiveSync?User=#######&DeviceId=ApplD LXFP3G9DKNV&DeviceType=iPad&Cmd=Sync, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSErrorFailingURLKey=https://mail.#######.com/Microsoft-Server-ActiveSync?User=#######&DeviceId=ApplD LXFP3G9DKNV&DeviceType=iPad&Cmd=Sync, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSUnderlyingError=0x180f4310 "An SSL error has occurred and a secure connection to the server cannot be made."}
    Mar 26 10:42:15 #######-iPad dataaccessd[111] <Notice>: 0x16d41ab0|EAS|Error|ASFolderItemsSyncTask failed: Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo=0x180f02c0 {NSErrorFailingURLStringKey=https://mail.#######.com/Microsoft-Server-ActiveSync?User=#######&DeviceId=ApplD LXFP3G9DKNV&DeviceType=iPad&Cmd=Sync, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSErrorFailingURLKey=https://mail.#######.com/Microsoft-Server-ActiveSync?User=#######&DeviceId=ApplD LXFP3G9DKNV&DeviceType=iPad&Cmd=Sync, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSUnderlyingError=0x180f4310 "An SSL error has occurred and a secure connection to the server cannot be made."}
    Mar 26 10:42:15 #######-iPad dataaccessd[111] <Notice>: 0x16d41ab0|EAS|Error|Folder with id 7 and title savedd has failed to sync 2 time(s) in a row
    Mar 26 10:42:15 #######-iPad dataaccessd[111] <Warning>: CFNetwork SSLHandshake failed (-9824)
    Mar 26 10:42:15 #######-iPad dataaccessd[111] <Warning>: NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9824)
    Mar 26 10:42:15 #######-iPad dataaccessd[111] <Notice>: 0x16d41ab0|EAS|Error|[ASFolderItemsSyncTask 0x180eb3b0, conn 0x1813bfc0, request 0x16fcf400] connection died with error Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo=0x16f0cd40 {NSErrorFailingURLStringKey=https://mail.#######.com/Microsoft-Server-ActiveSync?User=#######&DeviceId=ApplD LXFP3G9DKNV&DeviceType=iPad&Cmd=Sync, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSErrorFailingURLKey=https://mail.#######.com/Microsoft-Server-ActiveSync?User=#######&DeviceId=ApplD LXFP3G9DKNV&DeviceType=iPad&Cmd=Sync, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSUnderlyingError=0x180f4310 "An SSL error has occurred and a secure connection to the server cannot be made."}
    Mar 26 10:42:15 #######-iPad dataaccessd[111] <Notice>: 0x16d41ab0|EAS|Error|ASFolderItemsSyncTask failed: Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo=0x16f0cd40 {NSErrorFailingURLStringKey=https://mail.#######.com/Microsoft-Server-ActiveSync?User=#######&DeviceId=ApplD LXFP3G9DKNV&DeviceType=iPad&Cmd=Sync, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSErrorFailingURLKey=https://mail.#######.com/Microsoft-Server-ActiveSync?User=#######&DeviceId=ApplD LXFP3G9DKNV&DeviceType=iPad&Cmd=Sync, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSUnderlyingError=0x180f4310 "An SSL error has occurred and a secure connection to the server cannot be made."}
    Mar 26 10:42:15 #######-iPad dataaccessd[111] <Notice>: 0x16d41ab0|EAS|Error|Folder with id 29 and title Search results has failed to sync 2 time(s) in a row
    Mar 26 10:42:15 #######-iPad dataaccessd[111] <Warning>: CFNetwork SSLHandshake failed (-9824)
    Mar 26 10:42:15 #######-iPad dataaccessd[111] <Warning>: NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9824)
    Mar 26 10:42:15 #######-iPad dataaccessd[111] <Notice>: 0x16d41ab0|EAS|Error|[ASFolderItemsSyncTask 0x180edb50, conn 0x1803b410, request 0x16ddfd90] connection died with error Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo=0x180e1920 {NSErrorFailingURLStringKey=https://mail.#######.com/Microsoft-Server-ActiveSync?User=#######&DeviceId=ApplD LXFP3G9DKNV&DeviceType=iPad&Cmd=Sync, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSErrorFailingURLKey=https://mail.#######.com/Microsoft-Server-ActiveSync?User=#######&DeviceId=ApplD LXFP3G9DKNV&DeviceType=#######iPad&Cmd=Sync, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSUnderlyingError=0x1809e090 "An SSL error has occurred and a secure connection to the server cannot be made."}
    Mar 26 10:42:15 #######-iPad dataaccessd[111] <Notice>: 0x16d41ab0|EAS|Error|ASFolderItemsSyncTask failed: Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo=0x180e1920 {NSErrorFailingURLStringKey=https://mail.#######.com/Microsoft-Server-ActiveSync?User=#######&DeviceId=ApplD LXFP3G9DKNV&DeviceType=iPad&Cmd=Sync, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSErrorFailingURLKey=https://mail.#######.com/Microsoft-Server-ActiveSync?User=#######&DeviceId=ApplD LXFP3G9DKNV&DeviceType=iPad&Cmd=Sync, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSUnderlyingError=0x1809e090 "An SSL error has occurred and a secure connection to the server cannot be made."}
    Mar 26 10:42:15 #######-iPad dataaccessd[111] <Notice>: 0x16d41ab0|EAS|Error|Folder with id 4 and title Contacts has failed to sync 2 time(s) in a row
    Mar 26 10:42:28 #######-iPad SpringBoard[33] <Notice>: 2014-03-26 10:42:28.020|33|0x5e1e950: Region monitoring not available or enabled. Trigger ignored!
    Mar 26 10:42:52 #######-iPad MobileMail[117] <Warning>: CFNetwork SSLHandshake failed (-9806)
    Mar 26 10:43:11 #######-iPad MobileMail[117] <Warning>: CFNetwork SSLHandshake failed (-9806)
    Does anyone have an idea why the mail has such delay in synchronising ? Also why the ssl handshake and errors on the screen occurrs? The email domain has a valid certificate.
    Thanks in advance!!

    Hope this helps someone like me, who has trying to figure out what went wrong. I have an iPhone 3G and ActiveSync to Exchange 2003 was working perfect for month's. All of a sudden today it stopped syncing my inbox and my battery just about died? Searched and Searched, rebooted Exchange, removed email account info, still not luck keep getting "Cannot Get Mail" "The connection to the server failed" message. The weird thing is I could get to my sent items, Calendar and AD contacts? But a thread in another Apple forum opened my eyes to what the problem was...a corrupt email in my inbox. Not sure what email it was I pretty much deleted every email I had after the last one I received on the iPhone. But it fixed the problem, no messing with Exchange virtual directories...nothing...just deleted a corrupt email!
    Hope this helps someone.....

  • RABAX_STATE error during a connection on ECC6

    Hi ,
    I'm trying to configure connections between EP e ECC6 with SSO.
    The comunication between server works correctly and all the comunications test (SAP Web AS Connection, ITS Connection and Connection Test for Connectors) are ok.
    Everything is configured on the ECC6 (for SSO) and if i try to connect using webgui it works!
    Now I need to configure my Businnes Package "Maintenance Management".
    If I try to use it, trying to connecting on my ECC6, I have the following error message on EP
    The URL http://sididemosrv1.sididemo.dom:8016/sap/bc/webdynpro/sap/powl/ was not called due to an error.
      The following error text was processed in the system S16 :  An exception occurred that was not caught.*
    The error occurred on the application server sididemosrv1_S16_16 and in the work process 1 .*
    The termination type was: RABAX_STATE*
    The ABAP call stack was:*
          Method: RAISE of program CX_WD_GENERAL=================CP
          Method: HANDLE_REQUEST of program CL_WDR_UCF====================CP
          Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
          Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
          Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
          Module: %_HTTP_START of program SAPMHTTP
    and a run-time error "UNCAUGHT_EXCEPTION" on my ECC6. (error text: The exception 'CX_WD_GENERAL' was raised, but it was not caught anywhere along the call hierarchy).
    Thanks.
    Alex

    Please check the Dump logs on ECC 6 via ST22 and look if any ABAP errors raised. Sometimes this is caused by that all necessary services are not acitive on ECC.
    Please use the following TCODE and Program to active services
    tcode: SIAC_PUBLISH_ALL_INT
    prog: W3_PUBLISH_SERVICES
    this is referered at ITS_CANT_LOAD_INCLUDE in BBPstart service
    hope it helps

  • Error during FTP connection

    Dear all,
    We are trying to FTP some files, to a remote FTP server using XI.
    The required details are configured in FTP receiver channel.
    The below error is shown in the FTP receiver channel.
    "Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: ConnectException: Connection timed out (errno:238)"
    Did anyone face a similar error. Kindly drop in your comments and resolutions to fix this issue.
    Thanks in advance,
    Younus

    Hi Mohammed,
    Check whether your FTP is up and running.
    Its quite possible that the number of connections is more than the max connection possible for you FTP. If thats the case, you have to check with your FTD admin to increase the possible connections limit.
    Also make sure that you have provided the correct credentials in your file CC.
    Have a look at the below old threads:
    FTP connection error whil,e using flat file adapter error
    FTP Connection
    Re: FTP to server outside the network not working?
    Thanks,
    Pooja Pandey

Maybe you are looking for

  • Home Sharing, Network accounts with Portable Home Directories, iTunes 10

    I am using OS X Server an on that server is my account. I am also using a MBA with that same account using portable home directories (PHD). The MBA home directory does not contain my iTunes music, that is somewhere in /Users/Shared, because I do not

  • After i updated my ipad mini 2 to IOS 8.1.3 Wifi is no longer working

    Model: Ipad Mini 2 Retina Version: IOS 8.1.3 My problem is that after i realize the update to IOS 8.1.3 my ipad keep saying me that im offline. I checked with my laptop and the wifi is working correctly. I need help with this an ipad without internet

  • Tracking of materials for a turnkey project

    Hi Gurus, We have projects going on in our company. The projects are given on total cost basis i.e. the vendor will bring all the material and install the project. The vendor is keeping track of all the materials. A service PO is created in the syste

  • HomeHub3 has to be restarted

    I am having a problem losing my Broadband now and then. The line drops/disconnects and does not come back on. I wait for a while and then press/hold in the restart button and it fires up again and reconnects. This did not happen before I went over to

  • Unable to enter legacy data from AS91

    Hi All, I am uploading the legacy data for assets through T.Code AS91. My asset capitalisation date is 01.10.2007. Acquisition year 2007. But while uploading takeover values when I am clicking on takover values button in T.code AS91, system is throwi