Messages not being processed

Hi,
I experience an issue with 10g soa, about not having processed some messages sent to receive activities of my process.
I have my process deployed, I can initiate the instance of the process, I can move the flow of the process by calling some receive activities, but sometimes it seems it stucks on one of these receives. It happens randomly on various processes on various receive activities, like one day one receive operation doesn't proceed at all, and on another day it is another receive operation, and that is without any change to the process and redeployment.
I can see the message has been received by server, because I can query it from DLV_MESSAGE table from BPEL data source, and i see its STATE = 0, which is unprocessed. I am also sure that message has valid content and the correlation bits on the message are also correct, really there is no reason why such message should not be processed, it always worked until the moment it decides not to for unknown reason.
My question:
1. What causes messages to be not processed?
2. What are known options to deal with this situation?
Currently I am in a condition where I can spot unprocessed messages, which is fine, so I am aware of the problem, but I am not able to deal with the problem. Even if I tried to submit the message via BPEL Console, it was not processed either.
Thank you for any suggestions

Some blog information to support this case
http://soacrux.blogspot.com/2010/08/automatic-recovery-program-for-pending.html
Content repaste:
Automatic recovery program for pending BPEL call back messages
BPEL engine maintains all async call back messages into database table called dlv_message. You can see such all messages in BPEL console call-back manual recovery area.The query being used by bpel console is joined on dlv_message and work_item tables.This query simply picks up all call back messages which are undelivered and have not been modified with in certain threshold time.
Call-back messages are processed in following steps
BPEL engine assigns the call-back message to delivery service
Delivery service saves the message into dlv_message table with state 'UNDELIVERED-0'
Delivery service schedules a dispatcher thread to process message asynchronously
Dispatcher thread enqueues message into JMS queue
Message is picked up by MDB
MDB delivers the message to actual BPEL process waiting for call-back and changes state to 'HANDLED=2'
So given above steps, there is always possibility that message is available in dlv_message table but MDB is failed in delivering it to BPEL process which keeps message always in state= 0.
Following program can be tailored to suite one's own requirements to recover from such state-0 messages.
Note:- This program contains logic to recover from invocation and call-back messages. Please comment out appropriately.
package bpelrecovery;
import com.oracle.bpel.client.*;
import com.oracle.bpel.client.util.SQLDefs;
import com.oracle.bpel.client.util.WhereCondition;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;
import javax.naming.Context;
public class bpelrecovery {
public bpelrecovery() {
public static void main(String[] args) {
bpelrecovery recover = new bpelrecovery();
String rtc = "";
try{
rtc = recover.doRecover();
catch (Exception e){
e.printStackTrace();
rivate void recoverCallbackMessages(List messages)
throws Exception
String messageGuids[] = new String[messages.size()];
for(int i = 0; i < messages.size(); i++)
ICallbackMetaData callbackMetadata = (ICallbackMetaData)messages.get(i);
String messageGuid = callbackMetadata.getMessageGUID();
messageGuids[i] = messageGuid;
System.err.println((new StringBuilder()).append("recovering callback message =
").append(messageGuids).append(" process
[").append(callbackMetadata.getProcessId()).append("(").append(callbackMetadata.getRevisionTag()).ap
pend(")] domain [").append(callbackMetadata.getDomainId()).append("]").toString());
Locator locator = getLocator();
IBPELDomainHandle domainHandle = locator.lookupDomain();
domainHandle.recoverCallbackMessages(messageGuids);
public String doRecover() throws Exception{
// Connect to domain "default"
try{
System.out.println("doRecover() instantiating locator...");
Locator locator = getLocator();
System.out.println("doRecover() instantiated locator for domain " +
locator.lookupDomain().getDomainId());
// look for Invoke messages in need of recovery
StringBuffer buf1 = new StringBuffer();
WhereCondition where = new WhereCondition(buf1.append(SQLDefs.IM_state).append( " = "
).append(IDeliveryConstants.STATE_UNRESOLVED ).toString() );
System.out.println("doRecover() instantiating IInvokeMetaData... with where = "+ where.getClause());
IInvokeMetaData imd1[] = locator.listInvokeMessages(where);
System.out.println("doRecover() instantiated IInvokeMetaData");
// iterate thru the list
List l1 = new ArrayList();
for (Object o:imd1){
l1.add(o);
// See how many INVOKES are in the recovery zone
System.out.println("doRecover() instantiated IInvokeMetaData size = " +l1.size());
// look for Callback messages in need of recovery
StringBuffer buf = new StringBuffer();
where = new WhereCondition(buf.append(SQLDefs.DM_state).append( " = "
).append(IDeliveryConstants.TYPE_callback_soap ).toString() );
System.out.println("doRecover() instantiating ICallbackMetaData... with where = "+
where.getClause());
ICallbackMetaData imd[] = locator.listCallbackMessages(where);
System.out.println("doRecover() instantiated ICallbackMetaData");
// recover
List l = new ArrayList();
for (Object o:imd){
l.add(o);
recoverCallbackMessages(l);
catch (Exception e){
e.printStackTrace();
return "done";
public Locator getLocator(){
System.out.println("getLocator() start");
Locator locator = null;
// set JNDI properties for BPEL lookup
String jndiProviderUrl = "opmn:ormi://localhost:6003:oc4j_soa/orabpel";
String jndiFactory = "com.evermind.server.rmi.RMIInitialContextFactory";
String jndiUsername = "oc4jadmin";
String jndiPassword = "welcome1";
Hashtable jndi = new Hashtable();
jndi.put(Context.PROVIDER_URL, jndiProviderUrl);
jndi.put(Context.INITIAL_CONTEXT_FACTORY, jndiFactory);
jndi.put(Context.SECURITY_PRINCIPAL, jndiUsername);
jndi.put(Context.SECURITY_CREDENTIALS, jndiPassword);
jndi.put("dedicated.connection", "true");
try{
System.out.println("getLocator() instantiating locator...");
locator = new Locator("default", "welcome1", jndi);
System.out.println("getLocator() instantiated locator");
catch (Exception e){
System.out.println("getLocator() error");
e.printStackTrace();
return locator;

Similar Messages

  • Popularity trend/usage report is not working in sp2013. Data was not being processed to EVENT STORE folder which was present under the Analytics_GUID folder.

    Hi
     I am working in a sharepoint migration project. We have migrated one SharePoint project from moss2007 to sp2013. Issue is when we are clicking on Popularity trend > usage report,  it is throwing an error.
    Issue: The data was not being processed to EVENT STORE folder which was present under the
    Analytics_GUID folder. Also data was not present in the Analytical Store database.
    In log viewer I have found the bellow error.
    HIGH -
    SearchServiceApplicationProxy::GetAnalyticsEventTypeDefinitions--Error occured: System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly
    secured fault was received from the other party.
    UNEXPECTED - System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail,
    System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]: We're sorry, we weren't able to complete the operation, please try again in a few minutes.
    HIGH - Getting Error Message for Exception System.Web.HttpUnhandledException
    (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party.
    CRITICAL - A failure was reported when trying to invoke a service application:
    EndpointFailure Process Name: w3wp Process ID: 13960 AppDomain Name: /LM/W3SVC/767692721/ROOT-1-130480636828071139 AppDomain ID: 2 Service Application Uri: urn:schemas-microsoft-
    UNEXPECTED - Could not retrieve analytics event definitions for
    https://XXX System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: We're sorry, we weren't able to complete the operation, please try again in a few minutes.
    UNEXPECTED - System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail,
    System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]: We're sorry, we weren't able to complete the operation, please try again in a few minutes.
    I have verified few things in server which are mentioned below
    Two timer jobs (Microsoft SharePoint Foundation Usage Data Processing, Microsoft SharePoint Foundation Usage Data Import) are running fine.
    APPFabric Caching service has been started.
    Analytics_GUID folder has been
    shared with
    WSS_ADMIN_WPG and WSS_WPG and Read/Write access was granted
    .usage files are getting created and also the temporary(.tmp) file has been created.
    uasage  logging database for uasage data being transported. The data is available.
    Please provide pointers on what needs to be done.

    Hi Nabhendu,
    According to your description, my understanding is that you could not use popularity trend after you migrated SharePoint 2007 to SharePoint 2013.
    In SharePoint 2013, the analytics functionality is a part of the search component. There is an article for troubleshooting SharePoint 2013 Web Analytics, please take a look at:
    Troubleshooting SharePoint 2013 Web Analytics
    http://blog.fpweb.net/troubleshooting-sharepoint-2013-web-analytics/#.U8NyA_kabp4
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Change to rules provisioning not being processed

    I updated a import rules extension, but the change is not being processed when the MA runs.
    Example: mventry["attribute"].Value = "A";
    Changed to: mventry["attribute"].Value = "B";
    Run full sync, the value remains A.  New accounts also continue to get "A".  Disable/enable metaverse rules extensions under options, no difference.
    Any ideas?

    Rules Extension dll has to be replaced in the extension folder. Typically the FIM Sync Service picks up the new dll "on the fly", but if replaced with new dll and no effect is showing [PS] Restart-Service FIMSynchronizationService makes sure the
    new dll is loaded.
    Metaverse Rules extension has nothing to do with advanced Import Rules.

  • Why is my text message not being delivered

    Why is my messages not being delivered?

    1. Messages on the iPad can only be sent to other iDevices
    2. The receiving party must also be registered with iMessage
    Note: The two above conditions must be met.

  • Messages not being written to page

    HI,
    What could stop messages from being displayed/written. I have changed my page template from a table based layout to a css layout and have wrapped the following #GLOBAL_NOTIFICATION# #SUCCESS_MESSAGE# #NOTIFICATION_MESSAGE# in a div. I cause an error intentionally on my page but the message does not appear. When I inspect the page source it confirms that the message was not written to the page. I have an identical application that uses table layouts for the page template and the same process produces a message. When I inspect the page source the message is written in the #GLOBAL_NOTIFICATION# #SUCCESS_MESSAGE# #NOTIFICATION_MESSAGE# position as expected.
    Would anybody have any ideas for me to pursue to get to the bottom of this problem?
    Thank You
    Ben

    Scott,
    I found what the problem was ...
    The page template has a subtemplate region and the entry for Success Message and Notification where empty.
    Ben
    Edited by: Benton on Jun 18, 2009 2:09 PM

  • Messages not being marked as Read on IMAP account on iMac

    I use the Mail application on my iMac to read my Gmail. I have it set up as IMAP, and it has worked very well for a long time. Recently, however, I noticed that if I read my mail on my iPhone, or my work computer (both of which have the correct IMAP settings), the messages are not being marked as Read (unbolded) on my iMac. I have to quit and restart Mail for the messages to be unbolded.
    Not a big issue, but I wonder why it is happeneing, and how to correct it?

    I'm getting this too. Switching to a different folder and back gets rid of the blue dot. This only happens with my exchange account. All other accounts work normally.

  • Delivery note Being processed

    Dear All,
    Could you please advice me why In my some Delivery note status is showing "Being processed"?
    But status "Completed" is showing in Invoice, Accounting document and sales order.
    Pls help me.
    Tks and B.Rgds
    Bishnu

    Hi Bishnu,
    Please check status of each item in delivery note item data and note the item which has status being processed. If the item with status being processed is not billed then answer is straight forward, you need to bill that item.
    If all the items are billed and still one of the item has status being processed, then reason could be one of the dimensions (weight, volume etc.) of material are changed in master data after delivery and before invoicing. If your case is later please refer to SAP notes or write back to me.
    Thanks
    Murali

  • Applications not being processed in CustomSettings.ini or missing from ZTIApplications

    Using MDT 2012 Update 1 and started having a weird issue where MandatoryApplications properties are being skipped over during the deployment process.
    CustomSettings.ini is configured to process [Default] first, followed by model specific subsections for fixing up minor things that are specific to that model. There are MandatoryApplications settings under each subsection, and it ends up looking similar
    to this...
    [Settings]
    Priority=Default, Model
    [Default]
    MandatoryApplications001={f3389f14-6071-414b-b989-08e35cf82f27}
    [HP EliteBook 840 G1]
    MandatoryApplications002={d13e2dc4-3b27-4173-b143-30b5f57d7e53}
    Applications defined under [Default] install just fine, but nothing under the model subsections installs. No errors, also.
    BDD.log shows...
    ------ Processing the [DEFAULT] section ------ ZTIGather 4/17/2014 9:48:41 AM 0 (0x0000)
    Property MANDATORYAPPLICATIONS001 is now = {f3389f14-6071-414b-b989-08e35cf82f27} ZTIGather 4/17/2014 9:48:42 AM 0 (0x0000)
    Added value from [DEFAULT]: MANDATORYAPPLICATIONS = {f3389f14-6071-414b-b989-08e35cf82f27} ZTIGather 4/17/2014 9:48:42 AM 0 (0x0000)
    ------ Processing the [HP EliteBook 840 G1] section ------ ZTIGather 4/17/2014 9:48:42 AM 0 (0x0000)
    ------ Done processing \\Server\ProductionShare$\Control\CustomSettings.ini ------ ZTIGather 4/17/2014 9:48:43 AM 0 (0x0000)
    ZTIApplications.log shows...
    Microsoft Deployment Toolkit version: 6.1.2373.0 ZTIApplications 4/17/2014 10:06:35 AM 0 (0x0000)
    The task sequencer log is located at C:\Users\ADMINI~1\AppData\Local\Temp\SMSTSLog\SMSTS.LOG. For task sequence failures, please consult this log. ZTIApplications 4/17/2014 10:06:35 AM 0 (0x0000)
    Write all logging text to \\Server\productionshare$\logs ZTIApplications 4/17/2014 10:06:35 AM 0 (0x0000)
    Validating connection to \\Server\productionshare$\logs ZTIApplications 4/17/2014 10:06:35 AM 0 (0x0000)
    Already connected to server Server as that is where this script is running from. ZTIApplications 4/17/2014 10:06:35 AM 0 (0x0000)
    Language/Locale Identified (in order of precedence): 1033,0409,0x0409,9,0009,0x0009 ZTIApplications 4/17/2014 10:06:35 AM 0 (0x0000)
    Processing Application Type: MandatoryApplications ZTIApplications 4/17/2014 10:06:35 AM 0 (0x0000)
    Ready to install applications: ZTIApplications 4/17/2014 10:06:36 AM 0 (0x0000)
    ################ ZTIApplications 4/17/2014 10:06:36 AM 0 (0x0000)
    Entry: {f3389f14-6071-414b-b989-08e35cf82f27} ZTIApplications 4/17/2014 10:06:36 AM 0 (0x0000)
    Name: SysConfigs ZTIApplications 4/17/2014 10:06:36 AM 0 (0x0000)
    ################ ZTIApplications 4/17/2014 10:06:36 AM 0 (0x0000)
    Using a local or mapped drive, no connection is required. ZTIApplications 4/17/2014 10:06:36 AM 0 (0x0000)
    Change directory: Z:\Applications\SysConfigs ZTIApplications 4/17/2014 10:06:36 AM 0 (0x0000)
    Run Command: \\Server\ProductionShare$\Tools\X64\bddrun.exe sysconfigs.bat ZTIApplications 4/17/2014 10:06:36 AM 0 (0x0000)
    ZTI installing application ZTIApplications 4/17/2014 10:06:36 AM 0 (0x0000)
    Event 41031 sent: ZTI installing application ZTIApplications 4/17/2014 10:06:36 AM 0 (0x0000)
    About to run command: \\Server\ProductionShare$\Tools\X64\bddrun.exe sysconfigs.bat ZTIApplications 4/17/2014 10:06:36 AM 0 (0x0000)
    Command has been started (process ID 3624) ZTIApplications 4/17/2014 10:06:36 AM 0 (0x0000)
    Return code from command = 0 ZTIApplications 4/17/2014 10:06:36 AM 0 (0x0000)
    Application SysConfigs installed successfully ZTIApplications 4/17/2014 10:06:36 AM 0 (0x0000)
    Event 41033 sent: Application SysConfigs installed successfully ZTIApplications 4/17/2014 10:06:36 AM 0 (0x0000)
    Property InstalledApplications001 is now = {f3389f14-6071-414b-b989-08e35cf82f27} ZTIApplications 4/17/2014 10:06:36 AM 0 (0x0000)
    Processing Application Type: Applications ZTIApplications 4/17/2014 10:06:37 AM 0 (0x0000)
    Application List is empty, exiting ZTIApplications.wsf ZTIApplications 4/17/2014 10:06:37 AM 0 (0x0000)
    ZTIApplications processing completed successfully. ZTIApplications 4/17/2014 10:06:37 AM 0 (0x0000)
    Event 41001 sent: ZTIApplications processing completed successfully. ZTIApplications 4/17/2014 10:06:37 AM 0 (0x0000)
    So it ends up looking like the Applications List is not being properly populated, or something is just not processing CustomSettings.ini correctly. I've double-checked that the applications are hidden and enabled on the share, and have deleted/recreated
    the applications on the share.
    Anyone have any ideas?

    For each section in your CS.ini, start your applications list with 001, like this :
    [Settings]
    Priority=Default, Model
    [Default]
    MandatoryApplications001={f3389f14-6071-414b-b989-08e35cf82f27}
    [HP EliteBook 840 G1]
    MandatoryApplications001={d13e2dc4-3b27-4173-b143-30b5f57d7e53}

  • Picture Messages not being sent with Moto X

    My picture messages are not being sent and I receive an error message saying it's an invalid address or couldn't send message.

    Having the same exact problem on my moto X.
    Any updates since you posted?

  • Nokia 3110 Classic Messages not being sent

    sent messages are being 'saved for sending' in outbox and not being sent. Message details give me a 'failed delivery' report. Any ideas?
    Thanks
    Solved!
    Go to Solution.

    Check if you have the right message centre number.
    Messages sent by your phone are routed through your service provider's message center. Normally, this number is saved to your phone by your service provider. To save the number manually, do the following:
    At the Start screen, press Menu 01-6 (Messages - Message settings).
    "Text messages" is highlighted. Press Select.
    "Sending profile" is highlighted. Press Select.
    "Default profile" is highlighted. Press Select.
    Scroll to "Message centre number" and press Select.
    If the box in the display is empty, enter the number given by your service provider and press OK.
    OR
    If the box in the display is full, edit the number only if you are sure the number is incorrect, or you want to change the number, and press OK.
    A message appears in the display that confirms your number is saved.

  • Text messages not being sent to computer

    My text messages are not being forwarded to my computer anymore, and I can't text to non-iPhone users

    Handoff Continuity Troubleshooting
    Handoff Continuity Troubleshooting (2)
    iPhone, iPad, iPod touch, and Mac using Continuity - Connect

  • Cc messages not being sent

    I have just realized that mail messages I have been copying to people in the 'cc' header section of mail (version 2.1) are not being sent out. I use .Mac account.
    Any thoughts?

    Does not being sent out mean these messages remain in the Outbox?
    If a message cannot be successfully sent, it will remain in the Outbox mailbox.
    A successfully sent message will be placed in the account's Sent mailbox and a successfully sent message is either accepted or rejected by the recipient's incoming mail server.
    If rejected by the recipient's incoming mail server for whatever reason, you will received a return email error message from the recipient's incoming mail server indicating why the message was not accepted.
    If no such error message is received, this indicates the message was accepted by the recipient's incoming mail server and what happens to the message after that is beyond our control.

  • Messages not being delievered to one contact

    Hi,
    I'm having some problems sending messages to a particular contact in my bbm list. Up until a month ago, messages were being sent no problem. But lately, none of my messages are being sent to this particular contact, although I'm still getting messages from them (and all my other contacts are fine). I've tried taking everything off of my phone and then re-uploading it, but it hasn't seemed to help at all.
    Any suggestions would be greatly appreciated!

    I don't have his email address set up with his contact information, only his cell number. I went so far as to manually enter his phone number into the 'To:' field. Just came up with his name and still sent an iMessage but he did not receive it.
    My phone only has one contact card for him and I'm still confused as to why I can receive massages from him but as normal SMS as opposed to iMessage but my iMessage says its sent with no errors and he doesn't receive

  • SMS Messages not being delivered

    For the past 4 days now my SMS messages will not deliver. They say sent, but will not deliver, The person that is suppose to get them says they are not being recieved either so what are we supposed to do? Please attend to this immediately or at least tell us what to do. Thanks so much  [edited for privacy]  would appreciate response to this e mail address.  thanks again  

    Same problem here,it say the SMS sent,but for the last 50 min.  it's not been delivered yet.I have to mention the money went out from my account for it.I logged out and back in,changed status in hope will get it done somehow,but still nothing.
             Why do we have to pay for a service that doesn't work? It's  supposed to be fast and reliable(none of the abobe).My message is kinda too late now,and I doubt that I'll get my money back.
    And yes..I did put the right number and the country code and so on,it's not the first time I use Skype for this.
    Shame !

  • Text messages not being sent with Google Now or in Car Mode

    When attempting to send a text message by voice using either Google Now or when in Car Mode, the text message gets created correctly to the right person, and the content of the message is correct.  When I confirm to send the message, I always get "Message Not Sent".  I'm able to send text messages manually using the standard Messages app.  Researching this issue, I've seen that there are some others having the same problem but I have not found or heard of a resolution. 

    I don't have a Verizon Messages app.
    (personal info removed)
    "Don't be afraid of opposition. Remember, a kite rises against, not with the wind."
    - Hamilton Wright Mabie
    (email message information removed)
    Comments edited for personal information as required by the Terms of Service.
    Message was edited by: Admin Moderator

Maybe you are looking for

  • Cascading LOVs in a report region

    Can you create a cascading LOV in a report region? All of the examples I find are in a HTML region.

  • Disappearing Shared Places Mac and Windows

    I have 3 Macs and a Vista and XP box and a network storage device. Router is an Apple Airport Extreme. In the last couple days all my windows boxes and NAS dropped out of the shared area of the finder. I can still connect to them via "Go To Server" i

  • I replaced my iBook's RAM (256MB) with a 512MB, and it wont start up now!

    Hello! I just replaced my existing 256MB RAM with a 512MB of RAM. When I started up my iBook, all that came up was a flashing OS 9 looking folder to the same folder with a question mark on it. What does that mean? Do I have to reflash the P-RAM or so

  • Q_GRC10: Using ERP - Org Structure in GRC 10

    Hi, I was wondering if the Org Structure we currently use in the ERP system can be exported and imported / copied / Cloned / transported, into other systems and / or then into GRC10. I want to use this structure to drive my workflow instead of re cre

  • Newbie with Photo Elements 8

    I have used Adobe's photo management programs for years but Photo Elements is the most mysterious of them all. I have two questions at this point and may have moer later.  Hope someone has the answers. a) How do I get the Timeline to appear at the to