PERSISTING_MESSAGE_FAILED (RWB/Pimon) JMS channel.
We are rrunning on SAP Nw7.40 SR1 Sp 08 java stack only usage type PO, We are facing some periodically issues where messages end with error code
PERSISTING_MESSAGE_FAILED,
Audit Log:
ErrText": "Error occurred while processing message: 3a817bca-b07c-4ca6-0d07-b4209d166f39. The detailed error (if any) is : com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: Could not insert message 3a817bca-b07c-4ca6-0d07-b4209d166f39(OUTBOUND) into database. Reason: java.lang.IndexOutOfBoundsException: Index: 3, Size: 3: MessagingException: Could not insert message 3a817bca-b07c-4ca6-0d07-b4209d166f39(OUTBOUND) into database. Reason: java.lang.IndexOutOfBoundsException: Index: 3, Size: 3\r\n\tat com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:100)\r\n\t....",
But exact same message with no changes , will be processed when we resend this manually.
We have done this tasks successfully:
CPA cache delta and full has been done successfully
Database check
Resource check (memmory cpu)
JMS communication
Any one face this issue??
/Patrick
Hi Suresh,
Pls check tht the libraries are deployed correctly or not...
If you are using MQ Series v6.0, you have to deploy 7 libraries as in the note 747601.
Also have a look on these...
configuration of JMS adapter Using WebSphereMQ
connection with the JMS provider
http://www-1.ibm.com/support/docview.wss?uid=swg21180117
http://www-1.ibm.com/support/docview.wss?uid=swg21105655
Regds,
Pinangshuk.
Similar Messages
-
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 -
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 -
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 -
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. -
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 -
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 -
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 -
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 -
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 -
After deployment MQ 6.0 drivers, JMS channels are Inactive
Hi
I have deployed MQ 6.0 drivers on PI 7.1. And after my JMS communication channels are Inactive.
The status is showing in rwb is ..
"Channel Has Internal Error"
"Adapter has not provided any status information about this channel"
"Exception: Channel with Status Unknown or Not Registered"
I am unable to understand whether it is development issue or basis issue. Please provide solution on this.
I have cross checked below things and everthing fine
1. I have modified the CC configuration w.r.t PI 7.1also.
2. Cache full refresh is working fine
3. Vendor 7 MQ jar files are placed correctly after deployment in below folder
/usr/sap/SID/Instance/j2ee/cluster/bin/ext/com.sap.aii.adapter.lib/lib
CL3Export.jar
CL3Nonexport.jar
com.ibm.mq.jar
com.ibm.mqjms.jar
connector.jar
dhbcore.jar
rmm.jar
4. SICF services are activie.
Thanks & Regards
Sudhakar Meriyalaconfirm if the deployment was done as specified in Note 1138877 - PI 7.1 : How to Deploy External Drivers JDBC/JMS Adapters
Also try to stop and start the adapter if the configuration details given are correct in the adapter
Maybe you are looking for
-
Apple Mail: How do I add contacts to address book?
In the Apple Mail program, there is an option to add sender to address book. But when I do that, it just adds the sender to my address book, oftentimes without a name associated to the contact. So that contact could easily get lost. I'd like to be ab
-
Is there any way to create invisible link on Adobe Reader Android? I made link type : invisible on acrobat pro 9, but the link still shows up on adobe reader android. And for interactive purpose, I don't want to use bookmark. Any idea?
-
Hi, my problem is on process order basic start date and finish date. the basic start date is 03.11.08 and the finish date is 11.03.08. when i moved the process order in the GPT to the nov 11.07.08. and i go to COR3 to check if the date was move only
-
Itunes 7.01 shuts down soundcard on my computer. Woun´t re-install
Hello New iPod owner but old computer user. Problem: I had on my computer iTunes installed. Bought a new Ipod 80gb and when connected, iTune did not open. Downloaded newest itunes last week and everyhting worked fine. BUT, realised very soon that I c
-
I just uploaded to iWeb '09 (v3) from iWeb '08 and have been unable to publish my site. It creates all the pages, but before it starts to upload to MobileMe, it comes up with a message titled "unable to publish" which reads "unable to publish site. A