Skip to Content

com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message (INBOUND) expired

Hi Experts,

I am getting a error in PI version 7.1 ABAP stack.

Scenario details:

Proxy to JDBC sync scenario

In request message PI is sending values for only two fields from date and two date. In respect to that database is sending data response with some values.

I am getting below error for the response message.

Error details:

com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message 57715a29-4d95-0bd0-e100-800093a73e34(INBOUND) expired

Error image is attached.

Regards,

Mohit Dua

error.png (19.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    Posted on Jun 28, 2016 at 12:21 PM

    Hi Mohit,

    Talk with the DB team to reproduce your query on the DB directly in order to know if there is any extense time procedure. As below suggestion if this is the problem you can increase the channel timeout (Setting a Channel-Specific Timeout - Advanced Adapter Engine - SAP Library) or to talk with the DB team to improve the access as Eugeny suggested.

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 28, 2016 at 12:57 PM

    Hi Mohit, hi all,

    The provided screenshot does not make me 100% confident the error occurs due to performance issues on receiver side. MessageExpiredException is raised if the PI sender application (adapter) thread didn't get response for synchronously processed message in timely manner and had to time out, but cause of hitting time out limit can come from various areas - since the PI sender application thread is suspended right when the created request message is submitted to Messaging System and awaits for response / time out, it can be any subsequent processing step within a PI system (request/response mapping, XML validations if they are enabled, etc.), network connectivity between PI and receiver database, and performance issues on the receiver side (as mentioned by others above). Together with this, delay may be caused by overall system overload and resources shortage, too, which may not even be affected interface specific.

    Having written so, I would suggest to explore failed message's audit log and figure out which step or steps took the most processing time. This shall help to narrow down possible areas of concern and allow more precise investigation.

    Regards,

    Vadim

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 28, 2016 at 11:31 AM

    Hi Mohit!

    As I could see from your screenshot, your error is related to jdbc response timeout. If you use stored procedure call check it for runtime errors and execution time. If it's an SQL statement - check its execution time and optimize query statements to reduce it.

    Regards, Evgeniy.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 28, 2016 at 11:39 AM

    Hello Mohit,

    As EV susggested its because for time out issue since its Sync interface.

    Check the note-791379 and below discussion

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c059d583-a551-2c10-e095-eb5d95e03747?overridelayout=t…

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 28, 2016 at 02:42 PM

    Thanks everyone for your support.

    problem have been fixed by following below URL

    Setting a Channel-Specific Timeout - Advanced Adapter Engine - SAP Library

    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.