Delay-updates-until-end-of-tx flag behavior in WLS 6.1 SP4

Hi All!
I'm a bit in trouble with a strange behavior with the
<delay-updates-until-end-of-tx> tag.
I didn't find any message about my problem here around, so I don't
know if I missunderstand something. Has somebody had the same
(following) experience?
We are migrating from WLS 5.1 to WLS 6.1
We tried do keep ejbs "as are" in 5.1, so we're talking about EJB 1.1
on WLS 6.1: it should be allowed!
Everything works fine, but when a session bean (SL) modifies some
entity bean(CMP or BMP) and try to read from it in the same
transaction, read data are NOT up to date.
To solve this problem with WLS 5.1 we used the
delayUpdatesUntilEndOfTx tag, and it went fine, but with WLS 6.1 it
doesn't work, even if reading bea docs I understand it should.
Looking at the console, flags are correctly un-setted for the entity
beans we need, but the behavior is like if it wasn't.
Any idea?
Thanx in advance, Paolo.

Hi
Well, delay-updates-until-end-of-tx is setted tu false, so it
shouldn't wait 'til the end, but write immediately.
When I "read" I call finders.
Anyhow, I went on with tests, and tried to use EJB 2.0 entity beans,
and it works fine.
So now I have 1.1 session bean on 2.0 entity beans well working.
It seems that troubles are only with 1.1 entity beans on WLS 6.1.
1.1 entities on WLS 5.1, and 2.0 entities on WLS 6.1 are ok for me.
Maybe a bug?
Paolo.
"Keng-Woei Tan" <[email protected]> wrote in message news:<3eb81ca2$[email protected]>...
Did u set delay-updates-until-end-of-tx to true or false?
When you do a "read", are you calling get cmp fields on the same bean instancesor
are you invoking finder methods?
[email protected] (Paolo Bettini) wrote:
Hi All!
I'm a bit in trouble with a strange behavior with the
<delay-updates-until-end-of-tx> tag.
I didn't find any message about my problem here around, so I don't
know if I missunderstand something. Has somebody had the same
(following) experience?
We are migrating from WLS 5.1 to WLS 6.1
We tried do keep ejbs "as are" in 5.1, so we're talking about EJB 1.1
on WLS 6.1: it should be allowed!
Everything works fine, but when a session bean (SL) modifies some
entity bean(CMP or BMP) and try to read from it in the same
transaction, read data are NOT up to date.
To solve this problem with WLS 5.1 we used the
delayUpdatesUntilEndOfTx tag, and it went fine, but with WLS 6.1 it
doesn't work, even if reading bea docs I understand it should.
Looking at the console, flags are correctly un-setted for the entity
beans we need, but the behavior is like if it wasn't.
Any idea?
Thanx in advance, Paolo.

