Pending messages in queue consume cache and result slow processing

Hi All
          I have one stand alone java application which is consumer of one weblogic JMS queue.
          What my application does, it take big messages in to xml format and convert it in to small chunk of xml using XSLT.
          Here I am struggling with one major problem when I sent 10 messages all together all messages went in to pending queue and as application process only one messages at a time, there for other messages waste the cache and processing become slow.
          If I send same 10 messages one by one after completion of last messages total time to process 10 messages is very less then compare to if I sent all together.
          Is there any web logic setting I can do so only one messages goes in to pending queue.

Ali,
How about this:
142# imsimta qm dir | grep '^ *[0-9]' | wc -l
      14I don't know that it's significantly better, but "qm" generates only a single line of output per message whereas "cache" provides like 10/message.
Bill

Similar Messages

  • Pending message in Queue

              All,
              During a load test, there are lots of pending messages in a queue. How can I speed
              up the message processing? Configure a session pool or increase poll interval?
              Any suggestion is welcome. I am new to this. Thanks.
              Regards,
              Wen
              

    Hi Rick
              I recommend starting with the JMS Performance Guide
              white-paper on dev2dev.bea.com. You can find it on
              the main JMS technology page:
              http://dev2dev.bea.com/technologies/jms/index.jsp
              Tom
              Rick Chang wrote:
              > All,
              >
              > During a load test, there are lots of pending messages in a queue. How can I speed
              > up the message processing? Configure a session pool or increase poll interval?
              >
              > Any suggestion is welcome. I am new to this. Thanks.
              >
              > Regards,
              > Wen
              

  • Error code: MobileMe Services has encountered a problem and needs to close - I get this message everytime i open Outlook and it slows down opening?  This problem started when itunes updated

    Error code: MobileMe Services has encountered a problem and needs to close
    I get this mesage everytime i open Outlook and it slows down opening. This problem started when itunes updated. What do I do to solve this?

    Hi turingtest2 (you pass, BTW):  Thanks for the speedy reply.  MobileMe doesn't appear in the list of programs which can be uninstalled.  I tried the link you suggest: http://support.microsoft.com/mats/Program_Install_and_Uninstall but when I tried to "Run Now", I get the error message:  " Troubleshooting cannot continue because an error has occurred... etc.... [code 80072F8F]"  So googled this error & found a tool called (80072f8f) Repair Tool   -  I'm leery to download yet more stuff from non-microsoft sites -- any recommendations?

  • Locks and/or slow processing

    Hello,
    Thanks in advance!!
    Whenever, our system receives a flood of events, we try to update the database by first locking a certain row using "select for update". However, the system seems to lock up (I think it is very slow in processing) for a long time as evident in the query below. Can anybody provide some insights was what we might be doing incorrectly as far as the database set up, tuning etc.
    One connection has an exclusive rowlock on a table called NODE and an exclusive lock on SYS.ALL_CATALOG. Others are all waiting to get a lock on SYS.ALL_CATALOG (actually it is some SYS.XXX table all the time). All connections are actually making the same "select for update" call.
    When I execute the query as follows I get a result which shows a very long wait time (approx: 515 seconds). isn't this too much?
    SQL> select count(*), SUM(time_waited), max(max_wait) from v$session_event where event = 'enqueue';
    COUNT(*) SUM(TIME_WAITED) MAX(MAX_WAIT)
    1 158919 308
    We are running Oracle 9.2.0.0 on a Windows 2K machine with 2G memory and dual 2.8GHz processor. The application is a Java based using a thin JDBC driver that comes with the 9.2.0.0 CD.
    SQL> set linesize 132 pagesize 66
    SQL> break on Kill on username on terminal
    SQL> column Kill heading 'Kill String' format a13
    SQL> column res heading 'Resource Type' format 999
    SQL> column id1 format 9999990
    SQL> column id2 format 9999990
    SQL> column lmode heading 'Lock Held' format a20
    SQL> column request heading 'Lock Requested' format a20
    SQL> column serial# format 99999
    SQL> column username format a10 heading "Username"
    SQL> column terminal heading Term format a8
    SQL> column tab format a35 heading "Table Name"
    SQL> column owner format a9
    SQL> column Address format a18
    SQL> select nvl(S.USERNAME,'Internal') username,
    2 nvl(S.TERMINAL,'None') terminal,
    3 L.SID||','||S.SERIAL# Kill,
    4 U1.NAME||'.'||substr(T1.NAME,1,20) tab,
    5 decode(L.LMODE,1,'No Lock',
    6 2,'Row Share',
    7 3,'Row Exclusive',
    8 4,'Share',
    9 5,'Share Row Exclusive',
    10 6,'Exclusive',null) lmode,
    11 decode(L.REQUEST,1,'No Lock',
    12 2,'Row Share',
    13 3,'Row Exclusive',
    14 4,'Share',
    15 5,'Share Row Exclusive',
    16 6,'Exclusive',null) request
    17 from V$LOCK L,
    18 V$SESSION S,
    19 SYS.USER$ U1,
    20 SYS.OBJ$ T1
    21 where L.SID = S.SID
    22 and T1.OBJ# = decode(L.ID2,0,L.ID1,L.ID2)
    23 and U1.USER# = T1.OWNER#
    24 and S.TYPE != 'BACKGROUND'
    25 order by 1,2,5
    26 /
    Username Term Kill String Table Name Lock Held Lock Requested
    EMS3 unknown 11,507 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 18,116 EMS3.NODE Row Exclusive
    EMS3 unknown 11,507 EMS3.NODE Row Share
    EMS3 unknown 13,6 EMS3.NODE Row Share
    EMS3 unknown 22,56 EMS3.NODE Row Share
    EMS3 unknown 23,6 EMS3.NODE Row Share
    EMS3 unknown 24,6 EMS3.NODE Row Share
    EMS3 unknown 25,7 EMS3.NODE Row Share
    EMS3 unknown 26,10 EMS3.NODE Row Share
    EMS3 unknown 40,8 EMS3.NODE Row Share
    EMS3 unknown 39,7 EMS3.NODE Row Share
    EMS3 unknown 38,6 EMS3.NODE Row Share
    EMS3 unknown 37,6 EMS3.NODE Row Share
    EMS3 unknown 36,6 EMS3.NODE Row Share
    EMS3 unknown 35,10 EMS3.NODE Row Share
    EMS3 unknown 34,7 EMS3.NODE Row Share
    EMS3 unknown 33,6 EMS3.NODE Row Share
    EMS3 unknown 32,7 EMS3.NODE Row Share
    EMS3 unknown 57,6 EMS3.NODE Row Share
    EMS3 unknown 56,6 EMS3.NODE Row Share
    EMS3 unknown 55,10 EMS3.NODE Row Share
    EMS3 unknown 54,7 EMS3.NODE Row Share
    EMS3 unknown 53,6 EMS3.NODE Row Share
    EMS3 unknown 52,9 EMS3.NODE Row Share
    EMS3 unknown 51,6 EMS3.NODE Row Share
    EMS3 unknown 50,8 EMS3.NODE Row Share
    EMS3 unknown 49,7 EMS3.NODE Row Share
    EMS3 unknown 67,6 EMS3.NODE Row Share
    EMS3 unknown 66,10 EMS3.NODE Row Share
    EMS3 unknown 65,7 EMS3.NODE Row Share
    EMS3 unknown 64,6 EMS3.NODE Row Share
    EMS3 unknown 63,8 EMS3.NODE Row Share
    EMS3 unknown 62,6 EMS3.NODE Row Share
    EMS3 unknown 61,7 EMS3.NODE Row Share
    EMS3 unknown 60,8 EMS3.NODE Row Share
    EMS3 unknown 59,7 EMS3.NODE Row Share
    EMS3 unknown 58,6 EMS3.NODE Row Share
    EMS3 unknown 48,7 EMS3.NODE Row Share
    EMS3 unknown 47,7 EMS3.NODE Row Share
    EMS3 unknown 46,6 EMS3.NODE Row Share
    EMS3 unknown 45,6 EMS3.NODE Row Share
    EMS3 unknown 44,9 EMS3.NODE Row Share
    EMS3 unknown 43,7 EMS3.NODE Row Share
    EMS3 unknown 42,7 EMS3.NODE Row Share
    EMS3 unknown 41,6 EMS3.NODE Row Share
    EMS3 unknown 30,7 EMS3.NODE Row Share
    EMS3 unknown 29,6 EMS3.NODE Row Share
    EMS3 unknown 28,6 EMS3.NODE Row Share
    EMS3 unknown 27,6 EMS3.NODE Row Share
    EMS3 unknown 13,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 18,116 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 23,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 25,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 67,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 66,10 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 65,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 64,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 63,8 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 62,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 61,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 60,8 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 59,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 58,6 SYS.ALL_CATALOG Exclusive
    Username Term Kill String Table Name Lock Held Lock Requested
    EMS3 unknown 57,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 56,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 55,10 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 54,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 53,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 52,9 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 51,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 50,8 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 49,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 48,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 47,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 46,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 45,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 44,9 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 43,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 42,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 41,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 40,8 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 39,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 38,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 37,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 36,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 35,10 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 34,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 33,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 32,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 30,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 29,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 28,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 27,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 26,10 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 24,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 22,56 SYS.ALL_CATALOG Exclusive
    96 rows selected.
    SQL>

    Ranganath,
    Please work with Oracle Support to resolve this issue. That way, we can get a more extensive insight and documentation for the issue and fix what underlying problems may exist. Thanks!
    Regards,
    Toliver Jue

  • Receive activity pending when trying to consume message from Queue

    Hi ,
    I'm using a BPEL process to publish and subscribe message into a queue using JMS adapter.The messages in Queue are produced and consumed properly . But the BPEL process is still running, with a receive activity used to consume that queue, in pending state. The schema used throughout the BPEL and JMS adapter are the same.
    Edited by: user13829970 on May 8, 2012 2:07 AM

    Make sure you use the same schema and same queue name while configuring the Producer JMS Adapter and also the Consumer JMS Adapter
    And in the JMS Consumer Composite, define the interface of the BPEL based on the WSDL of the JMS Adapter (service) and then wire the BPEL and the JMS Adapter. Make sure under the receive activity, the create instance checkbox is checked.
    Hope this helps
    N

  • Queue is registered and cannot be activated

    Hi all
    we have an R3AD  Queue problem. " The queue is registered and therefore cannot be activated"
    The status of the queue is "RUNNING".
    When I try to acitvate it gives message " The queue is registered and therefore cannot be activated"
    Can anyone help me out in this case…..

    Hi Harry,
    Check if this is useful.
    Maintain the following parameter using transaction SM30 (table maintenance) for table SMOFPARSFA:
    Key : R3A_COMMON
    Parameter Name: CRM_DO_NOT_REGISTER_INBOUND_QUEUE
    Parameter Value: X
    Caution:
    This parameter has the effect that the queues R3A, CSA, CRI* or "CDB*" are no longer registered automatically. Ensure that all required objects are registered.
    Award points if useful.
    Thanks,
    Ravi

  • Get information about Subscribed Consumer and messages in queue

    Hi,
    I use a library that allow to set a set of consumers. They read messages I send. I check if the consumers are subscribed through "Open Message Queue Administration Console". Through Broker->Destinations I found the consumer under the correct destination I find the consumers with the message in queue, state and other information. I would like to obtain these information programmatically.
    Could someone link me an example?
    Thanks, bye bye.

    Hi,
    I'm reading the page but I cannot find the jar file that contains this package:
    import com.sun.messaging.jms.management.server
    and the classes:
    -MQObjectName
    -DestinationAttributes
    -DestinationType
    What is the jar file for the class above?
    Moreover, I cannot find the class:com/sun/messaging/jmq/management/JMXMQAddress
    when I try to use the code I wrote I receive this error:
    >
    java.lang.NoClassDefFoundError: com/sun/messaging/jmq/management/JMXMQAddress
         at com.sun.messaging.AdminConnectionFactory.getJMXServiceURL(AdminConnectionFactory.java:257)
         at com.sun.messaging.AdminConnectionFactory.createConnection(AdminConnectionFactory.java:207)
         at testcase.eventManager.DPCTRMSEVENTMANAGER.message(DPCTRMSEVENTMANAGER.java:123)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
         at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
         at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
         at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
         at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
         at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
         at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
         at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
         at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
         at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
         at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
         at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jmq.management.JMXMQAddress
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         ... 23 more
    Where can I found this class?
    Thanks, bye bye.
    Edited by: PiotreUgrumov on May 13, 2010 8:29 AM

  • How to find the number of pending messages in a Queue

    All,
    Is there a way to find the number of pending messages in a given QUEUE to be picked by the queue reader?
    My reader is not picking all the messages as many sent by my writer, i am not sure where they are getting lost? or if the JMS implementation is buffering them and does not flush until it does not have enough to throw out ( which any way does not make sense!!).
    Please help.
    Chandra

    You're right in thinking that the behaviour you describe looks wrong.
    Take a look at the QueueBrowser interface which can be used to inspect a queue. You get one using QueueSession.createBrowser(Queue). The QueueBrowser allows you to scan a queue without consuming the messages. However note that the state of the queue may change while you're observing it through the QueueBrowser so what you see might not always be a 100% accurate representation of the queue at any given time.
    Other things to check:
    - message selectors - are you setting a message selector on your queue receiver which is resulting in not all of the messages 'matching'.
    - expired messages - are you setting a time-to-live on the messages that you publish.
    Hope this helps,
    David Ingham
    http://www.arjuna.com

  • Why are there pending messages that can't be consumed?

    Hi all,
    I am using Glassfish with a self made monitoring/stress-testing application.
    In this app I can define consumers and producers, so I can somehow see the behavior of the system under many different conditions.
    But something odd is happening: there are always 1000~2500 messages that I can see that they are there but I can't consume them. I have checked in my admin console and they are shown in the
    "Number of Messages Pending Acknowledgment - Current number of messages being held in memory and persistent store pending acknowledgment".
    Why they are pending acknowledgment? I sent them in the same way I did all others, and they all worked.
    I found this link, they are all having similar problems, but they are using ActiveMQ. http://fusesource.com/forums/thread.jspa?threadID=1060
    Could anyone help me to find out why this can be happening?
    Edit: Could it be that the acknowledgement of a consumer is not getting back to the queue and the queue is reserving the message to that consumer, so nobody else can consume it?
    Tks,
    Oscar
    Edited by: 808621 on 6/Jan/2011 2:02
    Edited by: 808621 on 6/Jan/2011 2:47

    Hi!
    Thanks you both for the answer. I just figure it out with help of your replies: I was using many threads to consume the messages, but these threads were sharing the same "MessageConsumer" object, what was causing the pending messages. Once I changed to have one MessageConsumer per thread, it worked.
    Thanks you both for the help :)
    Oscar

  • QueueBrowser enumeration and Pending Messages

              I've flooded a Queue with messages. When I use a QueueBrowser to look at the contents
              of the queue, the number of items I get back from QueueBrowser.getEnumeration()
              is nowhere near the number of Pending Messages shown in the WebLogic admin console.
              For instance, the WL admin console shows 33 PendingMessages, but the number of
              messages in the QueueBrowser enumeration is 7. This is a non-distributed queue
              and I'm running WL non-clustered. I do have an MDB listening to the queue, but
              I only have 5 instances of the MDB available in the pool, which is not enough
              to immeditely process all of the messages I've sent to the queue.
              Is using a QueueBrowser the proper way to determine how many messages are pending
              in a queue, or is there another method of determining this (short of accessing
              the admin console MBeans)?
              Thanks
              

    Hi Jeff,
              The QueueBrowser browses only those messages that are
              available for dequeue. Messages are not available if they are
              awaiting action by a particular consumer, producer, or
              delivery timer. In addition, JMS server's push
              messages up to 10 at a time to asynchronous
              consumers, so 5 MDBs may have a backlog
              of 50 messages that are unavailable to QueueBrowsers
              (or other consumers.) The maximum backlog is configurable
              via the connection factory "MessagesMaximum" setting.
              Tom
              Jeff wrote:
              > I've flooded a Queue with messages. When I use a QueueBrowser to look at the contents
              > of the queue, the number of items I get back from QueueBrowser.getEnumeration()
              > is nowhere near the number of Pending Messages shown in the WebLogic admin console.
              > For instance, the WL admin console shows 33 PendingMessages, but the number of
              > messages in the QueueBrowser enumeration is 7. This is a non-distributed queue
              > and I'm running WL non-clustered. I do have an MDB listening to the queue, but
              > I only have 5 instances of the MDB available in the pool, which is not enough
              > to immeditely process all of the messages I've sent to the queue.
              >
              > Is using a QueueBrowser the proper way to determine how many messages are pending
              > in a queue, or is there another method of determining this (short of accessing
              > the admin console MBeans)?
              >
              > Thanks
              >
              >
              

  • How to consume message with queue payload type 'SYS.AQ$_JMS' in BPEL

    In oracle database
    1. created a queue table with multi consumer, queue_payload_type => 'SYS.AQ$_JMS_OBJECT_MESSAGE' .
    2. created a queue using this queue table.
    3. started the queue.
    4. From java class, published a message into this queue.
    Now when I try to access this queue from bpel using AQ adapters, not able to see the queue name. But if I try to consume from java, it is working fine.
    Please let me know how we need to access from bpel the messages that are not of xml type and are user defined objects.
    Thanks

    Hi
    Thank You for your information,
    I have seen that link which you have provided. Here they have given a example in which they are using Database messaging, i am working on memory/file based messaging.
    I am using default JMS Queue (jms/demoQueue) and default Connection Factory (jms/QueueConnectionFactory) which is provided by default in the server. With these i am trying to push message from process to the Queue.
    From other process i am trying to receive a message.
    For default Queue and Connection factory, i think we dont need to configure any of the xml files.
    Please try to use default Queue and Connection Factory to recevie a message from the Queue. Use two different process to develop this.
    Thank You
    Rgards
    Reddy

  • Pending Messages Resulting in Application halt.

    We developed a JPD which subscribes to a JMS Event. While another application sends messages to this application, we saw the messages getting stuck in queue and we also saw that count of pending messages going high and then at one point the application halted.
              Has anyone face similar problem or know something about it. Please reply.

    I found my problem and thought I would post it in case anyone else has the same problem.
    I created synchronous stateless processes in the beginning. Later on I added clean up methods to the end of my processes, after the response node. I didn't think it would work after the response node but it did so I left. Unbeknownst to me, the processes had been changed to stateful processes by adding this cleanup node AFTER the response. This for some reason would leave messages in the pending state.
    When I moved the cleanup method before the return, it went back to stateless and no pending messages.

  • MDB's keep consuming messages after queue purged

    I have a pool of 5 mdbs processing messages from a queue. The queue had 500 messages in it.
    I used the imqcmd purge dst ... command to clear a queue.
    The mdb's continued to consume messages. I would think that at most 5 messages could have been in the middle of processing and then it would stop but it processed another 30 messages before I killed the app server. I assume it would have gone through the 500.

    I have a pool of 5 mdbs processing messages from a queue. The queue had 500 messages in it.
    I used the imqcmd purge dst ... command to clear a queue.
    The mdb's continued to consume messages. I would think that at most 5 messages could have been in the middle of processing and then it would stop but it processed another 30 messages before I killed the app server. I assume it would have gone through the 500.

  • Pending Messages in Dispatcher Queues

    We have a jpd that calls a couple of "helper" jpd's while handling a request.
    I noticed for every request to the main jpd the total number of JMS messages in the dispatcher queue goes up by 6, but half (3) are in the pending state.
    The pending messages just grow and grow as the application is used until the server runs out of memory. It appears these pending messages are kept in memory.
    I have read about the conditions that cause messages to stay in pending, but I'm not sure which of these conditions applies in my case. Any ideas why I'm getting pending messages, or how I could find out?
    Thanks.

    I found my problem and thought I would post it in case anyone else has the same problem.
    I created synchronous stateless processes in the beginning. Later on I added clean up methods to the end of my processes, after the response node. I didn't think it would work after the response node but it did so I left. Unbeknownst to me, the processes had been changed to stateful processes by adding this cleanup node AFTER the response. This for some reason would leave messages in the pending state.
    When I moved the cleanup method before the return, it went back to stateless and no pending messages.

  • Have a  problem with Lightroom 5.4.  Since the program crashed yesterday it won't launch, it comes up with the message "Lightroom encountered an error when reading its preview cache and needs to quit".  "  Lightroom will attempt to fix this problem net ti

    Have a  problem with Lightroom 5.4.  Since the program crashed yesterday it won't launch, it comes up with the message "Lightroom encountered an error when reading its preview cache and needs to quit".  "  Lightroom will attempt to fix this problem next time it launches".  Except that it doesn't, I keep getting the same message and the program closes.  Does anyone know what I  can do to repair it?  Can't back up, can't do anything.

    There are dozens of threads in this forum that describe the fix

Maybe you are looking for