Doubt in JMS Sender Channel

Dear Experts,
  I have some queries and an issue also..
First Query : is the JMS sender channel is polling the message from JMS Queue or when ever the channel is connected to the JMS queue then the messages are pushed from JMS ? Simply I want to understand the then message is Puss or Pull. (my understanding is messages are pulled when ever the channel opens the session with JMS provider)
Second Query : is there any provision that the sender channel will have the log When the JMS Queue is empty ??
Issue : we are using WebSphereMQ JMS Provider, with QoS is EO . MQ claims that the messages are missing when the message were sent to PI.
is there any way to trace the issue ? any clue ?
-Danny

Thanks for your help on this.. but please excuse me for asking more layman query..
There no other JMS Client is connected with that Queue. and I am sure the messages are
So you say, only some message are missing, but the most message run correctly?   Yes Most of the messages run correctly
Are you sure, that the messages were sent to the queue correctly?  Since only the PI channel is connected the message should be forwarded to PI correctly.
Do you have a log for the MS queue?  I think there should be mentioned, which KMS client has received the message. --> I don't have the log of MQ side.. But I can request them..
can you please provide the info "what I can ask them the MQ Team?"  if I ask them about the "the JMS client details of the message" will it give the information of where that message has been sent.
Thanks for your help
Edited by: Dhanabal Thangavel on Sep 20, 2011 1:21 PM

