Clearing down messages from Error Topic

We are using AIA Foundation Pack 2.3 and trung to develop interfaces between JDE and eBusiness Suite.
I am running some test scenarios which are failing and it is kicking off the AIA BPEL Error Handling.
From what I can see it writes the error message to a Queue and then retries the message. This is fine in a production environment but i've had issues when testing.
Is there any simple way of clearing these messages?
I've resulted to purging all the instances of the main process and undeploying the process and purging instances of the AIA Error Handling processes but this doesn't seem to be 100% successful.
When i've ended up redeploying the BPEL process its complained about invalid GUID.
There must be a simple way to do this, removing messages off the Error Topic?
Stuart

Hi Ziv,
The string is the (consumer-level) "subscription name" identifier that the server uses to identify the durable subscription within the scope of a (Connection level) "client-id" identifier .
Although connection-level "client-id"s are set in provider dependent style (and may not need setting by the client explicitly):
http://java.sun.com/products/jms/javadoc-102a/javax/jms/Connection.html#setClientID(java.lang.String)
The consumer-level "subscription name" identifier must be set by the client:
http://java.sun.com/products/jms/javadoc-102a/javax/jms/TopicSession.html#createDurableSubscriber(javax.jms.Topic,%20java.lang.String)
(The links are from the online docs to the 1.0.2a JMS API).
Basically you need to specifiy a uniquely identifiable name for the durable subscription. When you reconnect, pass the same "subscription name" in and your messages should be waiting for you!
Now, regarding the message expiration problem. Is it possible to run the test using a publisher that sends messages which do not expire (i.e. don't specifiy a time-to-live)? If you can receive these messages and you are sure you have reconnected within the 100min TTL (and all the machines in the test have the same or similar clock times) then it is possible that your provider may have a bug. I guess the other thing to try is to send persistent messages (if you aren't already) as maybe the provider is using some kind of optimization?
Cheers,
Tom
Arjuna Technologies Limited

