Skip to Content
author's profile photo Former Member
Former Member

Error when sending message: 404 not found

Hi,

New to XI, practicing file to jdbc scenario. File is pickedup from the source folder but nothing appearing on the receiver end ms access database.

In the Component Monitoring, tried sending message manually with all the right info in Integration engine, getting an error message saying:

"Error when sending message : 404 not found"

Also tried in Adapter Engine and the result same.

Before doing this scenario, I tried file - file scenario then also the sender file pickedup from source folder but nothing happend at the receiver end.

Any idea's?? what might be the issue????

Thanks,

Venu.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Posted on Jun 11, 2008 at 04:09 AM

    Hi Venu,

    "404 is a not found error", plz make a check of your URL you're using is correct? do you use the right port? Normally the port is 80<SystemNo>, so rather 8001 than 7001.

    Also check in transaction SICF, if the node /sap/xi/adapter_plain has been activated, if not, activate it and try again.

    If you are testing sending the message to the Adapter Engine, then the Send Message URL should be like this:

    http://<server>:<J2EEport>/MessagingSystem/receive/AFW/XI

    For your error, refer to the following threads:

    Unable to find an associated SLD element

    Unable to refresh cache contents in XI.

    Unable to find an associated SLD element

    Also check that the Adapter Engine is successfully registered in the SLD. To do this, call the Content Maintenance function in the SLD as follows:

    http://<sld-host>:<sld-j2ee-port>/sld u2192 Administration u2192 Content Maintenance.

    Select XI Adapter Framework.

    Thirteen associations have to be registered.

    (Source: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2498bf90-0201-0010-4884-83568752a857)

    If you can't find all the associations, then you will have to create the associations manually.

    This is a very good blog which answers ur question:

    check this weblog

    https://weblogs.sdn.sap.com/pub/wlg/4061?page=last&x-showcontent=off [original link is broken] [original link is broken] [original link is broken]

    Regards,

    Vinod.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2008 at 04:12 AM

    hi,

    go thru the below description:

    Error: 404 Not Found

    Description: The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.

    Possible Tips:- for HTTP_RESP_STATUS_CODE_NOT_OK 404

    u2022 404 is an HTTP response code that indicates that the resource in question couldn't be found. Usually this is due to an incorrect URL, so it is better to cross check all URLs. Check pipeline URL in the SLD in the business system of the Integration Server For this go to SLD->Business System-><yourIntegrtaion Server>->Pipeline URL: It should be like this http://<host>:<port>/sap/xi/engine?type=entry Where host is the host name of the Integration Server and port is the HTTP(8xxx) port. To verify this in Integration Server you can do like this. Go to SXMB_ADM->Integration Engine Configuration->Choose Edit from Menu -> Change Global Configuration Data to switch to change mode. Then select System Landscape - Load Configuration. (This is not required always)

    u2022 Check that the port really is the ICM HTTP Port and not the J2EE port i.e SMICM then menu GOTO --> SERVICES and check the port number for HTTP. It should be HTTP port

    u2022 If the error is Page cannot be displayed, cannot find server in https configurations Check and correct the SSL configuration for the ABAP and the J2EE side of the system

    u2022 If the error is because of integration server when using Proxy communications then check these. i.e SXMB_ADM->Integration Engine Configuration->Corresponding Integration Server enrty should be dest://<Http Integration server-Destination> Where < Http Integration server -Destination > is the RFC destination (SM59) of type HTTP connection (type H) to the Integration Server. In this case, host name, port, and path prefix are saved in the RFC destination.

    regards

    chandrakanth

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2008 at 05:03 AM

    Hi,

    While Testing from the RWB--IE, make sure the following

    1) You have given the User & Pwd

    2) Selected QOS Exactly Once

    3) Check the URL is correctly pointing to the IS or not( http://host:ABAP Port......)

    Here you can see the ABAP is correcly mentioned or not in SMICM-goto-services

    here u can find the HTTP Port which ABAP port

    Regards

    Seshagiri

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2008 at 05:07 AM

    HI,

    Error: 404 Not Found

    Description: The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.

    Possible Tips:- for HTTP_RESP_STATUS_CODE_NOT_OK 404

    u2022 404 is an HTTP response code that indicates that the resource in question couldn't be found. Usually this is due to an incorrect URL, so it is better to cross check all URLs. Check pipeline URL in the SLD in the business system of the Integration Server For this go to SLD->Business System-><yourIntegrtaion Server>->Pipeline URL: It should be like this http://<host>:<port>/sap/xi/engine?type=entry Where host is the host name of the Integration Server and port is the HTTP(8xxx) port. To verify this in Integration Server you can do like this. Go to SXMB_ADM->Integration Engine Configuration->Choose Edit from Menu -> Change Global Configuration Data to switch to change mode. Then select System Landscape - Load Configuration. (This is not required always)

    u2022 Check that the port really is the ICM HTTP Port and not the J2EE port i.e SMICM then menu GOTO --> SERVICES and check the port number for HTTP. It should be HTTP port

    u2022 If the error is Page cannot be displayed, cannot find server in https configurations Check and correct the SSL configuration for the ABAP and the J2EE side of the system

    u2022 If the error is because of integration server when using Proxy communications then check these. i.e SXMB_ADM->Integration Engine Configuration->Corresponding Integration Server enrty should be dest://<Http Integration server-Destination> Where < Http Integration server -Destination > is the RFC destination (SM59) of type HTTP connection (type H) to the Integration Server. In this case, host name, port, and path prefix are saved in the RFC destination.

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2008 at 05:19 AM

    Hi,

    If you are testing sending the message to the Adapter Engine, then the Send Message URL should be like this:

    http://<server>:<J2EEport>/MessagingSystem/receive/AFW/XI

    Also check that the Adapter Engine is successfully registered in the SLD. To do this, call the Content Maintenance function in the SLD as follows:

    http://<sld-host>:<sld-j2ee-port>/sld u2192 Administration u2192 Content Maintenance.

    Select XI Adapter Framework.

    Thirteen associations have to be registered.

    (Source: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2498bf90-0201-0010-4884-83568752a857)

    If you can't find all the associations, then you will have to create the associations manually.

    For your error, refer to the following threads:

    Unable to find an associated SLD element

    Unable to refresh cache contents in XI.

    Unable to find an associated SLD element

    Please reward points if it helsp

    Thanks

    Vikranth

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2008 at 12:55 PM

    Thanks all for your suggestions.

    My problem still remain the same. Been through all the suggestions mentioned above, all the settings looked fine. Tried clearing cache, checked http port, tested sending message through Adapter engine in component monitoring, double checked the url, checked adapter framework for number of associations and they are 13.

    Everything seems fine but surely Iam missing somthing. Experts please help me out of this.

    Thanks in advance,

    Venu.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2008 at 01:29 PM

    Hi,

    do you have some other FIle->... scenario which works fine?

    Peter

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.