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
Similar Messages
-
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
²&é "'(§è !çà)-²1234567890°_
!¿§$%&/()=?´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,
YounusHi,
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. -
IgnoreRecordsetName not working in Sender JMS channel- PI 7.1
Hello All,
In Sender JMS content conversion I have used xml.ignoreRecordsetName=true
ignoreRecordsetName=TRUE
But still I am getting "Recordset" in the XML due to which message mapping is getting failed.
Can you please tell me what is the correct syntax for this parameter in JMS channel
Regards,
MoorthyHi
ignorerecordset parameter dont support using the message transform bean. -
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 -
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
AdityaHi 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 -
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,
RajeshHi, 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 -
Receiver SOAP Comm Channel Settings with TServerLocation
Hello All,
We are working on using Dynamic Configuration of Receiver SOAP. We are using the following scenario
*Can anyone please guide us on Receiver SOAP Comm Channel settings*
1) Value to be used in Target URL
Which parameters need to be checked ?
Currently we are getting the following error
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Inbound Message
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.util.URI$MalformedURIException: no scheme</SAP:AdditionalText>
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Truly apprecaite your help
Thanks.
KiranHello
Can anyone guide me on the settings in receiver Comm Channel which uses dynamic configuration in TServerLocation ?
Thanks.
Kiran -
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
kumarHi 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 -
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
KarthiSPHi ,
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 -
Channel Settings and EQ in the Output 1-2 channel
I like to use some of the canned channel settings on the mixdown channel, especially the soft enhancer and the maximizers. I also like some of the channel EQ settings like final mix pop, etc. When I add the soft enhancer to the channel strip and then add the EQ, the EQ drops the volume of the channel. This seems to defeat the purpose of the enhancer or maximizer. It doesn't seem like there is a way to EQ first, then maximize. I wondered if anyone else has tried to do this, or used the channel strip settings and EQ in different ways.
Thanks.
JoeHi,
using a preset is a good way to start to understand how things work. You should take your time to discover the effect of the single elements in the channelstrip and how they are applied best.
However, you can change order of FX by dragging the plugins and holding down the CMD key.
If you select the soft enhancer first and then enable the Channel EQ, the Channel EQ will install itself as the last plugin in the chain, which is not good. The last plugin must be the limiter. That's an iron rule. So, move the channel EQ to the top and sort the other plugins in an appropriate order, with the limiter as last plugin.
Fox -
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,
AravindHi,
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 error reson code : 2019
JMS Channel is throwing error with an reason code : 2019.
Decription for reason code 2019 is : The object handle Hobj is not valid, for one of the following reasons:
The parameter pointer is not valid, or (for the MQOPEN call) points to read-only storage. (It is not always possible to detect parameter pointers that are not valid; if not detected, unpredictable results occur.)
The value specified was not returned by a preceding MQOPEN call.
The value specified has been made invalid by a preceding MQCLOSE call.
The handle is a shared handle that has been made invalid by another thread issuing the MQCLOSE call.
The handle is a nonshared handle that is being used a thread that did not create the handle.
The call is MQGET or MQPUT , but the object represented by the handle is not a queue.
Can any one tell me what is to be done to fix this error.
Thanks in advance.Hi
Yes this is an MQ Series "Reason Code", Where each reason code for failing is assigned a number. For this one please refer to the following link:
http://www-01.ibm.com/support/docview.wss?uid=swg21229508
For all reason codes have a look at:
http://middleware.its.state.nc.us/middleware/Documentation/en_US/htm/csqzak06/csqzak065m.htm
Thanks
Damien -
Lost channel settings in group properties and blending options when switching to or from 16bit
I recently noticed that Channels-settings in both Group Properties and Blending Options are lost when changing a file from 8bit to 16bit and vice versa.
Could someone please verify if the behaviour is the same on their set-up?I moved it to the enduring forum. According to: http://feedback.photoshop.com/photoshop_family/topics/lost_channel_settings_in_group_prope rties_and_blending_options_when_switching_to_or_from_16bit
the behavior is now correct with CS6.
Maybe you are looking for
-
Installation full version after trial
I am running into some issues installing Captivate 3 on my laptop that is running Vista. I had been using a trial version to test it out. My boss in the tech department for our school district purchased me a full copy. I uninstalled the trial version
-
Quotations conversions into PR
Gurus, My client wishes to use the RFQ flow for PM generated PR's. We create RFQ through ME41 tcode in reference to a PR. The quotations for each RFQ are then maintained and we get to the price analysis report ME49. Once the rejection indicator is se
-
Question: Is ther any way that i can change the tag name of a mp3 file? The reason why i am asking is because i have lumped a whole lot of music files into one artist and album folder (it's sorat a mix) and they do not arrange themselves in alphabeti
-
How do you import separate audiobooks from one CD as one audiobook?
Is it possible to import a group of separate audiobooks from the same CD as one audiobook? How?
-
I make a report(using report 6.0) on Windows 2000.Then ftp to my unix host. then use 'r25convm' to compile it. command line like:r25convm overwrite=yes batch=yes dunit=character dtype=rexfile stype=rdffile source=CNCAPXMTDCR.rdf dest=CNCAPXMTDCR.rex