RFC call ended with "Communication Failure" exception (Function call failed; could not find the function

Hi All,
I am getting error while executing oDATA service from SAP Netweaver Gateway
Error details:
RFC call ended with "Communication Failure" exception (Function call failed; could not find the function
I am using SAP NG 740
Project is created in Gateway system using SEGW having Map to Datasource option used.
in SPRO manage alias, I had seleted Local App option. Screen attached
I had tried all troubleshooting like delete and add service and alias in "/IWFND_MAINT_SERVICE".
but still getting same error for all service.
Kindly advise.
Regards
Vivek

Hello Vivek,
Service builder would have also generated code for RFC Exception handling to catch exceptions raised when communication fails between your GW and BE for some reasons.
Handling is done for 1. System Failure 2. Communication Failure & 3. Business Failure;
Put a BP in your DPC or DP_EXT class where exception code is written to check what exactly is has caused communication failure.
Check if that RFC is existing in that destination or not.
For your reference  : Code would be something like this. Put BP here and check the problem.
* Error and exception handling
IF lv_subrc <> 0.
* Execute the RFC exception handling process
   me->/iwbep/if_sb_dpc_comm_services~rfc_exception_handling(
     EXPORTING
       iv_subrc            = lv_subrc
       iv_exp_message_text = lv_exc_msg ).
ENDIF.
Go inside this method and check to get info on what has to be done to resolve issue.
Check carefully what has gone wrong and fix it accordingly.
No need of adding service & deleting as problem is not because of that.
Regards,
Ashwin

Similar Messages

  • RFC call failed: JCO.Server could not find server function 'SET_SLD_DATA'

    Hi, All
    the system is PI 7.0 EHP1 oraclei Win2003 server, I configured SLD but I run RZ70, having error "RFC call failed: JCO.Server could not find server function 'SET_SLD_DATA' ". I know there are lot of tread about this error, but none of themsolve my problem. all JCO, RFC connections and SDL DATA supplier(VA) seem OK. error message in SM21 is "Could not send SLD data"
    detail from SM21
    The system could not send the data that has been collected automatical
    for the System Landscape Directory (SLD). Check whether the gateway
    configured in transaction RZ70 has been started and whether the SLD
    bridge has been registered with this gateway.
    You can use transaction SM59 to check this in the sending system for t
    implemented RFC destinations. The RFC destinations have the standard
    names "SLD_UC" for Unicode sending systems and "SLD_NUC" for non-Unico
    sending systems. If a different RFC destination has been entered in
    RZ70, check this destination instead.
    You can use the Gateway Monitor to check the target gateways. In ABAP
    systems, this monitor is started with transaction SMGW, or you can use
    the external SAP program "gwmon". Check whether the specified gateway
    has an active registration.
    OF COURSE I checked  RFC of  SLD_UC and SMGW
    any different ideas
    Regards
    ABH

    Hi
    Please check the following notes are implemented
    Note 906454                           
    Note 907729
    You may be aware but if you are not --->RZ70 creates the required SLD* RFCs during runtime - therefore if you have defined these RFCs manually first using the same namespace you can get RFC conflicts which result in a failed submission    
    Please also check the user in the RFC is known to both systems and has required authorization to write to SLD
    Generally with SLD you have to install or select a suitable gateway to handle incoming data supply traffic
    Also the gateway you are using has be known to SLD and reflected in RZ70 - i.e these defintions have to be the same
    It is also recommended to delete all references to SLD_* RFCs in data supplier and target SLD
    after a failed submission attempt to allow RZ70 to recreate these consistently once the above has been checked
    Best wishes
    Stuart

  • Error RFC sender scenario :JCO.Server could not find server function

    Hi ,
    The scenario which am working is as follows:
    I already have a report in R/3 that calls a Bapi which is in CRM system, now I want to make this point-point connection through XI(RFC sender-XI-RFC Reciever) with out changing the report (only changing the RFC destination).
    I have imported the bapi from CRM to XI , changed the rfc destination(to tcp/ip) that existed in R/3 to point to XI(test connection is working fine) and also created the RFC sender adapter .
    Now on executing the report am getting the following error.
    “JCO.Server could not find server function” 
    Please, let me know where I went wrong.
    Should the function module exists on the XI server. If the functional module is not there then I am getting the  error if the function module is there in XI then every thing is working fine.

    Hi Michal ,
    Now my scenario is working . The error <b>"JCO.Server counld not find server function"</b>  got fixed by giving the system details that contain the RFC in the adapter metadata parameters in the channel configuration.
    Thanks & Regards,
    Srikanth.

  • A nested exception occurred. Could not execute the function

    Hi Experts,
    Post upgrade of SAP Portal from 7.0 to 7.31, and when we click any application related to visual composer it shows the below error.
    and the default trace shows
    #2.0 #2014 07 22 02:34:11:243#0-700#Error#visualComposer_NWBIKit_logger#
    #EP-PIN-PRT#tc~epbc~prtc~core#C000A7EEAF63014200000002000019B9#11738650000000004#sap.com/com.sap.visualcomposer.BIKit#visualComposer_NWBIKit_logger#C921154#36##E220BC96117411E4C8F2000000B31E1A#519cf5b0118311e48b43000000b31e1a#519cf5b0118311e48b43000000b31e1a#0#Thread[HTTP Worker [@2079636611],5,Dedicated_Application_Thread]#Plain##
    A nested exception occurredCould not execute the function
    [EXCEPTION]
    com.sapportals.connector.execution.ExecutionException: A nested exception occurred. Could not execute the function.
    at com.sapportals.connectors.SAPCFConnector.SAPConnectorException.getNewExecutionLocalizedException(SAPConnectorException.java:193)
    at com.sapportals.connectors.SAPCFConnector.execution.functions.SAPCFConnectorInteraction.execute(SAPCFConnectorInteraction.java:617)
    at com.sap.portal.guimachine.bikit.query.bw.QueryViewFlatRfc.execute(QueryViewFlatRfc.java:209)
    at com.sap.portal.guimachine.bikit.designtime.bw.BWResultsetProcessor$ExecuteHandler.execute(BWResultsetProcessor.java:399)
    Please give us your valuable inputs to solve this.
    Thanks in advace!!
    Regards,
    Preetha Balan

    Hi Colin,
    Sorry for the delay in response!!
    Yes SAP gave patch VC70RUNTIME file to apply to get rid of this error.
    Even asked us to follow the sap note
    1532050 - Disabling error messages that pop up at runtime
    Hope this helps you
    Thanks,
    Preetha Balan

  • I bought a mac book pro 15" with retina display and could not find the user's guide/manual anywhere, except for the wuick start manual. I couldn't even find it in apple's web site. Where is it?

    I bought a mac book pro 15" with retina display yesterday and could not find the user's guide/manual anywhere. I couldn't even find it in apple's web site. Where is it?

    here it is :   http://manuals.info.apple.com/en_US/macbook_pro-13-inch-late-2012-quick_start.pd f
    Apples dont come with say, a big manual like old things used to.  Basically its a just a quick reference guide, everything on specifics is online
    Heres a great book everyone raves about, as far as the OSX and being familiar with it> http://www.amazon.com/gp/product/1449330274/ref=s9_psimh_gw_p14_d1_i1?pf_rd_m=AT VPDKIKX0DER&pf_rd_s=center-2&pf_rd_r=0J2E0HXQBHJK423PADBV&pf_rd_t=101&pf_rd_p=13 89517282&pf_rd_i=507846

  • JCO.SERVER could not find the server function

    Hi,
    I am calling "BAPI_COMPANY_GETDETAIL".thuough the zprogram"ZBAPI_COMPANY_GETDETAIL"
    REPORT ZBAPI_COMPANY_GETDETAIL.
    DATA:BEGIN OF ITAB,
    RCOMP LIKE T880-RCOMP,
    END OF ITAB.
    ITAB-RCOMP = 99999.
    CALL FUNCTION 'BAPI_COMPANY_GETDETAIL'
    EXPORTING
    COMPANYID = ITAB.
    IMPORTING
    COMPANY_DETAIL =
    RETURN =
    The Details I Gave......
    In SM59 of R/3:
    PROGRAMID:LCRSAPRFC_PIT
    GATEWAYHOST:PITEST
    GATEWAYSERVICE:sapgw01
    Tested the connection and it is running
    ID:
    In Communication Channel.
    Application server (Gateway):PITEST
    Application server Service (Gateway):
    PROGRAMID:LCRSAPRFC_PIT
    RFC Metadata Repository parameter.
    ip of XI Server
    System No Xi System NO
    username
    pwd
    In SM58 I find the Following error.
    "JCO.SERVER could not find the server function BAPI_COMPANY_GETDETAIL.
    I Tested RFC ADAPTOR in  RWG and it is ok.
    I do not Understand where the problem is.
    Please clarify.
    Thanks,
    Srinivasa

    Thanks for the reply,
    Yes RFC is in the Sender  side.
    I am calling "BAPI_COMPANY_GETDETAIL".thuough the zprogram"ZBAPI_COMPANY_GETDETAIL"
    REPORT ZBAPI_COMPANY_GETDETAIL.
    DATA:BEGIN OF ITAB,
    RCOMP LIKE T880-RCOMP,
    END OF ITAB.
    ITAB-RCOMP = 99999.
    CALL FUNCTION 'BAPI_COMPANY_GETDETAIL'
    EXPORTING
    COMPANYID = ITAB.
    IMPORTING
    COMPANY_DETAIL =
    RETURN =
    The Details I Gave......
    In SM59 of R/3:
    PROGRAMID:LCRSAPRFC_PIT
    GATEWAYHOST:PITEST(XI system name)
    GATEWAYSERVICE:sapgw01
    Tested the connection and it is running
    ID:
    In Communication Channel.
    Application server (Gateway):PITEST(XI system name)
    Application server Service (Gateway):
    PROGRAMID:LCRSAPRFC_PIT
    RFC Metadata Repository parameter.
    ip of XI Server
    System No Xi System NO
    username
    pwd
    In SM58 I find the Following error.
    "JCO.SERVER could not find the server function BAPI_COMPANY_GETDETAIL.
    I Tested RFC ADAPTOR in RWG and it is ok.
    I do not Understand where the problem is.
    These is what I gave,

  • JCO.Server could not find server function "ZVERIFY_FILE"

    Hi Experts,
    I am facing one problem, i have created on TCP/IP connection with connection type T and given it some Program Id.
    I have register this Program id On SRM server.
    Now from this server i want to call one JAVA file, for that purpose i have installed JCO on the server.
    My server file looks like,
    import com.sap.mw.jco.*;
    //import com.tcs.jns.JSignNS;
    //import com.tcs.jns.JSignNSException;
    //import com.tcs.jns.CertDetails;
    // added by paresh on 16.1.2009
    import java.io.FileOutputStream;
    import com.tcs.jie.jverify.JVerify;
    import com.tcs.jie.jsign.JSign;
    public class ds_listener extends JCO.Server {
    Create an instance of my own server
    @param gwhost (gateway host)
    @param gwserv (gateway service number)
    @param progid (program id)
    @param repository (repository used by the server to lookup the definitions of an inc)
         public ds_listener(String gwhost, String gwserv, String progid, boolean isUnicode,  IRepository repository) {
              super("sapdev14", "sapgw01", "DS_RFC", repository);                this.setProperty("jco.server.unicode", isUnicode?"1":"0");
         /** Overrides the default method. */
         static ds_listener serverConnections[] = new ds_listener[1];
         protected void handleRequest(JCO.Function function) {
              JCO.ParameterList input = function.getImportParameterList();
              JCO.ParameterList output = function.getExportParameterList();
              if (function.getName().equals("ZVERIFY_DATA")) {
                   try{
                        JVerify JNS = new JVerify();
                        String dbPath = "/home/admin/FormSigner_23Apr/FormSigner_Release/certdbs";
                        //boolean res = JNS.init (dbPath); // commented by paresh on 16.1.2009 as its obsolute
                        //initialize method has to be called before calling any other method of the API
                        String recdSignature = input.getString("SIGNATURE");
                        boolean ret_update = JNS.updateSignature(recdSignature.getByetes());
                        if (ret_update){
                             int count = JNS.getSignerCount();
                             boolean ret_verify_sign = false;
                             while(count > 0){
                                  ret_verify_sign = JNS.verifySignature(count - 1);
                                  if (ret_verify_sign){
                                       ret_verify_sign = false;
                                       count = count - 1;                                   
                                  }else
                                       break;
                             if (count == 0){
                                  String decoded_data = new String(JNS.getDecodedData());
                                  output.setValue("X", "STATUS");
                                  output.setValue(decoded_data, "DATA");
                             }else{
                                  output.setValue(" ", "STATUS");
                                  output.setValue("Error in Signature Verification. Please check Certificate Validity of every signer.", "DATA");
                   }catch (Exception e1){
                        output.setValue(" ", "STATUS");
                        output.setValue(e1.getMessage(), "DATA");
              }else if(function.getName().equals("ZVERIFY_FILE")) {
                   try{
                        JVerify JNS = new JVerify();
                        String dbPath = "/home/admin/FormSigner_23Apr/FormSigner_Release/certdbs";
                        //boolean res = JNS.init (dbPath);  // commented by paresh on 16.1.2009 as its obsolute
                        //initialize method has to be called before calling any other method of the API
                        String recdSignature = input.getString("SIGNATURE");
                        boolean ret_update = JNS.updateSignature(recdSignature.getBytes());
                        if (ret_update){
                             int count = JNS.getSignerCount();
                             boolean ret_verify_sign = false;
                             while(count > 0){
                                  ret_verify_sign = JNS.verifySignature(count - 1);
                                  if (ret_verify_sign){
                                       ret_verify_sign = false;
                                       count = count - 1;
                                  }else
                                       break;
                             if (count == 0){
                                  output.setValue("X", "STATUS");
                             }else{
                                  output.setValue(" ", "STATUS");
                   }catch (Exception e1){
                        output.setValue(" ", "STATUS");
              }else{
                   return ;
    Start the server
         public static void startServers() {
              JCO.addClientPool("POOL",3,"200","sisldp","paresh1234","EN","sapdev14","01");
              IRepository repository = JCO.createRepository("REP", "POOL");
              for (int i = 0; i < serverConnections.length; i++) {
                   // Server listens for incoming requests from system 1
                   // (Change gateway host, service, and program ID according to your needs)
                   serverConnections<i> = new ds_listener(
                             "sapdev14",//gateway host, often the same as host
                             "sapgw01", //gateway service, generally sapgw+<SYSNR>
                             "DS_RFC", // corresponds to program ID defined in SM59
                             true, // or false for non unicode listener
                             repository);
                   serverConnections<i>.start();
         public static void main(String[] args) {
         startServers();
    The file have no error as i have compiled it on server, its listener file given in JCO with some modification.
    I have tested the connection from SM59 it's working fine,but when i call my any of the 2  function(ZVERIFY_DATA & ZVERIFY_FILE) defined in my java file then i am getting an error "JCO.Server could not find server function 'ZVERIFY_FILE'" on SRM screen.
    Can anyone tell me what can be the reason????
    please help, i am in real trouble.

    Hi,
    This is may be of  the wrong FunctionModule name means check in case also,it may be case sensitive.
    And check whether it is remotely enabled or not and check the RFC destination.
    For more details refer these threads.
    JCO.Server could not find server function 'SET_SLD_DATA'
    JCO.Server could  not find server function
    Problems with sender RFC
    Thanks.

  • JCO.Server could not find server function 'CONTROL_RECIPE_AVAILABLE'

    Hi Experts,
    I've been trying to read some of the topics in the forums to find answers about the error JCO.Server could not find server function but still haven't resolve the issue.
    Basically, the scenario is from SAP r/3 to PI 7.1 ehp1 (process integration) system.
    All of the aforementioned steps we're done.
    R/3 (SAP) end
    1.) Create RFC destination (T)
    2. ) Indicate the program ID
    3.) Indicate the server/hostname
    4.) Indicate the sap gateway
    Test connection was made and it was successful.
    SAP PI end.
    Integration Directory (Let me skip from the basics and state directly the setup of my senderRFC)
    1.) RFC Comm Channel (set as Sender)
    2.) Indicated the server hostname (sending system), sap gateway and Program ID (basically what was indicated in RFC setup in SAP end)
    3.) RFC Metadata Repository Parameters (In here I used the details of PI environment)..Created user with SAP_ALL profile..I used system without Load Balancing (Parameter, AppServer, SysNo, Logon User, Logon Password, Language and Client)
    I was able to test a message from SAP end but still "JCO.Server could not find server function" was the result upon checking sm58.
    Did I miss something from my setup and config?

    Hi Michal,
    I guess there's a big difference with RFC Server Parameters and with RFC Metadata Repository Parameters.
    Note: Im using PI 7.1 ehp1
    For RFC Server Parameters it includes:
    - Application Server (gateway)*
    - Application Server Service (gateway)*
    - Program ID*
    For RFC Metadata Repository Parameters it includes:
    - Load Balancing or no Load Balancing (choices)..in here my choice is no Load Balancing
    - Application Server*
    - System No*
    - Logon Language*
    - Logon Client*
    - Authentication Mode (Use Log-on Data for SAP System or Secure Network Connection for RFC)
    if Use Log-on Data for SAP System it includes:
    - Logon User*
    - Logon Password*
    If Secure Network Connection for RFC it includes:
    - Quality of Protection
    - SNC Partner Name
    Looked onto your blogs mentioned several times, but no information on RFC Metadata Repository Parameters.

  • SAP IGS: JCO.Server could not find server function 'PIGFARMDATA'

    dEAR ALL,
    Operating System: aix6.0
    Database: Oracle 11g
    IGS is not getting started.
    SM59--IGS_RFC_DEST--CONNECTION TEST is fine
    sigs-- IGS_RFC_DEST-- Error is generating " JCO.Server could not find server function 'PIGFARMDATA' ".
    Tried starting IGS USING the below command:
    /usr/sap/KBQ/DVEBMGS01/exe/igswd_mt -mode=profile pf=/usr/sap/KBQ/SYS/profile/KBL_DVEBMGS01_<Hostname>
    Startup using profile
    ***LOG Q0I=> NiIBindSocket: bind (67: Address already in use) [nixxi.cpp 3735]
    *** ERROR => NiIBindSocket: SiBind failed for hdl 1/sock 5
        (SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:40180) [nixxi.cpp    3735]
    ***LOG Q0I=> NiIBindSocket: bind (67: Address already in use) [nixxi.cpp 3735]
    *** ERROR => NiIBindSocket: SiBind failed for hdl 2/sock 5
        (SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:40100) [nixxi.cpp    3735]
    ***LOG Q0I=> NiIBindSocket: bind (67: Address already in use) [nixxi.cpp 3735]
    *** ERROR => NiIBindSocket: SiBind failed for hdl 2/sock 5
        (SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:40101) [nixxi.cpp    3735]
    ***LOG Q0I=> NiIBindSocket: bind (67: Address already in use) [nixxi.cpp 3735]
    *** ERROR => NiIBindSocket: SiBind failed for hdl 2/sock 5
        (SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:40102) [nixxi.cpp    3735]
    kbqadm>  sapcontrol -nr 01 -function GetProcessList
    22.07.2014 16:36:48
    GetProcessList
    OK
    name, description, dispstatus, textstatus, starttime, elapsedtime, pid
    msg_server, MessageServer, GREEN, Running, 2014 07 22 16:33:57, 0:02:51, 8847548
    disp+work, Dispatcher, GREEN  Running, Message Server connection ok, Dialog Queue time: 0.00 sec, AS Java: ALL processes running, 2014 07 22 16:33:57, 0:02:51, 12976352
    rslgcoll, Central Syslog Collector, GREEN, Running, 2014 07 22 16:33:58, 0:02:50, 9175214
    rslgsend, Central Syslog Sender, GREEN, Running, 2014 07 22 16:33:58, 0:02:50, 8585278
    DVEBMGS01\exe\ig.sapKBQ_DVEBMGS01, , GRAY, Stopped, , , 13566036
    ps -ef | grep igs--all igs process are running
    HTTP://<HOSTNAME>:40180---sap igs IS RUNNING
    IGS Logs: ( /usr/sap/KBQ/DVEBMGS01/igs/log)
    trace File  pw_sapbwqa_1.trc
    [Portwatcher::Ping] Ping was unsuccessful 3 times
    [Portwatcher::Ping] Reconnect Portwatcher
    Tue Jul 22 16:54:11 2014
    [Portwatcher::Ping] Ping was unsuccessful 1 times
    Tue Jul 22 16:54:41 2014
    [Portwatcher::Ping] Ping was unsuccessful 2 times
    igs vERSION IS Internet Graphics Service 7200.0.7.0
    "mux_sapbwqa.trc---tRACE File
    Tue Jul 22 16:29:13 2014
    *** ERROR => [ListenerRfc::Loop] RfcListenAndDispatch() (IGS.KBQ sapbwqa sapgw01) returned error: RFC_INVALID_HANDLE [listenerrfc_ 1039]
    *** ERROR => [ListenerRfc::OpenRfc] RfcRegisterServer() returned RFC_COMMUNICATION_FAILURE /
    ERROR       partner 'sapbwqa:sapgw01' not reached
    TIME        Tue Jul 22 16:29:13 2014
    RELEASE     720
    COMPONENT   NI (network interface)
    VERSION     40
    RC          -10
    MODULE      nixxi.cpp
    LINE        2896
    DETAIL      NiPConnect: 10.10.90.150:3301
    SYSTEM CALL connect
    ERRNO       79
    ERRNO TEXT  Connection refused
    COUNTER     18
    [listenerrfc_ 948]
    *** ERROR => [ListenerRfc::Loop] OpenRfc() (IGS.KBQ sapbwqa sapgw01) returned RFC_COMMUNICATION_FAILURE
    Still trying... [listenerrfc_ 1007]
    Tue Jul 22 16:30:13 2014
    *** ERROR => [ListenerRfc::Loop] RfcListenAndDispatch() (IGS.KBQ sapbwqa sapgw01) returned error: RFC_INVALID_HANDLE [listenerrfc_ 1039]
    trc file: "mux_sapbwqa.trc", trc level: 1, release: "720"
    Tue Jul 22 16:39:40 2014
    [IgsMux::Initialize] Internet Graphics Service 7200.0.7.1
    [IgsMux::Initialize] Platform: IBM RS/6000 with AIX (rs6000_64)
    [ListenerRfc::ListenerRfc] Constructed for R/3 NA
    [ListenerHttp::ListenerHttp] Constructed for port 40180
    *** ERROR => [ListenerHttp::Loop] NiListen on port 40180 failed [listenerhttp 703]
    [ListenerHttp::~ListenerHttp] Destroyed for port 40180
    [Multiplexer::StartUp]
    *** ERROR => [ServerTcpIp::NiServerLoop] Caught a NetError: [NetError] [NiBufListen failed] [ServerTcpIp::NiServerLoop()] [-4]. [servertcpip_ 254]
    can you please tel the reason why the IGS is not working
    Regards
    gayathri.K

    Hi Gayathri,
    Startup using profile
    ***LOG Q0I=> NiIBindSocket: bind (67: Address already in use) [nixxi.cpp 3735]
    *** ERROR => NiIBindSocket: SiBind failed for hdl 1/sock 5
        (SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:40180) [nixxi.cpp    3735]
    ***LOG Q0I=> NiIBindSocket: bind (67: Address already in use) [nixxi.cpp 3735]
    *** ERROR => NiIBindSocket: SiBind failed for hdl 2/sock 5
        (SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:40100) [nixxi.cpp    3735]
    ***LOG Q0I=> NiIBindSocket: bind (67: Address already in use) [nixxi.cpp 3735]
    *** ERROR => NiIBindSocket: SiBind failed for hdl 2/sock 5
        (SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:40101) [nixxi.cpp    3735]
    ***LOG Q0I=> NiIBindSocket: bind (67: Address already in use) [nixxi.cpp 3735]
    *** ERROR => NiIBindSocket: SiBind failed for hdl 2/sock 5
        (SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:40102) [nixxi.cpp    3735]
    Just check the process which is using the port
    netstat -tupan|grep 40180
    With Regards
    Ashutosh

  • Windows SharePoint Services Error: Exception Details: System.IO.FileNotFoundException: Could not find the application on the Web

    I am developing a WSS based WCM site for a customer which has a bilingual interface. Now everything is wokring fine in the development environment. Today I backed-up the Content Database and took the related control file (.ascx & .ascx.cs) to deploy it to the cusomter's test machine. I dint face any problems with the deployment, and after deleted and added the Content DB from Central Administration, I was able to access the English part of the website along with my changes without any problem.
    But when I tried accessing the Arbic part of the website, Its giving me the following error,
    تعذر العثور على تطبيق ويب الموجود على http://172.20.5.163/ar/. تأكد من كتابتك لمحدد موقع المعلومات (URL) بشكل صحيح. إذا كان URL يؤدي إلى محتوى موجود، يجب على مسؤول النظام إضافة تعيين URL للتطبيق المراد خاص بالطلب الجديد.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.IO.FileNotFoundException: تعذر العثور على تطبيق ويب الموجود على http://172.20.5.163/ar/. تأكد من كتابتك لمحدد موقع المعلومات (URL) بشكل صحيح. إذا كان URL يؤدي إلى محتوى موجود، يجب على مسؤول النظام إضافة تعيين URL للتطبيق المراد خاص بالطلب الجديد.
    Roughly translated, it means "Could not find the application on the Web http://172.20.5.163/ar/. Make sure you create your site specific information (URL) correctly. If the URL to the content of lead present, the system administrator to add URL for the application of the appointment of a special request to be new.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.IO.FileNotFoundException: Could not find the application on the Web http://172.20.5.163/ar/. Make sure you create your site specific information (URL) correctly. If the URL to the content of lead present, the system administrator to add URL for the application of the appointment of a special request to be new."
    Can you please tell me what is the cause of the problem and how to rectify it? Also do I need to
    Regards,
    SoniSSP

    It is searching for the page, but that page is not available. Did u install the current language pack?

  • Could not find the main class (with every jar)

    This isn't a developer question. I get the error Could not find the main class with every jar I try to open (for example the jar downloaded from https://gjar.dev.java.net/ gives the same problems - and I don't think there is something wrong with that JAR). It isn't a problem with the jar or MANIFEST because the same jar works fine on my laptop. So there is something wrong with my JRE installation, but what?
    I tried to remove and reinstall the JRE 6 Update 18 but that didn't work. When I run the JAR with command line java -jar "file.jar" it works fine, but if I dubbelclick on it I get the error message (and it's irritating me).
    I'm a bit desperate so I hope that someone here can help me ;)
    Thanks in advanced

    hai T.B.M ... Sorry to post here... I know that i posted my question in wrong thread..but i dont have another solution to contact with you.. I had seen your answers which are really excellent and helped to do my project..
    Now i am having very less time to complete my project and i am very new to JMF.. I am not getting output in JMF video capture ..please check the code and guide me where i gone wrong.......please pardon me once again to post here.. Heres my code
    import javax.media.*;
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.media.protocol.*;
    import java.io.*;
    import javax.media.control.StreamWriterControl;
    public class webcam implements ActionListener,ControllerListener
    boolean eomReached = false;
    boolean realized = false;
    JFrame f;
    BorderLayout bd1;
    CaptureDeviceInfo device;
    MediaLocator m1;
    Player player;
    Component videoScreen;
    JButton b1,b2;
    Processor processor;
    DataSource ds=null;
    DataSink fileWriter=null;
    JLabel status=new JLabel("");
    public webcam()
    try
    JFrame f=new JFrame();
    JPanel p =new JPanel();
    JPanel p1=new JPanel();
    device=CaptureDeviceManager.getDevice("vfw:Microsoft WDM Image Capture (Win32):0");
    m1=device.getLocator();
    System.out.println("1");
    processor.configure();
    processor = Manager.createProcessor(m1);
    processor.setContentDescriptor(new
    FileTypeDescriptor(FileTypeDescriptor.MSVIDEO));
    ds=processor.getDataOutput();
    player.addControllerListener(this);
    MediaLocator dest = new MediaLocator("file://foo.avi");
    fileWriter = Manager.createDataSink(ds, dest);
    fileWriter.open();
    ds.connect();
    ds.start();
    player=Manager.createPlayer(m1);
    player.addControllerListener(this);
    blockingRealize();
    videoScreen=player.getVisualComponent();
    b1=new JButton("START");
    b2=new JButton("STOP");
    bd1=new BorderLayout();
    p.setLayout(bd1);
    p1.add(b1);
    p1.add(b2);
    p.add("South",p1);
    p.add("East",videoScreen);
    f.getContentPane().add(p);
    f.setVisible(true);
    f.setSize(500,500);
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    b1.addActionListener(this);
    b2.addActionListener(this);
    catch(Exception e){}
    public void actionPerformed(ActionEvent e)
    if(e.getSource()==b1)
    try{
    processor.start();
    player.start();
    fileWriter.start();
    catch(Exception e1){}
    if(e.getSource()==b2)
    try{
    player.stop();
    processor.stop();
    processor.close();
    fileWriter.close();
    catch(Exception e2){}
    public static void main(String args[])
    webcam obj=new webcam();
    public synchronized void blockingRealize() {
    player.realize();
    while (!realized) {
    try {
    wait();
    } catch (java.lang.InterruptedException e) {
    status.setText("Interrupted while waiting on realize...exiting.");
    System.exit(1);
    public synchronized void controllerUpdate (ControllerEvent event) {
    System.out.println("myPlayer generated "+event.toString());
    if (event instanceof RealizeCompleteEvent) {
    realized = true;
    notify();
    } else if (event instanceof EndOfMediaEvent) {
    eomReached = true;
    }

  • Could not find the main class - Problem with Webservice-Access

    Hello Everybody,
    I'm having serious Problems with accessing a WebService (Tomcat-Axis) per executable jar-File.
    I constructed a simple GUI with 3 Textboxes 1 Button and 1 Resultbox.
    I use eclipse so it was no Problem to simple generate the Backgroundclient by Processing the .wsdl-File of the WS.
    Now I do this:
    Head_tServiceLocator serviceLocator = new Head_tServiceLocator();
    Head_t service = serviceLocator.getRPCCall();
    RPCCallSoapBindingStub Head_t = (RPCCallSoapBindingStub) service;and use the Webservice like an Object.
    All this works very well.
    Now the Problem:
    Head_t service = serviceLocator.getRPCCall();this Line has to throw a ServiceException.
    If i add a try-catch Block to Process the Message JAVA tells me after i exported to JAR (with Manifest-stuff and so on) and double Click on the JAR the following :
    Could not find the main Class - Program will exit.
    And if i add a throws Declaration to the Methodheader it tells me:
    Fatal Exception Occured - Program will exit
    But if i Comment out that Line at least the GUI is being displayed (so it DOES find the main-Class). But then of course the Webservice won't be accessed.
    All the JARs needed (axis.jar, commons-discovery.jar and so on) are in the same Directory as the Webservice-Client.jar
    Please Help me.
    Greets,
    Zap

    I am not done any typing mistake while creating the jar file i already followed the suggestion that you have mentioned but still the same error .
    This is my MANIFEST.MF file created under META-INF folder
    Manifest-Version: 1.0
    Class-Path: qtjambi-4.4.3_01.jar qtjambi-win32-msvc2005-4.4.3_01.jar
    Created-By: 1.5.0 (Sun Microsystems Inc.)
    Main-Class: Ui_MainWindow
    When i extracted the app.jar following this i got
    1. META-INF folder inside that MAINFEST.MF file the contents i have already placed above
    2. qtjambi-4.4.3_01.jar
    3. qtjambi-win32-msvc2005-4.4.3_01.jar
    4. Ui_MainWindow.class
    Please tell me whats wrong in that i can also give you the app.jar file please let me know the email id ..

  • Could not find the main class error with executable jar

    Hello,
    I have troubles creating an executable jar file and I ran out of ideas how to solve it so I would appreciate some help.
    I have created a jar file with the export function in eclipse
    the Manifest.MF file contains:
    Manifest-Version: 1.0
    Main-Class: view.AppTennisViewI tried starting the file with a batch file which contains following code:
    @echo off
    javaw -classpath c:\TennisHSQLDB_GC2\tennisApp.jar
    @start javaw -jar tennisApp.jar
    exitthe batch file and the jar are both located in c:\TennisHSQLDB_GC2.
    When i try command line I get the same result.
    I also tried alternate statements such as SET CLASSPATH iso javaw -classpath and including the classpath in the manifest file but no luck. It keeps given me the error: could not find the main class. program will exit
    Anyone any suggestions for my problem?

    nevermind, found it.
    classpath in manifest was incorrect

  • "Could not find the watch folder endpoint to save this failure" message found in log

    Hi,
    We have multiple Watched folders deployed on a machine. Every second the below ERROR message is appended to the log file.
    Following are the excerpt of log:
    2015-02-03 03:13:20,627 ERROR [com.adobe.idp.dsc.provider.service.file.write.impl.FileResultHandlerImpl] Could not find the watch folder endpoint to save this failure.
    2015-02-03 03:13:20,627 ERROR [com.adobe.idp.dsc.provider.service.file.write.impl.FileResultHandlerImpl] Failed to initialize the file provider for endpoint null. Check exception for more details
    How to get rid of this issue????????????
    Regards,
    -Carter J

    Hi,
    We have multiple Watched folders deployed on a machine. Every second the below ERROR message is appended to the log file.
    Following are the excerpt of log:
    2015-02-03 03:13:20,627 ERROR [com.adobe.idp.dsc.provider.service.file.write.impl.FileResultHandlerImpl] Could not find the watch folder endpoint to save this failure.
    2015-02-03 03:13:20,627 ERROR [com.adobe.idp.dsc.provider.service.file.write.impl.FileResultHandlerImpl] Failed to initialize the file provider for endpoint null. Check exception for more details
    How to get rid of this issue????????????
    Regards,
    -Carter J

  • Problem with message: Could not find the main class Program will exit

    I don't get why this isn't working. Any help is appreciated.
    //Code start
    public class hello{
    public hello(){
    public static void main( String args[] ){
    System.out.println("Hello");
    //Code end
    I compile it as so:
    javac hello.javaIt compiles fine and I now have hello.class in my current directory, but when I type the following:
    java helloI get this:
    Exception in thread "main" java.lang.NoClassDefFoundError: hello
    Caused by: java.lang.ClassNotFoundException: hello
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Could not find the main class: hello. Program will exit.

    mring001 wrote:
    That worked. Thank you very much!Good. You should read [_Setting the class path_|http://java.sun.com/javase/6/docs/technotes/tools/windows/classpath.html] that tells you more about what the classpath is and how to set it.

Maybe you are looking for