UTF16LE and UTF16BE - JMS channel

HI,
My scenario is IDOC -> PI -> JMS. From PI, I am sending as a text message in UTF-8 format to MQ.
I have set the below parameters in the JMS channel:
1.CharacterSet ID(CCSID) for non ASCII Names -1208
2.Used the bean localejbs/AF_Modules/MessageTransformBean* to convert the xml to text message  and given the Transform.ContentType as text/plain;charset=utf-8
The requirement here is I have to send the text message in UTF16LE or UTF16BE format to JMS instead of UTF-8.
could you provide the CCSID code for UTF16LE / UTF16BE and also the values to be given in  Transform.ContentType .
Thank you very much in advance!
Kiruthi

>
> If I select SonicMQ JMS Provider in channel then i do not get the JNDI section. However if I select Access JMS Provider with JNDI I do get the JNDI section where I can enter the value as jmsqueues/default/<QueueName>
>
> SAP Note 802754 tells that Many JMS providers allow to access the JMS provider server using JNDI
> Does it mean I can connect to sonicMQ using JNDI option in channel?
>
i think you can connect .
> Do I need to perform some additional setting within PI to use JNDI to connect to SonicMQ?
>
as per my knowledge additions setting not required.,
Regards,
Raj

Similar Messages

  • Zip or unzip a payload in sender JMS channel

    Hi,
    My scenario is to unzip a payload in sender JMS channel and I have configured the sender JMS module in the below format,
    Processing sequence
    AF_Modules/PayloadZipBean Local Enterprise Bean    Local Enterprise Bean       zip
    SAP XI JMS Adapter/ConvertJMSMessageToBinary     Local Enterprise Bean       convert_JMS2Bin
    SAP XI JMS Adapter/ConvertBinaryToXMBMessage     Local Enterprise Bean       convert_Bin2XI
    CallSapAdapter                                                         Local Enterprise Bean      call_AF_MS
    Module Configuration
    Modulekey            Parameter Name                    Parameter Value
    zip                        zip.mode                                unzip
    I have tried this format also,but it is not working
    SAP XI JMS Adapter/ConvertJMSMessageToBinary     Local Enterprise Bean       convert_JMS2Bin
    SAP XI JMS Adapter/ConvertBinaryToXMBMessage     Local Enterprise Bean       convert_Bin2XI
    AF_Modules/PayloadZipBean Local Enterprise Bean    Local Enterprise Bean       zip
    CallSapAdapter                                                         Local Enterprise Bean      call_AF_MS
    (or)
    SAP XI JMS Adapter/ConvertJMSMessageToBinary     Local Enterprise Bean       convert_JMS2Bin
    AF_Modules/PayloadZipBean Local Enterprise Bean    Local Enterprise Bean       zip
    SAP XI JMS Adapter/ConvertBinaryToXMBMessage     Local Enterprise Bean       convert_Bin2XI
    CallSapAdapter                                                         Local Enterprise Bean      call_AF_MS
    While performing testing,it throws the below error in sender JMS channel,
    The detailed error (if any) is :  com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable pattern: NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'pattern'at com.sap.aii.adapter.jms.core.channel.filter.TxManagerFilter.filterSend(TxManagerFilter.java:185)
    Can someone help me on how to extract a payload in sender JMS channel.
    Also please guide me on how to extract a multiple payloads in one zip file in sender JMS channel.

    Hi,
    Your module sequence seems to be incorrect.
    Try like this,
    SAP XI JMS Adapter/ConvertJMSMessageToBinary     Local Enterprise Bean       convert_JMS2Bin
    SAP XI JMS Adapter/ConvertBinaryToXMBMessage     Local Enterprise Bean       convert_Bin2XI
    AF_Modules/PayloadZipBean Local Enterprise Bean    Local Enterprise Bean       zip
    CallSapAdapter                                                         Local Enterprise Bean      call_AF_MS
    (or)
    SAP XI JMS Adapter/ConvertJMSMessageToBinary     Local Enterprise Bean       convert_JMS2Bin
    AF_Modules/PayloadZipBean Local Enterprise Bean    Local Enterprise Bean       zip
    SAP XI JMS Adapter/ConvertBinaryToXMBMessage     Local Enterprise Bean       convert_Bin2XI
    CallSapAdapter                                                         Local Enterprise Bean      call_AF_MS
    Regards,
    Praveen Gujjeti

  • Unzip a payload in sender JMS channel

    Hi,
    My scenario is to unzip a payload in sender JMS channel and I have configured the sender JMS module in the below format,
    Processing sequence
    AF_Modules/PayloadZipBean Local Enterprise Bean    Local Enterprise Bean       zip
    SAP XI JMS Adapter/ConvertJMSMessageToBinary     Local Enterprise Bean       convert_JMS2Bin
    SAP XI JMS Adapter/ConvertBinaryToXMBMessage     Local Enterprise Bean       convert_Bin2XI
    CallSapAdapter                                                         Local Enterprise Bean      call_AF_MS
    Module Configuration
    Modulekey            Parameter Name                    Parameter Value
    zip                        zip.mode                                unzip
    While performing testing,it throws the below error in sender JMS channel,
    The detailed error (if any) is :  com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable pattern: NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'pattern'at com.sap.aii.adapter.jms.core.channel.filter.TxManagerFilter.filterSend(TxManagerFilter.java:185)
    Can someone help me on how to extract a payload in sender JMS channel.
    Also please guide me on how to extract a multiple payloads in one zip file in sender JMS channel.

    Hi,
    Your module sequence seems to be incorrect.
    Try like this,
    SAP XI JMS Adapter/ConvertJMSMessageToBinary     Local Enterprise Bean       convert_JMS2Bin
    SAP XI JMS Adapter/ConvertBinaryToXMBMessage     Local Enterprise Bean       convert_Bin2XI
    AF_Modules/PayloadZipBean Local Enterprise Bean    Local Enterprise Bean       zip
    CallSapAdapter                                                         Local Enterprise Bean      call_AF_MS
    (or)
    SAP XI JMS Adapter/ConvertJMSMessageToBinary     Local Enterprise Bean       convert_JMS2Bin
    AF_Modules/PayloadZipBean Local Enterprise Bean    Local Enterprise Bean       zip
    SAP XI JMS Adapter/ConvertBinaryToXMBMessage     Local Enterprise Bean       convert_Bin2XI
    CallSapAdapter                                                         Local Enterprise Bean      call_AF_MS
    Regards,
    Praveen Gujjeti

  • Sender JMS Channel Error

    Hi all,
    I have been facing with this problem with sender JMS channel, any pointers as to where can be the solution for it
    The error details are as follows
    JMS and XI identifiers for the message are ID:414d512056515933444e41575445202048aa8802235bad01 and a2d32e30-7aae-11dd-ae1c-001125cc0c0c 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
    at com.sap.aii.af.service.jms.WorkerJMSReceiver.onMessage(WorkerJMSReceiver.java:963)
    at com.ibm.mq.jms.MQMessageConsumer.receiveAsyncQ(MQMessageConsumer.java:2539)
    at com.ibm.mq.jms.MQMessageConsumer.receiveAsync(MQMessageConsumer.java:4262)
    Messages are not being placed in the Queue. the Queues are newly created is there something which has been missed out during the creation of the Queues
    Rgds
    Aditya

    Hi Aditya
    Try this way:
    1. uncheck JMS transactional session check box in JMS sender communication channel.
    2. Once it is done, insert new message in JMS queue.
    Thanks
    Sai

  • Error in JMS channel

    Hi ALL,
    I am getting the below error in Communication channel monitoring short log of JMS channel.
    "Cannot connect because class 'com.ibm.mq.jms.MQQueueConnectionFactory' is missing; ensure that JMS provider library 'aii_af_jmsproviderlib.sda' contains all required resources"
    This error looks like the deployed .sda file dint contain the class specified.Can u let me know where i can find the aii_af_jmsproviderlib.sda file with all required classes in it .
    We are on SAP XI 7.0 SP 14 and the MQ version is 7.0.
    Kindly let me know if any one had faced the same error.
    Regards,
    Rajesh

    Hi, check this links.
    XI to IBM Websphere Default JMS Provider with JNDI
    JMS receiver adapter configuration error
    http://help.sap.com/saphelp_nw04/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/frameset.htm
    Edited by: Marco Salazar on Dec 9, 2009 5:24 PM

  • JMS channel issue

    Hi
    My XI system is set-up with alerts frame-work and we are able to raise almost all the system generated alerts. But we are facing one issue with JMS channel alerts. Lets me explain the problem.
    We have a JMS channel connected to JMS Server and we are publishing the messages on JMS queue. When JMS server is down, the channel status is not turning into red and it is staying in gree only. If we see the messages in adapter engine (through message monitoring) they are in delivering mode and they are not going into system error state. So either of the things are not triggering any system alerts. So are there any parameters that we can set-up in JMS channel or somewhere so that when JMS server is down, we can raise the system alerts ?? We are using the EMS server for hosting the JMS queues.
    thanks
    kumar

    Hi Moorthy
    yes! as you said, my main problem is..... channel is not turning into red, eventhough my JMS server is down and there by not able to raise the alert in either of the two cases.  (Adapter Engine based standard alerts or CCMS Alerts). Is there any option to set through which when jms server is down, channel will become red ??
    thanks
    kumar

  • Handing special characters in JMS Channels

    Dear Experts,
    In a specific scenario(JMS - IDOC), we are getting the below characters in th source XML.
    XML message is being uploaded to a MQ queue, from where JMS channel of XI extracts the message and moves it forward to the mapping.
    The characters are
    ²&amp;é &quot;'(§è !çà)-²1234567890°_
    !¿§$%&amp;/()=?´1234567890ß`¿@²³{[]}^°
    When we try to view the message data in the source JMS channels,
    It says, XML contains a invalid character. Because of which it is not able to display the source msg.
    But when we process the same XML using a file channel.Everything gets translated properly.
    Is this the problem with MQ/JMS settings etc...???
    Kindly share your experience and comments on this issue.
    Thanks in advance,
    Younus

    Hi,
    Check if the solution mentioned in this thread helps you:
    Re: Problem with special character like u00E5,u00E4 u00F6 in Sender JMS Adapter
    Re: Special Characters not showing correctly in XI from JMS Adapter.
    Regards,
    Abhishek.

  • JMS Channel error

    JMS Channel is thrrowing error with an error code:2007.
    Error code description is  "CharAttrs is not valid. The parameter pointer is not valid, or points to read-only storage for MQINQ calls or to storage that is not as long as implied by CharAttrLength. (It is not always possible to detect parameter pointers that are not valid; if not detected, unpredictable results occur.)".
    But i didnt understood this jargon.
    Could anyone help me what i need to do to fix this .
    Thanks in advance.

    Hi Pola,
    I have never faced this error but as in my helping nature here are some pointers:
    CharAttrLength (MQLONG) - input
    Length of character attributes buffer.
    This is the length in bytes of the CharAttrs parameter, and must be at least the sum of the lengths of the character attributes specified in the Selectors array. Zero is a valid value if there are no MQCA_* selectors in Selectors.
    CharAttrs (MQCHAR×CharAttrLength) - input
    Character attributes.
    This is the buffer containing the character attribute values, concatenated together. The length of the buffer is given by the CharAttrLength parameter.
    The characters attributes must be specified in the same order as the MQCA_* selectors in the Selectors array. The length of each character attribute is fixed (see Selectors). If the value to be set for an attribute contains fewer nonblank characters than the defined length of the attribute, the value in CharAttrs must be padded to the right with blanks to make the attribute value match the defined length of the attribute.
    If the CharAttrLength or SelectorCount parameter is zero, CharAttrs is not referred to; in this case, the parameter address passed by programs written in C or System/390 assembler may be null.
    Regards
    joel

  • JMS Channel Cluster Nodes-INACTIVE

    Hello All,
    We have a Sender - JMS Channel which is green state but the Cluster Node (10 of them) are in WAITING STATE - Channel_Inactive. And Nodes are in GREEN STATE.
    I have checked the Cache in Integration Directory where I could see RED entries and I have tried 'Repeat Cache Instance' , but in vain. Is it a fair idea to Run the Function-module 'LCR_CLEAR_CACHE' ? Does it have any impact?!
    Due to this 1 of the message is lying in the MS system (JMS stream) in Uncommitted State.
    ALL HAPPENING IN A PROD SYSTEM!!!
    Please find the screenshots attached.
    Regards
    KarthiSP

    Hi ,
    Check the central adapter engine cache status in Cache monitoring from RWB...its having green or red...if it is red check with basis team...
    Thanks,
    Naveen

  • Dynamic Quee names in JMS Channel

    Hi,
    Message is being sent from SAP -> PI -> TIBCO using JMS queues using JMS channels.
    Is it possible to configure the queue names based on the value in the message?
    Thanks,
    Aravind

    Hi,
    you need to set a dynamic queue in PI or in JMS ?
    the blog mentiones how to create a queue in PI (on the basis of content)
    and that's how I understood your question...
    if you want to set dynamic queue for the JMS then I don't know the way
    hope we're talking about the same thing here
    BTW
    with JMS receiver you can only set those values dynamically:
    JMS Message Correlation ID DCJMSCorreleationID
    JMS Message Expiration DCJMSExpiration
    JMS Message Priority DCJMSPriority
    JMS Message ReplyTo Destination DCJMSReplyTo
    JMS Message Timestamp DCJMSTimestamp
    and JMS message properties but not the queue name
    if you need to set a queue name in JMS dynamically (and we did that in our project)
    was to send everything to one queue (router queue) and the real queue name was specifed in the JMS message property
    and JMS (activeMQ - camel) was able to distribute from dummy queue to the one from the JMS message property
    (config only - no coding so I'd assume most of the JMS should be able to do the same)
    Regards,
    Michal Krawczyk

  • JMS Channel in Error

    Hi,
    In one of the our  production systems we are facing a problem with JMS Communication channels (both sender and receiver) for one of the synchronous interface.
    Though the messages are processing successfully we see the channel status in error(RED LED). This happend after upgradation of sevice pack. Is there any SAP note that has to be implemented?
    Any pointers will be highly appriciated.
    Thanks and Regards.
    Saipriya.

    Though the messages are processing successfully we see the channel status in error(RED LED).
    During the upgrade the channel might have got some request to be processed and could have not been able to do it....so the status would have turned to red.....normally in such cases one option is to Stop and Start the channel...but since it is a production environment avoid using this option (at least during message processing period).
    Sometimes the status does not change to green (even if the channel is working fine)
    Regards,
    Abhishek.

  • Sender RFC and JDBC communication channels required to be activated

    Hello Guys,
    Whenever we have a Oracle restart after the server is shut down for maintainence . The sender JDBC communication channel does not poll and we have to activate the channel again in the Integration Directory to make it work, is there any way to make it work automatically.
    Similar is tha case with the sender RFC communication channel.
    Allthough the component monitoring shows green button for the JDBC, RFC communication channel.
    In case of the JMS channel (sender) the channels are in red.
    Thanks for your help.

    HI
    There is no automatic ways to restart channel that you have to manually start.
    You need to stop the channels first before getting oracle server down for maintenance. This will save from errors. Maximum what you can do is to start stop channel using a program externally but that require development.
    Start/Stop using RWB
    Starting / Stopping of Communication Channel from RWB
    Start/Stop without using RWB
    Control Communication Channels Externally without using RWB
    Thanks
    Gaurav

  • JMS Channel Settings

    Hi,
    I have to configure a JMS sender channel (SonicMQ) and the client has provided me with a JNDI name jmsqueues/default/<QueueName>
    Can anyone please tell me in which section of the JMS channel should i include this information?
    QueueConnectionFactory Java Class or Queue Java Class
    Thank you,
    Pankaj.

    >
    > If I select SonicMQ JMS Provider in channel then i do not get the JNDI section. However if I select Access JMS Provider with JNDI I do get the JNDI section where I can enter the value as jmsqueues/default/<QueueName>
    >
    > SAP Note 802754 tells that Many JMS providers allow to access the JMS provider server using JNDI
    > Does it mean I can connect to sonicMQ using JNDI option in channel?
    >
    i think you can connect .
    > Do I need to perform some additional setting within PI to use JNDI to connect to SonicMQ?
    >
    as per my knowledge additions setting not required.,
    Regards,
    Raj

  • PI Sender JMS channel not reading data

    Hello All,
    Scenario is JMS to Proxy. I have configured the JMS PI sender channel as per the details given by legacy team and they validated and confirmed that the channel configuration is correct.
    Also PI JMS Sender channel is with green status and no there are no errors observed on PI channel monitoring page. Legacy team said that they placed 2 messages on the Queue for SAP PI to read. But there is no data flow observed into PI (on Adapter Engine/IE).
    I have restarted and reactivated the channel also.
    Can you please tell me what might be issue here
    Thanks,

    Hi Naresh,
    Are you able to ping the channel from the Java stack? Normally if it is screen it means that is working but try and ping it and see what response you get back.
    What are they using? MQSeries? JNDI? SonicQ?
    Use the connection details that they gave you and log onto the queue and check if you can see the messages? Download a free JMS viewer and connect and see if you are able to see those messages? It might that they placed it in the wrong queue or that you are looking at the wrong queue.
    Regards,
    Jannus

  • My ipod's music quality is inferior. It doesnt have the surround sound/ left and right audio channel unlike my brothers ipod? is there a problem with the chip?

    I have an ipod touch 4g (8GB), I got this about 2.5 months ago, the same time my brother get his. My problem is that I noticed that audio quality is better on his device than mine. I have been listening to music and had different music devices before (non-Apple product and mobile phone) and the quality of music is better when I used to listen to those devices as well as my brother's ipod touch. Im referring to the left and right audio channels. Im not so good about the technical stuff but the best explanation I can give you is in a music or a movie, there's an effect wherein you can here a sound only at the left ear phone/speaker that you cant hear at the right earphone/speaker. I mean for example in a song, a guitar intro can be heared only at the left
    ear while the background music plays on the other ear. Or when theres and echo effect on the song that alternates sound on the left and right ear. I hope youre getting what Im trying to say. Im bothered that my ipod is fake or has an internal problem on the chips or something because I didnt bought this at an Apple Center/Mac Center. I bought it on a retailer. I am not able to visit any store or Genius Bar  or contact an apple specialist through phone because of my work schedule and work load.  I have contacted the retailer before when I tried to return it for replacement or repair but he told me that it is under Apple's warranty, not theirs. I do hope that I can get a help from you because I want to really enjoy my device. Thank you and Im looking forward for the responce/assistance form you.

    I suggest you don't apply pressure to the screen - it's a Touch - you touch the screen not push it.
    Phil

Maybe you are looking for

  • Function module reqd for fiscal period using current date

    Hi, Is there any function module which gives fiscal period using current date. Thnaks, Maheedhar

  • Forgot security questions and rescue email doesn't work

    hi i wanted to buy a app and it ask me for my security questions and i forgot what was my securaty questions and i cant reset it becouse the rescue email to reset it doesn't eigsist anymore i head it deleted because im not useing it anymore and i try

  • TS1815 unable to download album artwork

    I am re-organising my cd collection and copying to my new desktop using itunes, however, I could not download any album artwork for all the albums (over 450) which I brought (mostly from Hong Kong). I have authorised three computers using the same ap

  • Change object original language in ESR?

    Hello, I've imported a third party software component in my ESR. It has a preconfigured integration for it's own tool with SAP ECC. There are a lot of mappings, data types, BPMs, etc... The problem is when I open for example a Message Mapping I get t

  • What does the private keyword mean exactly?

    Hi, I thought I understood what "private" meant, but apparently not fully. Can someone explain the difference between the following two chunks of code and why one compiles when the other doesn't? class Component   private Object loopID;   private Con