Dequeued messages not deleted from one queue but other works

Hi,
I have a multiconsumer queue with two local subscribers.
The messages go to the 'PROCESSED' state but do not get
deleted from the queue table.
As a test, I created another single consumer queue in a different andqueue table, but the oracle deleted the 'PROCESSED' messages as expected.
In the multiconsumer queue, the messages are added by a trigger on the table. The enqueued messages varies from 100000 to 10000 per hour.
aq_tm_processes = 5
job_queue_processes=4
What else can I do debug the problem?
Is there any log file on the database server that I can
look at any potential problem.
I would appreicate any responses. This could very well
be a newbie problem. I have not worked on advanced queues
before and nor has anyone else in our system.
Thanx,
HB.

I forgot to add that I am using default retention time
and when I query user_queue the retention time is set to zero for the multiconsumer queue.

Similar Messages

  • Message not deleting from Topic after successfully dequeue

    Hi All,
    Help please..
    I need to design a process where message have to produce into a AQ JMS topic and later i have to consume the message from the same topic and publish to a Queue.
    In order to move on this i have created a sample My_Topic1 and My_Queue1 with below syntax
    Topic:-
    EXEC dbms_aqadm.create_queue_table (queue_table=>'MY_Topic1', queue_payload_type=>'sys.aq$_jms_text_message', multiple_consumers=>true );
    EXEC dbms_aqadm.create_queue(queue_name=>'MY_Topic1', queue_table=>'MY_Topic1');
    EXEC dbms_aqadm.start_queue(queue_name=>'MY_Topic1');
    Queue:-
    EXEC dbms_aqadm.create_queue_table (queue_table=>'My_Queue1', queue_payload_type=>'sys.aq$_jms_text_message', multiple_consumers=>false);
    EXEC dbms_aqadm.create_queue(queue_name=>'My_Queue1', queue_table=>'My_Queue1');
    EXEC dbms_aqadm.start_queue(queue_name=>'My_Queue1');
    Now i created Foreign server and create local and destination topic of queue.topics name and also created Data source of XAType.
    Now my bpel process getting a message(which as one element of sting type) from a web service and i am producing the same message to Topic. Once the message published to topic in a separate composite my JMS Adaptor dequeue/Consume the message from the topic and subscribe it to queue.
    The Above scenario working as expected but here what my observation on this
    1)When i dequeue message from a topic using bpel process successfully i am able to subscribe the message to queue but the message still remain in the topic i think it suppose to get of the topic once successfully dequeued.
    Even i check the subscriber topic table and one subscriber is listening to the topic.
    2)If in case any error generated at the time of subscribing to the queue the message should rollback( because i am using XA Transaction) but i think it is not happening as i can see in my topic view aq$my_topic1 MGS_STATE changed to PROCESSED.
    Can some one please let me know where i am going wrong.
    Thanks in advance.
    Regards,
    Tarak.
    Edited by: Tarak on Sep 9, 2012 8:47 PM

    The behavior should be the process consume a message from the topic and will try to do its job. If this process fail, {code]
    But in this message not there in topic even it is failed in soa process.....i am very much interested how this XA is  working that the reason i am trying all this.What to do with a failed/expired message is usually configurable, but doesn't make sense to place it in the same topic again... If the messages are failing too quickly better to adjust the max_retries and retry_delay...I agress in real senario we will move to error queue. But in that case also some how we need to read the message from queue and publish to the end system.
    I am just trying to understand the behavior and what i came to know is after all the retire fails message not going to topictable _E. But when i pass Expire time property or time to live then it is moving to error table.What do you mean? What server was restarted, the database or the soa server? Messages that still didn't reach the max retry number will still be retried...Wheni am bouncing my managed server soa_server1 i can see the invoke activity is trying to publish the message into queue... this is happens after server restart and suppose not to happen....
    But thanks alot for the inputs...
    Regards,
    Tarak.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • TA20637 I have a print job that I can not delete from the queue.

    When I try it says "job is completed and can not be deleted from queue" but it seems to be stuck (and keeps reprinting rather than letting me print other documents). What do I do?  I tried clearling the printer queue by turning the printer on and off but that is not dumping the cache.

    So, you can't select it in the queue and Delete it the usual way...
    If nothing else works, you may need to remove printer from the list in System Preferences Print & [Scan/Fax] pane.  Then add it back.
    And if NOTHING else works, you can also Reset printing system.  This removes ALL printers from the list and resets the overall printing system.  The command is in the same System Preferences pane.  Right (Control) click on the list of printers and select Reset printing system.  This time, you'll need to add all of your printers back.

  • Some messages not deleted from server after downloading

    We have about 1,000 mail users, all of whom use Apple's Mail app to retrieve their mail using POP. We've seen users' mailboxes on the server where not all messages have been deleted after downloading, even though the user's app has been configured to delete messages immediately after downloading. The strange thing is, undeleted messages appear in large non-contiguous blocks of time. Like there will be 100 messages from January, then 250 from July, and so forth.
    Has anyone seen this behavior? Can anyone help me a) understand why this is happening and b) how to fix it? Thanks in advance to whoever can help.

    Thanks- but I don't want the messages deleted when they are deleted from my Mac, I want them deleted when I download them. However, I just found the setting so I'm fine.
    Thanks, again!
    set delete from server when deleted from my mac in mail preferences
    And if you want you could tell us a little more - like what type of account, what settings, etc

  • Oracle AQ: Message not removed from source queue after propagation

    Hi.
    I have been playing around with a test setup for a "fanning out"-propagation system.
    I have created three queues, SRC_Q, DEST_Q and DEST2_Q.
    The propagation seems to work fine, the messages that I put on the SRC_Q get propagated to the destination queues. However, after propagation the message does not get removed from the source queue. Could anyone tell me why?
    I am using Oracle 10g.
    Here is my setup:
    --Test payload
    CREATE OR REPLACE TYPE test_payload AS OBJECT(
    test_id NUMBER,
    test_dt DATE);
    commit;
    DECLARE
    subscriber SYS.aq$_agent;
    BEGIN
    --- Create Originating Queue and start it
    DBMS_AQADM.create_queue_table( queue_table => 'SRC_MQT', queue_payload_type => 'Test_Payload',
    multiple_consumers => TRUE );
    DBMS_AQADM.create_queue( 'SRC_Q', 'SRC_MQT' );
    DBMS_AQADM.start_queue( queue_name => 'SRC_Q' );
    --- Create Destination Queue and start it
    DBMS_AQADM.create_queue_table( queue_table => 'Dest_MQT', queue_payload_type => 'Test_Payload',
    multiple_consumers => TRUE );
    DBMS_AQADM.create_queue( 'Dest_Q', 'Dest_MQT' );
    DBMS_AQADM.start_queue( queue_name => 'Dest_Q' );
    --- Create Destination Queue2 and start it
    DBMS_AQADM.create_queue_table( queue_table => 'Dest2_MQT', queue_payload_type => 'Test_Payload',
    multiple_consumers => TRUE );
    DBMS_AQADM.create_queue( 'Dest2_Q', 'Dest2_MQT' );
    DBMS_AQADM.start_queue( queue_name => 'Dest2_Q' );
    --- Add Subscribers and schedule propagation
    subscriber := SYS.aq$_agent( 'test_sub', 'Dest_Q', NULL );
    DBMS_AQADM.add_subscriber( queue_name => 'SRC_Q', subscriber => subscriber , queue_to_queue=> TRUE);
    subscriber := SYS.aq$_agent( 'test_sub2', 'Dest2_Q', NULL );
    DBMS_AQADM.add_subscriber( queue_name => 'SRC_Q', subscriber => subscriber , queue_to_queue=> TRUE );
    --Propagation to queues
    DBMS_AQADM.schedule_propagation( queue_name => 'SRC_Q', destination_queue => 'Dest_Q' );
    DBMS_AQADM.schedule_propagation( queue_name => 'SRC_Q', destination_queue => 'Dest2_Q' );
    commit;
    END;
    --Put something on the queue
    DECLARE
    message_handle RAW( 16 );
    MESSAGE test_payload;
    nq_opt dbms_aq.enqueue_options_t;
    nq_pro dbms_aq.message_properties_t;
    begin
    nq_opt.visibility := dbms_aq.immediate;
    nq_pro.expiration := dbms_aq.never;
    MESSAGE := test_payload( 2, SYSDATE );
    DBMS_AQ.enqueue( 'SRC_Q', nq_opt,nq_pro,MESSAGE, message_handle );
    COMMIT;
    END;
    I am really stuck with this problem so I really hope somebody have some advice on what I am doing wrong.

    I am also facing a similar issue. I have a multiconsumer queue. The message has been dequeued but the message is still present in the queue table and the message is also present in AQ$<queue_name> and the state is being shown as 'processed'.
    This all was working fine few days back and somehow stopped working all of sudden. The DB version which I am using is - 11.1.0.7.0. Any help related to this will be greatly appreciated
    -AA

  • Message not deleting from mailbox ?

    Hello guys,
    Can anyone help me out.
    I am trying to delete a message from mailbox 's "All Mails" and i have set the flag as:-
    msg.setFlag(Flags.Flag.DELETED, true);
    but the msg. is not getting deleted.

    gauravj wrote:
    Hello guys,
    Can anyone help me out.
    I am trying to delete a message from mailbox 's "All Mails" and i have set the flag as:-
    msg.setFlag(Flags.Flag.DELETED, true);
    but the msg. is not getting deleted.
    Did you use the expunge() method on the folder, or use close(true)? Otherwise the messages marked as DELETED will not be removed yet.

  • OJ6110xi cartridge error message keeps me from using menu, but cartridge works fine in printing

    When I power on the 6110xi, I get the message:  Remove and check left cartridge.  I removed both the black and color cartridges and cleaned the contacts both on the cartridges and unit with no change in the situation.  I deleted and re-installed the printer.  Still the same situation.  I can print (in both black and color) and scan fine.  I just can't access the menu.  How can I clear this error message?

    Hard Reset – While printer is powered ON, pull
    the power cord from the printer then from the
    wall. After 30 seconds reconnect power to
    wall and printer. This will trigger a ‘dirty
    power up’ and restore the printer to a known
    good condition (if it is possible). No user
    settings are lost with a ‘hard reset’.
    This ‘Hard Reset’ is one of the most powerful
    tools to use when the printer hardware is not
    functioning properly!
    If not fixed, printhead is defective.replace printhead or if printer is old...replace it.
    Although I am working on behalf of HP, I am speaking for myself and not for HP.
    Love Kudos! If you feel my post has helped you please click the White Kudos! Star just below my name : )
    If you feel my answer has fixed your problem please click 'Mark As Solution' and make it easier for others to find help quickly : )
    Happy Troubleshooting : )

  • Getting "cannot connect to iTunes store error from one appleID but another works fine

    I have 2 apple ID's, a personal one, and one that me and a couple of coworkers share so that we can share apps we purchase.  I cannot log into the shared AppleID from my ipad.  I can from my PC so I know it is not an incorrect password or anything like that.  I get the error "cannot connect to iTunes Store".  Is this because too many of us are logged into the same apple ID at once?  I tried changing the password so that it would kick everyone else off, but even with a new password I get the error.  I am able to login with my personal apple ID just fine, so I know it's not an issue with my wifi or my ipad software (i don't think).  anyone else experienced this and found a solution? 

    Hello 66ladybird88,
    I understand you are trying to access the iTunes Store on your Windows computer but are getting an alert with the number 0x80092013. There is an article that address this kind of alert and has some great troubleshooting steps for resolution. I understand the alert in the article is slightly different than the one you are getting but I recommend the same steps listed.
    Apple software on Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123
    Resolution
    The cause for these issues is a program that monitors the Winsock protocol for Windows conflicting with Apple software. These programs usually use a Layered Service Provider (LSP) that can help identify the particular program installed. The programs that monitor this protocol have a variety of purposes, including security software, content filtering, and optimization of network traffic.
    Thanks for reaching out,
    -Joe

  • HT204406 Why can i not download some albums from the Cloud but others work

    I was trying to download some albums to my IPod when I cam across a few albums within my cloud which say content not available for download?
    Can someone please help with this issue. After I put my entire collection in the cloud I have packed all my CD's away and i really do not want to have to go through all the boxes to find the albums that fail.
    This download also fails on my PC.
    Version numbers for you
    PC:
    Win 7 Ultimate
    ITunes 10.6.1.7
    IPod Touch
    iOS 5.1.1
    thanks

    Brittanybrit wrote:
    For some reason I cannot download the free apps from the app store. It asks me for payment details
    Do you have an Apple ID Account set up through the iTune Store? You need to have an account before you can download anything from the App store.
    Good Luck

  • I want to delete my mobile me account not just from my iPhone but from existence. I want to delete it so that no emails can be received to it, and the sender would receive an undeliverable message. Is this possible?

    I want to delete my mobile me account not just from my iPhone but from existence. I want to delete it so that no emails can be received to it, and the sender would receive an undeliverable message. Is this possible?

    No, you can stop using the account, but you cannot delete it.

  • So if iMessages deleted from one device are not deleted from others why not recover deleted iMessages from iCloud?

    I accidentally deleted ALL the messages from my wife from my iPhone, nearly all of them iMessages.  Yet, I can see all of them on my iMac and on my MacPro.  Indeed, there is a discussion item (https://discussions.apple.com/message/21313040#21313040) that confirms that messages are deleted and maintained independently on each device, even though they are all ultimately resident only in Apple's cloud.
    I would dearly love to have all of them back on my iPhone.  Yet, reading about 20 or so discussions here, the only way to recover them would be a recovery from my iTunes backup.  I have a somewhat recent backup, but I'll still lose about 100 messages that way.
    So, if all the messages are still in the cloud, why CAN'T I recover them directly from the cloud to my iPhone?  Any ideas?  Any software?  Is this an App just begging to be built??
    Thanks

    It depends on the type of email account you are using, not on iCloud.  If you are using an IMAP or exchange account, when you delete from one device, it is deleted from all devices.  If you are using a POP (POP3) account, it won't.  (iCloud email, Gmail and Yahoo are all IMAP accounts.)

  • Verizon mail deleted from server is not deleted from IPAD2 but works fine on Android

    I have both an Android phone and an IPAD.  This Android (RAZR) and my previous one (Droid2) worked fine.   Mail deleted from the server is also deleted from the phone.  Deleted from phone would delete from server.  Worked great.  On IPAD, when setting up the Verizon mail account, it defaults to POP and I can set it to delete from server when removed from IPAD.  However, mail deleted from the server is not deleted from the IPAD and so I have to remove it manually (a second time).  Why does it work on Android and not on IPAD?  Settings on Android appear to also be for POP.  Can anyone help with this?  It's too hard to believe that with so many people using IPADs, that this is such a problem.   I've read that Verizon isn't supporting IMAP, but how in the world is the Android phone working?
    MrBigHands

    Any mail service POP downloads a copy of the message to the phone. It would then need to be deleted from the device itself. What you are referring to where its deleted in both places is an IMAP type email service.
    Anthony_VZ
    **If someones post has helped you, please acknowledge their assistance by clicking the red thumbs up button to give them Kudos. If you are the original poster and any response gave you your answer, please mark the post that had the answer as the solution**
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or plan

  • Hi i am using OS 10.8.5 i hv a problem moving items to trash when i delete any thing it deletes from specific folder but dosnt appear in trash n my hard drive space is not getting free kindly help me

    hi i am using OS 10.8.5 i have a problem moving items to trash when i move a specific thing to trash it deletes from that folder but does not appear in trash and my hard drive space is not getting free i am a new user to mac kindly help  me out

    When you have kernel panics, the pertinent information is in the panic report.
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ System Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar.
    There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of reports. A panic report has a name that begins with "Kernel" and ends in ".panic". Select the most recent one. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    If you don't see any reports listed, but you know there was a panic, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.

  • Persistent messages are not deleted from JMS store

              Hi,
              I'm experiencing some unexperienced JMS store behaviour with WLS 6.1 sp 4. I have
              a servlet that posts a message to persistent JMS queue, which will be eventually
              consumed by an MDB. Even though consumption is successful, the message is not
              deleted from JMS store.
              The message will be redelivered after server restart and is still not deleted
              from JMS store. I verified this using file store and JDBC store. The messages
              actually stay in the JMSSTORE table till doom's day.
              I couldn't reproduce the case with WLS 6.1 sp 3. Exactly the application code
              was used in all cases.
              Subsequently I ran the same case with various ServerDebug DebugJMSXXX-flags set,
              and discovered that WLS 6.1 sp3 logs 'asyncDeleteL' and 'ZZZDelete' for the consumed
              message. WLS 6.1 sp4 didn't log this information.
              I'm running WLS 6.1 on WinNT and Win2000.
              Comments?
              b r
              Juha Räsänen
              

    I've am having exactly this problem with wl 5.1....
              I first saw it with 5.1 sp8....
              In the release notes for 5.1 sp10, the following CR was fixed, which seemed
              like it might have been my problem:
              CR 45915
              Fixed a JMS problem with messages begin left in the queue after received messages had been acknowledged. When a high volume of
              messages was sent to a queue and a consumer retrieved those messages and sent them to another queue, the messages were not being
              removed from the first queue even though they were acknowledged.
              We upgraded to 5.1 sp12, and it appeared that the incidence of that problem was reduced.
              However it still occurs once or twice a week, with 5.1 sp12....
              My situation is a little bit different, in that my consumer retieves a message, and sends another
              message to the SAME queue instead of another queue as described in the CR above...
              It does happen under heavy load, etc....
              Don't know if this has been reported and identified for wl 5.1 sp12 or not...
              It is of course a really difficult to deal with bug....
              Jason
              "Juha Räsänen" <[email protected]> wrote in message news:[email protected]...
              >
              > Hi,
              > I'm experiencing some unexperienced JMS store behaviour with WLS 6.1 sp 4. I have
              > a servlet that posts a message to persistent JMS queue, which will be eventually
              > consumed by an MDB. Even though consumption is successful, the message is not
              > deleted from JMS store.
              >
              > The message will be redelivered after server restart and is still not deleted
              > from JMS store. I verified this using file store and JDBC store. The messages
              > actually stay in the JMSSTORE table till doom's day.
              >
              > I couldn't reproduce the case with WLS 6.1 sp 3. Exactly the application code
              > was used in all cases.
              >
              > Subsequently I ran the same case with various ServerDebug DebugJMSXXX-flags set,
              > and discovered that WLS 6.1 sp3 logs 'asyncDeleteL' and 'ZZZDelete' for the consumed
              > message. WLS 6.1 sp4 didn't log this information.
              >
              > I'm running WLS 6.1 on WinNT and Win2000.
              >
              > Comments?
              >
              > b r
              > Juha Räsänen
              

  • Messages are NOT deleted from tables XI_AF_MSG and XI_AF_MSG_AUDIT

    Hello,
    I set the retention period to 7 days (1 week)
    I also set the default ARCHIVE and DELETE jobs and ALL are working fine.
    However, messages with OLD dates are NOT deleted from the tables XI_AF_MSG and XI_AF_MSG_AUDIT.
    These tables 32GB in the DBD table space.
    I tried to use the URL:
    http://<host>:<port>/MessagingSystem/archiving/reorgdb.jsp
    BUT to NO avail.
    How do I DELETE or ARCHIVE these messages ?
    ============================================
    Here are some more details on the content of the tables (I took into account 1 MONTH retention):
    db2 "select count(*) from sapxi3db.XI_AF_MSG_AUDIT where STATUS='SUCC' and TIME_STAMP < '2007-09-10 00:00:00'"
          28947
      1 record(s) selected.
    db2 "select count(*) from sapxi3db.XI_AF_MSG_AUDIT where STATUS='ERR' and TIME_STAMP < '2007-09-10 00:00:00'"
          13243
      1 record(s) selected.
    db2 "select count(*)  from sapxipdb.XI_AF_MSG where PERSIST_UNTIL < '2007-09-10 00:00:00' and STATUS='NDLV'"
           1048
      1 record(s) selected.
    db2 "select count(*)  from sapxipdb.XI_AF_MSG where PERSIST_UNTIL < '2007-09-10 00:00:00' and STATUS='DLVD'"
              0
      1 record(s) selected.

    Hi,
    First, thank you VERY much for answering.
    Now to your questions:
    1. When using the URL:
    http://<host>:<port>/MessagingSystem/archiving/reorgdb.jsp
        I did NOT get any ERROR messages.
        Thousands of messages where DELETED successfully.
        However, the number of rows in XI_AF_MSG_AUDIT did NOT reduce.
    2. I used the default archiving and deletion customizations and jobs.
       However, I ran them manually a few times a day with NO change in the
       number of rows in XI_AF_MSG_AUDIT
       What do you mean by "customized any Archiving for adapter Engine" ?
    . In RWB, I do see the default job is running
    Have you customized any Archiving for adapter Engine or You are using default arciving which runs every 24 hrs.
    3. I did ser the retention period for the adapter engine messages in visual admin in seconds...
    Please, advise further.
    Kind regards,
    Gil

Maybe you are looking for

  • Installation of oracle 10g on RedHat Linux EE 3

    Hi, I am going to Install of oracle 10g on RedHat Linux EE 3, rigth now i am running oracle 9i on windows platform. I need following things: -I want to export all my data from oracle 9i on windows. For this what is the best way should i transport my

  • Create trasport reqeusts directly in quality system

    Hello All, We have a three system landscape TMS configuration (DEVL-QUAL-PROD) and QUAL is defined as consolidated system. Because of lot of developers doing/testing changes to configuration on DEVL, we made some changes directly in QUAL intend to im

  • Mini Bridge does not open in InDesign after installing 8.0.2 upgrade

    This question was previously posted in the InDesign forum (http://forums.adobe.com/message/5833991#5833991), but it was suggested that I should cross post it here. I installed InDesign CS6 upgrade 8.0.2.  Now I cannot open Mini Bridge. If Bridge is n

  • Windows 7 IE9 will not open up PDF after acrboat reader XI Install

    Hello, We have many users getting this problem. We have Acrobat Standard 9 installed on all of our computers. Some have installed Acrobat reader XI and I am not sure why. I suspect they were prompted somehow. After the intsall we can no longer open u

  • Wi-fi killed by World of Warcraft???

    Okay this is very strange, and I am not sure if I can get help here, but when I get disconnected for WoW, it actually kills my airport as i can no longer connect to any network. Ethernet still works fine when this happens, and it only affects my comp