DB API for automatically recovering message stuck in undelivered state

Hi,
Can someone point me to any DB APIs that can be used to automatically recover messages in undelivered state (orabpel.invoke_message, state=0)
We have implemented a DB query to alarm if there are undelivered messages, want to take it to next level by triggering automatic recovery of such messages.
Any help is appreciated.
Thanks, Gopal

I'm seeing this behavior too.
MBP Retina from Mid 2012
3/8/14 3:36:38.846 PM loginwindow[69]: DPRemoteDesktopPicture: error getting desktop picture for display 0x4280382, error = no desktop picture for display 0x4280382 and spid=3

Similar Messages

  • Automatically Restart messages stuck in Java Stack.

    Hi,
    1) Is there a way to restart messages in java stack automatically like in ABAP stack.
    2) Alerts are not raised when messages are stuck in Java stack, for the same interface alerts are raised when stuck in ABAP stack any reason for this?
    Thanks in Advance.

    I don't know if you found already the solution for automatic restart of messages but there is a possibilty of an automatic restart.
    you have to open the url: HOST:Port/pimon
    -> Configuration and Administration
    -> Adapter Engine
    -> Background Scheduling
    Here you can create new jobs for restarting messages
    best regards
    Timo Eckhardt
    rz10.de - die SAP Basis und Security Experten - Das Team vom Fachbereich SAP Basis und Security

  • OAS API for automatic deployment!!

    Hi,
    Is there any API from Oracle for automatic deployment, stopping, starting, restarting the server, creating Datasource, connection pool etc for Oracle Application Server. I mean I should be able to achieve all these without manual intervention. Everything should happen in an automated way with the help of code.
    The following site lists out the API, but I could not find the solution for my (above) requirement.
    http://download-uk.oracle.com/docs/cd/B31017_01/web.htm
    Can anyone, if used/aware of such API, please let me know.
    TIA,
    Rgds,
    Prashanth Babu.

    Mike,
    Thanks for the reply.
    I basically found the ant methodology and also the J2EE Deployment API (JSR88) for my requirement.
    But with ant scripts I ran into problems. I have posted my problem in OC4J forum.
    Re: Could not create task or type of type: antlib:oracle:deploy
    I found the corresponding API for the same in ant-oracle-classes.jar. Here too, I ran into problems, since, when I tried Java Code for creating the datasource/connectionpool, the program is completing without any runtime-error, but its not creating the datasource/connectionpool.
    If anyone is aware of the API or used it or any pointers to examples of usage will be of great use. Please let me know.
    As such, Iam not able to find out much abt the API even googling.
    Any pointers/suggestions for the same would be very appreciated.
    TIA.
    Rgds,
    Prashanth Babu.

  • Automatically restart messages stuck in smq2

    Hi,
    I am having a problem that messages are getting stuck in the inbound queue and I need to manually restart it.
    I have searched on this and have found that RSQIWKEX job can be used for this. I have tried testing it but the messages are still stuck in queue. It is having the status as SYSFAIL. Is it not possible to restart messages having this status?
    The error which is there for SYSFAIL is Time Limit exceeded.
    Please help me to restart such messages automatically which I am now doing manually.
    Thanks and regards,
    Siji Anup

    Hi ,
    Pasting below the content of st22
    The program "CL_XMS_PERSIST================CP" has exceeded the maximum
    permitted uninterrrupted
    runtime and has therefore been terminated.
      The system profile contains the maximum runtime of a program.
      When this time limit has been exceeded, the program is terminated
      to make way for other users who may be waiting.
      In the case of a work area, this means that
      - endless loops (DO, WHILE, ...),
      - database accesses producing an excessively large result set,
      - database accesses without a suitable index (full table scan)
      do not block the processing for too long.
      The maximum runtime of a program is limited by the system profile
      parameter "rdisp/max_wprun_time". The current setting is 1800 seconds. After
       this limit has
      been exceeded an attempt is made to interrupt the SQL statement running
      or to tell the ABAP processor to interrupt the current program. A
      maximum of 60 seconds is then waited. If after this time the program is
      still active then the work process is restarted.
    Thanks and regards,
    Siji

  • Recovering messages stuck in a dead channel queue

    I,
    I have a bunch a msg (ca. 30) that are stuck in a non working channel queue. I do not want to loose them but rather have them delivered normally using the other working channels.
    How can I do that ?
    I have found out how to remove message in a queue, but not how to extract them and redirect them so they are delivered. I hope they will not disappear as they are tried out every so often.
    The channel (tcp_scan) was set up to analyze messages for spam/virus on another host according to the CONVERSION setup. Then this mailfilter host died. I stopped the redirection at the MTA, but some messages were already stucked in the channel queue.
    SETUP DESCRIPTION
    Before:
    The CONVERSION setup redirected mail to the tcp_scan channel.
    The tcp_scan channel redirected the messages to the mailfilter host where spamassassin and clamav would run.
    The mailfilter host would send back the result on the MTA on a special port setup in dispatcher.cnf
    The message is delivered locally on the MTA.
    Now, the CONVERSION channer has been removed and the messages arrive without screening.
    CONFIGURATION FILES
    VERSION
    imsimta version
    Sun Java(tm) System Messaging Server 6.2-7.05 (built Sep 5 2006)
    libimta.so 6.2-7.05 (built 12:18:44, Sep 5 2006)
    SunOS igloo 5.10 Generic_118822-30 sun4u sparc SUNW,Sun-Fire-280R
    FILE: mappgins
    CONVERSIONS
    in-chan=tcp_scan;out-chan=*;CONVERT No
    in-chan=tcp_submit;out-chan=*;CONVERT Yes,Channel=tcp_scan
    in-chan=tcp_auth;out-chan=*;CONVERT Yes,Channel=tcp_scan
    in-chan=tcp_local;out-chan=*;CONVERT Yes,Channel=tcp_scan
    FILE:ima.cnf
    ! tcp_scan
    tcp_scan smtp mx daemon 192.33.219.42 \
    port 2525 subdirs 20 noreverse dequeue_removeroute maxjobs 7 \
    pool SMTP_POOL maytlsserver allowswitchchannel \
    saslswitchchannel tcp_auth
    tcp_scan-daemon
    FILE:dispatcher.cnf
    [SERVICE=SMTP_ROUTER]
    PORT=3525
    IMAGE=/opt/SUNWmsgsr/lib/tcp_smtp_server
    LOGFILE=IMTA_LOG:tcp_smtp_server.log
    STACKSIZE=2048000
    PARAMETER=CHANNEL=tcp_scan
    Thanks
    Fran�ois

    fafouli wrote:
    I have found out how to remove message in a queue, but not how to extract them and redirect them so they are delivered. I hope they will not disappear as they are tried out every so often.How you get the messages to be 'redelivered is very-much a case-by-case basis. Once an email enters a queue it can be difficult to get the email redelivered in an automated fashion as there may be insufficient data to work out where the email needs to go.
    For example if you have emails stuck in the ims-ms channel the envelope address is <uid>@ims-ms-daemon, getting this to be redelivered to say another store or another non-messaging server (the 'original' address the email come in as) may not be possible.
    The channel (tcp_scan) was set up to analyze messages for spam/virus on another host according to the CONVERSION setup. Then this mailfilter host died. I stopped the redirection at the MTA, but some messages were already stucked in the channel queue.
    CONVERSIONS
    in-chan=tcp_scan;out-chan=*;CONVERT No
    in-chan=tcp_submit;out-chan=*;CONVERT Yes,Channel=tcp_scan
    in-chan=tcp_auth;out-chan=*;CONVERT Yes,Channel=tcp_scan
    in-chan=tcp_local;out-chan=*;CONVERT Yes,Channel=tcp_scanI assume this is the before configuration otherwise the conversion hop is still in place as Jay mentioned.
    FILE:ima.cnf
    ! tcp_scan
    tcp_scan smtp mx daemon 192.33.219.42 \
    port 2525 subdirs 20 noreverse dequeue_removeroute maxjobs 7 \
    pool SMTP_POOL maytlsserver allowswitchchannel \
    saslswitchchannel tcp_auth
    tcp_scan-daemonAn alternative approach to what Jay suggested. If the conversion hop is indeed no-longer in place, you could try changing "mx daemon 192.33.219.42" to "nomx daemon 127.0.0.1" and uncomment the tcp_scan channel. This should then cause any emails in tcp_scan channel to be delivered back into messaging server (rather then the anti-virus/spam system) and then get delivered as-per-normal.
    Regards,
    Shane.

  • OCMS API for sending text message to OC?

    Hi there,
    Could anybody share your knowledge on this topic?
    In fact, I would like to implement such a scenario: By clicking on a button on a web page, a text message will be sent to Oracle Communictor running elsewhere.
    Thanks a lot.
    Yong

    Hi
    it is very simple
    just install the SCE for Eclipse by using the OCMS install,
    then you will get access to a sample application called messagesender which
    does exactly that.
    Cheers
    Lucas Persson

  • API's for sending SMS messages

    Where can I find documentation on how to send/receive SMS messages via Oracle WE? Are there any API's available? I am currently on v1.0.2.2.

    Hi Friend,
    It is a great difficult to find API for sending SMS messages....but i succeeded....for sending SMS messages there is a Class Calles SmsSender and use
    sendSms(String mobileno, String message).....it will send message to the given mobile no...before i hope u have configured SMS Properties in Notification.properties file..
    and Coming to receive SMS...there is one more Class SmsServer which listens to all the messages coming on the configured port..now you need to customize this class...
    All the best....
    Cheers
    Krishna

  • F5061  Balance in local currency EUR is too large for automatic adjustment

    My Company code currency is EUR. The customer has made a downpayment in USD (say 100) and i am now to clear the same against invoice of same amount in USD (100 $) but its is resulting into minor differences in Local currency. I am getting the following error
    Balance in local currency EUR is too large for automatic adjustment
    Message no. F5061
    Diagnosis
    For postings in foreign currency, it is possible that the balance in foreign currency is zero, but not in local currency. Providing the balance in local currency does not amount to more currency units than the document has line items, the system adjusts the amounts automatically. If an automatic adjustment is not possible, the amounts must be adjusted manually in local currency.
    System Response
    The document is not posted in local currency without adjusting the amounts.
    Procedure
    Adjust the amounts in local currency.
    How can i have the system automatically fetch the Gl accounts to post the exchange rate differeces.
    I have maintained the settings in FBKP- Exchange rate differenes
    Thanks & Regards
    Pooja

    Hi,
    I have the same problem; my company code is defined in HUF and I am trying to post a vendor invoice in Euros.
    I have a 10% maintained there and still receiving the error, either for differences of just one HUF. The strangest thing is that differences are automatically adjusted (also for discrepancies over the 10%) when posting through FB60 but not when using FB01.
    Any idea?
    Thanks in advance for your input.
    Best regards.

  • In Mail, one mailbox for Recovered Message (AOL) keeps showing 1 very large message that I cannot delete. How can I get rid of this recurring problem, please?

    In Mail on iMac, successfully running OS X Lion, one mailbox on My Mac for "Recovered Messages (from AOL)" keeps showing 1 very large message (more than 20 Mb) that I just cannot seem to delete. Each time I go into my In Box, the "loading" symbol spins and the message appears in the "Recovered Messages" mailbox. How can I get rid of this recurrent file, please?
    At the same time, I'm not receviving any new mails in my In Box, although, if I look at the same account on my MacBook Pro, I can indeed see the incoming mails (but on that machine I do not have the "recovery" problem).
    The help of a clear-thinking Apple fan would be greatly appreciated.
    Many thanks.
    From Ian in Paris, France

    Ian
    I worked it out.
    Unhide your hidden files ( I used a widget from http://www.apple.com/downloads/dashboard/developer/hiddenfiles.html)
    Go to your HD.
    Go to Users.
    Go to your House (home)
    there should be a hidden Library folder there (it will be transparent)
    Go to Mail in this folder
    The next folder ( for me ) is V2
    Click on that and the next one will be a whole list of your mail servers, and one folder called Mailboxes
    Click on that and there should be a folder called recovered messages (server) . mbox
    Click on that there a random numbered/lettered folder -> data
    In that data folder is a list of random numbered folders (i.e a folder called 2, one called 9 etc) and in EACH of these, another numbered folder, and then a folder called messages.
    In the messages folder delete all of the ebmx (I think that's what they were from memory, sorry I forgot as I already deleted my trash after my golden moment).
    This was GOLDEN for me. Reason being, when I went to delete my "recovered file" in mail, it would give me an error message " cannot delete 2500 files". I knew it was only 1 file so this was weird. Why 2500 files? Because if you click on the ebmx files like I did, hey presto, it turned out that they were ALL THE SAME MESSAGE = 2500 times. In each of those folders in the random numbers, in their related message folder.
    Now remember - DONT delete the folder, make sure you have gone to the message folder, found all those pesky ebmx files and deleted THOSE, not the folder.
    It worked for me. No restarting or anything. And recovered file. GONE.
    Started receiving and syncing mail again. Woohoo.
    Best wishes.

  • Automatic output message generation for PO

    Hi Forum,
    I am getting below message while creating a PO, I want to set Automatic output message - (my output is by e mail). Please help...!!!
    No message generated for output of purchasing document
    Message no. 06261
    Diagnosis
    The system was not able to find a message record via the message determination schema. Therefore it was not possible for such a record to be generated for this purchasing document. In consequence, the purchasing document cannot be outputted (printed or transmitted).
    Procedure
    The message determination process should be checked and, if necessary, corrected.
    The message record can be created manually for this document. For this purpose, choose the function "Messages" in the menu "Header" and maintain the necessary data.
    Thanks & Regards,
    Rohit Guliani

    Hi Rohit,
    You need to check that your print program is SAPFM06P and form as MEDRUCK.
    Any testing should be done with this testing and once thus setting works, you may go back to your own program and form if you like. This helps a lot in identifying the area of error.
    Please tell me you support pack level for SAP_APPL. It starts with SAPKH***** (like SAPKH46C08).
    After that your help can be done.
    - Sanjeev

  • Problem JMS-c api for message Acknowledgement

    Hi,
              I am working in a project that uses bea-JMS C api for
              Communictions.In my project i am using topic messaging for message reciving and sending..Here i am using durablesubscriber for receiving and client Acknowledgement to Acknowledge the message.
              In receiving function I store the message in another JmsMessage for Client-Acknowledgement.
              Here comes one problem that, while i Acknowledge on the receive function each and every message Acknowledge correctly.But while i Acknowledge that message from some other function it return -1 as , that it cannot Acknowledge.The other function is working in another thread.
              Wheather the seprate thread will make the problem for confirmation.

    Similar to JDBC connections, JMS sessions and their related child producers and consumers are not thread-safe (with the one exception of the session.close() method).
              For example, without added application level locking, its not safe to acknowledge a message from one thread while another thread receives or produces a message. This has special implications for asynchronous consumers, as once the asynchronous consumer is created, access to the session and objects is limited to code within the "onMessage()" and "onException()" callbacks.
              This behavior is detailed in the JMS specification.
              Tom

  • Mails/Alerts-triggered for messages stuck in queues and failed in moni

    Hi,
    I have two doubts.
    1) Messages are getting stuck in smq2 of my ECC and PI system. I have to manually push them. Is there any mechanism in which we can get alerts/mails when messages get stuck in queues.
    I have already gone through the blog /people/santhosh.kumarv/blog/2009/05/19/sap-xipi-alerts-for-queue-errors and I have implemented it in ECC system. But no mails were generated.
    2)Is there any method in which I can get alerts/mails when a message fails in sxmb_moni of ECC system?
    Thanks and regards,
    Siji

    Hi Sanjeev,
    I made a report with the following code in it and executed it. So I think that should work even if the job for it is not scheduled. There were messages stuck in queue. But no alert was generated. I had also created alert category in ECC.
    Thanks and regards,
    Siji

  • Setting Importance Level for a email message using javax.mail.* API

    Setting Importance Level for a email message using javax.mail.* API
    From what I understand we can set Flag on Email Message. How can we set Importance Leve: High/Low for an email message?
    Thanks
    Purvi

    Most of the message Flags work only for IMAP mailboxes. POP3 supports only the DELETED flag. It must be understood that Javamail is a framework which provides all the features available in a standard mailing system. But whether or not a particular feature works is a functionality of the particular implementation being used.
    Thus for example POP3 cannot differentiate read from unread messages in a mailbox though Javamail provides that feature.

  • TS4268 I MESSAGE STUCK IN "WAITING FOR ACTIVATION" ANY SUGGESTIONS?

    i message stuck in "waiting for activation" any suggestionss on how to fix this? it happened once before but sorted itself out after a few days

    Back up, Erase all content and settings, Restore iPhone (downloads fresh iOS), restore from backup.  Should fix.  You will not lose texts, etc.

  • Call of API for IBase contains errors Message no. CRM_IB050

    Call of API for IBase contains errors
    Message no. CRM_IB050
    Diagnosis
    No import data was entered for one of the function modules (APIs) for Installed Base Management. Therefore, the function cannot be executed.
    System Response
    The system terminates processing.
    Procedure
    If the APIs are called in customer-specific programs, check the call for the APIs and change the call accordingly.
    Can anyone help me in the above issue.
    Regards,
    Mirza Kaleemulla Baig

    Hi Sai,
    This is too late to reply this post, but to let everyone know about the issue I am posting here.
    Start new UI session and put breakpoint at BUPR_EMPLO_DELETE and check parameter IV_X_SAVE everytime, till you get the error message. The parameter IV_X_SAVE should be same/consistent (either ' ' or 'X') in whole Logical Unit of Work. It should not change in between.
    I faced the same kind of problem and found that standard was passing IV_X_SAVE = ' ' and in our custom code we were passing IV_X_SAVE = 'X'. I changed it to IV_X_SAVE = ' ' and my problem got resolved.
    You can try the same. Please post the alternate solution if you find it.
    Best Regards,
    Rahul Koshti

