Queue not queueing

I have a producer / consumer architecture - data are being read (from a TCP read) in the producer loop and placed on a queue. The consumer is reading the queue and doing lots of modelling, analysis and display. This architecture was chosen because the data doesn't arrive at a consistent rate from the server - due to network load etc. I am reading 'number of elements on queue' to get a rough idea if there is latency in the system. 
The server sends a frame number, which I save using the TDMS format. I recently noticed that when the number of elements on queue increases, the frame number skips, i.e, when data are buffered on the queue, they don't seem to appear when the elements are dequeued.
What's going on?!
Unfortunately I can't post the code, but I will try and produce a cut down version. 

The queue size is default (unlimited).
The queue builds up when the PCs processing load goes up - when an email arrives etc. You can see this by reducing the delay time right down to 1ms and click "real-time operation" then do something else with the PC - shake the vi window around the desktop for example. The queue should build up, unless you've got a good PC!
The problem I have with my real program is that data being queued are lost.
Other difference with my real program - data are coming from a TCP read function, there is no delay in the producer, the data are text not numerical, and the consumer is huge. I'm not sure how to set a sensible timeout. There's also no handshaking with the server.  
G

Similar Messages

  • Per Session / per User shaping and queuing not working on 7206/7204 on 15.2

    Hello,
    we are running the following scenario - to provide QoS (shaping/queueing) for our broadband (pppoe) users, we have configured several service-policies on our 7206/7204 BRAS-Routers. The service-policies are applied with RADIUS-Attributes when the pppoe-users dials in. The service-policies look like this
    policy-map POL-BM-DEF-P_4m-DSCP-OUT
     description << Parent Policy 4 mbps >>
     class class-default
      shape average 3900000
      bandwidth 3900
       service-policy POL-BM-DEF-C_4m-DSCP-OUT
    policy-map POL-BM-DEF-C_4m-DSCP-OUT
     description << Child Policy 4 mbps >>
     class CM-VO-DEF-DSCP
      priority 900
      police cir 900000
       conform-action transmit
       exceed-action drop
     class CM-VS-DEF-DSCP
      bandwidth 100
     class CM-ID-DEF-DSCP
      bandwidth 900
     class CM-MS-DEF-DSCP
      bandwidth 600
     class CM-MC-DEF-DSCP
      bandwidth 300
     class CM-NC-DEF-DSCP
      bandwidth 150
     class CM-NM-DEF-DSCP
      bandwidth 150
     class class-default
      bandwidth 800
    We are applying the policies with the following Cisco-AV-Pair attribute
    lcp:interface-config=service-policy output POL-BM-DEF-P_4m-DSCP-OUT
    Until recently that did work pretty good when using software 12.2(33)SRC3. But it turned out that there is a bug in this software that causes that the policy is applied but not working correct sometimes. See bug CSCsv27825. Although that bug does not match the software we are using, the symptoms do. Basically the parent shaper is not working, so there is no backpressure, no need for qos to kick in ;-)
    The recommendation was to upgrade to Version 15.2(4)M5. When downloading the image there was a recommendation on the website to use Version 15.2(4)M6 instead, because of some important bugfixes. So we installed that, system cmes back online, everything works - except the service-policies. they are not applied at all any more.
    After doing some tests it turns out that
    - Policies that shape are not applied. It does not matter if using the ip:sub-qos-policy-out=xxx or lcp:interface-config=service-policy output xxx attribute.
    - Policies that police like the one here are applied
    policy-map POL-POLICE-DEF-P_1M-DSCP-OUT
     class class-default
      police 1000000
    We prefer the shaping way, because of the smoother handling of bursty traffic.
    Any ideas/recommendations ? I've tbeen readign a litte bit on the internet - that problem is not new, but unfortunately no one has a solution :-(
    Best regards
    Carsten
    Short update: as soon as some queuing configuration is present in the policy (parent and/or child) it is not applied. i tried to be extra clever and combine the "policer" parent policy with our child-policy which does priority queuing - not applied. Even the parent-policy alone with no child policy (just the shaper)  is not gettign applied.
    Any ideas what to debug to get a reason why it is not working ?

    Please Ignore Spelling errors. "I asked" replaced "It asked".
    Please Reply as soon as Possible !

  • AWT-Event queue not responding

    Hi all! I have already posted a message with similar problem wich was solved but this now is a different one.
    I have following situation:
    I have a class that is called from somewhere (I don't know where from) and that displays a JFrame. After it calls setVisible(true) it calls function synchronized lock() which does wait(). After the JFrame is done it calls synchronized unlock() which does notifyAll().
    The purpose is that my JFrame should do some checking and then let the code that called it resume it's work normaly.
    Te problem is that this only works with JDK version 1.3. If I do it on 1.4 the frame doesn't respond to clicks and doesn't repaint. If I remove lock() and unlock() the frame works ok but the main program is not suspended.
    I suppose that the frame needs to make new threads for user clicks or repainting (I have noticed a Timer thread) but it can't do it for some reason.
    Any help?

    Yeah, as the doctor said to the patient who said "Doctor, it hurts when I do this" .. "So don't do that" ... don't do that. That is, it sounds as if your application is posting huge numbers of events? So if your application didn't post so many events, would the event queue not be filled up?
    - David

  • Trex queue return error: code 6002, QS error: queue not found

    Hi all,
       in TREX Administrator tool, in the queue area I see "index01". When I try to perform some operation I receive the error QS error: queue not found. I check services status and I see that queueserver isn't running. I stop the TREX server, delete all file in lock folder, and restart. After few seconds the queueserver crash and stop it.
    Please, can you help me?
    Fabio Sambugaro.

    Hello Duncan,
    Thanks for the reply.
    Can I do the same from
    System Administration > System Configuration > Knowledge Management > Index Administration
    We have around 7400 documents to be indexed. The indexing seems to be very slow. Is there any reason for slow indexing?
    Kind Regards,
    jelbin

  • Queues not handling delays...

    Question:
    If the parameter that enables the Queue Monitor to handle delay intervals on queues (i.e., AQ_TM_PROCESSES) is not set to > 0, then no Queue Monitor background processes (ora_aqtm_<SID>) will be created and queues will not be able to handle delays?
    Or, to put in another way, if AQ_TM_PROCESSES = 0, setting a delay on a queue for a payload will not work correctly, correct?

    Still seems to be some debate between the developers and DBAs on whether or not AQ_TM_PROCESSES = 0 causes an issue in Oracle 10g 10.2.
    This is what the Oracle Advanced Queueing Manual says:
    ===========================================
    Prior to Oracle Database 10g, Oracle Streams AQ time manager processes were controlled by init.ora parameter AQ_TM_PROCESSES, which had to be set to nonzero to perform time monitoring on queue messages and for processing messages with delay and expiration properties specified. These processes were named QMNO-9, and the number of them could be changed using:
    ALTER SYSTEM SET AQ_TM_PROCESSES=X
    Parameter X ranged from 0 to 10. When X was set to 1 or more, that number of QMN processes were then started. If the parameter was not specified, or was set to 0, then queue monitor processes were not started.
    Beginning in Oracle Streams AQ 10g Release 1 (10.1), this was changed to a coordinator-slave architecture, where a coordinator is automatically spawned if Oracle Streams AQ or Streams is being used in the system. This process, named QMNC, dynamically spawns slaves depending on the system load. The slaves, named qXXX, do various background tasks for Oracle Streams AQ or Streams. Because the number of processes is determined automatically and tuned constantly, you no longer need set AQ_TM_PROCESSES.
    Even though it is no longer necessary to set AQ_TM_PROCESSES when Oracle Streams AQ or Streams is used, if you do specify a value, then that value is taken into account. However, the number of qXXX processes can be different from what was specified by AQ_TM_PROCESSES.
    QMNC only runs when you use queues and create new queues. It affects Streams Replication and Messaging users.
    No separate API is needed to disable or enable the background processes. This is controlled by setting AQ_TM_PROCESSES to zero or nonzero. Oracle recommends, however, that you leave the AQ_TM_PROCESSES parameter unspecified and let the system autotune.
    Note:
    If you want to disable the Queue Monitor Coordinator, then you must set AQ_TM_PROCESSES = 0 in your pfile or spfile. Oracle strongly recommends that you do NOT set AQ_TM_PROCESSES = 0. If you are using Oracle Streams, then setting this parameter to zero (which Oracle Database respects no matter what) can cause serious problems.
    ===========================================
    Seems to me that AQ_TM_PROCESSES is no longer used as before but if used, and set to 0, it can cause issues and / or turn off the Oracle Queue Monitor....
    Anybody's final vote on this matter??? Based on the manual and the responses I have heard so far, AQ_TM_PROCESSES = 0 does still matter in Oracle 10.2.

  • DUMMY_BW (0FI_GL_04) delta queue not getting cleared

    Hi,
    We're using minute based extraction approach for 0FI_GL_04 and thereby have two delta queues for the 0FI_GL_4 extractor in the SAP ERP ECC system: One for the ‘DUMMY_BW’ and the other for the 'real' BI system. The delta queue for DUMMY_BW is not getting cleared automatically in production system and it keeps on adding more records in the queue which is in turn consuming memory in ARFCSDATA. Any thoughts on this would be really helpful.
    Regards,
    Karthik

    Hi Gurus,
    Please help me on how can I check that on what fields 0FI_GL_20 is pulling delta.
    I tried to find the MSG Type to check in BD52 for relevant field list, in ROOSGEN table. the entry for MSG type is blank there.
    Any help on this is appreciated.
    Thanks,
    Sourabh Deo

  • Messages in queue not being delivered

    Hi
    I am using IMS 5.2. After a recent migration of user accounts to an new login ID, some user's emails are not being delivered to thier accounts and are accumulating in the ims-ms queue. When I did the migration, I copied the user's email to thier new account. I did reconstruct -f -r a couple of times, and emails appeared to be delivered to the new login accounts.
    There were a few emails left in the queue but now there are close to 6000 and users are not getting emails delivered. When I look at the message in the queue, they state the user is overquota. I checked the user's account and they are not overquota.
    Any suggestions on how to correct the problem or get the message to be delivered?
    Thanks
    Randy

    Jay,
    iPlanet Messaging Server 5.2 (built Feb 21 2002)
    libimta.so 5.2 (built 15:07:23, Feb 21 2002)
    SunOS cpmail 5.8 Generic_108528-27 sun4u sparc
    SUNW,Ultra-60
    This is the original release. There have been over thirty patch/hotfix releases, and hundreds of fixes. I URGE you to go to Sun's download site, and get 5.2p2, and install it immediately.Thanks for the advice Jay. The product is installed as part of the portal we are using(which I upgraded last June). I was unaware of the versioning and patches that are associated with the version of IMS that was installed. I will move forward with confirming with our portal vendor that the latest sp and patches will support the integrated IMS.
    >>
    >>
    How did you "migrate" your users to new login id?When you "copied" the files, did you re-set
    ownership/permisions of the files?
    I used the following process in a script to migrate
    the users from old login to new login:
    1. created the new login mailbox with mboxutil -c
    2. moved new mailbox to different partitions
    There is a utility/command that does all of this for you.
    mboxutil -r
    When you "moved" the mailbox, I assume you use unix cp, right? Bad Idea.
    current versions of mboxutil do this all for you, and don't need reconstruct afterwards.
    I suspect that you have either not properly "moved" your user in LDAP, folder database, or have gotten file ownership or permissions wrong after the move.
    Unix files are owned by a user and group, and have various read/write permissions set by the OS. YOu're on a Unix system, so you should know about such.I tried using the mboxutil -r initially but was getting a lot of errors with it in my test environment. In hindsight, I am thinking this had to do with the version of IMS I have installed. The unix file move was done with the IMS admin so would also own all the the messages etc on the OS side. I have obviously made a mess of things! So again, I will put in a support call to our portal vendor about how to proceed on this. I really appreciate your input into this.
    3. retrieved hashed directory information for old and
    new mailbox for user
    4. copied files from old to new mailbox with cp -R
    oldmailbox/* newmailbox/
    5. after all users were migrated, I did a reconstruct
    -f -r, and a reconstruct -f -m
    I am not sure what you mean by re-set
    ownership/permissions.
    Have you looked at the "default" log for an errormessage?
    I found the following errors in the default log:
    default.60.1093908097:[31/Aug/2004:04:15:01 -0600]
    cpmail stored[28697]: Store Critical: Error checking
    mailbox database: Ignoring log file:
    /usr/iplanet/ims52/msg-cpmail/store/mboxlist/log.00000
    00543: magic number 0, not 40988
    default.62.1094084554:[02/Sep/2004:04:15:02 -0600]
    cpmail stored[20883]: Store Critical: Error checking
    mailbox database: Ignoring log file:
    /usr/iplanet/ims52/msg-cpmail/store/mboxlist/log.00000
    00543: magic number 0, not 40988
    Your reconstruct command may have been wrong, too. That's what the errors are telling you.
    Also, there are other problems in your system. Permission problems, most likely.
    I would do a reconstruct -m, first. and see if the above goes away.I will proceed with what you suggested, and let you know the results. Again, thank you very much for your time and input for this.
    >>
    >>
    AS well, when I do a mboxutil -u on an affected user,
    the quota information says the user is well under
    quota. For example:
    $ mboxutil -u xxxxxxxxx
    diskquota size(K) %use msgquota msgs %use user
    25600 2604 10% no quota 19
    19 xxxxxxxxxxx
    The error message doesn't really have anything todo with quota.>>
    >>
    In imta/queue/ims-ms, the user has 183 messages
    waiting to be delivered. All of the messages say the
    user is over quota.
    Any suggestions?
    Randy, you need to re-think how you're moving users. You have somewhat messed up your mailstore. . . I will in re-think things. In fact, I have a number of users to migrate. I will stop what I am doing and get this right before I proceed! There is no sense compounding the problem when there is a better alternative. One thing for sure, I will continue using this forum before I proceed with messing with a production system!
    You may need to contact tech support for the immediate help you will need to straighten this all out.>>
    >>
    RandyThanks Jay.
    Randy

  • MQ adapter response queue not found.

    On OC4j server start up only the request quese is looked up.
    --------------The MDBs (ejb-jar.xml)----------------
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar id="ejb-jar_ID">
    <display-name>FCRJChannelsNH</display-name>
    <enterprise-beans>
    <message-driven id="MessageDriven_1093512188974">
    <ejb-name>FCRJNetworkHandlerMDB</ejb-name>
    <ejb-class>com.iflex.fcr.nh.FCRJNetworkHandlerMDB</ejb-class>
    <transaction-type>Bean</transaction-type>
    <message-driven-destination>
    <destination-type>javax.jms.Queue</destination-type>
    </message-driven-destination>
    <activation-config>
    <activation-config-property>
    <activation-config-property-name>
    DestinationType
    </activation-config-property-name>
    <activation-config-property-value>
    javax.jms.Queue
    </activation-config-property-value>
    </activation-config-property>
    <activation-config-property>
    <activation-config-property-name>
    DestinationName
    </activation-config-property-name>
    <activation-config-property-value>
    java:comp/resource/MQSeries/AtmChannelRequestQ1
    </activation-config-property-value>
    </activation-config-property>
    <activation-config-property>
    <activation-config-property-name>
    ConnectionFactoryJndiName
    </activation-config-property-name>
    <activation-config-property-value>
    java:comp/resource/MQSeries/LibyaQCF
    </activation-config-property-value>
    </activation-config-property>
    </activation-config>
    <env-entry>
    <description>
    Name of this application.
    </description>
    <env-entry-name>applicationName</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>CHANNELS</env-entry-value>
    </env-entry>
    <ejb-ref>
    <description>
    This is a reference to the transaction handler bean
    </description>
    <ejb-ref-name>ejb/TransactionHandlerBean</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.iflex.fcr.th.FCRJTransactionHandlerSessionHome</home>
    <remote>com.iflex.fcr.th.FCRJTransactionHandlerSessionRemote</remote>
    </ejb-ref>
    </message-driven>
    </enterprise-beans>
    </ejb-jar>
    --------------orion-ejb-jar.xml looks like this --------------
    <?xml version="1.0" encoding="utf-8"?>
    <orion-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-ejb-jar-10_0.xsd" deployment-version="10.1.3.0.0" deployment-time="10919c03f8d" schema-major-version="10" schema-minor-version="0" >
    <enterprise-beans>
    <message-driven-deployment name="FCRJNetworkHandlerMDB" wrapper-class="MessageListener_MessageEndpoint11" resource-adapter="MQChannelConnector">
    <ejb-ref-mapping name="ejb/TransactionHandlerBean" />
    <config-property>
    <config-property-name>DestinationType</config-property-name>
    <config-property-value>javax.jms.Queue</config-property-value>
    </config-property>
    <config-property>
    <config-property-name>DestinationName</config-property-name>
    <config-property-value>java:comp/resource/MQSeries/AtmChannelRequestQ1</config-property-value>
    </config-property>
    <config-property>
    <config-property-name>ConnectionFactoryJndiName</config-property-name>
    <config-property-value>java:comp/resource/MQSeries/LibyaQCF</config-property-value>
    </config-property>
    </message-driven-deployment>
    </enterprise-beans>
    <assembly-descriptor>
    <default-method-access>
    <security-role-mapping name="&lt;default-ejb-caller-role&gt;" impliesAll="true" />
    </default-method-access>
    </assembly-descriptor>
    </orion-ejb-jar>
    The server's console looks as below
    08/05/14 20:21:44 JMSResourceAdapter ctor
    08/05/14 20:21:44 JMSResourceAdapter::start() ENTER
    08/05/14 20:21:44 JMSResourceAdapter::start(), lookupMethod: resourceProvider, resourceProviderName: MQSeries
    08/05/14 20:21:44 JMSResourceAdapter::start() EXIT
    CommonMangedCFImpl(Queue)::ctor
    CommonMangedCFImpl(Queue)::setResourceAdapter
    CommonMangedCFImpl(Queue)::setJndiLocation, loc: LibyaQCF
    CommonMangedCFImpl(Queue)::createConnectionFactory() enter
    08/05/14 20:21:44 AdminObjectImpl (Queue)::setJndiName: AtmChannelRequestQ1
    08/05/14 20:21:44 AdminObjectImpl (Queue)::setResourceProviderName: MQSeries
    08/05/14 20:21:44 AdminObjectImpl (Queue)::setJndiName: AtmChannelResponseQ1
    08/05/14 20:21:44 AdminObjectImpl (Queue)::setResourceProviderName: MQSeries
    08/05/14 20:21:44 JMSActivationSpec::ctor
    08/05/14 20:21:44 JMSActivationSpec::setDestinationType, type: javax.jms.Queue
    08/05/14 20:21:44 JMSActivationSpec::setDestination, dest: java:comp/resource/MQSeries/AtmChannelRequestQ1
    08/05/14 20:21:44 JMSActivationSpec::setConnetionFactoryJndiName, loc: java:comp/resource/MQSeries/LibyaQCF
    08/05/14 20:21:44 JMSActivationSpec::setResourceAdapter
    08/05/14 20:21:44 JMSActivationSpec::validate
    08/05/14 20:21:44 JMSResourceAdapter::endpointActivation() ENTER
    08/05/14 20:21:44 EndpointConsumer::ctor
    08/05/14 20:21:44 WorkConsumer::ctor
    08/05/14 20:21:44 WorkConsumer(): Looking up: java:comp/resource/MQSeries/LibyaQCF
    08/05/14 20:21:44 WorkConsumer(): Looked up: java:comp/resource/MQSeries/LibyaQCF
    08/05/14 20:21:44 WorkConsumer(): Looking up: java:comp/resource/MQSeries/AtmChannelRequestQ1
    08/05/14 20:21:44 WorkConsumer(): Looked up: java:comp/resource/MQSeries/AtmChannelRequestQ1
    08/05/14 20:21:44 WorkConsumer::creating JMS conn/sess/rec
    08/05/14 20:21:45 EndpointConsumer::Started worker
    08/05/14 20:21:45 JMSResourceAdapter::endpointActivation() EXIT
    08/05/14 20:21:45 WorkConsumer::run method ENTER
    08/05/14 20:21:45 WorkConsumer::run(): created endpoint
    08/05/14 20:21:45 WorkConsumer::run(): beforeDelivery done
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 20625 ms.
    08/05/14 20:21:49 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
    08/05/14 20:21:56 On message...............................
    08/05/14 20:21:58 java.lang.NullPointerException
    08/05/14 20:21:58      at com.iflex.fcr.nh.FCRJNetworkHandlerMDB.onMessage(FCRJNetworkHandlerMDB.java:602)
    08/05/14 20:21:58      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    08/05/14 20:21:58      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    08/05/14 20:21:58      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    08/05/14 20:21:58      at java.lang.reflect.Method.invoke(Method.java:324)
    08/05/14 20:21:58      at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    08/05/14 20:21:58      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    08/05/14 20:21:58      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    08/05/14 20:21:58      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    08/05/14 20:21:58      at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
    08/05/14 20:21:58      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    08/05/14 20:21:58      at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    08/05/14 20:21:58      at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
    08/05/14 20:21:58      at FCRJNetworkHandlerMDB_EndPointProxy_205g09l.onMessage(Unknown Source)
    08/05/14 20:21:58      at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:122)
    08/05/14 20:21:58      at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    08/05/14 20:21:58      at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    08/05/14 20:21:58      at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    08/05/14 20:21:58      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
    08/05/14 20:21:58      at java.lang.Thread.run(Thread.java:534)
    08/05/14 20:21:58 WorkConsumer::run(): return from onMessage()
    08/05/14 20:21:58 WorkConsumer::run(): calling afterDelivery on:FCRJNetworkHandlerMDB_EndPointProxy_205g09l@12bed82
    08/05/14 20:21:58 WorkConsumer::run(): afterDelivery done
    08/05/14 20:21:58 WorkConsumer::run(): beforeDelivery done
    08/05/14 20:26:59 WorkConsumer::run(): calling afterDelivery on:FCRJNetworkHandlerMDB_EndPointProxy_205g09l@12bed82
    08/05/14 20:26:59 WorkConsumer::run(): afterDelivery done
    08/05/14 20:26:59 WorkConsumer::run(): beforeDelivery done
    08/05/14 20:32:00 WorkConsumer::run(): calling afterDelivery on:FCRJNetworkHandlerMDB_EndPointProxy_205g09l@12bed82
    08/05/14 20:32:00 WorkConsumer::run(): afterDelivery done
    08/05/14 20:32:00 WorkConsumer::run(): beforeDelivery done
    08/05/14 20:37:00 WorkConsumer::run(): calling afterDelivery on:FCRJNetworkHandlerMDB_EndPointProxy_205g09l@12bed82
    08/05/14 20:37:00 WorkConsumer::run(): afterDelivery done
    08/05/14 20:37:00 WorkConsumer::run(): beforeDelivery done

    Hi todd,
    Thanks for the reply and following is my aim.
    1) My client is a simple 'C' client which will place a messge in IBM MQ (in my case the queue name is IN.QUEUE) using the MQ client libraries.
    2) I expect the Tuxedo MQ adapter should pick up the message from the MQ(i.e. IN.QUEUE) and calls the Tuxedo service (TOUPPPER)
    a) As part of the MQ message i have filled the MQMD.ReplytoQ as OUT.QUEUE i.e. i am expecting the response of my tuxedo message in OUT.QUEUE
    b) Also i have configured the MQMD.Format as "MYUPPER", meaning as per my TM_MQI.CFG configuration it should call the TOUPPER tuxedo message
    3) What i expect is the response of the TOUPPER message should be put in my ReplyToQueue .i.e OUT.QUEUE.
    4) My simple 'C' client will read the MQ message from OUT.QUEUE.
    5) Everything works fine, expect the response message is not put in OUT.QUEUE.
    Regards,
    Kiruba.

  • MDB in a Cluster using Local JMS Queue (not distributed)

              Can I create a MDB that receives messages from a Local JMS Queue (created on each
              node) rather than a distributed queue?
              When I try to deploy such an MDB I get the following exception:
              weblogic.management.DeploymentException: Exception:weblogic.management.ApplicationException:
              activate failed for TestLocalMDBCluster Module: TestLocalMDBCluster Error: Exception
              activating module: EJBModule(TestLocalMDBCluster,status=PREPARED) Unable to deploy
              EJB: AsyncProcessor from TestLocalMDBCluster.jar: [EJB:011046]Unable to create
              EJBRuntimeMBean. javax.management.InstanceAlreadyExistsException: mydomain:ApplicationRuntime=Node2_TestLocalMDBCluster,EJBComponentRuntime=Node2_TestLocalMDBCluster_TestLocalMDBCluster,Location=Node2,Name=Node2_TestLocalMDBCluster_TestLocalMDBCluster_AsyncProcessor_jms/myserver,ServerRuntime=Node2,Type=MessageDrivenEJBRuntime
              at com.sun.management.jmx.RepositorySupport.addMBean(RepositorySupport.java:134)
              at com.sun.management.jmx.MBeanServerImpl.internal_addObject(MBeanServerImpl.java:2371)
              at com.sun.management.jmx.MBeanServerImpl.registerMBean(MBeanServerImpl.java:876)
              at weblogic.management.internal.RemoteMBeanServerImpl.private_registerMBean(RemoteMBeanServerImpl.java:582)
              at weblogic.management.internal.RemoteMBeanServerImpl.registerMBean(RemoteMBeanServerImpl.java:524)
              at weblogic.management.runtime.RuntimeMBeanDelegate.register(RuntimeMBeanDelegate.java:166)
              at weblogic.management.runtime.RuntimeMBeanDelegate.<init>(RuntimeMBeanDelegate.java:122)
              at weblogic.management.runtime.RuntimeMBeanDelegate.<init>(RuntimeMBeanDelegate.java:85)
              at weblogic.ejb20.monitoring.EJBRuntimeMBeanImpl.<init>(EJBRuntimeMBeanImpl.java:33)
              at weblogic.ejb20.monitoring.MessageDrivenEJBRuntimeMBeanImpl.<init>(MessageDrivenEJBRuntimeMBeanImpl.java:30)
              at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.initPool(MessageDrivenBeanPoolInfoImpl.java:182)
              at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.activate(MessageDrivenBeanPoolInfoImpl.java:245)
              at weblogic.ejb20.deployer.MessageDrivenBeanInfoImpl.activatePoolInfo(MessageDrivenBeanInfoImpl.java:474)
              at weblogic.ejb20.deployer.MessageDrivenBeanInfoImpl.deploy(MessageDrivenBeanInfoImpl.java:440)
              at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1327) at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:610)
              at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3127)
              at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2081)
              at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2062)
              at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2592)
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2515)
              at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2317)
              at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:608)
              at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              Is there any way to do this?
              

    I assume you are using queues.
              I truly wonder what you are doing different. Since the
              error is occuring outside of JMS and in the EJB - before JMS is called -
              I suggest posting to the ejb newsgroup.
              Note that yours is a standard use case which distributed destinations
              are actually specifically designed for (if you
              are using customer connection factories, just
              make sure ServerAffinity is enabled on the connection factory to
              ensure that clients always connect to the local physical destination,
              configure the MDB to refer to the JNDI name of the distributed
              destination, and then target the MDB to the cluster - an MDB pool
              will then automatically be dedicated to each physical destination).
              Tom
              Mark Colwell wrote:
              > Nope. It happens every time we try the scenario no matter what the application
              > is or which cluster. It always happens if we try to deploy even just a single
              > MDB (no other beans in the jar) to a cluster where the queue specified in the
              > deployment descripter is a local queue created on each node in the cluster. When
              > the jar is deployed we get the error.
              >
              > We have a strange situation were we really need the queue to be local and not
              > distributed but existing on every node. We can create all the local queues no
              > problem but trying to then deploy the application goes boom.
              >
              > Thanks for the response!
              >
              > Cheers,
              > Mark
              >
              > Tom Barnes <[email protected].bea.com>
              > wrote:
              >
              >>Mark Colwell wrote:
              >>
              >>
              >>>Can I create a MDB that receives messages from a Local JMS Queue (created
              >>
              >>on each
              >>
              >>>node) rather than a distributed queue?
              >>
              >>Yes. In fact this is the most common use case.
              >>
              >>
              >>>When I try to deploy such an MDB I get the following exception:
              >>
              >>I don't recall seeing this exception before. It looks like a naming
              >>conflict - it appears that somehow something is already running with
              >>the same name. Are you somehow deploying the same app twice?
              >>
              >>javax.management.InstanceAlreadyExistsException:
              >>mydomain:ApplicationRuntime=Node2_TestLocalMDBCluster,
              >>EJBComponentRuntime=Node2_TestLocalMDBCluster_TestLocalMDBCluster,
              >>Location=Node2,
              >>Name=Node2_TestLocalMDBCluster_TestLocalMDBCluster_AsyncProcessor_jms/myserver,
              >>ServerRuntime=Node2,
              >>Type=MessageDrivenEJBRuntime
              >>
              >>FYI: As of one or two weeks ago, the MDB section of the
              >>EJB docs has been heavily updated. I highly recommend
              >>reading it.
              >>
              >>
              >>>weblogic.management.DeploymentException: Exception:weblogic.management.ApplicationException:
              >>>activate failed for TestLocalMDBCluster Module: TestLocalMDBCluster
              >>
              >>Error: Exception
              >>
              >>>activating module: EJBModule(TestLocalMDBCluster,status=PREPARED) Unable
              >>
              >>to deploy
              >>
              >>>EJB: AsyncProcessor from TestLocalMDBCluster.jar: [EJB:011046]Unable
              >>
              >>to create
              >>
              >>>EJBRuntimeMBean. javax.management.InstanceAlreadyExistsException: mydomain:ApplicationRuntime=Node2_TestLocalMDBCluster,EJBComponentRuntime=Node2_TestLocalMDBCluster_TestLocalMDBCluster,Location=Node2,Name=Node2_TestLocalMDBCluster_TestLocalMDBCluster_AsyncProcessor_jms/myserver,ServerRuntime=Node2,Type=MessageDrivenEJBRuntime
              >>>at com.sun.management.jmx.RepositorySupport.addMBean(RepositorySupport.java:134)
              >>>at com.sun.management.jmx.MBeanServerImpl.internal_addObject(MBeanServerImpl.java:2371)
              >>>at com.sun.management.jmx.MBeanServerImpl.registerMBean(MBeanServerImpl.java:876)
              >>>at weblogic.management.internal.RemoteMBeanServerImpl.private_registerMBean(RemoteMBeanServerImpl.java:582)
              >>>at weblogic.management.internal.RemoteMBeanServerImpl.registerMBean(RemoteMBeanServerImpl.java:524)
              >>>at weblogic.management.runtime.RuntimeMBeanDelegate.register(RuntimeMBeanDelegate.java:166)
              >>>at weblogic.management.runtime.RuntimeMBeanDelegate.<init>(RuntimeMBeanDelegate.java:122)
              >>>at weblogic.management.runtime.RuntimeMBeanDelegate.<init>(RuntimeMBeanDelegate.java:85)
              >>>at weblogic.ejb20.monitoring.EJBRuntimeMBeanImpl.<init>(EJBRuntimeMBeanImpl.java:33)
              >>>at weblogic.ejb20.monitoring.MessageDrivenEJBRuntimeMBeanImpl.<init>(MessageDrivenEJBRuntimeMBeanImpl.java:30)
              >>>at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.initPool(MessageDrivenBeanPoolInfoImpl.java:182)
              >>>at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.activate(MessageDrivenBeanPoolInfoImpl.java:245)
              >>>at weblogic.ejb20.deployer.MessageDrivenBeanInfoImpl.activatePoolInfo(MessageDrivenBeanInfoImpl.java:474)
              >>>at weblogic.ejb20.deployer.MessageDrivenBeanInfoImpl.deploy(MessageDrivenBeanInfoImpl.java:440)
              >>>at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1327)
              >>
              >>at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:610)
              >>
              >>>at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3127)
              >>>at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2081)
              >>>at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2062)
              >>>at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2592)
              >>>at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2515)
              >>>at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2317)
              >>>at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:608)
              >>>at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
              >>>at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at
              >>
              >>weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              >>
              >>>Is there any way to do this?
              >>
              >
              

  • Payload level filter JMS Adapter with Queue - not filtering

    Hi ,
    I have created AQ Queue in my Database, Using JMS Adapter i am able consume and produce the messages. I want a filter condition, which is not happening.
    The scenario is i have a field ImportInd in my XSD and i need to pick the message with ImportInd = 1, otherwise the message should lie on the queue.
    Please help me in this,
    Thanks,
    Padmini

    Trying to give you the counterparts I have in my working example.
    In my case the queue is on a separate machine, and the BPEL is deployed on a separate machine. Cross-domain security config needs to be done for these machines to be able to talk.
    In weblogic console: where BPEL is running.
    under deployment jmsadapter -> Outbound Connections -> jndi name is jms/PRISMQueue -> ConnectionFactoryLocation Property is jms/SoaCF
    where queue is configured.
    Under JMS Module Connection Factory Name is SoaConnectionFactory which JNDI name is jms/SoaCF
    Under JMS Module Queue Name SOAPostActivityStatusQueue which JNDI name is jms.SOAPostActivityStatusQueue
    Services>Messaging>JMSModules>MyModule>SOAPostActivityStatusQueue>
    JNDI name - jms.SOAPostActivityStatusQueue
    Adapter in BPEL/Composite-
    Destination - jms.SOAPostActivityStatusQueue
    JNDI - jms/PRISMQueue
    JCA:
    <adapter-config name="PostResponseFromPCService" adapter="JMS Adapter" wsdlLocation="PostResponseFromPCService.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="jms/PRISMQueue" UIJmsProvider="WLSJMS" UIConnectionName="tacoma"/>
    <endpoint-activation portType="Consume_Message_ptt" operation="Consume_Message">
    <activation-spec className="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec">
    <property name="PayloadType" value="TextMessage"/>
    <property name="UseMessageListener" value="false"/>
    <property name="DestinationName" value="jms.SOAPostActivityStatusQueue"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>
    HTH.
    Thanks!

  • Web Service Client - SOAP/jms: Specific response queue (not default queue)?

    Hi @ll
    I try to define a specific jms response queue for a web service client that communicates SOAP/jms, running on a WLS 9.2. The web service itself runs also on a WLS 9.2 where also the request and response queues are located. By default the client receives the responses from a temporary response queue. Is there a way to define a specific response queue e.g. setting the JMSReplyTo property in the request on the client side?
    /cheers&greetz
    Dani

    WLS do not have a light SOAP client with callbacks yet. It is
    not a planed feature for 7.0, but we will considering this for
    post 7.0.
    regards,
    -manoj
    "markhu" <[email protected]> wrote in message
    news:[email protected]..
    Hi, guys:
    I have a system : client written in Java/Swing, HTTPS authentication,
    and then subscribes to a WLS 61. SP2 based JMS Topic and also has the
    ability to send message to a Queue, since I can not bring down the size of
    the client side WLS JMS dependency lib, I am thinking about using SOAP /
    web service as the communication tier between my client and server, so the
    question is: since the client need get the price updates in a real time
    mode, I need build a server side based PUSH for all the new price updates
    which come into the JMS Topic, and broadcast as SOAP messages to client,is
    this mean that I have to build the Call - Back for the Java Swing Client,so
    it can automatically get the new price updates as it's getting from JMS
    Topic now ? Any Idea on how to build server side PUSH based SOAP message
    center as web service ?? Thanks a lot.
    regards,
    mark
    FYI:
    I need the same PUSH service for my .NET based client as well.

  • Email in the queue not sent

    Hi All Apex friends
    I am using 4.2 on glassfish ,linux ,oracle 11 g
    I am trying to make send email work
    create or replace procedure email ( p_email  in    varchar2)
    is
        l_workspace_id      number;
        l_subject           varchar2(2000);
        l_body              clob;
        l_body_html         clob;
         l_email varchar2(40);
    begin
        l_workspace_id := apex_util.find_security_group_id (p_workspace => 'xyz');
        apex_util.set_security_group_id (p_security_group_id => l_workspace_id);
    l_email:= p_email;
        l_body := ' ';
        l_subject := 'You have new tasks';
        --if l_email=:P3_CONFIRM_EMAIL_ADDRESS is not null then
       -- email( l_email =>:P3_CONFIRM_EMAIL );
    -- end if;
            l_body_html := '<p/>The following tasks have been added.';
         apex_mail.send (
                p_to        => l_email ,
                p_from      => '[email protected]',
                p_body      => l_body,
                p_body_html => l_body_html,
                p_subj      => l_subject );
      APEX_MAIL.PUSH_QUEUE;
    end;
    select * from apex_mail_queue
    select * from  apex_mail_logBoth the queries has my TEST email but it not pushing the queue out
    Kindly suggest what to do ?

    You may need to Enable Network Services in the 11g Database (or get your DBA to do this for you).
    I think the reason being in 11g, Oracle tightened the security so users that needed to access network credentials like LDAP and Email required specific privileges granted. Unfortunately it seems you can’t grant it for the whole database, so it needs to be done for each schema/user on the database.
    See the APEX 4.2 Installation Guide, Setion 3.3.8 on 'Enabling Network Services'
    http://docs.oracle.com/cd/E37097_01/doc/install.42/e35123/otn_install.htm#BEHIFAJD
    Amanda.

  • Printer Queue Not Quitting

    I'm not sure if it's my system that causes this to happen or if this is just the way Mac OS X 10.5.6 and 10.5.7 are supposed to work. But every time I send a print job to any printer (we have three of them - one on ethernet and two USB connected printers), the printer queue always stays open after the print job is complete. This didn't happen in Mac OS X 10.4.11.
    The printer icon shows up in the dock as soon as I send the print job to the printer. Then the job prints. Once the print job is complete, the printer icon stays in the dock but I have to click on it to open the printer queue and then manually quit it. Shouldn't the printers just automatically quit and be removed from the dock when the print job is complete - like they did under Mac OS X 10.4.11?
    Having used Macs for 15 years, I always quit out of everything when it's not in use and this is kind of an annoyance - like having an extra application stay open all the time when it's not needed.
    Is there something that I haven't configured properly or a way around this?
    Thanks for your help,
    Gerard

    When I control clicked on the laserjet icon in the dock, I saw "Auto Quit" so I selected that. And now all the printers say "Auto Quit".
    That worked!
    Thanks SO MUCH,
    Gerard

  • ODS Activation queue not getting cleared after activation

    Dear Experts,
    I have a strange situation in my BI 7.0 system. Within one ODS I have an activation queue (new data table) of around 34Gb in size. As far as I know, this table should be empty, because all requests are activated correctly.
    Every night a delta is loaded into the ODS and there are no errors. But still the data remains also in the activation queue.
    In fact: All requests since the initialization still reside in the activation queue.
    My question is: Can I savely delete all data from the activation queue?
    It is only occuring for one ODS, all other ODS'es do clear the activation queue succesfully.
    Here is a part of the log for the last delta load, which might lead to the actual problem:
    07.10.2008 00:07:39 Program RSBATCH_EXECUTE_PROZESS successfully scheduled as job BIBCTL_D48V1ORBHRBOPNPN3S8I1RUEC with ID 00073900        RSM            703
    07.10.2008 00:07:40 Parallel processes (for Activation); 000003                                                                       RSODSO_TOOLS        018
    07.10.2008 00:07:40 Timeout for parallel process (for Activation): 000600                                                             RSODSO_TOOLS        019
    07.10.2008 00:07:40 Package size (for Activation): 020000                                                                             RSODSO_TOOLS        020
    07.10.2008 00:07:40 Task handling (for Activation): Backgr Process                                                                    RSODSO_TOOLS        021
    07.10.2008 00:07:40 Server group (for Activation): No Server Group Configured                                                         RSODSO_TOOLS        022
    07.10.2008 00:07:40 Parallel processes (for SID Gener.); 000003                                                                       RSODSO_TOOLS        018
    07.10.2008 00:07:40 Timeout for parallel process (for SID Gener.): 000600                                                             RSODSO_TOOLS        019
    07.10.2008 00:07:40 Package size (for SID Gener.): 020000                                                                             RSODSO_TOOLS        020
    07.10.2008 00:07:40 Task handling (for SID Gener.): Backgr Process                                                                    RSODSO_TOOLS        021
    07.10.2008 00:07:40 Server group (for SID Gener.): No Server Group Configured                                                         RSODSO_TOOLS        022
    07.10.2008 00:07:40 Activation started (process is running under user OLTP_RFC)                                                     RSODSO_PROCESSING     029
    07.10.2008 00:07:40 All data fields updated in mode "overwrite"                                                                       RSODSO_TOOLS        023
    07.10.2008 00:07:40 Process 000001 for determining SID for InfoObject 0STORNO started                                               RSODSO_PROCESSING     045
    Thanks,
    Steven Groot

    Dear Experts,
    Finally I got some input from SAP about this issue, which resolved the error.
    Within the table RSODSACTREQ, there was an entry with an errorstatus. This entry was the cause of the activation queuenot being deleted.
    As quoted by SAP in response to my OSS Message:
    The RSODSACTREQ table records requests which have been activated.
    However, sometimes this table can contain requests which have actually
    already been deleted.
    The timestamp for this request (REQU_ELCCK3YPESODU19NXQH9BQZ70) is the
    19th of Feb 07, yet there is no such request in the ODS (first request
    is the 20.02.2007).
    Such a request, which has an entry in RSODSACTREQ with status "2"
    will prevent deletion of the new data table.
    If the request does not exist anymore in the change log table and there
    is no data for the request in the active table, then you can resolve
    this inconsistency by deleting the entries for this request from table
    RSODSACTREQ, and then the activation queue will be truncated with the
    next successful activation.
    Maybe you can use this information if it is applicable to your situation as well.
    Regards,
    Steven Groot

  • JMS Queue Not bound

    Configured JMS communication to connect to external JMS Queue.
    When i see the status in Adapter monitor, it shows an error "Receiver channel details:<queuename> not bound".
    Would like to know , where is the problem this error is related to?
    Thnx
    Sunil

    Hi,
    First of all check all your configuration steps in the directory. i.e Receiver Determination/Interface Determination/Receiver Agreement etc
    Are you getting any error in the SXMB_MONI ?
    ALso check the RWB->Message Monitoring ->Message Display tool and check the status
    If there is no error in the above, if the error is only in the Adapter monitor, then check the Adapter configuration .
    Regards,
    moorthy

Maybe you are looking for

  • Using Formula variable in a key figure formula

    Hi Expert, Can anyone tell me how to use a formula variable to pass the fiscal year variable value (with offset values define in different columns) to the be used in the formula (if statements)? Currently, I create a formula variable using replacemen

  • Update to 6.2.9

    I am trying to update my appleworks from version 6.2.7 to 6.2.9. However it is not working. I live in Australia and both the international and U.S English versions do not work. I keep getting a message saying, that the updater is unable to find an in

  • ICal entries on my MacBook are GONE. How do I get them back?

    This is really strange. I've moved from MobileMe to iCloud on my MacBook, iMac, iPad and iPhone. I was closing a window on my MacBook and a message came up that said something to effect that if I close iCloud the Calendar will be deleted from this Ma

  • Suspicious Ethernet (Internet?) activity?

    My network router/modem has an led the blinks whenever there is ethernet activity ... and it blinks a lot, even if have no open apps except the finder and the dashboard ... and even when my mac is the only local net member (other than the router itse

  • Integration with Ariba

    Hello, Does anybody worked with integration of SAP R/3 with Ariba.  Can I get some documentation over that. Rgds, Mallik