AQ transactions and lost messages

Dear forum,
I am developing an application in which messages should not get lost.
I have the following test setup :
an MDB which is deployed with the transaction attribute="NotSupported".
The MDB runs in a oc4j container.
The onMessage method of the bean is run in the Eclipse debugger.
I observe the following:
When the MDB picks a message from an AQ queue and enters the onMessage method the message state in the queue goes to "processed".
When the container is forced to crash before the onMessage method returns the message has disappeared from the queue and is not in the exception queue.
When I run the same test with the transaction attribute="Required". The onMessage method runs in a container managed transaction and the message goes to the exception queue with state "expired".
For various reasons I do not want to use CMT. But I do not want any messages to get lost.
Could someone please tell me if my observations are correct en what alternative options do I have?
Greetings,
Huub

No real help from me I'm afraid but just had a call from my brother who was just lost all his mail setting and messages, mail is appears as if it was started for the first time. His Mail folders in the Library have his pop and mac account folders but no contents.
Have you checked if the messages are in your library? (Home > Library > Mail)

Similar Messages

  • Mail Preferences and lost Messages

    Had an issue after a software update: finder constantly relaunches. Tried, PRAM zap, reinstall sys, removing com.apple.finder.plist preference. Nothing worked.
    Then I relocated my entire preference file. Now the problem is gone, it was some preference, I do not know which one.
    Now I have to set up some programs again, or swap in the prefs from the old folder. The problem is that I have no mail boxes on my mac in mail. All of my messages from the years, catagorized into folders, are gone.
    Looks like the first time I every opened mail. I have original prefs folder and all its contents, however if I swap the old prefs back into the lib, most prefs return on restart, however there is still nothing in mail and the finder relaunching error resumes.
    Where did my mail go? Did new preferences for mail overwrite my entire mail archive? How can I find them? Where did they go?
    Unfortunately I have been meaning to back them up ever since I lost the last backup. Too many good numbers in my emails, user names, passwords, activation codes, directions to Eden. I want them back!
    Ideas?

    No real help from me I'm afraid but just had a call from my brother who was just lost all his mail setting and messages, mail is appears as if it was started for the first time. His Mail folders in the Library have his pop and mac account folders but no contents.
    Have you checked if the messages are in your library? (Home > Library > Mail)

  • Nokia N97 synchronization canceled and lost messag...

    Hi all, I've a problem with my Nokia N97. I was using Ovi Suite, and trying to synchronize everything from my phone to the computer. The process started fine, but it was taking too long, and after more than one hour of processing, I was forced to leave my pc, and therefore I choosed to cancel the synchronization. It stopped, and after that I closed the application, turned off the computer, and disconnected the phone (I was using the USB cable).
    After that, I found that on my phone there was no message at all. Every message and email was wiped. Even email settings were deleted.
    Fortunately pictures and videos are still there.
    But now I cannot find my messages anywhere.
    Please is there someone who could help me?
    Of course, I did no backup before.... as you will ask for...

    if it can't be recognized in USB mass storage mode from your pc, then Nokia care must replace it in warranty period
    -you can show appreciation to my posts if it helped or useful by pressing the green Kudo star beside my post that hepled
    -if my answer was the solution , so click accept as solution button
    Started From Nokia 3310 , Now with Nokia N97 v.22.0.110 + N900 PR1.2

  • Palm Treo Pro - suddenly lost Messaging email and SMS?

    Currently travelling overseas and no probs first few days but then was in Port Isaac with "no signal" and switching carriers and lost messaging - emails, sms etc. I can make outgoing calls and  receive them but can't receive SMS. I can access web for weather updates, Facebook etc. I have done a few few soft resets with no success although one time I got an error message about device.exe - not every time though. The messaging won't work either through the nominated button or through the menu item. I do get the "thinking" whirling ball for 10s while it tries but nothing starts. Has my device.exe become corrupted somehow - can I replace it or do I need a hard reset? Should I install 6.5 if that is the case - don't really want to lose all contacts etc
    Any comments appreciated - it is driving me nuts!
    Post relates to: Treo Pro T850U (Unlocked)

    It is strange if web browsing works but not email. Unlike SMS, email should be using the same data connection as web. Are you roaming with your provider's SIM card or are you using a local SIM card?
    I generally get a device.exe error if I close a program and it doesn't close correctly, or very occasionally if a program crashes for some other reason. I don't think I've seen it during startup. I doubt that the file has become corrupted, although I suppose it's possible.
    There is no (official) 6.5 update for the Treo Pro.

  • Mail update and lost inbox messages

    I am new to Macs. When I opened my Macbook today it automatically started an update to Mail. when it was done my settings for my ISP changed (eliminated my account settings and all that's there now is .Mac which I signed up for as a curiosity but don't use) deleted my inbox, deleted my sent messages and seems to have left all my other message alone.
    Is this a virus? How do I get my lost message back? I don't see any references to a mail software update when I do Google searches. As much as I dislike Outliook I have to say I've never experienced anything like this and I'm concerned. I may be at fault since I just used the Mail software and didn't spend a lot of time researching it. Did I do something wrong or is there something else wrong?
    macbook   Mac OS X (10.4.8)  

    What’s the capacity and space available on your startup disk? Take a look at the comments about disk space in the following article, in case they apply to you:
    Problems from insufficient RAM and free hard disk space
    Even if there is enough space available on the startup disk, for some reason that remains a mystery to me, Mail sometimes “thinks” it must discard the current ~/Library/Preferences/com.apple.mail.plist preferences file and create a new one. As a result, all your non-.Mac account settings (but not the messages themselves), which are stored in that file, are lost.
    Verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what’s it all about?
    After having fixed all filesystem issues, if any, and making sure that there’s enough space available on the startup disk (a few GB, plus the space needed to make a backup copy of the Mail folder), quit Mail if it’s running, and make a backup copy of the ~/Library/Mail folder, e.g. by dragging it to the Desktop while holding the Option (Alt) key down, just in case something else goes wrong while trying to solve the problem. This is where all your mail is stored.
    You have three options now:
    (1) Restore com.apple.mail.plist from a backup if you have one. Mail shouldn’t be running while you do this.
    (2) Set up your non-.Mac accounts in Mail again. If given the option to import existing mailboxes or something like that, don’t. Just enter the account information and Mail will automagically rediscover the data in ~/Library/Mail/ when done. You’ll also have to re-configure most of your settings in Mail > Preferences. For spam-related security reasons, the first thing you should do is go to Preferences > Viewing and disable Display remote images in HTML messages if it’s enabled.
    (3) Mail may have renamed the old preferences file to com.apple.mail.plist.saved. If that’s the case, you may try moving the new com.apple.mail.plist out of ~/Library/Preferences/ (e.g. to the Desktop) and rename the old com.apple.mail.plist.saved back to com.apple.mail.plist. Again, be sure Mail isn’t running while doing this. Since Mail decided to discard it, I would expect this file to be corrupt (I don’t understand why would Mail discard it and create a new one otherwise), but apparently that often is not the case and the settings can indeed be restored by just renaming the file.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder, i.e. ~/Library is the Library folder within the user’s home folder.

  • Lost all my photos and txt messages during last update- HELP PLEASE

    During the last IPhone update my phone went into restore mode and when it recovered all my photos, videos, and txt messages were gone.  I went to restore through old ITunes restore points, but they were gone too- all I have is one from 2011 and the one with nothing on it, and I have synced my phone hundreds of times since 2011.  Is there anything I can do?  I have a Mac, could I use Time Machine to go back to an old date, and possibly the ITunes restore points will be there?  Any help will be much appreciated!!!

    Did you fail to backup the device prior to attempting the update?  If so, any content between the last backup and when the update apparently failed will be gone.
    If the device has been used as designed, contact would be synced to a supported application on the computer or a cloud service.  Simply sync them back.
    Pictures and videos taken with the device are designed to be copied to a computer regularly.  Only a fool would expect a device so easily lost/stolen or damaged to be sole storage of their "important" pictures.

  • Transaction Posting Confirmation Message and Action Listener behaviour

    Hi, I have a scenario that a user is Posting a Transaction and when he press the “Post” Button a, confirmation dialog box should popup asking “Do you really want to Post the record ?”. If the user press “Yes” the record is further process and If the user press “No” then the transaction should not proceed.
    I have implemented the main screen(PostTransaction.java) and the popup confirmation window(ConfirmationWindow.java)
    Question 1 ) Why the code is not stoping in the Post Button Action listener as in JOptionPane, then how do i know that the user has selected "Yes" or "No" ?
    Question 2) Do I have to write the code for posting of a Transaction(postTransaction() method) in the “ConfirmationWindow”? or it should be in “PostTransaction”.
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.application.Application;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.Label;
    import javafx.scene.control.TextField;
    import javafx.scene.layout.GridPane;
    import javafx.stage.Stage;
    public class PostTransaction extends Application{
           public void start(final Stage stage) throws Exception {
                  Group root = new Group();
                  Scene scene = new Scene(root, 300,300);
                  stage.setScene(scene);
                  stage.setTitle("Transaction Post Screen");
                  GridPane gp = new GridPane();
                  Label lblName = new Label("Name");
                  Label lblAmount = new Label("Amount");
                  TextField txtName = new TextField();
                  TextField txtAmount = new TextField();
                  Button btnPost = new Button("Post Record");
                  gp.add(lblName, 1, 1);
                  gp.add(lblAmount, 1, 2);
                  gp.add(txtName, 2, 1);
                  gp.add(txtAmount, 2, 2);
                  gp.add(btnPost, 2, 3);
                  btnPost.setOnAction(new EventHandler<ActionEvent>() {
                        @Override
                        public void handle(ActionEvent arg0) {
                             //The code does not stop here as in JOptionPane, then how do i know that the user has selected "Yes" or "No" ??
                             boolean popupResult = ConfirmationWindow.confirmTranactionPosting(stage, "Please Confirm");
                             if(popupResult==true){
                                  //This line is printed before the user selects yes or no
                                  System.out.println("Proceeding with Tranaction Posting");
                                  //postTransaction();
                             if(popupResult==false){
                                  //This line is printed before the user selects yes or no
                                  System.out.println("Do not Proceed with Tranaction Posting");
                 root.getChildren().add(gp);
                stage.show();
                public static void main(String[] args) {
                  launch(args);
              private void postTransaction(){
                   //write the code for posting here
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.Label;
    import javafx.scene.layout.BorderPane;
    import javafx.scene.layout.HBox;
    import javafx.stage.Modality;
    import javafx.stage.Stage;
    import javafx.stage.StageStyle;
    public class ConfirmationWindow extends Stage {
         Stage owner;
         Stage stage;
         BorderPane root;
         static boolean postStatus = false;
      public ConfirmationWindow( Stage owner, String title){
        root = new BorderPane();
        stage = this;
        this.owner = owner;
        initModality( Modality.APPLICATION_MODAL );
        initOwner( owner );
        initStyle( StageStyle.UTILITY );
        setTitle( title );
        setContents();
      public void setContents(){
        Scene scene = new Scene(root,250,150);
        setScene(scene);
        Group groupInDialog = new Group();
        groupInDialog.getChildren().add( new Label("Do you really want to Post this record ?") );
        root.setCenter( groupInDialog );
        Button yes = new Button( "Yes" );
        yes.setOnAction(new EventHandler<ActionEvent>() {
              @Override
              public void handle(ActionEvent e) {
                   postStatus =true;
                   stage.close(); // Close the pop up. Transfer control to PostTransaction.java and execute the PostTransaction() method.
        Button no  = new Button( "No" );
        no.setOnAction(new EventHandler<ActionEvent>() {
              @Override
              public void handle(ActionEvent e) {
                   postStatus =false;
                   stage.close(); // Close the pop up only
        HBox buttonPane = new HBox();
        buttonPane.setSpacing(10);
        buttonPane.getChildren().addAll(yes,no);
        root.setBottom(buttonPane);
        stage.show();
      public static boolean confirmTranactionPosting(Stage owner, String title) {
           new ConfirmationWindow(owner, title);
           return postStatus;
    }

    The MII Message listener is a queue. But when I understand you correctly, you do not want to process the messages immediately after arriving in the Listener.
    Maybe the categorization of messages is an option for you (see [Sap Help: Processing Rule Editor - Category|http://help.sap.com/saphelp_mii121/helpdata/en/43/e80b59ad40719ae10000000a1553f6/frameset.htm]. You can enter a category for the control recipe messages. The messages will then be placed in the Listener queue. You can use the [Message Services|http://help.sap.com/saphelp_mii121/helpdata/en/43/e80b59ad40719ae10000000a1553f6/frameset.htm] actions to read the categorized messages and process them as you need.
    In addition to Manoj, you may also use the [Queueing actions|http://help.sap.com/saphelp_mii121/helpdata/en/43/e80b59ad40719ae10000000a1553f6/frameset.htm] of MII, where you can queue xml contents.
    Hope this helps.
    Michael

  • A very good friend of mine dropped her iphone into water and now it is not working.Her husband recently passed away and text messages from him and from well wishers after his decease are feared lost. Is there any way to retrieve them?

    A very good friend of mine dropped her iphone into water and now it is not working.Her husband recently passed away and text messages from him and from well wishers after his decease are feared lost. Is there any way to retrieve them?
    I suggested contacting Compub in Nassau St as the info is priceless and worth the trouble of trying to regain?
    Any thoughts? The poor lady is very distress

    If she has backed up her iPhone she can replace that iPhone and set up the new iPhone from her backup.
    You can put the iPhone that went into water into a plastic baggie with either new silica gel packets (preferred) or raw rice and let it sit for  4 - 5 days. After that time remove the phone and connect it to power for at least a half hour. While it is still connected to power reset it by holding down the power and hold button, wait for the Apple logo then let go of the buttons. Might take several tries. If it revives immediately back it up.

  • I did my ios7 update and lost all my old text messages, how do I get them back?

    I did my ios7 update and lost all my old text messages, how do I get them back?

    Try this
    http://support.apple.com/kb/HT1414

  • My iPhone has recently been crashing (or rather the apps) when I would try to access my text messages, contacts, phonebook, facebook, or email. I tried restarting my phone and lost all of my contacts. Anyone know what's wrong/how to fix it

    My iPhone has recently been crashing (or rather the apps) when I would try to access my text messages, contacts, phonebook, facebook, or email. I tried restarting my phone and lost all of my contacts. This has been happening more and more frequently. Today I was in my pictures and was trying to crop one and my phone shut off completely. Anyone know what's wrong with it or how to fix it?

    Make sure all apps are fully closed:
    - double tap your home button
    - hold your finger on an app
    - when the apps start to wiggle press the red "-" button on all the apps
    Now do a hard reset:
    - hold the home button and the sleeps/wake button down at the same time
    - the phone will shut off then when the apple logo ppears release both buttons
    If by then your contacts have not been restored you would need to try and retreive them from a back up on itunes/icloud that was made when the contacts were on the phone. You could even stream them from the cloud if they were synced to the cloud. The link beow will show you how to restore from an itunes/icloud back up:
    http://support.apple.com/kb/ht1766
    Also to prevent this issue which i have seen alot when users are still running iOS 5 it would be best to update the iOS on your phone. To do this follow the link below:
    http://support.apple.com/kb/ht4623
    Hope this helps

  • When in Safari, I try to text the link in the address bar to a contact through the link at th ebottom of safari and it never goes to th econtact and the message is lost.  Any fix here or is it a bug in 7.0.2?

    When in Safari, I try to text the link in the address bar to a contact through the link at th ebottom of safari and it never goes to th econtact and the message is lost.  Any fix here or is it a bug in 7.0.2?
    Re Create the task:
    1. Open Safari
    2. Go to the desired website/address
    3. Click the send icon at the bottom (Square with arrow pointed up)
    4. Click Message
    5. Add contact in "To:" line
    6. Hit send
    It locks up and lags here on me and the message never shows up at the contacts phone/imessage/etc.

    Hi,
    /Users/sarahschadek/Desktop/Safari.app/Contents/MacOS/Safari
    Move the Safari app from the Desktop to the Applications folder.
    Restart your Mac.
    That's why you see this:
    When I try to do the updates my computer says it has ready it goes through like it is downloading them then at the end it says some of the files could not be saved to "/" files.
    After your restart your Mac, click the Apple  menu (top left in your screen) then click:  Software Update ...
    Carolyn  

  • Updated to iOS 5.1.1 and lost all contacts, messages, and photos specific to this iPhone.  Is there anything to retrieve the lost info?

    Updated software to iOS 5.1.1 and lost all contacts, messages, and photos specific to this iPhone.  Is there any way to retrieve the lost info?

    if you don't have a backup on iclouds or itunes that you can restore to, then all is gone.  http://support.apple.com/kb/HT1766

  • I have an iPhone 4s iOs 5.1.1, I want to update it to iOs 7, if I've backed up to iCloud will my contacts, pictures and text messages be saved and able to be restored if lost?

    I have an iPhone 4s iOs 5.1.1,( I know I need an update!) I want to update it to iOs 7, if I've backed up to iCloud will my contacts, pictures and text messages be saved and able to be restored if lost? I recently backed up to the iCloud as recently as this morning at 2AM.

    OCD with good reason
    With a second backup, as you now have, you are well protected.  The update makes a backup to use for restoring after the install but with another you should be in great shape.
    Just take you time and be patient, these can take a while to complete depending on server load, connection speed, etc.

  • Lost messages on iPad 2 when creating new Apple ID on new iPhone and changed it on the iPad

    We have got a new iPhone5, and when setting it up the first time, a new Apple ID was typed in, unaware the problemes it would cause.
    We also changed the Apple ID on our iPad2, and lost all historic messages at iMessages.
    Is it possible to have it restored without a backup?
    We have tried to change back to the old Apple ID, but still have not been able to restore the messages.

    To use iCloud your iPhones and your Macs should all be signed into the same account, what are you trying to achieve.?

  • Does any one know about this... I was trying to download a song and a messages saying cannot complete transaction call customer support..what can I do cuz I called and couldnt get through

    I was trying to download a song and a messages saying cannot complete transaction please call customer services ... I called and couldn't get through what can I do now

    Welcome to the Apple Community.
    It sounds like you are trying to change your login in the Tunes store through iTunes on your computer, which you can only do once in 90 days, which you don't need to do for this.
    What does your iPad usually sync with.

Maybe you are looking for

  • BUG: iTunes Reporting Section Doubling Download Metrics

    I've found what seems to be a bug on the reporting section of the iTunes U metrics and am wondering if anyone else is experiencing this. I have attached a video to demonstrate what is happening, but essentially if I start counting metrics from Jan 20

  • Change Flash Security Settings With No Internet Access?

    Hello I have firefox at home with no internet access, is it posible to alter my flash installation so it enables access to other content. it brings up a settings window but that just goes to a dead url. I have a a collage disk but it will not run unt

  • How to move the anchor object in indesign cs2 using js?

    i can able to move the normal textframe and other objects but cant do this for anchor objects. syntex:  anchorobject.move([x value,y value],undefined,true) how to move the anchor objects? thanks subha

  • Upgrading from Lightroom 3 to 4

    I previously used Lightroom 3 but recently upgraded to Lightroom 4.  When I installed Lightroom 4, I assumed it would overwrite the earlier version but it did not and now I have both versions on my computer.  Should I just delete Lightroom 3 from my

  • OPatch in 10.1.2 and 10.1.3 homes

    All: We all know there is a 10.1.2 home (tools) and a 10.1.3 (Web OH) home on the middle tier. There are OPatch utilities in both homes. However, when I run the opatch lsinventory -detail, I only get inventory (and patch) informaition from the 10.1.2