Maybe you are looking for

  • How to transfer adobe acrobat XI registration from one desktop to another (bought new PC).

    how do you  transfer adobe acrobat XI registration from one desktop to another (bought new PC).  Need to use ASAP!

  • Column Bread in the ESS launchpad

    Hi everyone, I am struggling to get my column break to take effect when I add it in my ESS launchpad. I see how it is used in the standard launchpads, but I can't seem to get it working myself. When I insert a column break it will only place itself i

  • Charges through computer and iPod Touch?

    So here's the situation. My wife has an iPod Touch (and so did I till Friday), which uses our iTunes account. We do not sync her iPod often at all, but when we do, it is to my macbook, so we use the same account for apps, music, etc. She bought an al

  • How to install SBOP BI 4.0 client tools

    Hello Everyone We have installed BO server and need to install the client tools on local desktop. Could anyone please guide me towards installing SBOP BI 4.0 Client Tools. I have downloaded the following tools 1.     SAP CRYSTAL REPORTS FOR ENTERPRIS

  • Simple question about CSC-SSM

    Hi, I must block a HTTPS website using CSC-SSM on a ASA 5520 but it looks like it won't block HTTPS traffic at all so I've been searching around and I found that "Traffic that moves through HTTPS cannot be scanned for viruses and other threats by the