Similar Messages

  • Need help about setting up a JMS sender channel

    I just started to play with PI for a few weeks and I'm trying to setup a simple JMS sender channel to read stuff from a WebSphere MQ.
    I've someone installed JMS adaptor for me, but we never know it is correctly installed or not. First question is "Is there any way we can verify JMS adapter is correctly installed or not?"
    In the Design: integration builder, I've a very defined a very simple data type(src_dt) which is a string and a message type(src_mt) which uses resp_dt. Finally I created a message interface (test_mia_out) that contains src_mt. At this point of time, I don't need message mapping so I didn't configurate this section.
    Then I went to Configuration: Integration builder and created a new communcation channel with the following setting:
    Parameter section:
    Adapter Type: JMS
    Transport Protocol: WebSphereMQ (Non-JMS)  <- if i don't use this option, i can't enter MQ connection detail in the Source section.
    Message Protocol: JMS 1.x
    Adapter Engine: Integration Server
    Source section:
    QueueConnectionFactory Java Class: com.ibm.mq.jms.MQQueueConnectionFactory
    Queue Java Class: com.ibm.mq.jms.MQQueue
    ...MQ connection detail...(IP, Port, Queue Manager, Channel and Queue Name )
    Transport Protocol: TCP/IP  <- this is consists to server side setting
    JMS-Compliant: JMS-Compliant
    Since I only want a very simple working sample, again I didn't change the content in receiver determination, interface determaintion and sender agreement.
    Now when I active this change and I saw the following error in the channel monitor:
    Short Log - Channel has internal error
    Admin Info - Exception: Channel with Status Unknown or Not Registered
    I did stop and start the service, refresh CPA cache and even restart the entire PI server, I always see this message and cannot find any more detail description about what is causing this problem.
    My PI Server version is 7.0 and MQ version is 5.3
    There's very limited resource about how to setup to read MQ message in PI and I'm stuck now. Therefore, I need a help from some experienced people to tell me if I have did something wrong or missed some steps?
    And if possible, could people mind to post a step by step go through how you setup it up?
    Edited by: Robert Fu on Jan 10, 2008 6:51 AM

    Before you use the JMS, you need to deploy some drivers related to specific MQseries, Kindly ensure that proper driver are deployed....
    If you use MQSeries 53x.xxx, you must enter the following JAR files in aii_af_jmsproviderlib.sda.
    com.ibm.mq.jar, com.ibm.mqbind.jar, com.ibm.mqjms.jar, connector.jar (use the JAR file from the J2EE client directory)
    check this link it will give you more inofmration
    http://help.sap.com/saphelp_nw04/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm
    check this to get the condifuration the JMS
    How to use conversion modules in JMS - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    Ref How To Use the Content Conversion Module in JMS Adapter - https://websmp106.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000582377&

  • EOIO JMS Sender Channel in Error

    Hi All,
    We have a error on JMS sender channels in Pre-Production environment.
    Let me explain you the problem.
    On Dev and QA there is no cluster environment. On Pre-production we have 3 clusters. We tested this Sender JMS channel on Dev and QA without giving a Cluster ID and it worked.
    Now on Pre prod, we had not mentioned the cluster ID and when messages were picked from the Queue, the channel went into a error mode stating the " Channel is locked due to EOIO".
    Then when we added the cluster ID to the channel, in RWB the channel goes into inactive mode. The status is " The EOIO channel has been made inactive on Node 206485150"
    The node mentioned in channel is 251902150. This means that the other node has been made inactive. That sounds logical as it is not supposed to process the message.
    But the node which is mentioned in the channel has also gone into error mode.
    " Error creating JMS connection. failed to create MQManager for ' Hostname:Channel name'". An MQException occured: Completion code 2, Reason 2009
    MQJE016: MQ queue managerclosed channel immediatly during connect. Closure reason= 2009, and erro code as MQJMS2005
    After this all other sender JMS channels have gone into the same error mode on this node.
    We have stopped the JMS service and started it. We also restarted the XI server but no change was encountered.
    Please let us know whether JMS sender with EOIO works with cluster ID as I'm not able to find any document which says that JMS with EOIO works succesfully.
    Please also let us know how to overcome the error on this node.
    Thank you.
    Regards,
    Sarvesh Desai

    Check if there is any unprocessed message stuck in the queue:
    /people/stefan.grube/blog/2006/04/27/how-to-deal-with-stuck-eoio-messages-in-the-xi-30-adapter-framework

  • Jms message id in jms sender channel

    Hi
    Is it working for you remove id from jmsmessageid in a jms sender channel?
    I can see still in the logs that my message id is starting with ID:
    Florin

    Hi Florin !
    You mean this:
    "If you have selected JMSMessageID, JMSCorrelationID, or JMSProperty and entered a JMS message ID in these fields, you should see the Remove 'ID:' Marker from JMSMessageIDindicator. Set the indicator.
    This is necessary because the JMS specification stipulates that each JMS message ID starts with 'ID'. However, this conflicts with ISO-11578."
    Maybe you need to reactivate your sender comm channel to force the update of cache and try again. To reactivate, just edit your adapter, make any dummy changes (e.g. change description) and reactivate again.
    Then try scenario once more and check if it is working.
    Regards,
    Matias.

  • JMS sender channel binary format possible?

    Hi,
    We're still having codepage problems from MQ to SAP via JMS.
    We send text messages, the QM format name is MQSTR and the message type is datagram.
    At the moment SAP development is saying:
    If the XML is encoded in anything other than UTF-8, then the
    javax.jms.Message object must be be a BinaryMessage and not a
    TextMessage. All TextMessages are interpreted to be UTF-8
    My remarks on this:
    -If we send UTF-8 the data is still corrupted in the end sap system so still the adapter seems to working incorrectly
    -I have the feeling that in the JMS sender channel the CCSID parameter has no influence whatsoever on the application data translation
    But I want to try anything, so how would I configure a JMS (MQ) sender channel for binarymessage. It seems that the JMSMessageType parameter is only valid for receiver channels. Ok, I can image that the sending side (MQ) should set the message type but then still I think the module configuration/sequence should be different than the standard one.
    Anyone a clue what this should be?
    thanks
    Tom

    Problem solved...
    We finally managed to send a binary file to XI.
    We had to do two changes to accomplish this, first make sure when we read the file from its source directory that no automatic translation is done (remove O_TEXTDATA switch from C api on iseries).
    Secondly in MQ change the message format from MQSTR meaning text message to Blanks.
    The messages in MQ are not human readable anymore, but when looking at the hex codes it is proper utf-8.
    Now the special characters are correct in the XI monitors and also in the receiving SAP systems.
    I suspect the cause of the problem to be in the iseries only partial support for the utf-8 encoding.
    a nice way to end the week..

  • JMS sender channel error

    hi,
    i am using pi 731 single stack.
    i have a jms sender channel. The jms sender channel is connecting to Webshere MQ version 6.0.2.10.
    the error is -
    Error creating JMS connection : The JMS provider gave the error message as MQJMS2005:failed to create
    MQQueueManager for x.y.com:QMgr1 MQJE001 completion code 2,Reason 2059,and the error code as MQJMS2005
    What could be the issue. The JMS drivers are successfully installed.

    Hi,
    As Indrajit said seems to be a JMS configuration problem. Check this thread in stackoverflow with the same error: java - Always receive MQJE001: Completion Code &amp;#39;2&amp;#39;, Reason &amp;#39;2059&amp;#39;. ERROR - Stack Overflo…
    Regards.

  • Doubts in JMS Sender adapter configuration (SonicMQ JMS Provider)

    Hi All,
    I am doing a TIBCO--> XI integration using JMS sender adapter. Adapter status is as follows..
    <b>"Sender channel. Details: (No detail information set.)"</b>.
    XML Msg in TIBCO-ems queue which JMS adapter access is as follows.....
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Studdetails xmlns:ns0="http://abc.com/xi101/XSLTmap">
       <Records>
          <student_ID>
             <fname>abc</fname>
             <lname>efg</lname>
             <DOB>11/09/1980</DOB>
             <marks>
                <science>90</science>
                <maths>78</maths>
                <lang>80</lang>
             </marks>
          </student_ID>
       </Records>
    </ns0:MT_Studdetails>
    <u>My Queries...</u>
    what will be the Msg selector entry for my JMS sender Adapter? Is it MT_Studdetails???
    My sender adapter is green in RWB Adapter Monitor, but I am not able see my msg in SXMB_MONI. why it is so??
    regards,
    Raks

    Hi,
    Did you follow the how-to guide available at SAP Marketplace to deploy the JMS Adapter. If so, i believe the information given in that guide is incomplete.
    Once you have installed the JMS Driver, you must deploy the Java libraries on the J2EE server so that the JMS adapter can access the required Java classes at runtime.
    If you use MQSeries 53x.xxx, you must enter the following JAR files in aii_af_jmsproviderlib.sda.
    com.ibm.mq.jar
    com.ibm.mqbind.jar
    com.ibm.mqjms.jar
    connector.jar (use the JAR file from the J2EE client directory)
    and if ur question is, "Where do I get the Java Library from "
    The required Java libraries are product-specific and can be obtained from either the product vendor or other providers.
    And i guess the 4 jar files should be enough. Just remember to add these 4 jar files to 'provider.xml' file inbetween the <jars>..</jars> tag.
    Follow the instructions as per the guide,
    https://websmp205.sap-ag.de/~sapdownload/011000358700003994312004E/HowTo_ConfigExtAdapters.pdf
    But just remember to have all the 4 jar files in aii_af_jmsproviderlib.sda
    Regards,
    Abhy

  • JMS Sender Channel not Polling

    Hi Guys,
    Scenario: BEA Weblogic -
    > JMS Queue -
    > Sender Channel JMS -
    > SAP XI -
    > SAP R3
    We had initially setup this scenario using MessageSelector because the provider JMS Queue had mutiple message types on it. As Murphy's law would have it, the MessageSelector stopped polling the day before go-live. Basically, if we pointed one JMS SC to the provider JMS Queue using MessageSelector it worked fine, if we pointed multiple JMS SC's no messages were being picked up from the queue. We still haven't identified why the MessageSelector functionality stopped working but as a quick work around to MessageSelector before go-live we used blog:
    [/people/robert.warde3/blog/2009/03/18/pi-basics-generic-message-interface|/people/robert.warde3/blog/2009/03/18/pi-basics-generic-message-interface]
    Now we have a situation where, BEA Weblogic manages the provider JMS Queue & they perform a health check 4 times a day & if they encounter a problem they bounce the server & JMS Queue service. XI and the SC seem to re-connect fine most of the time when Weblogic & JMS Queue is back up but there are times when I see a green light in RWB for the SC but it's not polling for messages on the JMS Queue. We use Hermes JMS to monitor messages on the Queue to check if there are in fact messages to be picked up & the messages are queued.
    What I'm looking for is a best practice guide for how to manage this. I don't want to keep toggling between Hermes JMS & RWB to verify if the SC is in fact polling messages altho' it shows as green in RWB. Please advise. Thanks.
    Regards, Trevor

    Thanks Kai & Joel.
    Joel, I'm not really looking to add another layer with the JMS Connector Service. For me it's just adds another possible point of failure. At the moment the message passes thru 5 systems including SAP R3 & end system & then the response comes back the same route.
    Going out from SAP, the Receiver channel to the JMS queue seems to work fine. With the responses coming back, the Sender Channel seems to re-connect ok (I'm assuming) otherwise it wouldn't be green in RWB but doesn't pick up any messages. It's also an intermittant phenomenon. Manually stopping & re-starting the Sender Comm Channel fixes the problem but we won't know if there's a problem until we check if messages are being picked up from the queue.
    Kai's notes led me to some things I could possibly look at like additional parameter in JMS channel config, CONNECTION_TEST_POLL (note 948016). I'm still not sure how we can make this work for us because we essentially need to bounce the JMS channel so it starts polling again in the event of a JMS Queue Provider bounce but I need to first establish that the JMS Queue was bounced.
    Note 1088675 will also be irrelevant cos the channel looks like it re-connects, just doesn't poll.
    Trevor

  • JMS Sender Channel - reconnect problem

    Hi,
    I've got a sender channel which picks up messages from MQSeries and sends them to XI.
    If I set the MQSeries Queue to "Get Inhibited" to simulate a network problem, the channel goes down with a standard error message
    "Sender channel. Details: MQJMS2002: failed to get message from MQ queue Code: MQJMS2002".
    A receiver channel that looses connection gives me the same error.
    So I've got 2 problems :
    - how can I get the MQSerier error message (2016, MQRC_GET_INHIBITED )
    - how come the adapter doesn't reconnect after correction of the problem ?
    Tx in advance
    Tom

    Hi Tom,
      I get the same error , i tryed looking at the IBM and eocnte at the following links, but not able to solve the problem yet.
    <a href="http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg1PK02976">http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg1PK02976</a>

  • JMS Sender channel for WebSphere fails with java.lang.ArrayIndexOutOfBounds

    The adapter monitor shows
    Sender channel. Details: Last Exception during send at Mon May 22 12:09:17 EDT 2006: ArrayIndexOutOfBoundsException
    If the message is 529 byte it works but the one we are testing is 4659 bytes.
    Any ideas on what we should be checking or setting.
    thank you.

    Can you try and get the detailed log for the error?
    Also if you can throw light on any adapter specific processing you are trying with this then may be it would be easy to trace out the root cause.

  • EOIO cluster lock in JMS sender channel

    Hi All,
    Our production environment is using cluster.
    I have 2  sender JMS channel where EOIO feature has been used.
    Today while monitoring we found one of the cluster node is showing below error
    EOIO cluster lock:com.sap.aii.adapter.jms.eoio has already been acquired for EOIO channel by another cluster node. Therefore channel has been made inactive. Underlying lock manager reported message(if any) as: Cannot lock [20u2026u2026u2026u2026ip address, com.sap.aii.adapter.jms.eoio,c8u2026(channel ID),E]; it is in use by another owner. The lock collision occurred with user.
    We have asked basis to remove the lock and they said that can be removed in NWA system lock.
    But before removing the lock I wanted to understand the following
    1)Why this lock happened, since it is EOIO? ( this issue is not there in other EO communication channels)
    2)Is there any side effect if we delete the lock?
    Appreciate your fast response .

    Hi Michal,
    The warning of EOIO cluster lock is still  there.
    we have 2 clusters, c1 and c2.
    in NWA i can see the lock name *($com.sap.aii.adapter.jms.eoio)* is locked by c1 (2 locks (i.e.2 lock argumnets)) and c2           (1 lock).
    i can understand that , to ensure the EOIO message proccessing the AF locks the queue , but it should theoritically unlock once the message processing completes.But this is not happening in my case.
    Should i try removing one lock? or this is bug.

  • JMS Sender Channel: Linked Error

    Hi All,
    I'm working on a synchronous JMS to Proxy scenario. I have created Sender JMS channel. In RWB, the status of the channel is error.
    The error is:
    Channel Error occured. Detailed error (if any): JMS error: MQJMS1024: session closed, Linked error: Error code: MQJMS1024
    This channel was working fine few weeks back. Since last week we are facing this issue.
    I deleted the communication channel and created a new one but the error persists.
    We also tried by restarting the J2EE engine but still no change.
    Also gave a try by restarting the Queue manager still there was no change.
    Please provide your suggestions to solve this issue.
    Regards.,
    Sarvesh Desai
    Edited by: Sarvesh  Nispat Desai on Oct 27, 2009 12:37 PM

    Hi Sarvesh,
    *Are you using Websphere MQ JMS server? *
    If yes check this note Note 1278718 - IBM MQ Connectivity Issues with JMS Adapter
    also this error requires restarting the session
    ftp://ftp.software.ibm.com/software/mqseries/fixes/wbimbfev50/fixpack03/C3466662.pdf
    Regards
    Suraj

  • JMS Sender Channel Error with MQ Series

    Hi,
    I am trying to send a message from MQ Series to XI via JMS Adapter.  I am getting this error message, and I have searched the forums for this error message with no luck.  Can someone please help?  I have asked the BASIS team to double check and make sure the JMS drivers have been deployed. I am still waiting for their reply.
    Thanks in advance
    Zeshan Anjum

    Sorry, I forgot to append the error message.
    Here it is:
    0 XI inbound processing failed for message at 2006-10-19|09:54:30.925-0500. JMS and XI identifiers for the message are ID:414d51205a3153505420202020202020448dda5420003f01 and b9be54c0-5f81-11db-a551-001125a6015a respectively. The JMS adapter will rollback the database and JMS session transactions. If the session is transacted, the message is not lost and will be retried later. The exception stack trace is java.lang.Exception: Value with name enableDynConfigSender not available
    at com.sap.aii.af.service.jms.WorkerJMSReceiver.onMessage(WorkerJMSReceiver.java(Compiled Code))
    at com.ibm.mq.jms.MQQueueReceiver.receiveAsync(MQQueueReceiver.java(Compiled Code))
    at com.ibm.mq.jms.SessionAsyncHelper.run(SessionAsyncHelper.java(Compiled Code))

  • Reconnect issue with JMS sender Communicatio channel

    Hi All,
       We need help for JMS sender channel.from last two days we are getting issue with JMS channels.they are looking green but not picking data from Mq ssue to this lot of messages got stuck in MQ queue and its stop writting messsages .
       Problem from PI side is JMS communication channels are not showing any issue.even they do not pick data or lost connection with MQ server they are looking green. so its very difficult for PI team to find out correct Comunication channels which stop picking up the data.when we start/stop that CC its start picking data.
    Do anybody face this issue.please do let us know permenent solution instead of doing start/stop when user report issue.
    Thanks in advance
    Best Regards
    Monica Bhosale
    Edited by: monica bhosale on Mar 8, 2012 8:56 AM

    we are using PI 7.11 and this issue was fixed in SP06
    until then one of the work around we were using was to schedule the adapter to stop and start every 3 hour or so

  • JMS sender adapter issue for encrypted message

    Hello Folks,
    We have JMS to AS2 interface facing issues when JMS sender channel read the encrypted files placed in MQ queue, messages size is
    increasing to almost double when it reaches PI.
    When sending an encrypted message from MQ to AS2, message is showing in success flag but inbound file size is increasing almost double the size, when compared to message size placed in the MQ Queue. When partner is decrypting the message he is getting total garbage values. But it working fine for unencrypted messages,we are getting the same size as it is in MQ queue.
    Can you please trrough some light on the issue not getting excatly issue is in MQ or JMS sender adapter.
    Kind Regards
    Praveen Reddy

    Hi Praveen,
    the issue seems to be with your encryption/decryption mechanism rather then JMS adapter. if you have encrypted file in JMS queue then channel only pick the file and sent to target (i am assuming there is no tranformation). So it will not alter the file size.
    Please check how the file is encrypted before it places in JMS queue.
    regards,
    Harish

Maybe you are looking for

  • Can't install due to error

    I have tried to update to mavericks. I had no issues downloading it, but when I tried to install it said error, try going to dis utility to repair. I tried that. It diednt work, I have also tried to go to the recovery disk utility and it hasn't worke

  • MI 7.0 T51  when sync data not filtered

    Hi Experts, we have a synbo t51 in mi 7.0 and when we sync with the middelware whe got all the data of the syncbo , not filter by the user of the mobile client who perform the sync? has somebody this problem? Thanks in advanced. Some help..some point

  • Can I print the "view responses" pages?

    We just came off of an event and used Forms Central for our evaluation form.  I can print the Summary Report, but I want to print the View Responses page, as we asked folks for comments in several areas. mkT

  • Ess/mss business package

    could you tell me how the UWL exactly functions for SAP ESS?MSS business package?

  • PC users can't leave comments on my blog.

    Mac users can leave comments without an issue. PC users get to the comment screen, type the captcha, and nothing happens. Have tried it myself on 2 PCs and had same issue. Any advice?