cancel
Showing results for 
Search instead for 
Did you mean: 

Message status: scheduled - "To Be Delivered

ravi_reddy1
Participant
0 Kudos

Hi Folks,

while I am checking in message monitoring in rwb , it showing that all messages are in scheduled status and no successful messages.

Please see the screenshot from the message monitoring for the same.

while checking the details of each scheduled message it will showing as "To Be Delivered" status.

Please tell me how to resolve this issue.  where exactly problem occurs.

I checked queues. all queues are fine.

why this problem occurs?

please do the needful.

Regards,

Ravi

Accepted Solutions (1)

Accepted Solutions (1)

hasan_celebi
Participant
0 Kudos

Hi Ravi;

  1. First, make sure you have set the MaxThreadCount parameter to 350 or higher depending on the case and of the resources available.
    To increase the parameter, follow the instructions below:
    1. In the left frame choose Server -> Kernel -> ApplicationThreadManager
    2. In the tab Display Configuration (right frame) choose Switch between view and edit mode to activate the edit mode
    3. The parameter MaxThreadCount must be set to 350
    4. You will then need to restart the J2ee. For reference, see SAP note 937159 - XI Adapter Engine is stuck
       
  2. For specific setting to an adapter can be done by going to:
    1. For 3.0 and 7.0x releases: Visual Administrator -> Services -> SAP XI AF Messaging -> "messaging.connections" property
    2. For 7.1x and higher releases change it by using the ConfigTool ->  service 'com.sap.aii.af.svc' -> "messaging.connectionDefinition" property (for ISPeak  adapters it is in service 'com.sap.aii.af.ms.svc') 

      1. Here you will see the following queues:
        Send.maxConsumers (asynchronous sending - outbound)
        Recv.maxConsumers (asynchronous receipt - inbound)
        Call.maxConsumers (synchronous sending - outbound)
        Rqst.maxConsumers (synchronous receipt - inbound)

Depending on where the bottleneck is occurring (e.g. too many entries in the Send.maxConsumers) you can increase these parameters.

Example of parameter value syntax (sample for File adapter):
(name=File_http://sap.com/xi/XI/System, Send.maxConsumers=10, Recv.maxConsumers=10, Call.maxConsumers=10, Rqst.maxConsumers=10)

Remember this parameter value is case-sensitive.

read SAP note 1623356

Regards

Hasan

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Ravi,

  Status: TO_BE_DELIVERED

Which means that the message was successfully delivered from Integration Server point of view and it states that the messages is initially handed over to the Messaging System.

TO_BE_DELIVERED occurs while the message is put into the Messaging System receive queue.

Solution:

This is done via the Messaging System receive servlet:

http://<Host>:<PORT>/MessagingSystem/receive/<CONNECTION>

/<PROTOCOL>

Only if this was executed successfully the Messaging System returns HTTP 200 to the Integration Server and the Status TO_BE_DELIVERED moves to DELIVERING

Try logging into Sap GUI with two users: XIAPPLUSER & XIAFUSER

to see if they are blocked

We can check the messages:

AdapterFramework

com.sap.aii.adapterframework.serviceuser.language

com.sap.aii.adapterframework.serviceuser.name = XIAFUSER

com.sap.aii.adapterframework.serviceuser.pwd

ApplicationSystem

com.sap.aii.applicationsystem.serviceuser.language

com.sap.aii.applicationsystem.serviceuser.name = XIAPPLUSER

com.sap.aii.applicationsystem.serviceuser.pwd

in the exchange profile to make sure the right passwords..

Regards,

Azmath

apu_das2
Active Contributor
0 Kudos

Are you using proxy connection to  connect with receiver . This might be happened due to non responsive or slow responsive target system Check smq2 in receiver system.

minal_vaidya2
Explorer
0 Kudos

Try this -

former_member186851
Active Contributor
0 Kudos

It might occur due to load in system or the receiver system is down or not responding.

Check the link shared Inaki that should help you

iaki_vila
Active Contributor
0 Kudos

Hi Ravi,

Please check Eng Swee Yeoh 's blog

There you have explained how avoid this situation.

Regards

ravi_reddy1
Participant
0 Kudos

these all messages are stucked in production pi system.

please do the needful

Regards,
Ravi