Similar Messages

  • Delay program until end TranslateTransition JavaFX

    Hey everyone,
    My name is Thomas and I am currently working on a final High School programming project. For this project we are programming a game with JavaFX, in which we feature several mini-games to improve children's mathematical skills. One of about 10 mini-games is a puzzle where you have to reach the exit of the level by sliding over ice.
    Let me explain the mechanics of this mini-game. When you press an arrow the character has to keep sliding in that direction until it bumps into an object (I have four rocks & borders of the map). What I decided to do is make a function for each direction in which I define a translation of a certain distance, and then keep repeating this translation until there is an object right next to the character, at which time it will stop moving. In many programming languages this would be an easy task, but there is a problem in JavaFX: when I execute the translation the code will continue executing, allowing the user to press a button while still moving which should not be allowed: the code has to wait until the movement is complete. Most languages have a delay(x ms) function for this, but JavaFX does not have one.
    I was wondering whether anyone knows a solution for this problem. I need to make a delay either in the TranslateTransition, or in a function since I made a while loop that keeps executing the translation but without a delay it executes the transition a million times.
    Any help will be greatly appreciated!
    Thomas Brouwer
    The code (with the loop I talked about as comments since it freezes the program):
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package javafx.toneel.pac;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.shape.Rectangle;
    import javafx.scene.input.KeyCode;
    import javafx.scene.input.KeyEvent;
    import javafx.scene.paint.Color;
    import javafx.animation.transition.TranslateTransition;
    import javafx.animation.*;
    var character: Rectangle;
    def scenewidth = 600;
    def sceneheight = 600;
    var topborder: Rectangle;
    var leftborder: Rectangle;
    var rightborder: Rectangle;
    var bottomborder: Rectangle;
    var Moving = false;
    var object1: Rectangle;
    var object2: Rectangle;
    var object3: Rectangle;
    var object4: Rectangle;
    var minX = scenewidth/12;
    var minY = sceneheight/12;
    var maxX = 11*scenewidth/12;
    var maxY = 11*sceneheight/12;
    * @author Thomas
    Stage {
    title: "Application title"
    scene: Scene {
    width: scenewidth
    height: sceneheight
    content: [
    //code to make the borders of the map. The map consists of blocks 10x10 and
    //another block as borders on each side, so 12 horizontally and 12 vertically
    topborder = Rectangle {
    width: scenewidth
    height: sceneheight/12
    x: 0
    y: 0
    fill: Color.BLUE
    leftborder = Rectangle {
    width: scenewidth/12
    height: sceneheight
    x: 0
    y: 0
    fill: Color.BLUE
    rightborder = Rectangle {
    width: scenewidth/12
    height: sceneheight
    x: 11*scenewidth/12
    y: 0
    fill: Color.BLUE
    bottomborder = Rectangle {
    width: scenewidth
    height: sceneheight/12
    x: 0
    y: 11*sceneheight/12
    fill: Color.BLUE
    //code to define the character
    character = Rectangle {
    width: scenewidth/12
    height: scenewidth/12
    x: 6*scenewidth/12
    y: 6*sceneheight/12
    fill: Color.BLUE
    //make the keyevent input accessible
    focusTraversable:true
    onKeyPressed: function( e: KeyEvent ) {
    //prevent key input while the object is already moving, but this
    //does not work either.
    if (Moving == false){
    if (e.code == KeyCode.VK_LEFT) {
    Moving = true;
    Movingcheckleft();
    if (e.code == KeyCode.VK_RIGHT) {
    Moving = true;
    Movingcheckright();
    if (e.code == KeyCode.VK_UP) {
    Moving = true;
    Movingcheckup();
    if (e.code == KeyCode.VK_DOWN) {
    Moving = true;
    Movingcheckdown();
    //code to define the objects
    object1 = Rectangle {
    width: scenewidth/12
    height: sceneheight/12
    x: 10*scenewidth/12 //one square from the rightborder
    y: sceneheight/12
    fill: Color.YELLOW
    object2 = Rectangle {
    width: scenewidth/12
    height: sceneheight/12
    x: 9*scenewidth/12 //two squares from the rightborder
    y: 8*sceneheight/12 //three squares from the bottomborder
    fill: Color.YELLOW
    object3 = Rectangle {
    width: scenewidth/12
    height: sceneheight/12
    x: 6*scenewidth/12 //five squares from the leftborder
    y: 7*sceneheight/12 //four squares from the bottomborder
    fill: Color.YELLOW
    object4 = Rectangle {
    width: scenewidth/12
    height: sceneheight/12
    x: 7*scenewidth/12 //four squares from the rightborder
    y: 2*sceneheight/12 //two squares from the topborder
    fill: Color.YELLOW
    function Movingcheckleft() {
    //move one square to the left
    var Transitionleft = TranslateTransition {
    node: character
    duration: 200ms
    byX: (-scenewidth/12)
    interpolator: Interpolator.LINEAR
    //check whether there is an object right of the character. As long as there isn't, the
    //character will move 1 square to the right. However, while expressions do not seem
    //to work in combination with Transition.play.
    //while (((character.x - scenewidth/12) != (object1.x)) and ((character.x - scenewidth/12) != (object2.x)) and ((character.x - scenewidth/12) != (object3.x)) and ((character.x - scenewidth/12) != (object4.x)) and (character.x != minX)){
    Transitionleft.play();
    Moving = false;
    x = 0;
    function Movingcheckright() {
    var Transitionright = TranslateTransition {
    node: character
    duration: 200ms
    byX: (scenewidth/12)
    interpolator: Interpolator.LINEAR
    //while (((character.x + scenewidth/12) != (object1.x)) and ((character.x + scenewidth/12) != (object2.x)) and ((character.x + scenewidth/12) != (object3.x)) and ((character.x + scenewidth/12) != (object4.x)) and (character.x != maxX)){
    Transitionright.play();
    Moving = false;
    function Movingcheckup() {
    var Transitionup = TranslateTransition {
    node: character
    duration: 200ms
    byY: (-sceneheight/12)
    interpolator: Interpolator.LINEAR
    //while (((character.y - sceneheight/12) != (object1.y)) and ((character.y - sceneheight/12) != (object2.y)) and ((character.y - sceneheight/12) != (object3.y)) and ((character.y - sceneheight/12) != (object4.y)) and (character.y != minY)){
    Transitionup.play();
    Moving = false;
    function Movingcheckdown() {
    var Transitiondown = TranslateTransition {
    node: character
    duration: 200ms
    byY: (sceneheight/12)
    interpolator: Interpolator.LINEAR
    //while (((character.y + sceneheight/12) != (object1.y)) and ((character.y + sceneheight/12) != (object2.y)) and ((character.y + sceneheight/12) != (object3.y)) and ((character.y + sceneheight/12) != (object4.y)) and (character.y != maxY)){{
    Transitiondown.play();
    Moving = false;
    }

    please manage your coding pattern before you post any topic!!
    Make forum helper easy to recognize your problem..

  • New email on iphone 6 IOS 8 is delayed and won't update until you lauch the email app

    New email that is received on an iphone 6 (IOS 8) doesn't update # until you actually launch the email app.  At that time the new email badge updates and VIP notifications are activated.  How do I correct this so that it updates immediately as email is received.

    Hi Georgiegog,
    If you are not getting updates in Mail until you launch the app, you may want to check in Settings to make sure that Push delivery is active, as noted on this page:
    Mail settings - iPhone
    Regards,
    - Brenden

  • TS4083 Is there a way or a setting my folders in Mail to automatically update across all devices? if I transfer an email to a folder for follow-up on my PC, my folder in Mail on my iPhone doesn't update until I actually go into the folder and update manua

    Is there a way (or a setting) for my individual folders in Mail to automatically update across all devices? For example, if I transfer an email to a folder for follow-up on my PC - say 10th of the following month - the same folder in Mail on my iPhone doesn't update until I actually go into the folder and update manually.  Interestingly though, if I create a new folder on any of my devices they automatically appear on the other devices so it is just the actual contents that I am referring to here.  Appreciate any help or guidance.
    Regards
    Justin

    You can turn mail off in the settings but then you can't use it for anything, including the "test" that you want to perform.
    Settings>Mail, Contacts, Calendars>Account Name>Mail>Off. That totally turns off the mail account.
    As long as mail is turned on and you launch the app, it will look for an download new mail.

  • When ever itunes updates, it ends up coming up with error message please re-install itunes, nothing i do seems to work, help please

    When ever iTunes updates, it ends up coming up with error message, iTunes did not install properly, please re-install iTunes, this is about the fourth time this has happened, end up having to take it to computer tech at a cost of $180, please help

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • URGENT SRM 5.0 ! Updating PO item BBP_PDPSET-IR_IND (flag Invoice expected)

    Hello Experts!
    I have to create an abap program who allow to update the field BBP_PDPSET-IR_IND (flag Invoice expected) for Purchase Order's items.
    Is there a solution without using a violent "UPDATE BBP_PDSET"
    Thanks for your replies.

    Hi,
    I want to create abap program with PO number input on selection-screen.
    This program must allow from PO number (header information) to update the field BBP_PDS_PO_ITEM_D-IR_IND (BBP_PDPSET-IR_IND) that is at item level.
    Looking for FM for this update.
    I try with FM BBP_PO_MEMORY_UPDATE_SINGLE but no result...
    Thanks

  • Lync Status Not Updating Until Group is Expanded

    Hello all,
    I am having an issue that I can't seem to figure out. For the Groups view, the group doesn't seem to update a person's status when collapsed. After it is expanded, is only then the status will update and the person will go into a different group or move
    up or down the list, depending on filtering. Also if the expanded group extends past the bottom of the Lync window, those contacts don't update until seen. This also happens with the Status View as well. You need to scroll through the entire list to update
    everyone's status.
    Is this part of Lync or a bug? I am really hoping it is an issue because trying to find people after their status updates is annoying.

    Hi,
    Did you try deleting the Lync Profile. 
    Please try to delete the profile and check the presence. 
    %UserProfile%\AppData\Local\Microsoft\Office\15.0\Lync
    Is your Lync client is installed with latest Patches?
    Whenever you see a helpful reply, click on Vote As Helpful & click on Mark As Answer if a post answers your question.

  • HT5815 The most important piece of info about an update I need is how much data does it require. I am travelling and using prepaid data. I cannot even consider an update until I know how much data it will use. Please provide this information.

    The most important piece of info about an update I need is how much data does it require. I am travelling and using prepaid data. I cannot even consider an update until I know how much data it will use. Please provide this information.

    http://www.apple.com/feedback/macosx.html

  • [svn:osmf:] 10991: Fix bug FM-119, where the playhead time doesn' t get updated until after the seek has completed.

    Revision: 10991
    Author:   [email protected]
    Date:     2009-10-17 22:52:28 -0700 (Sat, 17 Oct 2009)
    Log Message:
    Fix bug FM-119, where the playhead time doesn't get updated until after the seek has completed.  The bug is actually in Flash Player (FP-1705), and the workaround is to wait until NetStream.time gets updated before dispatching the seek completion event.  This changelist also updates the unit tests and NetMocker to verify the fix.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-119
        http://bugs.adobe.com/jira/browse/FP-1705
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/net/NetStreamSeekableTrait.as
        osmf/trunk/framework/MediaFramework/org/osmf/traits/SeekableTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/audio/TestAudioSeekableTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayer.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/net/TestNetStreamSeekableTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/traits/TestISeekable.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/traits/TestSeekableTrait.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockNetStream.as
        osmf/trunk/libs/adobe/NetMockerTest/org/osmf/netmocker/TestMockNetStream.as

    Revision: 10991
    Author:   [email protected]
    Date:     2009-10-17 22:52:28 -0700 (Sat, 17 Oct 2009)
    Log Message:
    Fix bug FM-119, where the playhead time doesn't get updated until after the seek has completed.  The bug is actually in Flash Player (FP-1705), and the workaround is to wait until NetStream.time gets updated before dispatching the seek completion event.  This changelist also updates the unit tests and NetMocker to verify the fix.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-119
        http://bugs.adobe.com/jira/browse/FP-1705
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/net/NetStreamSeekableTrait.as
        osmf/trunk/framework/MediaFramework/org/osmf/traits/SeekableTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/audio/TestAudioSeekableTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayer.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/net/TestNetStreamSeekableTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/traits/TestISeekable.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/traits/TestSeekableTrait.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockNetStream.as
        osmf/trunk/libs/adobe/NetMockerTest/org/osmf/netmocker/TestMockNetStream.as

  • Delaying the erase with the Write On behavior

    Hey everyone.
    Does anyone know how to delay the "erase" with the write on behavior.
    When I apply the write on effect to my outline the behavior and set it to draw and erase. Motion draws the shape and as soon as it's drawn motion starts the erase the shape. I want to delay that erase and have the entire shape stay drawn for a few seconds.
    I thought I could play with it in the keyframe editor but there are no options to adjust that specific ability of the write on effect.
    Thanks.

    Hi,
    this had me stumped for a bit too. All you have to do though is drag the start point of the shape to an earlier point in the time line. This will automatically drag the start point of the write-on behaviour with it (annoying!). Then drag the start point of the behaviour to a later point on the time line. (It will allow you to this independently of the start point of the shape as long as you drag it forward in time.) Now just reposition the shape on the timeline accordingly. Hey presto! - A delayed writeon/erase effect. Hope this is clear enough.
    M.

  • After deleting firefox and reinstalling it Ikeep getting a message telling me that it cant be updated until i deleate the original programme how do I get rid of that message

    after deleting firefox and reinstalling it Ikeep getting a message telling me that it cant be updated until i deleate the original programme how do I get rid of that message

    You seem to be running the latest Firefox 9.0.1 version according to the user agent in your system details list:
    *Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
    Do a clean (re)install and delete the Firefox program folder (C:\Program Files\Mozilla Firefox\).
    Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 9.0.x: http://www.mozilla.com/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible.
    *Do NOT remove personal data when you uninstall the current version or you lose your bookmarks and other data in the profile folder.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    * http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • HT4986 Why my MacBook Pro software update never ends?

    Dear MAC gurus,
    What should I have to do?
    I have been downloading every update each week.
    My Mac it's updated until yesterday but always I have to reset pressing the power button to restart
    any suggestions?
    Thanks
    LeBernal

    Boot in safe mode and try to back up your data.

  • Mouse Cursor doesnt update until mouse is moved.

    I think I'm having the same problem as the person in this post:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=149236
    I'm setting the mouse cursor after certain buttons in a JPanel are pushed, but the cursor image doesn't actually get updated until the mouse is moved. I tried using Toolkit.getDefaultToolkit().sync() and that didn't work. The other solution, which was to fire a mouse event to force it to update, doesn't seem to be ideal.
    Is there any other way to force the cursor image to get updated immediately, without moving the mouse?

    Hmm, I can't reproduce your problem (below is a small test example, that works fine with me) on win9x, neither with jdk1.3, nor with 1.4.
    Greetings
    Jeanette
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.event.*;
    import java.awt.*;
    //import de.kleopatra.support.debugon.*;
    /** reported problem: cursor not immediately updated after switching
    *          only after move
    *     1.4, 1.3: not reproducible (win9x)
    *     $Id: TestCursor.java,v 1.1 2002/03/19 11:27:20 Jeanette Exp $
    public class TestCursor {
         protected JFrame frame ;
         protected Cursor current;
         protected JComponent target;
         public TestCursor() {
              frame = new JFrame("TestCursor");
              frame.setDefaultCloseOperation(frame.EXIT_ON_CLOSE);
              frame.getContentPane().add(buildMainPanel());
              frame.getContentPane().add(buildButtonPanel(), BorderLayout.SOUTH);
              frame.pack();          
              frame.setSize(300, 200);
              frame.show();
    //---------------------------helper
         protected void toggleCursor() {
              if (current == null) {
                   current = Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR);
              Cursor temp = target.getCursor();
    //          D.ebug("old cursor: ", temp);
              target.setCursor(current);
              current = temp;
    //---------------------------init ui
         protected JComponent buildMainPanel() {
              JPanel panel = new JPanel();
              panel.setPreferredSize(new Dimension(200, 100));
              panel.setBackground(Color.yellow);
              target = panel;
              return panel;
         protected JComponent buildButtonPanel() {
              JPanel panel = new JPanel();
              JButton button = new JButton("do toggle cursor");
              button.setMnemonic('d');
              frame.getRootPane().setDefaultButton(button);
              ActionListener action = new ActionListener() {
                   public void actionPerformed(ActionEvent event) {
                        toggleCursor();
              button.addActionListener(action);
              panel.add(button);
              return panel;
    //---------------------------factory methods
    //---------------------------Main
         public static void main(String[] args) {
         //     LFSwitcher.windowsLF();
              new TestCursor();
    }

  • HT2404 where do i log in to update ? The updates are there but it won't update until I log in somewhere. Help please

    I have two apps that need updating; iMovie and iPhoto but it won't let me update until I log in somewhere.  Can anyone point me in the right direction please? thanks in advance for your help

    /Applications/App Store.app should do the trick.

  • Update Info record Regular vendor Flag

    Hi,
    Is there any option to update info record regular vendor flag  while creating Purchase Order through ME21N.
    All the user Exits I can see has ENIA and EINC as import parameters.
    Can anyone help on it please.
    Thanks,
    Karthik

    Hi Arminda.
    Yes, they were set as you mentioned but the  problem persist.
    Best regards.
    JB.

Maybe you are looking for