Similar Messages

  • How to retreive all unconsumed messages from a topic with a MDB?

    Hello!
    I have a webapp that stores TextMessages in a Topic in WebLogic.
    I have an ejbapp (Message driven bean) that reads messages from the topic.
    If both are up and running the ejbapp reads all messages sent from the webapp to the topic.
    But if I stop the ejbapp for a while and sends a couple of messages to the topic and then deploy the ejbapp again, then the ejbapp does not read the unconsumed messages. If I send a new message to the topic the ejbapp reads that new messages but it does not get the previous messages that are on the topic.
    Is this the way it should work? Or could I get the message driven bean to consume all the messages that it has not consumed from the topic when it starts?
    My weblogic-ejb-jar.xml looks like:
    <!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN' 'http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>OrderManagerMDB</ejb-name>
    <message-driven-descriptor>
    <pool>
    <max-beans-in-free-pool>200</max-beans-in-free-pool>
    <initial-beans-in-free-pool>20</initial-beans-in-free-pool>
    </pool>
    <destination-jndi-name>jms/OrdersTopic</destination-jndi-name>
    <connection-factory-jndi-name>jms/OrdersConnectionFactory</connection-factory-jndi-name>
    </message-driven-descriptor>
    <enable-call-by-reference>True</enable-call-by-reference>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>And my ejb-jar.xml looks like:
    <!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>
    <enterprise-beans>
    <message-driven>
    <ejb-name>OrderManagerMDB</ejb-name>
    <ejb-class>brownbagwarehouse.OrderManagerMDB</ejb-class>
    <transaction-type>Container</transaction-type>
    <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
    <message-driven-destination>
    <destination-type>javax.jms.Topic</destination-type>
    </message-driven-destination>
    </message-driven>
    </enterprise-beans>
    </ejb-jar>My MDB onMessage looks like:
    public void onMessage(Message message)
    try
    TextMessage textMessage = (TextMessage)message;
    System.out.println(textMessage.getText());
    catch(Exception e)
    e.printStackTrace();
    }Best regards
    Fredrik

    I am not much familiar with Weblogic, but i would suggest, you do a search for how to setup "Durable Subscriptions" in Weblogic. This will ensure the the messages that were sent when the consumer was not available, will be delivered once the consumer is available

  • Jms adapter not polling messages from jms topic

    Hi
    We have a jms adapter configured in BPEL process which need to poll messages from JMS topic.Unfortunately its not polling message from JMS Topic if we add Message Selector and Durable Subscriber properties in jca file.Please find jca file content below
    <adapter-config name="SyncCustomerPartyListCDHJMSConsumer" adapter="JMS Adapter" wsdlLocation="oramds:/apps/AIAMetaData/AIAComponents/ApplicationConnectorServiceLibrary/CDH/V1/ProviderABCS/SyncCustomerPartyListCDHProvABCSImpl.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory location="eis/jms/aia/syncCustomerParty_cf" UIJmsProvider="WLSJMS" UIConnectionName="Dev"/>
      <endpoint-activation portType="Consume_Message_ptt" operation="Consume_Message">
        <activation-spec className="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec">
          <!--property name="DurableSubscriber" value="XYZ"/-->
          <property name="PayloadType" value="TextMessage"/>
          <!--property name="MessageSelector" value="Target in ('XYZ')"/-->
          <property name="UseMessageListener" value="true"/>
          <property name="DestinationName" value="jms/aia/Topic.jms.COMMON.CustomerParty.PUBLISH"/>
        </activation-spec>
      </endpoint-activation>
    </adapter-config>
    If we remove Durable subscriber and message selector properties,its able to poll messages.
    Any pointer will help
    thanks in advance
    Baji

    After changing below property in jca file.JMS adapter is able to poll messages from JMS Topic.
    <property name="UseMessageListener" value="false"/>
    But if i un comment below line and deploy my code again, it stop pulling the messages from topic.
    <property name="DurableSubscriber" value="XYZ"/>
    If i bounce the server after above change and deployment ,it will start polling the message.I am not sure why i need to restart my server after adding above property.
    Thanks
    Baji

  • How to remove a message from a Topic before it's consumed?

    Hi All,
              I'm using Weblogic JMS Extensions to publish messages to a topic so
              that consumers do not receive them for at least 1 hour after
              publishing. My problem is that I need to be able to delete selected
              messages from the topic sometimes before the consumers see it. I've
              looked everywhere but can't see a simple way of achieving this. Have I
              missed the obvious? (I hope I have!).
              Many thanks in advance.
              

    Essentially, the messages do not exist until that hour. There is
              currently no way to consume them.
              _sjz.
              "jim" <[email protected]> wrote in message
              news:[email protected]..
              > Hi All,
              >
              > I'm using Weblogic JMS Extensions to publish messages to a topic so
              > that consumers do not receive them for at least 1 hour after
              > publishing. My problem is that I need to be able to delete selected
              > messages from the topic sometimes before the consumers see it. I've
              > looked everywhere but can't see a simple way of achieving this. Have I
              > missed the obvious? (I hope I have!).
              >
              > Many thanks in advance.
              

  • How to retrive all unread messages from a topic?

    Hello!
              I have a webapp that stores TextMessages in a Topic in WebLogic.
              I have an ejbapp (Message driven bean) that reads messages from the topic.
              If both are up and running the ejbapp reads all messages sent from the webapp to the topic.
              But if I stop the ejbapp for a while and sends a couple of messages to the topic and then deploy the ejbapp again, then the ejbapp does not read the unconsumed messages. If I send a new message to the topic the ejbapp reads that new messages but it does not get the previous messages that are on the topic.
              Is this the way it should work? Or could I get the message driven bean to consume all the messages that it has not consumed from the topic when it starts?
              My weblogic-ejb-jar.xml looks like:
              <pre><!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN' 'http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd'>
              <weblogic-ejb-jar>
              <weblogic-enterprise-bean>
              <ejb-name>OrderManagerMDB</ejb-name>
              <message-driven-descriptor>
              <pool>
              <max-beans-in-free-pool>200</max-beans-in-free-pool>
              <initial-beans-in-free-pool>20</initial-beans-in-free-pool>
              </pool>
              <destination-jndi-name>jms/OrdersTopic</destination-jndi-name>
              <connection-factory-jndi-name>jms/OrdersConnectionFactory</connection-factory-jndi-name>
              </message-driven-descriptor>
              <enable-call-by-reference>True</enable-call-by-reference>
              </weblogic-enterprise-bean>
              </weblogic-ejb-jar></pre>
              And my ejb-jar.xml looks like:
              <pre><!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>
              <enterprise-beans>
              <message-driven>
              <ejb-name>OrderManagerMDB</ejb-name>
              <ejb-class>brownbagwarehouse.OrderManagerMDB</ejb-class>
              <transaction-type>Container</transaction-type>
              <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
              <message-driven-destination>
              <destination-type>javax.jms.Topic</destination-type>
              </message-driven-destination>
              </message-driven>
              </enterprise-beans>
              </ejb-jar></pre>
              My MDB onMessage looks like:
              <pre>public void onMessage(Message message)
                   try
                        TextMessage textMessage = (TextMessage)message;
                        System.out.println(textMessage.getText());
                   catch(Exception e)
                        e.printStackTrace();
              </pre>
              Best regards
              Fredrik

    For subscriptions to continue to exist even while no subscriber is attached they need to be "durable". See the EJB programmer's guide, and search for "durable" in the MDB doc.
              In JMS terminology these are termed "durable subscriptions".
              Tom

  • Error in java code for removing messages from a Topic

    Trying to write a code using oracle.jms package to remove messages from Topic. I have a similar code with javax.jms package for removing messages from Queue and it is working well. Whereas i have written this new code for removing messages from topic using oracle.jms package as methods like CreateBrowser and CreateTopicReceiver for topic are provided in oracle package only and can't be used from javax.jms package.
    Error i am getting is JMS-126: Invalid Topic specified at
             receiverTopic   = (Topic) ctx.lookup(((String)receiverProps.get( "Q_NAME")).trim()  );
             System.out.println ("receiverTopic is[" + receiverTopic + "]");
             MBeanHome home = (MBeanHome) Helper.getAdminMBeanHome("username","pwd","url:port");
             ((AQjmsSession)topicSession).grantSystemPrivilege("MANAGE_ANY", "SA", true);
             for(Iterator i = home.getMBeansByType("JMSTopic").iterator();i.hasNext(); )
              WebLogicMBean wmb = (WebLogicMBean)i.next();
              System.out.println("topic name found: " + wmb.getName());
                topicBrowser   = ((AQjmsSession) topicSession).createBrowser(receiverTopic, "Edin");topic handle which i am receiving in receiverTopic is same as what i am expecting but still it says Invalid topic specified on createBrowser method. Anyone who can help me to write this type of code, please reply. If anyone has ready code for this situation, please reply with the same as i am working on a prodcution system and we are in serious situation to resolve this problem.

    Hi,
    I am afraid this is impossible. You need to find another solution like a filtering queue. Your messages can be sent to a queue that is monitored by let say a MDB. This MDB will maintain a map of title and only forward once a given title/message to your topic.
    Hope it helps.
    Arnaud
    www.arjuna.com

  • Error messages from Error Log using using CJ40 transcation

    Hi All,
    when i was doing call transcation for CJ40 transcation. on the screen while check syntactical error check there were some errors below.
        Total plan value less than cumulative plan value
        - l2:              2,900.00 <            8,900.00  (AUD)
        - l3:              2,900.00 <            8,900.00  (AUD)
    The Call transaction on CJ40 results in a generic error message in the error table.
    Errors found --> Access the error log
    Need a way to retrieve the error message from the Error Log,
    Thanks,
    Nelson Karunakar

    Hi Nelson Karunakar,
    When we are loading cost plan for particular project which contains multiple WBS elements,
    First we need to enter the cost plant for LEVEL 1 WBS element ( which is nothing but same name as parent project) and save then only we can enter the cost plant for remaining WBS elements for that particulr Parent project.
    If you load the cost plan for LEVEL 1 WBS Elemts first and save it an then enter the values for remaining WBS elements you never get that error message again.
    Thanks,
    Sriram.

  • Change message from error to Warning

    Hi,
    I need to change message No. MM038 to warning from error message. I have tried:
    SPRO-->Materials Management --> Purchasing --> Environment Data --> Define Attributes of System Messages --> System Messages
    but could not find or add my message there.
    MM038 message appears in Forecasting view of Material Master.
    Description of message MM038 is : "You may not add material as reference to itself"
    Thanks,
    Yuvnish

    this message is not customizable. it is a hardcoded error.
    ** Check for rekursive definition:
    * 1. does the given mat. have a usagemat.
    * 2. does another mat have us as usagemat.
    *0.
        IF MARC_VRBMT EQ P_MARA_MATNR AND
           MARC_VRBWK EQ P_MARC_WERKS.
          MESSAGE E038(MM) RAISING ERROR_VRBMT.
        ENDIF.

  • Get back the Message from JMS Topic

    Hi,
    I want to Process message came to the JMS topic (say for past 10 days) in PRODUCTION environment . Is there any way i can get those messages from Persistent Store(File/JDBC).Any sugesstions????
    thanks in advance...

    As far as I think you can not directly read messages from persistence store without putting the message integrity at stake.
    Also, do you know if the messages are actually in the persistence store? Messages will persisted by the Topic only if there is any durable subscriber is there which has not read those messages. If there are no durable subscribers or if all durable subscribers have read their copy of the message from Topic the messages will be removed from persistence storage.

  • Clearing down records from CRMD_EVENT_TRACE

    Hi,
    Can anyone provide me with a method for clearing down entries in CRMD_EVENT_TRACE.
    NOTE: SAP Note 1042641 (Event Handler: dump in trace mode) has been applied, the effect of which temporarily stores the trace report data in table INDX.

    Hello Sergio,
    set parameter CRM_EVENT_TRACE to space, call transaction CRMD_ORDER, set CRM_EVENT_TRACE back to X, and call transaction CRMD_ORDER again. Then, CRMD_EVENT_TRACE only contains events of the latest call of CRMD_ORDER.
    Best regards
    Jeremy

  • Getting DOM Parsing Exception in translator while Dequeuing the message from JMS topic

    Hi All,
    Hope you all doing good.
    I have an issue.
    I am running on 11.1.1.5 SOA suite version on Linux.
    In my aplication I have 4 projects which are connected by with topic/queue.
    But in one of the communication, the JMS topic throws me the below error in the log, but dequeue happend perfectly fine and the application runs smoothly.
    [ERROR] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@530c530c] [userId: <anonymous>
    ] [ecid: 5552564bd7cf9140:-117a2347:142149c715a:-8000-00000000069dd133,0] [APP: soa-infra] JMSAdapter <project1>
    JmsConsumer_sendInboundMessage:[des
    tination = <TOPIC NAME>  subscriber = <Consumer project name>
    Error (DOM Parsing Exception in translator.[[
    DOM parsing exception in inbound XSD translator while parsing InputStream.
    Please make sure that the xml data is valid.
    ) while preparing to send XMLRecord JmsXMLRecord
    [ERROR] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@530c530c] [userId: <anonymous>
    ] [ecid: 5552564bd7cf9140:-117a2347:142149c715a:-8000-00000000069dd133,0] [APP: soa-infra] JMSAdapter <project name>
    java.lang.Exception: DOM Parsing Exception in translator.
    DOM parsing exception in inbound XSD translator while parsing InputStream.
    Please make sure that the xml data is valid.
            at oracle.tip.adapter.jms.inbound.JmsConsumer.translateFromNative(JmsConsumer.java:603)
            at oracle.tip.adapter.jms.inbound.JmsConsumer.sendInboundMessage(JmsConsumer.java:403)
            at oracle.tip.adapter.jms.inbound.JmsConsumer.send(JmsConsumer.java:1161)
            at oracle.tip.adapter.jms.inbound.JmsConsumer.run(JmsConsumer.java:1048)
            at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
            at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
            at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    But when I try putting the archived data on this topic, it throws me the same error but even dequeuing doesnt happen.
    I have extracted the payload and validated against the xsd, it looks fine and even the validator doesnt throw me any error.
    But I guess I am missing something, which I am immediately not getting.
    Please let me know, if I am soemthing here which is causing this erro.
    Thanks,
    Chandru

    I searched about this error, but no luck.
    First time when the message dequeues, the consumer can consume the message but throws the error in the log.
    But when I put the message back into queue from archive directory, the consumer doesnt consume message and throws me the same error.
    Does anyone faced this sort of issue.
    I checked my xsd throughly, and validated it externally. but didnt fine any error.
    if anyone knows, suggest me how to resolve this issue.
    thanks & regards
    Chandru

  • Recieving messages from this topic even though I am not Subscribed !

    Even though I am not subscribed to this topic, this is sending me 50 messages a day. How do I get rid of it?
    I have already checked my subscription settings.
    If anyone from apple is reading this, I need this resolved please.

    You may be subscribed in the larger category. I'm sure you have checked the "my subscriptions" to the right in this discussion forum. I'm new to this forum and just getting used to it, so I'm not sure if this will help. You would see a "binoculars" avatar next to your subscribed topics. Plus, in the "my subscriptions" page, check the two top choices. You may have "yes" checked for topics that you create AND for topics that you respond to. This will create susbscriptions of which you may not be aware. Again, just some ideas. I"m a "newbie." BF

  • Receive asynchronous message from JMS  topic over web service

    Hi,
    I have a JMS topic and I want to expose it as a web service so that clients can
    make durable subcription to the topic and receive messages asynchronously. What
    is the best way of doing this ? Is there a portable (to other containers) way
    of do this ? If not, is there a web logic specific way of doing this ?
    Thanks,
    Siva

    So you expect clients to be receiving SOAP messages over HTTP? In this
    case, the clients are really servers that are capable of servicing SOAP
    requests, correct? And how about the senders: are they also using
    SOAP/HTTP to send messages that are delivered to the receivers?
    It should be possible to write this yourself using JMS not as the
    transport, but as a mechanism for distributing the message to a set of
    clients. You'll need to implement a Web Service for publishing to a
    topic, an operation for registering an end point to recieve messages,
    and an MDB (or other form of JMS subscriber) executing on the server to
    relay the message to the end point.
    Siva wrote:
    Hi,
    I have a JMS topic and I want to expose it as a web service so that clients can
    make durable subcription to the topic and receive messages asynchronously. What
    is the best way of doing this ? Is there a portable (to other containers) way
    of do this ? If not, is there a web logic specific way of doing this ?
    Thanks,
    Siva

  • Clearing message from log

    Hi..I checked the different threads in the forum but could not get an answer to this.
    I am using an implementation of the BADI - ME_PROCESS_PO_CUST, for making some custom checks during create / change Purchase order (Transaction - ME21n / ME22n).
    When there is an error, I issue a message using the macro -         mmpur_message_forced 'E' 'ZMM' '007' text-e09 '' '' ''.
    Also I am calling the below method to invalidate the item.
    CALL METHOD im_item->invalidate( ).
    This works exactly as required but the problem is, even after correcting the error I am not able to remove the issued error message from the log(the log is displayed when we press "Check").
    Could someone help me out?
    Thanks,
    Ram.

    Hi ,
    I think there is no need to clear the message from log. As log history is used to track the messages which occured at variuos point during the cycle.
    Even if you want to delete the message then you might have to delete it from the table where it is getting stored.
    just check the table where the log entries are getting stored and delete the entry when you provide the corrective,
    Regards,
    Nitin

  • Reading old message from Topic or queue

    How i can read old message from jms topic or queue?

    It depends on what you mean by "old" and what your JMS implementation is. Old as in expired or as in previously delivered?
    Sending expired or previously delivered messages with DropboxMQ is as simple as moving the message files around using a shell or file explorer.
    http://dropboxmq.sourceforge.net
    Dwayne

Maybe you are looking for

  • How can i connect remote to Timecapsule with iCloud?

    Hello, i use my Timecapsule very often viar internet / remote (e.G. in Work and so on) with Mobile Me, but now i change to iCloud and i get an Error when i try to connect with my iCloud Logindata on the Timecapsule settings. Is it not possible to use

  • Network Drives and Bugs - A Word of Caution

    A couple of weeks ago I replaced my trusty Buffalo 802.11b/g wireless router with an AirPort Extreme Base Station so that I could set up a network drive using a 500GB USB hard drive attached to the AEBS, which was considerably less expensive than buy

  • I click on a link to open a new window nothing shows up - i.e. if I click on 'enlarge' on an Ebay auction photo a new windoiw opens but it's blank inside.

    I'm running Firefox 3.6.13 and if I click on a link to open a new window nothing shows up - i.e. if I click on 'enlarge' on an Ebay auction photo a new window opens but it's blank inside. Any ideas please? I've tried uninstalling and re-installing, a

  • SIP invite error on UC520

    Am setting up a SIP trunk on a UC520.  Outbound calling is working fine.  Inbound is not. The SIP invite comes in but is rejected with a: SPI_validate_own_ip_addr: ReqLine IP addr  does not match with host IP addr I suspect this is caused by the fact

  • Adobe Lightroom 4 Student Teacher edition

    I recently purchased Lightroom 4 and have used it successfully on my laptop. I go to college online and had to replace my laptop because it was unreliable and would restart without telling me (this is horribly bad if I'm in the middle of an exam!) So