Why do I see only one MDB?

Hi,
I'm having a weird issue running my MDB on SAS9.01: I have a stateless EJB JMS producer and an MDB which is both a consumer and a producer.
The test logic is this:
1. the ejb sends a single message
2. the mdb's onMessage method is triggered and does the following:
if the methos has not been called over 5 times (to prevent infinite loops, you'll see why in a sec):
a. sends another message to the queue
b. sleeps for 5 secs
I would have expected that mdb instances would deal with the messages simultaneously, but this is not the case. The messages are handled in a SERIALIZED manner by 2 MDB instances (confirmed by printing out the mdb's toString() result).
why? how can I make sure that messages are consumed more aggressively?
thanks.

problem solved: needed to wrap the message-sending operation in its own transaction, so it completes before the mdb sleeps. This probably means I'll have to work harder to manage the state of my entity beans, but I don't see any other way..

Similar Messages

  • Why can i see only one picture in the illustration windows with iTunes 10.5.1?

    why can i see only one picture in the illustration windows since iTunes 10.5.1?

    Assuming Apple doesn't eviscerate the files of the secondary graphics with another upgrade, there could be a plug in that reads the graphic and runs along side iTunes..we should get someone or Apple to program an alternative If we have to accept this downgrade in iTunes proper.
    I've developed a quick workaround, and am still hoping Apple will fix this!
    Go To Get Info on the tune you want to see secondary artwork for.
    Go To the Artwork tab
    Drag the back cover to the desktop, and it will create a new jpg you can open with quick viw or prieview where you can see it large!
    you end up with a lot of jpgs on the desktop to discard!

  • I see only one WEB camera

    Hello all
    I have LV 7.1
    I installed the two same identical WEB camera.
    But in the LV I can see only one WEB camera - the first . The second cemera I don't see in the LV
    Why ?
    Respect
    Iskander

    Hey Iskander,
    Check out the following KnowledgeBase called Accessing Multiple USB Cameras That Have the Same Name, and it looks like you have the same issue of having multiple cameras with the same name. The problem lies with your specific USB camera's driver in that it is not giving the cameras a unique camera name. There are a couple of solutions in the KB.
    Also, since you are using the NI-IMAQ for USB Cameras driver, you will also want to check out some of the Known Issues that are now documented on the download page for the driver. First, this driver only supports acquiring from one USB camera at a single time, so you might want to consider using Firewire or GigE cameras. Second if you are considering using 2 USB cameras, you might be thinking that you can just acquire from one, close its session, then acquire from the other, and then go back and forth by acquiring and closing the sessions each time. But then another issue you will run into, if you do this in your program, is the second known issue of the IMAQ for USB Cameras driver, - Opening and closing a camera session causes a small memory leak, so it is not recommended to do this repeatedly.
    Regards,
    DJ L.

  • I have two devices (Iphone and Ipad) on the same Apple ID. When I go to Icloud and click at the "find Iphone" I see only one of my devices. How can I do to see both of them?

    I have two devices (Iphone and Ipad) on the same Apple ID. When I go to Icloud and click at the "find Iphone" I see only one of my devices. How can I do to see both of them?

    Obvious question, but have you got 'Find My iPhone' set on both devices?  Settings>iCloud>Find My iPhone.

  • How can I see only one album by an artist?

    How can I see only one album by an artist, in the album view?

    Hi ladybugjlt,
    Thanks for visiting Apple Support Communities.
    See the "syncing manually" section of this article for help:
    iTunes: Syncing media content to iPod
    http://support.apple.com/kb/ht1351
    Regards,
    Jeremy

  • Can see only one photo per page. How to revert to multiple images per page?

    First noticed on my iMac and now on my Macbook (10.4.9)--I'm no longer seeing a month's worth of photos on a single page. Only one photo per page, sometimes with miniature ones in the top border. I thought it was simply an inadvertent click on by part and easily corrected. But all attempts on both computers and reading of Help index haven't led to restoration of an entire page of photos and elimination of the annoyance. I'm wondering now if something I downloaded might have altered iPhoto program itself, making it impossible to view large numbers of photos at the same time. Any suggestions appreciated.
    Cap

    Cap,
    This view, with the one photo big and the thumbnail strip across the top, is what happens when you double-click a photo with "Edit in: Main Window" set in the Preferences. There should be a button visible that says either Done or Return, to exit edit mode and return you to the library. If you still see only one photo, use the size slider in the lower right corner to reduce the photo size and get more thumbnails on the page.
    If, for some reason, you can't exit the edit mode, you may have a corrupt preference file. Quit iPhoto. Use the Finder to navigate to Macintosh HD/ Users/ (your user name)/ Library/ Preferences/ com.apple.iPhoto.plist and move that file to the Trash. Launch iPhoto, and you should be returned to the main viewing mode. You'll have to go in the Preferences and reset them to your liking.
    Regards.

  • I can see only one ringtone in the custom ringtone box.plz help

    i can see only one ringtone in the custom ringtone box.plz help

    Cap,
    This view, with the one photo big and the thumbnail strip across the top, is what happens when you double-click a photo with "Edit in: Main Window" set in the Preferences. There should be a button visible that says either Done or Return, to exit edit mode and return you to the library. If you still see only one photo, use the size slider in the lower right corner to reduce the photo size and get more thumbnails on the page.
    If, for some reason, you can't exit the edit mode, you may have a corrupt preference file. Quit iPhoto. Use the Finder to navigate to Macintosh HD/ Users/ (your user name)/ Library/ Preferences/ com.apple.iPhoto.plist and move that file to the Trash. Launch iPhoto, and you should be returned to the main viewing mode. You'll have to go in the Preferences and reset them to your liking.
    Regards.

  • Where can I see the downloads LIST when downloading podcasts, like in the older version of iTunes?  I find it frustrating that I see only one at a time now !  Any suggestions please?

    Where can I see the downloads LIST when downloading podcasts,
    like in the older version of iTunes?  I find it frustrating that I see only one
    download at a time now !  Any suggestions please?

    Thanks for taking a stab at it: that didn't prove to be the problem. That option in the settings for tabbed browsing was not checked.
    I may be a bit behind the times: I am used to tabbed browsing showing all the tabs it possibly can, instead of just the last one. Sometimes it won't even show the last tab: I can have 15 tabs open, and not see a single tab. I've been confused by this into closing a window with lots of tabs open, because it looks like a single page-window.
    My main problem with the tab-bar flashing to the end of the row is that it means a great deal more mouse-clicking around to browse.
    I haven't tried installing the latest beta. Maybe that would fix the problem.
    Toddo

  • Hello, I use photoshop cc 10 days and I did a lot of files with layers and channels. For two days in two different locations that only happens in some documents when you reopen the job done no more .. Example 6 channels on the facts I see only one .. Than

    Hello, I use photoshop cc 10 days and I did a lot of files with layers and channels.
    For two days in two different locations that only happens in some documents when you reopen the job done no more .. Example 6 channels on the facts I see only one ..
    Thank you for your attention.
    Annalisa 

    Don't understand what you writing here.  Screen shoots would be most helpful.
    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • DMS Connector for KM : I see only one document type from the document area

    Hi,
    The DMS connector is installed successfully on KM.
    I can display folder tree and documents but I see only one type of document.
    I mean, when I use transaction OAC0, I see different content repository defined in DMS.
    I wonder where is the setting that specified which content is link to the DMS connector for KM.
    Thanks in advance.

    Hello Zbynek,
    I installed the DMS once, but my experience how to use it is poor.
    In the Backend ( Transaction CV01N i think,) you can store search variants using the prefix you have defined for the DMSRM (default is KM_<theName>). This variants can be used to filter out several documents. There must be a way to give authorizations on them. Maybe you will have to use a security manager, i don't know.. in our case the user persistence (authScheme) was SAP-System an no TREX involved.
    It is not much, but maybe it helps...
    best regards
    Guido

  • Why we can have only one public class in one source file

    why we can have only one public class in one source file

    When the java compiler is run it looks for classes referenced by the classes you are directly compiling. When looking for these referenced classes it looks for source as well as class files and compiles them automatically if the coresponding class files are missing, or older than the source.
    In order to do this it must be able to work out the source file name for any given class which might be referenced from another (the rule also applies to package level access).

  • See only one (single channel) audio waveform in the timeline

    Hi, is it possible to see only one waveform in the timeline for a stereo audio file? By default you see one waveform per channel. In many cases those channels are almost the same. I would like to see mixed or only channel in the timeline to save some space and remove clutter from my screen. Thanks

    I don't think this is possible.

  • Interactive forms- i see only one record -how can i see more?

    Hi experts,
    i have a table and the result is only one record instead of more records.
    how can i see more records?
    my code is:
    types: begin of structure_0021,
    favor type pa0021-favor,
    yy_id type pa0021-yy_id,
    fgbdt type pa0021-fgbdt,
    end of structure_0021.
    data: it_0021 type table of struct_0021,
             wa_0021 like line of it_0021.
    select favor yy_id fgbdt from pa0021 into corresponding fields of table it_0021
    where pernr = lv_pernr and
    subty = '2'.
    data: lo_nd_adobe2 type ref to if_wd_context_node,
            lo_nd_ls00212 type ref to if_wd_context_node,
            lo_el_ls00212 type ref to if_wd_context_element,
           ls_ls00212 type wd_this->element_ls0021.
    lo_nd_adobe2 = wd_context->get_child_node( name = wd_this->wdctx_adobe).
    lo_el_ls00212 = lo_nd_adobe2->get_element().
    lo_nd_ls00212 = lo_nd_adobe->get_child_node(name = wd_this->wdctx_ls0021).
    lo_el_ls00212 = lo_nd_ls00212->get_element().
    loop at it_0021 into wa_0021.
    lo_el_ls00212->get_static_attributes(importing static_attributes = ls_ls00212).
    endloop.
    lo_nd_ls00212->bind_table(new_items = it_0021).
    if anyone can help me - i will really appreciate it.
    i tried other thing and didnt succeed.
    thanks,
    Michal.

    Obvious question, but have you got 'Find My iPhone' set on both devices?  Settings>iCloud>Find My iPhone.

  • How can I unsplit my mozilla screen? I want to see only one screen at a time!

    When I open mozilla only one screen shows up. Then when I open another website from my bookmarks mozilla all of the sudden split the screen into one website and then icloud. Very frustrating. Any help would be appreciated.

    I've called the big guys to help you. Good luck.
    In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see [[How do I create a screenshot of my problem?]]
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. This will help us to visualize the problem.
    Thank you!

  • How to see only one of two displays in Snow Leopard Screen Sharing?

    I am trying to set up screen sharing and find that since I have two monitors working on the machine that I want to connect to, two monitors show up on the client that I am connecting with. This causes a problem in that the scaled screen image that appears on my macbook pro is too hard to see and work on.
    Is there a way to specify only one monitor image to appear in screen sharing?

    On my Mac OS X Screen Sharing display, it has a display selection pop-up in the upper left side of the Screen Sharing display
    Both Displays: 3760 x 1920
    Display 1: 2560 x 1440
    Display 2: 1200 x 1920

Maybe you are looking for