Processing messages from MQ by JMS adapter

Hi,
I have a JMS adapter which reads messages from MQ and invokes a real time service.
I am facing a problem.
Suppose after processing my 3rd message fails , i get the error
com.acta.adapter.sdk.RecoverableOperationAdapterException: JMS GET OPERATION ERROR : TIMEOUT.UNABLE TO RECEIVE RESPONSE FROM THE INVOKED DATA SERVICES SERVICE.ADAPTER OPERATION TO CONTINUE.
Now ideally the error messages should go into an error queue and the remaining messages should be processed.
But the remaining messages are also not getting processed.All subsequent  messages after erroneous message also get into error q.
I have set continue after error property(In operations configuration) to True.
I am using Get operation for JMS adapter.
Any idea what could solve this issue?

Hi Manoj,
I have a very similar if not identical issue,
Error while running realtime jobs that read from JMS tables via JMS MQ adapter:
15/11/12 09:10:08  JMS GET OPERATION ERROR : TIMEOUT.UNABLE TO RECEIVE RESPONSE FROM THE INVOKED DATA SERVICES SERVICE.ADAPTER OPERA
TION TO CONTINUE.
15/11/12 09:10:15  Communication Error. See real time job log for details.
Dump available:
https://sapmats.wdf.sap.corp/download/download.cgi?id=5C0KZAHA3RSXBJW3ABLMUUT2P5UUKWO2TM3EJDM5W2HGDZUDID
Version of DS:14.0.3.273
Any comments?
Thansk and kind Regards,
Kenneth

