Controlling MDB lifecycle Programmatically

Hi all,
Is there a way to control MDB life cycle (by code)? e.g. to stop it from consuming messages at runtime.
Any help would be appreciated.

Thanks for your reply cosmo.
I believe that i am not the first to face this issue. In my case i have an application with MDB, and i wish to deploy the EAR, but to decide on runtime whether the MDB should consume messages (Decision logic is irrelevent).
By default the MDB is enabled, and even if i decide pre-deployment to disable it , I will need to edit the application.xml inside the EAR, and i would like to avoid this process (unjar, editing, jar).
Are there any other alternatives ?
Any help would be appreciated.

Similar Messages

  • MDB Lifecycle and conversational state

    Hi,
    I am looking for some interesting suggestions on how to handle conversational state through MDBs. Let us say events come through a JMS queue over a period of time, and they carry some continuity and conversational state. Given this, will it make sense to have the MDB route these events to a stateful session bean? If yes, how can one make sure the "same MDB instance" lives through the App server life time and holds the sateful session bean reference (otherwise, a new reference means a new stateful session bean will be created, which is not what I want).
    A follow on question is, how can one make sure MDB acts as a client for a stateful session bean, given that we don't control MDB lifecycle inside an appserver.
    The EJB Spec says MDB can hold member variables that can carry state, but does this mean those MDBs will not be pooled by the App Server, or will be kept alive in some way to act as a live clients for stateful session beans? Any help would be appreciated.

    What exactly are you trying to accomplish? It sounds a little too complicated and I am not even sure it can be done.
    First , the messages won't necessarily be delivered to the MDB in the same order they were entered into the queue. Second, the container will choose any bean instance to process the message. At this point you already have too many degrees of freedom to even consider a stateful solution.
    On top of that, the communication between the client and the MDB is asynchronous, so how are you going to communicate back with the client? What if the client needs to be notified about errors or other conditions upon which the client takes different actions? If not, why use a stateful solution at all, right?
    If you need the MDB to identify the client, you could add something like a session ID to each message in the queue, but I am not sure if that is the best solution.

  • Control IP Phone programmatically via PC

    Hi, everyone.
    I have a Cisco IP Phone 7942 and I would like to control the phone programmatically (NI Labview) using a PC.
    Kindly need any expert to advise the possibility to do so or there is a ready driver to do so.
    Thanks.

    The standard on Windows for programatic integrations is TAPI. Cisco provides a TSP that installs on Windows and acts a TAPI provider for any program that supports the interface. You can download the TSP from CUCM Admin under Applications > Plugins; however, be advised that this will need to be updated every time you patch CUCM as they are version-locked together.
    Please remember to rate helpful responses and identify helpful or correct answers.

  • Controlling FLV video programmatically

    Hi all,
    I am new to Flash, and I'd like to be able to control the
    flash video I have imported programmatically, I just need an
    starting point, any article written on the subject?
    Ideally I'd like to control the movement using mouse
    movements, but just need to know how do I access the flv video and
    how to change its current position or "playingheadtime" to the
    desired value.
    Really appreciate your help,
    mlin.

    Thanks for your reply cosmo.
    I believe that i am not the first to face this issue. In my case i have an application with MDB, and i wish to deploy the EAR, but to decide on runtime whether the MDB should consume messages (Decision logic is irrelevent).
    By default the MDB is enabled, and even if i decide pre-deployment to disable it , I will need to edit the application.xml inside the EAR, and i would like to avoid this process (unjar, editing, jar).
    Are there any other alternatives ?
    Any help would be appreciated.

  • TabNavigator Child Control Problem on Programmatic SelectedIndex Change

    I've got a TabNavigator that contains another TabNavigator as
    a child control on its second page. On the child TabNavigator
    there's a ViewStack and a couple of Accordion controls. On my first
    parent tab I've got a Button that, when clicked, programmatically
    changes the selectedIndex of the parent TabNavigator to display the
    contents of the second tab (which contains the child TabNavigator).
    I'm finding that when the index of the TabNavigator is
    changed programmatically, all of the controls in the child
    TabNavigator are stacked on top of each other and overlapping as
    though the Flash player has no clue how to display these child
    controls. Once I click through each tab on the child TabNavigator,
    they appear intact. If I click the Button to change the tab again,
    all of the controls will be jumbled and stacked.
    This problem happens 100% of the time. I've changed every
    single control in my app to creationPolicy="all" to no avail.
    Anybody experienced this or know what to do?

    I've got a TabNavigator that contains another TabNavigator as
    a child control on its second page. On the child TabNavigator
    there's a ViewStack and a couple of Accordion controls. On my first
    parent tab I've got a Button that, when clicked, programmatically
    changes the selectedIndex of the parent TabNavigator to display the
    contents of the second tab (which contains the child TabNavigator).
    I'm finding that when the index of the TabNavigator is
    changed programmatically, all of the controls in the child
    TabNavigator are stacked on top of each other and overlapping as
    though the Flash player has no clue how to display these child
    controls. Once I click through each tab on the child TabNavigator,
    they appear intact. If I click the Button to change the tab again,
    all of the controls will be jumbled and stacked.
    This problem happens 100% of the time. I've changed every
    single control in my app to creationPolicy="all" to no avail.
    Anybody experienced this or know what to do?

  • Disable External Control in AnyConnect programmatically (Android)

    Hello,
    I am using URI mechanism to import certificate from an external application. External Control is then enabled by the user in AnyConnect parameters. Is there a way to disable External Control programmatically using URI mechanism or else? Or user should manually disable this feature?
    Thanks

    Hi,
    Sorry for not being clear. I am using AnyConnect Client Application for Android.
    Reference :-
    http://www.cisco.com/en/US/docs/security/vpn_client/anyconnect/anyconnect24/release/notes/rn-ac2.4-android.html#wp1114806
    How can i come to know whether VPN is connected or not ?

  • Tree Control Highlighti​ng Programmat​ically Selected Item

    Does anyone know whether it is possible to highlight a programmatically selected item in the LV Tree Control, eg I have used the "Get Child" method to select an item - how do I then highlight this item on the tree?

    Yes, you can write the value to a local variable for the tree control. This will have the effect of selecting the item--which will highlight just ike the user clicked on it.
    By the way, "Get Child" doesn't select an item in any sort of useful sense--it just tells you what the child is. Actually, it tells you what the first child under the indicated Parent is.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Which MBean is responsible  for Control MDB in JBOSS

    Hi,
    Is JBoss MDB layer are integrated using MBeans? Which MBean is responsible for this?
    Can I control this MBean programatically?
    /sh

    Depends what data. The Server service is for File and Printer Sharing. For database access it may one of several
    OLEDB / ODBC drivers.
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • How do i set tab control page size programmatically?

    Hi,
    I have a tab control in my program and each page has different amounts of controls on it. I would like to know how I can make the tab control pages resize automatically, only to fit the controls on the page and not have extra space underneath that other pages require.

    romulus wrote in message news:<[email protected]>...
    > Hi,
    >
    > I have a tab control in my program and each page has different amounts
    > of controls on it. I would like to know how I can make the tab control
    > pages resize automatically, only to fit the controls on the page and
    > not have extra space underneath that other pages require.
    You can use the tab control property 'PaneDimension' to
    programatically change the size of the tab control. To
    programatically find the areas occupied by the controls on each page:
    Use the 'Pages' property of the tab control to get a reference to the
    desired page; wire that to a property node and select the
    'ControlsOnPage[]' property; iterate through all the control
    refere
    nces, getting the position and bounds of each control, using
    'Max & Min' and shift registers to find the extent occupied by the
    controls.
    Paul Cardinale

  • How to make the size of VI and controls unchanged irrespecti​ve of the resolution​?

    Hi All,
    I have made the exe of my labview application and when i was trying to run it on the users PC the window was almost distorted in the sense the multicolumn list box on the front panel was alligned only to a portion of the screen instead of the full screen.I changed by setting The window size's maintain proportions of window for different monitor resolutions.But still the multicolumn list box was still having problem.
    Then i thought of including the next option"scale all the objects on the front panel as the window resizes" but that option was inactive.
    I read somewhere to select the control and then from the edit option select "scale object with panel".Unfortunately i could not find such an option in my edit menu even after i selected edit menu after selecting multi column list box which i want to scale according to the front panel.
    How do i go forward?
    Pls give me some help
    Thanks in advance

    You can size the area of a control or indicator programmatically using the Size property node. I believe in some cases you can increase the font size of the text in the object to achieve the same result. Here's an example of increasing the size of a system combo box by 100 in both width and height:
    Message Edited by Bill@NGC on 09-25-2007 07:04 PM
    “A child of five could understand this. Send someone to fetch a child of five.”
    ― Groucho Marx
    Attachments:
    sizecombo.png ‏3 KB

  • Accessing weblogic controls from pojo classes problem

    Hi,
    I'm planning to use DAO class as a wrapper over the beehive controls , and all of this will be part of the workshop utility project.
    When I try using this way the controls never gets instantiated by the container and end up getting NullPointerException.
    For this to work do I need to sort the programmatic control invocation ? If yes are there samples available ?
    Can you also suggest if this is the right approach?
    Are we stuck with using JPF for invoking beehive controls?
    Thanks,
    Chris

    It is possible for some controls. See http://beehive.apache.org/docs/1.0.2/controls/programming.html#Programmatic+Instantiation, which has some sample code.
    Greg

  • How to make non-visibl​e Control on Front Panel Appear at Design Time?

    I have some Controls on the Front Panel whose visibility is changed (turned on or off) at Run Time. The problem is that if I stop the Run time, the Visibility of the Control remains in the runtime state in Design mode. So I may not be able to see or find the Control to make changes in Deisgn mode.
    How can I make all Controls on the Front Panel visible, or find and make visible a Control on the Front Panel whose Visibility has been made False?
    THANKS.
    Solved!
    Go to Solution.

    This is documented in the LabVIEW Help.
    Displaying Hidden Front Panel Objects
    Complete the following steps to display a hidden front panel control or indicator. You also can hide front panel controls and indicators.
    Find the block diagram terminal for the object. If you have several terminals with the same data type, right-click the terminals and select Visible Items»Label from the shortcut menu. Find the object with the label that matches the hidden front panel object.
    Right-click the terminal and select Show Control from the shortcut menu if the object is a control or Show Indicator if the object is an indicator.
    You also can use the Visible property to display controls and indicators programmatically.
    You also can display all hidden front panel controls and indicators.
    Path: Fundamentals -> Building the Front Panel -> How-To -> Configuring Front Panel Objects -> Displaying Hidden Front Panel Objects.

  • Strange appearance of numeric control

    Hi....
    I encounter a strange appearance of a numeric control, see the two screen shots below.
    Background: on a tabpanel, two attributes of several numeric controls are changed programmatically if I set a flag using a check box located on a different tab panel:
    - the control mode is switched from indicator to hot
    - the precision is changed from 6 to 4 digits to compensate for the space of the numeric arrows
    These changes are applied to three controls, but only the first (top most) behaves unexpected, while the others are fine...
    A) If both attributes are changed, the two upper controls look like this:
    that is, the left most characters of the upper control are somehow overlapping, giving the impression of a fat O.
    B) If only the control mode of the upper control is changed to hot, the following result is obtained:
    This makes it more obvious that somehow the two left zeros of the upper control are squeezed together.
    Interestingly, if I operate the upper control by clicking on the up/down arrow, the resulting display (1.0000E-3) is ok.
    I was very much afraid of posting this mystery which could well be a stupid error of mine, but being unable locating a problem in the code I thought it might possibly be related to the tab panel problem reported here
    Comments, suggestions?
    Thanks, Wolfgang
    Solved!
    Go to Solution.

    Hi Markus,
    thanks for looking into it.
    I have slightly modified the example which now even shows the more dramatic case A.
    Concerning your reply: I disagree with your guess!
    1a) The control is large enough, actually I am setting a precision of 4 to have the number short enough
    1b) If a number is too long, the usual behavior of a control is that you see only part of the number (or text for string controls), while here digits overlap.
    2) The control behaves properly if you change the order of the function calls, i.e. reverse the order of precision and control mode
    3) The control behaves properly if no tabpanel switch is involved: if you put the checkbox on the same tabpanel as the numeric control, everything is fine. This is actually how I found out, because in my original code the checkmark was a menu item until I decided to change it.
    So my guess is that the visual update sequence of the control/tabpanel is flawed.
    Wolfgang
    Attachments:
    bug.zip ‏6 KB

  • Path control

    Hello,
    today I have tried using the path control from the toolslib library. I have tried both using the UI editor to add a path control to an existing user interface by selecting Create»Custom Controls»Toolslib Controls»Path Control and also programmatically using an existing string control and then adding the  function NewPathCtrl to my code.
    Running the program however was somehow disappointing. I was expecting that as I type in the path control the control displays matching files and directories in a drop-down list box, as described in the help. However, I did not experience this functionality... (I am using CVI2012 SP1) What did I miss? I was searching for an example but couldn't find one, so I decided to ask here...
    Thanks!
    Solved!
    Go to Solution.

    Wolfgang ha scritto:
    ...I was expecting that as I type in the path control the control displays matching files and directories in a drop-down list box, as described in the help. However, I did not experience this functionality... (I am using CVI2012 SP1) What did I miss? I was searching for an example but couldn't find one, so I decided to ask here...
    Thanks!
    Hello Wolfgang,
    this is actually what the control does: as long as you type in the control and add a backslash, there appears a drop-down list with child items, where you can select one offthem using the arrow keys and proceed with another backslach to explore the next level.
    Can you run the example located in samples\userint\custctrl\pathctrl\simple.prj?
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • MDB tx processing question

    Tom,
    My understanding was that WebLogic by default configuration would pull n messages at a time from the a foreign jms server (via JMS connection poller) ; and process the n messages using the same MDB in n different transactions. Is this correct?
    If it is , what would be the conditions when the message would just stay in WebLogic layer - and weblogic MDB will continuously try to process the message - assuming the code in MDB called setRollbackOnly upon processing failure within the MDB. MDB is transactional.
    We see a thread that seems to sit in the state below in our application - no matter how many threaddumps I take the thread stays at this point. I see no other thread waiting on a lock for anything. But this seemingly stuck thread is causing 5 messages on Tibco EMS to stay in pending state until I shutdown the WLS node - which then breaks the tibco session and tibco then makes the messages available for redelivery and another WLS instance picks it up. Do note that WLS does not report any stuck threads either (stuck thread timeout set to 600 seconds) and my threaddumps span across 5 seconds to 45 minutes.
    "ContinuousJMSMessagePoller :MessageProcessor-Tes-Mts" id=4973 idx=0xde tid=1717 prio=5 alive, daemon
    at java/util/HashMap.get(HashMap.java:344)[optimized]
    at org/jboss/cache/UnversionedNode.getDirect(UnversionedNode.java:203)[inlined]
    at org/jboss/cache/invocation/NodeInvocationDelegate.getDirect(NodeInvocationDelegate.java:212)[optimized]
    at org/jboss/cache/CacheImpl._get(CacheImpl.java:702)[optimized]
    at sun/reflect/GeneratedMethodAccessor176.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)[optimized]
    at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[optimized]
    at java/lang/reflect/Method.invoke(Method.java:585)[optimized]
    at org/jgroups/blocks/MethodCall.invoke(MethodCall.java:330)
    at org/jboss/cache/interceptors/CallInterceptor.invoke(CallInterceptor.java:53)
    at org/jboss/cache/interceptors/Interceptor.nextInterceptor(Interceptor.java:111)
    at org/jboss/cache/interceptors/EvictionInterceptor.handleGetKeyValueMethod(EvictionInterceptor.java:200)
    at org/jboss/cache/interceptors/MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:84)[optimized]
    at org/jboss/cache/interceptors/Interceptor.nextInterceptor(Interceptor.java:111)
    at org/jboss/cache/interceptors/PessimisticLockInterceptor.handleGetKeyValueMethod(PessimisticLockInterceptor.java:347)
    at org/jboss/cache/interceptors/MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:84)[optimized]
    at org/jboss/cache/interceptors/PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:81)
    at org/jboss/cache/interceptors/Interceptor.nextInterceptor(Interceptor.java:111)[inlined]
    at org/jboss/cache/interceptors/MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:58)[optimized]
    at org/jboss/cache/interceptors/Interceptor.nextInterceptor(Interceptor.java:111)
    at org/jboss/cache/interceptors/TxInterceptor.handleNonTxMethod(TxInterceptor.java:456)
    at org/jboss/cache/interceptors/TxInterceptor.handleGetKeyValueMethod(TxInterceptor.java:250)
    at org/jboss/cache/interceptors/MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:84)[optimized]
    at org/jboss/cache/interceptors/Interceptor.nextInterceptor(Interceptor.java:111)
    at org/jboss/cache/interceptors/CacheMgmtInterceptor.handleGetKeyValueMethod(CacheMgmtInterceptor.java:81)
    at org/jboss/cache/interceptors/MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:84)[optimized]
    at org/jboss/cache/interceptors/Interceptor.nextInterceptor(Interceptor.java:111)
    at org/jboss/cache/interceptors/InvocationContextInterceptor.invoke(InvocationContextInterceptor.java:73)
    at org/jboss/cache/invocation/AbstractInvocationDelegate.invoke(AbstractInvocationDelegate.java:123)
    at org/jboss/cache/invocation/AbstractInvocationDelegate.invoke(AbstractInvocationDelegate.java:64)
    at org/jboss/cache/invocation/CacheInvocationDelegate.get(CacheInvocationDelegate.java:382)
    at com/myapp/core/CacheService.get(CacheService.java:188)
    at com/myapp/core/CacheService.getFinancialInstrument(CacheService.java:273)
    at com/myapp/util/TradeDalUtils.lookupFinancialInstrument(TradeDalUtils.java:768)
    at com/myapp/xom/ReferenceData.getFinancialInstrumentByIdentifier(ReferenceData.java:330)
    at com/myapp/xom/CMMExecutionModel.getFiForPrimaryExecutionItem(CMMExecutionModel.java:1170)
    at sun/reflect/GeneratedMethodAccessor57908.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
        at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[optimized]
    at java/lang/reflect/Method.invoke(Method.java:585)[optimized]
    at ilog/rules/inset/IlrExecMethodValue.getValue(Lilog/rules/inset/IlrMatchContext;)Ljava/lang/Object;(Unknown Source)
    at ilog/rules/inset/IlrExecNaryValue.a(Lilog/rules/inset/IlrMatchContext;)[Ljava/lang/Object;(Unknown Source)[optimized]
    at ilog/rules/inset/IlrExecNaryValue.a(ILjava/lang/Class;Lilog/rules/inset/IlrMatchContext;)[Ljava/lang/Object;(Unknown Source)
        at ilog/rules/inset/IlrExecStaticMethodValue.getValue(Lilog/rules/inset/IlrMatchContext;)Ljava/lang/Object;(Unknown Source)
        at ilog/rules/inset/IlrExecStoreValue.getValue(Lilog/rules/inset/IlrMatchContext;)Ljava/lang/Object;(Unknown Source)
        at ilog/rules/inset/IlrExecBinaryTest.evaluate(Lilog/rules/inset/IlrMatchContext;)Z(Unknown Source)
        at ilog/rules/inset/IlrExecAndTest.evaluate(Lilog/rules/inset/IlrMatchContext;)Z(Unknown Source)
        at ilog/rules/engine/IlrTestRuleMem.i(Lilog/rules/engine/IlrPartial;)Z(Unknown Source)
        at ilog/rules/engine/IlrTestRuleMem.if(Lilog/rules/engine/IlrPartial;IIJ)Lilog/rules/engine/IlrRuleInstance;(Unknown Source)
        at ilog/rules/engine/IlrDefaultRuleMem.aa()V(Unknown Source)
        at ilog/rules/engine/IlrRuleMem.T()V(Unknown Source)
        at ilog/rules/engine/IlrAgenda.a([Lilog/rules/engine/IlrRule;Lilog/rules/engine/IlrAgendaFilter;IZ)I(Unknown Source)[optimized]
    at ilog/rules/engine/IlrEngine.fireAgendaRules([Lilog/rules/engine/IlrRule;Lilog/rules/engine/IlrAgendaFilter;IZ)I(Unknown Source)[inlined]
    at ilog/rules/inset/IlrExecRuleTask.a(Lilog/rules/engine/IlrTaskEngine;)V(Unknown Source)[inlined]
    at ilog/rules/inset/IlrExecRuleTask.execute(Lilog/rules/engine/IlrTaskEngine;Lilog/rules/engine/IlrWorkItem;ZZ)V(Unknown Source)[optimized]
    at ilog/rules/inset/IlrExecTask.run(Lilog/rules/engine/IlrTaskEngine;Lilog/rules/engine/IlrWorkItem;ZZ)V(Unknown Source)[optimized]
    at ilog/rules/engine/IlrTaskEngine.execute(Lilog/rules/inset/IlrExecTaskInstance;Lilog/rules/engine/IlrWorkItem;ZZ)I(Unknown Source)
    at ilog/rules/inset/IlrExecTaskInstance.execute(Lilog/rules/engine/IlrTaskEngine;Lilog/rules/engine/IlrWorkItem;ZZ)I(Unknown Source)
    at ilog/rules/engine/IlrTaskEngine.executeItem(Lilog/rules/engine/IlrWorkItem;Lilog/rules/inset/IlrExecFlowNode;ZZ)I(Unknown Source)
    at ilog/rules/engine/IlrTaskEngine.executeSubFlow(Lilog/rules/inset/IlrExecFlowNode;Z)I(Unknown Source)
    at ilog/rules/inset/IlrExecFlowTask.execute(Lilog/rules/engine/IlrTaskEngine;Lilog/rules/engine/IlrWorkItem;ZZ)V(Unknown Source)
    at ilog/rules/inset/IlrExecTask.run(Lilog/rules/engine/IlrTaskEngine;Lilog/rules/engine/IlrWorkItem;ZZ)V(Unknown Source)[optimized]
    at ilog/rules/engine/IlrTaskEngine.execute(Lilog/rules/inset/IlrExecTaskInstance;Lilog/rules/engine/IlrWorkItem;ZZ)I(Unknown Source)
    at ilog/rules/inset/IlrExecTaskInstance.execute(Lilog/rules/engine/IlrTaskEngine;Lilog/rules/engine/IlrWorkItem;ZZ)I(Unknown Source)
    at ilog/rules/engine/IlrTaskEngine.executeItem(Lilog/rules/engine/IlrWorkItem;Lilog/rules/inset/IlrExecFlowNode;ZZ)I(Unknown Source)
    at ilog/rules/engine/IlrTaskEngine.executeSubFlow(Lilog/rules/inset/IlrExecFlowNode;Z)I(Unknown Source)
    at ilog/rules/inset/IlrExecFlowTask.execute(Lilog/rules/engine/IlrTaskEngine;Lilog/rules/engine/IlrWorkItem;ZZ)V(Unknown Source)
    at ilog/rules/inset/IlrExecTask.run(Lilog/rules/engine/IlrTaskEngine;Lilog/rules/engine/IlrWorkItem;ZZ)V(Unknown Source)[optimized]
    at ilog/rules/engine/IlrTaskEngine.execute(Lilog/rules/inset/IlrExecTaskInstance;Lilog/rules/engine/IlrWorkItem;ZZ)I(Unknown Source)
    at ilog/rules/inset/IlrExecTaskInstance.execute(Lilog/rules/engine/IlrTaskEngine;Lilog/rules/engine/IlrWorkItem;ZZ)I(Unknown Source)
    at ilog/rules/engine/IlrTaskEngine.executeItem(Lilog/rules/engine/IlrWorkItem;Lilog/rules/inset/IlrExecFlowNode;ZZ)I(Unknown Source)
    at ilog/rules/engine/IlrTaskEngine.if(Z)V(Unknown Source)
    at ilog/rules/engine/IlrTaskEngine.a(Z)V(Unknown Source)
    at ilog/rules/engine/IlrContext.a(Z)Lilog/rules/engine/IlrParameterMap;(Unknown Source)
    ^-- Holding lock: ilog/rules/engine/IlrContext@0x1393f318[recursive]
    at ilog/rules/engine/IlrContext.execute()Lilog/rules/engine/IlrParameterMap;(Unknown Source)
    ^-- Holding lock: ilog/rules/engine/IlrContext@0x1393f318[recursive]
    at ilog/rules/bres/xu/spi/IlrEngineManager.execute()Ljava/util/Map;(Unknown Source)
    ^-- Holding lock: ilog/rules/engine/IlrContext@0x1393f318[thin lock]
    at ilog/rules/bres/xu/spi/IlrTransactionalEngineManager.execute()Ljava/util/Map;(Unknown Source)
    ^-- Holding lock: ilog/rules/bres/xu/spi/IlrTransactionalEngineManager@0x13897c90[thin lock]
    at ilog/rules/bres/xu/spi/IlrManagedXUConnection.contextExecute(Lilog/rules/bres/xu/cci/IlrXUConnection;)Ljava/util/HashMap;(Unknown Source)
    at ilog/rules/bres/xu/cci/IlrXUConnection.contextExecute()Ljava/util/HashMap;(Unknown Source)
    at ilog/rules/bres/xu/cci/IlrXUInteraction.contextExecute(Ljavax/resource/cci/Record;Ljavax/resource/cci/Record;)Z(Unknown Source)[inlined]
    at ilog/rules/bres/xu/cci/IlrXUInteraction.dispatchExecution(Ljava/lang/String;Ljavax/resource/cci/InteractionSpec;Ljavax/resource/cci/Record;Ljavax/resource/cci/Record;)Z(Unknown Source)[inlined]
    at ilog/rules/bres/xu/cci/IlrXUInteraction.execute(Ljavax/resource/cci/InteractionSpec;Ljavax/resource/cci/Record;Ljavax/resource/cci/Record;)Z(Unknown Source)[inlined]
    at ilog/rules/bres/xu/cci/IlrXUInteraction.execute(Ljavax/resource/cci/InteractionSpec;Ljavax/resource/cci/Record;)Ljavax/resource/cci/Record;(Unknown Source)[optimized]
    at ilog/rules/bres/session/IlrRuleSessionExecuteImpl.executeInteraction(Ljavax/resource/cci/Interaction;Ljavax/resource/cci/Record;Lilog/rules/bres/session/IlrRuleSessionExecuteImpl$Warnings;)Ljavax/resource/cci/Record;(Unknown Source)
    at ilog/rules/bres/session/IlrRuleSessionExecuteImpl.execute(Ljavax/resource/cci/ConnectionFactory;Ljava/lang/String;Ljava/util/Map;Lilog/rules/bres/session/IlrRuleSessionExecuteImpl$Warnings;ZZLjavax/resource/cci/Interaction;)Ljava/util/HashMap;(Unknown Source)
    at ilog/rules/bres/session/IlrRuleSessionExecuteImpl.executeStateless(Ljavax/resource/cci/ConnectionFactory;Ljavax/resource/cci/Connection;Ljavax/resource/cci/Interaction;Lilog/rules/bres/session/IlrSessionRequest;Lilog/rules/bres/session/IlrRuleSessionExecuteImpl$Warnings;)Lilog/rules/bres/session/IlrSessionResponse;(Unknown Source)
    at ilog/rules/bres/session/ejb/IlrStatelessRuleSessionEJB.executeRules(Lilog/rules/bres/session/IlrSessionRequest;)Lilog/rules/bres/session/IlrSessionResponse;(Unknown Source)
    at ilog/rules/bres/session/ejb/IlrStatelessRuleSessionEJB_ugt9ms_ELOImpl.executeRules(IlrStatelessRuleSessionEJB_ugt9ms_ELOImpl.java:145)
    at ilog/rules/bres/session/ejb/IlrGateLocal.executeRules(Lilog/rules/bres/session/IlrSessionRequest;)Lilog/rules/bres/session/IlrSessionResponse;(Unknown Source)
    at com/myapp/rules/jrules/JRuleSession.executeRules(JRuleSession.java:79)
    at com/myapp/core/RuleInvoker.invokeRule(RuleInvoker.java:52)
    at com/myapp/core/statemachine/StateMachine.executeRule(StateMachine.java:143)
    at com/myapp/core/statemachine/StateMachine.doTransition(StateMachine.java:109)
    at com/myapp/core/statemachine/StateMachine.doStateMachineTransitions(StateMachine.java:87)
    at com/myapp/core/statemachine/StateMachine.doTransition(StateMachine.java:64)
    at com/myapp/core/messagehandler/tes/TesMessageHandler.doTESMessageProcessing(TesMessageHandler.java:263)
    at com/myapp/core/messagehandler/tes/TesMessageHandler.tesProcessing(TesMessageHandler.java:134)
    at com/myapp/core/messagehandler/tes/TesMessageHandler.process(TesMessageHandler.java:112)
    at com/myapp/core/FullReSequenceMessageProcessor.doStateMachine(FullReSequenceMessageProcessor.java:173)
    at com/myapp/core/FullReSequenceMessageProcessor.processMessage(FullReSequenceMessageProcessor.java:333)
    at com/myapp/core/MessageProcessorMDB.onMessage(MessageProcessorMDB.java:81)
    at weblogic/ejb/container/internal/MDListener.execute(MDListener.java:429)[inlined]
    at weblogic/ejb/container/internal/MDListener.transactionalOnMessage(MDListener.java:335)[inlined]
    at weblogic/ejb/container/internal/ContinuousJMSMessagePoller.processOneMessage(ContinuousJMSMessagePoller.java:129)[optimized]
    at weblogic/ejb/container/internal/JMSMessagePoller.pollContinuously(JMSMessagePoller.java:394)
    at weblogic/ejb/container/internal/ContinuousJMSMessagePoller.pollForChild(ContinuousJMSMessagePoller.java:185)
    at weblogic/ejb/container/internal/JMSMessagePoller.run(JMSMessagePoller.java:530)
    at java/lang/Thread.run(Thread.java:595)
    at jrockit/vm/RNI.c2java(IIII)V(Native Method)
    -- end of trace
    Edited by: user1631781 on Jun 9, 2010 10:05 AM

    My understanding was that WebLogic by default configuration would pull n messages at a time from the a foreign >jms server (via JMS connection poller) ; and process the n messages using the same MDB in n different >transactions. Is this correct? Its possible for MDB to process more than one message in a transaction using a weblogic specific feature called MDB Transaction batching.This depends on the max-messages-in-transactions descriptor in weblogic-ejb-jar.xml. This controls mdb transaction batch size.
    http://download.oracle.com/docs/cd/E15051_01/wls/docs103/ejb/message_beans.html#wp1161543
    In your case the thread seems to be stuck at the application code level. I doubt if it is related to transactions.
    at java/util/HashMap.get(HashMap.java:344)[optimized]
    at org/jboss/cache/UnversionedNode.getDirect(UnversionedNode.java:203)[inlined]

Maybe you are looking for

  • Suddenly No Sound on YouTube Videos

    In the last couple of weeks, I suddenly have no sound on YouTube Videos and a few other Interent sites.  I still have sound for some sites such as Ted.com and sound for local and previously downloaded videos so I know my sound card works.   I've doub

  • Library does not match different users

    I have two different sign in accounts on my computer.  One is for me and the other is for my wife.  This was done to keep our email apart.  We share the same itunes acount.  The only problem is the play list in the libary does not match from one acou

  • Unable to connect to unprotected wireless network

    A couple of months ago, I upgraded to Snow Leopard (10.6.4) from Tiger with the Mac Box Set. Ever since then, I have had a pretty mysterious problem: the wireless internet in my apartment, only for MY computer, is extremely unreliable, allowing me to

  • Audition cs5.5 only

    need a download copy of adobe audition cs5.5 only not  premier have cd but no good out of box support said to download free trial can't fine one that will ecept my key

  • Phone shuts down

    I have had my Palm Pre for a couple of months (ATT) and generally like it, but find that it will unexpectedly shut down, usually associated with sudden movements.  I can restart it by pressing and holding the power key, but then need to wait for the