Similar Messages

  • MDB,MDB container or JMS adapter stops processing messages from JMS queue

    Hi guys,
    we have created a component using Enterprise Java Beans, let's say a product catalog, deployed it on a Glassfish v2 instance, and connected it to a legacy system using JMS and Sun MQ v4.1 as messaging system. The catalog component thus starts one MDB that listens on a JMS queue, let's say a queue named catalog_business_events_in, and waits for incoming messages, i.e. in our case update events. The problem is, that in general this approach works well, but sometimes the MDBs/JMS adapter stops for some reason fetching and processing messages from the JMS queue. We don't know why - no exceptions, etc.. Seems to be a Glassfish EJB container, JMS adapter or Sun MQ configuration issue. It seems to be that our component is not the problem.
    The messages are compressed/uncompressed by Sun MQ automatically. We actually have 2 Sun MQ instances in clustered mode running to have some kind of failover - no HA cluster, yet. Sun MQ instances are accessed from Glassfish instances running in different Glassfish clusters - so we have a dedicated Sun MQ cluster not a Sun MQ instance per Glassfish instance. Each Glassfish instance is configured such that it knows both Sun MQ instances to allow automatic failover.
    Has someone an idea, why the MDBs/ MDB container/ JMS adapter - stops processing messages? We are kind of puzzled as it happens more often now and apparently when traffic is (very) low not high!
    Thanks for your help.
    Cheers,
    Martin
    Edited by: east1979 on Jan 13, 2009 8:06 AM

    Hi Manoj,
    I have a very similar if not identical issue,
    Error while running realtime jobs that read from JMS tables via JMS MQ adapter:
    15/11/12 09:10:08  JMS GET OPERATION ERROR : TIMEOUT.UNABLE TO RECEIVE RESPONSE FROM THE INVOKED DATA SERVICES SERVICE.ADAPTER OPERA
    TION TO CONTINUE.
    15/11/12 09:10:15  Communication Error. See real time job log for details.
    Dump available:
    https://sapmats.wdf.sap.corp/download/download.cgi?id=5C0KZAHA3RSXBJW3ABLMUUT2P5UUKWO2TM3EJDM5W2HGDZUDID
    Version of DS:14.0.3.273
    Any comments?
    Thansk and kind Regards,
    Kenneth

  • What are the best ways (for best performance) in MII to process the incoming process messages from shop floor systems to SAP ECC 6.0 and vice versa?

    Hi All,
    Can you please suggest to choose the best ways (for best performance) in MII (12.2 on NW 7.3), to process the incoming process messages from shop floor systems to SAP ECC 6.0 and vice versa?
    Thanks

    Hi Surya,
    Best practices for flow of data from ECC --> SAP MII --> Shop floor & Vice verse:
    1. Send ECC data through IDOC's/RFC's as messages to SAP MII message listener and BSL transaction process data and update directly on shop floor database as if you configured in Data services or later send those data by web service to shop floor system (i.e. depends on Shop floor machines).
    From Shop floor:
    shop floor --> SAP MII --> ECC
    1. Use either Web service or fetch data from DB and pass data to BAPI's  for sending to ECC through BLS transaction.
    Regards,
    Praveen Reddy

  • Exporting processed messages from adapter engine monitoring to excel

    Hey experts,
    I have some messages that are processed successfully. I can see them in the message monitoring for adapter engine in the RWB. I want to know if there is a way to export these messages to excel file.
    Also we have a files archived by PI with a .001 extension attached to them. Is there a way to open these files and look at the processed messages?
    Any help would be greatly appreciated.
    Regards.

    I can see them in the message monitoring for adapter engine in the RWB. I want to know if there is a way to export these messages to excel file.
    I don't think so.But you can right click.Select View Source.And then save the message in a notepad.
    Also we have a files archived by PI with a .001 extension attached to them. Is there a way to open these files and look at the processed messages?
    I don't get this! You can open these files by doing a right click.Open with wordpad.

  • How to set MQ message header properties using JMS adapter? (10.1.2)

    Hello,
    I am trying to send MQ messages from a BPEL process. We are using OAS 10.1.2 and JMS MQ adapter. Could you please let me know how to set the message descriptors like message format, type, report and reply to queue properties and queue open options (in jmsAdapterOutboundHeader).
    Regards,
    Geratayya

    put something like this
    <activationAgents>
          <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="PARNERLINKNAME">
            <property name="clusterGroupId">SOMEUNIQUEVALUE</property>
            <property name="portType">PARTNERLINK_PORTTYPE</property>
          </activationAgent>
        </activationAgents>

  • Messages Lost in MQueue: JMS Adapter

    Hi All
    It seems that we are loosing some messages after they have been succesfully send to the Queue using JMS Adapter.
    I checked in Message Monitor and RunTime workbench- Message Monitoring. Have send some 10-15 messages and their status is succesful. Though the message recieved in MQ are only 5. And there are no messages with error.
    What could be the reason, and how to check for the same.
    Best Regards
    Swetank

    Hi Prateek,
    i dont think by adapter module in this scenario you can raise an alert......because the problem is with uniqueness of msgID.........but every msg has a msgID so your adapter module will process every msg in the sameway.........but since the msgID is same, then only the first msg will be processed and the other msgs when they will try to store their msg processing data in XI database, they will fail because already the first msg processing data has that msgID, so the remaining msgs will be rollbacked by XI.............
    Hi Claudio,
    you will have to find a way in MQ to stop this thing of multiple msgs being generated by same msgID......i think there may be some property in MQ which will decide how and when a new msgID should be generated........just see this thing in MQ.............there should be a way in MQ which shall generate a unique msgID for each msg.........
    Thanks,
    Rajeev Gupta

  • Message "Lost" in a JMS adapter.

    hi to all,
    i need to connect XI to IBM Websphere MQ, using JMS adapter.
    I did it well, i can exchange the message perfectly, but i have a strange behavior when websphere send message(XML) on queue with same_msgId for all message.
    In this case i receive just the first of a series of message, and i "loose" the other, i know that the problem is the unique msgId of MQ, but how can i catch the error in jms adapter?
    or how can i keep persistent the message in queue?
    i've check the flag 'Transactional JMS session' to keep it persistent.
    I wold like that mine JMS adapter answer with an error or don't consume the message keeping it in the queue.
    thanks in advance
    Claudio.

    Hi Prateek,
    i dont think by adapter module in this scenario you can raise an alert......because the problem is with uniqueness of msgID.........but every msg has a msgID so your adapter module will process every msg in the sameway.........but since the msgID is same, then only the first msg will be processed and the other msgs when they will try to store their msg processing data in XI database, they will fail because already the first msg processing data has that msgID, so the remaining msgs will be rollbacked by XI.............
    Hi Claudio,
    you will have to find a way in MQ to stop this thing of multiple msgs being generated by same msgID......i think there may be some property in MQ which will decide how and when a new msgID should be generated........just see this thing in MQ.............there should be a way in MQ which shall generate a unique msgID for each msg.........
    Thanks,
    Rajeev Gupta

  • Accessing JMS UDD deployed on OSB cluster from a composite JMS adapter deployed on soa cluster

    Our environment setup
    Single domain with three clusters
    osb_cluster.soa_cluster and   bam_cluster
    osb_cluster: osb_server1 and osb_server2
    wlsbJMSServer_auto_1: targetted to osb_server1
    wlsbJMSServer_auto_2: targetted to osb_server2
    osb_subdeployment1:targetted to wlsbJMSServer_auto_1 and wlsbJMSServer_auto_2 JMS servers
    osb_subdeployment1 has JMS UDD queue jms/wlsb/queue
    soa_cluster: soa_server1 and soa_server2
    There is a BPEL composite deployed to soa_cluster. It has JMS adapter trying to read messages from jms/wlsb/queue
    JCA JMSAdapter is deployed to osb,soa clusters and Admin server
    ConnectionFactory is targetted to soa and osb clusters (osb_cluster and soa_cluster)
    We have bounced soa and osb  servers(not admin) after jms changes.
    soa log says
    JMSAdapter Composite1l JmsDDEndpoint_onFailure: Unable to resolve 'jms.wlsb.queue. Resolved 'jms'
    Can we access JMS destinations deployed  on one cluster from different cluster?
    If yes, how can we do that ? do we need  to modify BPEL JCA file to indicate destination is on another cluster?
    Thanks,
    Praveen

    Anybody has faced similar issue?

  • Unable to dequeue messages from queue by AQ Adapter

    Hi All,
    I am using XE database and I have created the datasource and JNDI for it in Weblogic Console. I am giving this databse connection in AQ Adapter. While deploying the composite, it is creating below error in EM console. Not sure where is the problem. Could someone please suggest what to do in this case.
    AdapterFrameworkImpl::endpointActivation - Endpoint Activation Error.
    The Resource Adapter AQ Adapter was unable to activate the endpoint oracle.tip.adapter.aq.inbound.AQDequeueActivationSpec:{SchemaValidation=false, QueueName=ETH_QUEUE, DatabaseSchema=HR} due to the following reason: javax.resource.spi.IllegalStateException: [Connector:199176]Unable to execute allocateConnection(...) on ConnectionManager. A stale Connection Factory or Connection Handle may be used. The connection pool associated with it has already been destroyed. Try to re-lookup Connection Factory eis/AQTest from JNDI and get a new Connection Handle.
    Please correct the reported issue and redeploy the BPEL process.
    at oracle.integration.platform.blocks.adapter.fw.impl.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:513)
    at oracle.integration.platform.blocks.adapter.fw.jca.lifecycle.JCAEndpointActivation.performEndpointActivation(JCAEndpointActivation.java:637)
    at oracle.integration.platform.blocks.adapter.fw.jca.lifecycle.JCAEndpointActivation.activateInboundJcaEndpoint(JCAEndpointActivation.java:620)
    at oracle.integration.platform.blocks.adapter.fw.jca.lifecycle.JCAEndpointActivation.performActivation(JCAEndpointActivation.java:383)
    at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceRevision.endpointActivation(AdapterServiceRevisionRegistry.java:583)
    ... 50 more
    Caused by: javax.resource.spi.IllegalStateException: [Connector:199176]Unable to execute allocateConnection(...) on ConnectionManager. A stale Connection Factory or Connection Handle may be used. The connection pool associated with it has already been destroyed. Try to re-lookup Connection Factory eis/AQTest from JNDI and get a new Connection Handle.
    at weblogic.connector.outbound.ConnectionManagerImpl.checkIfPoolIsValid(ConnectionManagerImpl.java:442)
    at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:109)
    at oracle.tip.adapter.aq.v2.jca.AQConnectionFactory.getConnection(AQConnectionFactory.java:83)
    at oracle.tip.adapter.aq.v2.database.DBDequeueAgentFactory.createDBDequeueAgent(DBDequeueAgentFactory.java:43)
    at oracle.tip.adapter.aq.v2.AQEndpoint.activate(AQEndpoint.java:55)
    at oracle.tip.adapter.aq.v2.jca.AQResourceAdapter.endpointActivation(AQResourceAdapter.java:62)
    at oracle.integration.platform.blocks.adapter.fw.impl.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:494)
    ... 54 more
    Thanks,
    Dhiraj Mishra

    A stale Connection Factory or Connection Handle may be used in SOA 11g
    Regards,
    Anuj

  • MQ Series - Error while reading messages from MQ in Sender adapter if EOIO

    Dear all,
    we've configured a scenario with a sending JMS-adapter (MQSeries). With configured Quality-Of-Service = EO everything works fine. If we switch to Quality-Of-Service = EOIO we get the following error message:
    com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: Could not assign next free EOIO sequence number for SC: OUTBOUND_TEST_MQ_SERIES_QUEUE_4__. Reason: Problem inserting b315acf4-61f3-42dc-3642-85450666fe91(OUTBOUND) into the database: java.lang.NullPointerException: DeliveryException: Could not assign next free EOIO sequence number for SC: OUTBOUND_TEST_MQ_SERIES_QUEUE_4__. Reason: Problem inserting b315acf4-61f3-42dc-3642-85450666fe91(OUTBOUND) into the database: java.lang.NullPointerException at com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:105)
    Any ideas?
    Kind regards, Stefan

    We have the same issue, how did you solve yours?
    For us it works fine with EO but EOIO fails with the same error message...
    Kr,
    Frederik-Jan.

  • Accessing Tibco-EMS queue from XI(using JMS adapter)

    Hi All,
    I am currently working on a Tibco Integration scenario with XI thru JMS(Sender) adapter. I have gone through some of our SDN forum threads and come to know that we have to deploy some TIBCO specific jar files to the fetch data from TIBCO-EMS queues. But still have the following query on
    1. what are all the JAR files(TIBCO JMS libraries) needed to be installed in SAP J2EE engine? I have got the following JAR files from TIBCO guys...
    tibcrypt.jar
    tibjms.jar
    tibjmsadmin.jar
    tibjmsapps.jar
    tibrvjms.jar
    regards,
    Raks

    Hi Raks,
    Check this note for JNDI configuration..
    802754
    "If a 3rd party JMS provider should be used then usually the "Name of JNDI initial context factory" must be adjusted. I.e. com.sap.engine.services.jndi.InitialContextFactoryImpl must be replaced by some.other.vendor.jms.jndi.InitialContextFactory In addition it is necessary to deploy the jar that contains the some.other.vendor.jms.jndi.InitialContextFactory with the aii_af_jmsproviderlib.sda SDA file. In addition, you must extend the server/provider.xml deployment descriptor in the relevant way. Refer to Chapter 11 of the XI 3.0 Configuration Guide for more information"
    You need to find out class "Name of JNDI initial context factory" for tibco  as mentoned in the note and deploy the corresponding JAR file.
    Also check this link for JNDI configuration parameters in the JMs adapter..
    http://help.sap.com/saphelp_nw04/helpdata/en/c1/739c4186c2a409e10000000a155106/content.htm
    Regards
    Anand

  • Sending Process Message from PI Sheets without "Completing" it

    Hi,
    We have long running process orders in our scenarios (typically lasting 3 days).
    We are planning to use PI sheets to manage our goods issue/receipts/confirmations. During the brief evaluation of characteristics based PI sheets, we found that all the GI/GR process messages are created only when the entire PI sheet is "Completed".
    Since ours is a long running process, we need that the GI/GR entered by the operator is posted immediately in the system (without waiting for PI sheet completion). We can not wait till all the data is entered and the process order is completed three days later.
    How do we handle this problem?
    We thought of using custom function modules. However, that will mean that we will loose the benefits of the standard GUI elements of PI sheets and complications of custom development.
    Any response will be highly appreciated.
    Regards,
    Kundan

    Here is something you can try.
    With the browser based sheets, try putting in a signature PI category (SAP provide "SIGN") which tends to create a message and place it in the message monitor.  By scheduling the message send background job to run periodically you can pick up and send the messages.  You can schedule this job to run after the event "NEW MESSAGE" but beware the system performance - every 5 mins or so tends to be almost as good with less strain on system resources!
    I tend to create a table based PI category to contain each reservation plus room to add actual goods issues/receipts.  Once these are entered, a signature category sends all the messages for the particular phase.  Thus good structure of phases is important.
    For goods receipts, you may need to have a phase for each day against which to post a confirmation and/or goods receipt and this together with signature will send the messages.  Alternately, use a PI Category to call the transaction for performing goods receipt - or a bespoke transaction to "front end" the goods receipt - you can pass parameters when you call transactions so you can could pre-populate some information.
    Final point on signature - you can set a simple signature that just accepts whatever the user enters on the screen - typically their initials.
    Regards
    Laurence

  • Is it possible to quickly delete all processed messages from XI

    Hi all,
    In our project systems I would like to remove all messages from the system after testing phase.
    We run XI 3.0 sp18 (soon sp20).
    I do know about archiving but it seems we cannot start
    the archiving because of some large message being stuck.
    I know we should adress that problem, but in our project system it is a waste of time. The osscall taking ages now,
    and the real problem is not to fix the big message but to
    be able to start archiving as such and the switchprocedure
    One alternative is to re-install from scratch, but I was hoping
    there might be a quicker approach.

    Thansk for the reply. your approach is
    is the normal way of deleting messages but it fails.
    question is whether there are procedures or scripts that
    remove all the messages "behind the back" of XI,
    without regard for their status, mutual relations or other
    stuff. We just want an empty database for our test and QA
    system.
    basically we want to get back to the moment after installation (and configuration).

  • How to send data in ASCII (instead of Unicode) from XI using JMS adapter

    Hi
    The scenario is R/3 > XI >MQ > Third party SW. Inside XI, we have an ABAP mapping as well.
    The receiving third party software needs data in ASCII. Currently we are achieving this in MQ, but would like to move this conversion to XI.
    Any thoughts on that are welcomed.
    Thanks in advance.
    Cheers
    danus
    Message was edited by:
            Chidambaram Danus

    Hello Stefan,
    I have the same problem with data conversion to utf-8.
    The mainframe application sends us the data in the codepage iso-8859-1, but the jms sender adapter transfers this in utf-8.
    Can I stop this?
    You have proposal a oss note 960663, but on which position must be setup this in the module sequence? At first?
    What are the other options of the parameter conversion.charset ?
    Is there one possibility without mapping?
    Bye
    Stefan

  • Acknowledgment messages from file 2 jdbc adapter (DB2)

    Hi everybody
    in a File 2 JDBC scenario I need to set up a technical Ack, at integration server level. In order to achieve this I configured  the integration engine with category "RUNTIME" in the following way:
    Parameter: ACK_SYSTEM_FAILURE value "1" as appears from Help on line documentation.
    But I didn't reach any result.
    Do you know how is possible to set up <b>SystemErrorAckRequested=</b>"   "  to "true" in  <b>SAP:ReliableMessaging</b> of the SOAP header,in an inbound message,  even though the sender is a file adapter  ?
    Thanks a lot in advance for any suggestions
    Gianluigi Brenna

    Hi Arnab,
           Pls find the solution in the following How to guides....
           [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a04cd6f9-9eb0-2a10-07b8-a0fc6e88f4d4]
           [https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file%252bto%252bjdbc%252bstep%252bby%252bstep]
    Regards,
    RajeshKumar.D

Maybe you are looking for

  • Bootstrap lookup error

    This 10.6.8 update is driving me absolutely crazy. I posted another message about some of the problems I was having -- **way** slower copies when copying items from my internal hard drive to an external drive (much slower than in 10.6.6), Finder quit

  • AR DP Inv & Receipt included with Pick List

    Hi, We started using the Pick List from the Sales Order window - only when we print/preview the document, if the SO is linked to an AR Downpayment, the Invoice and Receipt documents also come up with the Pick List. How do I get rid of these extra doc

  • Gradients showing with bands on new LCD

    Hello, I am not sure this is Fireworks problem and I would be quite surprised if it is. I just upgraded changed monitors from a SamSung CRT to a LG LCD. Now when I open my old source files containing gradients - especially the vertical gradients - I

  • Disable rows in JTable

    Does anyone know how to disable a row in a JTable? I essentially want a row to be grayed out and I want to be able to dynamically change which row(s) are disabled.

  • [SOLVED]dwm-sprinkles: can't right click

    Just installed dwm-sprinkles (compiled from source grabbed using svn because there's nothing in AUR or ABS for it), and I can no longer right click in firefox or use the drop-down menus.  Drop downs on websites work fine, but I can't use anything in