JMS Sender Adapter error.
Hello all.
I get an error trying to recieve pick up a JMS message from a Websphere-MQ:
Error while processing message 'a17728a0-99ba-11dc-af52-0017a4f51c91'; detailed error description: com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: Could not begin a AF transaction: TxManagerException: Unable to open transaction: com.sap.engine.services.ts.exceptions.BaseSystemException at com.sap.aii.adapter.jms.core.channel.filter.TxManagerFilter.filterSend(TxManagerFilter.java:103) ...
Ps. Already connected successfully to this MQ with a receiver channel so all authorizations should be correct.
Hi Saurabh,
Queue Manager is restarted again but my problem is not resolved...
secondly there is an admin user of PI ensure that the user has all access to open queue manager . if it not working you can request to profile DL-ALL access to PI user .
please explain in detailed above information..
here i am using there modules and the processing sequence is
CallSapAdapter Local enterprise Bean call_AF_MS
AP XI JMS Adapter/ConvertJMSMessageToBinary Local enterprise Bean Convert_JMS2Bin
SAP XI JMS Adapter/ConvertBinaryToXMBMessage Local enterprise Bean convert_Bin2XI
sequence is correct or wrong?
Similar Messages
-
NameNotFoundException in JMS Sender Adapter
Hi,
I am doing JMS to File Scenario.
In the JMS Sender Adapter, I am getting the following error.
Channel error occurred. Detailed error (if any) : com.sap.aii.adapter.jms.api.connector.ConnectorException: Error looking up connection factoryQueueConnectionFactory, for profile: ConnectionProfile of channel: JMS_Senderon node: 215438950 having object id: 8a69f5589d733e01b34a6dd53c6c4acf: javax.naming.NameNotFoundException: QueueConnectionFactory in QueueConnectionFactory not found at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createConnectionFactory(JndiConnectorImpl.java:134)
Can someone let me know why this error is happening and the solution ?
Thanks in advance,
NeenaHi Neena,
What JMS server are you using?
This seems the parameter settings in JMS sender is incorrect. check this link for vendor specific details
http://help.sap.com/saphelp_nw04/Helpdata/EN/c1/739c4186c2a409e10000000a155106/content.htm
Hope the JMS drivers were installed properly!!!
Regards
Suraj -
Handling large messages with MQ JMS sender adapter
Hi.
Im having trouble handling large messages with a MQ JMS sender adapter.
The messages are around 35-40MB.
Are there any settings I can ajust to make the communication channel work?
Error message is:
A channel error occurred. The detailed error (if any) : JMS error:MQJMS2002: failed to get message from MQ queue, Linked error:MQJE001: Completion Code 2, Reason 2010, Error Code:MQJMS2002
The communication channel works fine with small messages!
Im on SAP PI 7.11, MQ Driver is version 6.
Best Regards...
PeterThe problem solved itself, when the MQ server crashed and restarted.
I did find a note that might could have been useful:
Note 1258335 - Tuning the JMS service for large messages or many consumers
A relevant post as well: http://forums.sdn.sap.com/thread.jspa?threadID=1550399 -
Failed to generate Alert for JMS Sender adapter
Hi Folks,
My scenario is JMS to IDOC..
I have configured the Alert rules and the alerts are working fine for the Integration engine errors.. and apart from the alert rule there is one more alert rule configured for capturing the alerts of the adapter engine..
When i provide the queue name as invalid one .. i am able to receive the alerts for the same via alert rule of adapter engine..
When I force to make the channel to error with the invalid headers of RFH2 (with correct queuename) the channel status is showing error ..but interestingly no alert for the same...
Now My question here is how to test the generation of the alerts by forcing the JMS sender channel to error. ?
I already checked the report SXMSALERT_LOGREADER for verification but no luck..
Can some one throw light on this?
Forgot to mention i am using IBM MQ ...
Regards
Rajesh
Edited by: Rajesh on Jul 8, 2010 10:08 AMHi Raj,
Thanks for your reply...I am fetching the RFH headers using UDF via Dynamic config only..
Apart from the configurations errors mentioned for alerts(as i am success in this case)...I am testing if there any data related errors like wrong RFH Headers for JMS sender adapter though the channels showing error status in this case ...but its not throwing the alerts...
I want to know whether the alert will be triggered for this or not...if not why ..as it should..
if yes i am unable to get.. what troubleshooting can be done for this...
if you have any other cases (aprt from config issues)for alert trigger...and also apart from RFH headers case..can u pls share..so that i will try the same..
MY only question here is why the adapter not trigering the alerts when wrong RFH Headers are sent along the message..but showing the channel status as red..(is it a bug ?)
Thanks in Advance
Rajesh -
Hi All,
I am trying to Pick two different XML types of Messages from a Single Queue.
For Example :- Despatch Advice and Replishment Proposal.
Queue Name is : - JMS_XI_Sender
SAP XI is not allowing me to create two different sender agreements for the same communication channel.
Service :- BS_JMS
Interface : - Despatch_Advice_OB
CC :- JMS_SENDER
and
Service :- BS_JMS
Interface : - Replishment_Proposal_OB
CC :- JMS_SENDER
Can any one tell how can SAP XI will differentiate these two messages and sends to two different receivers.Hi Rama,
I am using XML Despatch Advice and Replishment Proposal types .
Basically I do have one sender which will post Two types of XML messages in to one single MQ Queue.
SAP XI/PI has to pick that message and then needs to check what is the Value in the "Message Type" Tag .
I do also have two different Interfaces and Mappings and Two different Receivers.
Depending on the value in Message Type SAP XI/PI has to check for the Particular Interface and Mapping, finally needs post the message to Particular Receiver
You need to have defined two different sender agreements with two different Communication channels.
In the JMS adapter Sender configuration you can mention the Queue name to pick the message . After picking the message the JMS sender adapter need to map it to the correct message type - it is defined by message interface defined in the sender agreement .
Please let us know if you need any further calrification.
Regards,
kishore -
JMS Sender Adapter EOIO with different messages in Queue to RFC
Dear Colleague,
In one of my scenarios i am using JMS Sender Adapter and Websphere MQ series.
In my MQ Series Queue i get different Messages with Different Structures.
for e.g in my MQ Series Queue Q1 i have M1, M2, M3 coming in Order.
Now i need to doa Mapping of M1 to a Standard BAPI B1 call through RFC at the reciever side.
Now i need to doa Mapping of M2 to a Standard BAPI B2 call through RFC at the reciever side.
Now i need to doa Mapping of M3 to a Standard BAPI B3 call through RFC at the reciever side.
We are aware that on Receiver side we can have multiple Recievr Determinations.so i can send it to 3 different BAPIs.
Question:
But how do i split the Messges which are coming out of MQ series Q from JMS to 3 different Mapping Structures as we knwo that we do not 'Multiple Sender Interface Determinations' from Determined based on the Message which is coming in.
Hope i have been clear in making myself understand about the problem given above.
I have alos given below the same in a bit Graphical Form.
MQ Series --> M3, M2, M1(Messages) --> JMS Adapte(EOIO) --> M1(Message) -> RFC -> B1(Bapi)
--> JMS Adapte(EOIO) --> M2(Message) -> RFC -> B2(Bapi)
--> JMS Adapte(EOIO) --> M3(Message) -> RFC -> B3(Bapi)
Is it possible to achieve the above result. Answers fo the solution are most welcome. These can be also from the new Netweaver Release Versions. If we have the solution to these in New version we will implment the New Netweaver Releases.
Thanks & Warm Regards
VenugopalDear Kai,
if i have 3 MQ series Queues then how are we going to maintain the flow of the Messages in the same order in which has come into MQ series queues.
this mesans to say that all the Message come in Parallel out from JMS or MQ side and will be mapped onto Reciever side.
But in my case i wil need to have M1 first M2 second and M3 third.
This means to say that M1 recived and acknowledged then M2 should come and acknowledged and then M3 should be acknowledged.
How this will be possible with your solution of making 3 MQ series Queues.
Please do let me know.
Thanks
Venugopal -
Content conversion in XI using JMS Sender Adapter.
Hi,
I have scenario where i will get fixed length flat file from MQ and i need to create an IDOC.
The flat file structure is like below.
HEADER001002003 (Occurs once)
DELIVERY0000111112222 (Min - 1 and Max - Unbounded)
Detail33333344444455555 (Min - 1 and Max - Unbounded)
NOTE -- Detail record is sub level record of DELIVERY.
I would like to do content conversion in JMS SENDER ADAPTER.
Did anybody worked on similar scenario?
I would appreciate ,if anybody provides info on how to do it.
Regds,
Jagdish.Hi
Please have a look at these threads..u get an idea abt the content conversion.
JMS Adapter: Content Conversion
https://forumsn.sdn.sap.com/click.jspa?searchID=2171243&messageID=3319704
JMS Adapter Content Conversion
JMS Content Converrsion
Hope these help you! -
JMS sender adapter is not picking up message from MQ
Hi Experts,
I have configured the JMS sender adapter for getting message from Websphere MQ. In RWB the adapter and the communicaiton channel all looking good. The trace file tells me the connection to the queue has been established.
But the problem is this JMS sender adapter is not picking up message from the Queue defined on the MQ site.
Any Idea what could be wrong?
Thanks!
Jason
JasonHi,
1) Can you activate the JMS adapter again ( edit save and activate it )
2) Check whether the right Queue is addressed.
Regards
Agasthuri Doss -
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,
RaksHi,
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 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 ReddyHi 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 -
JMS Sender adapter configuration
Hi,
I have a problem in configuring my JMS sender adapter. My source structure is in the form of a FIXED lenght file.
Its structure is as follows:
Rec ID Required Loop repeat
SHC R 1
SCO R 1
SAM O n
SCD R 1
SCP O n
LTX O n
SCC O n
SUM R 1
where R indicates Required record type
O indicates Optional record type
1 indicates the record type occurs only ONCE in a record
n indicates the record may occur 0 to unbounded times in the record.
This is how I have defined my record set structure in the Module tab of the JMS adapter configuration.
SHC,1,SCO,1,SAM,,SCD,,SCP,,LTX,,SCC,*,SUM,1
The problem with this configuration is that the adapter expects the input file in this format
SHC
SCO
SAM
SAM.
SAM
SAM
SCD
SCD
SCD
SCD
SCP
SCP
SCP
SCP
LTX
LTX
LTX
LTX
SCC
SCC
SCC
SCC
SUM
Whereas my input file format has the following structure
SHC
SCO
SAM
<u>SAM</u>
SCD
SCP
SCC
SCD
SCP
<u>SCP</u>SCC
SCC
SCD
SCP
SCC
<u>SCC</u>
Could please tell me how I can handle this in my adapter config. I have gone through the following How To guide "How to ...Use the Content Conversion Module within the XI 3.0 J2EE JMS Adapter" but dont find how I can do this.
Cheers.HI,
Please see the below content conversion parameters
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
Regards
Chilla -
Concurrency for JMS Sender Adapter - Async/Sync Bridge
Hi,
We have implemented a number of Async/Sync bridges using JMS Adapters, and are encountering problems scaling the solution.
Async-Sync Bridge Scenario:
JMS Sender Adapter -> Integration Server -> Sync ABAP Proxy (CRM) -> JMS Receiver Adapter
The bridge is using the Adapter Framework modules: RequestResponseBean & ResponseOnewayBean within the Sender Adapter.
The problem is that concurrency of processing seems to be driven from the number of Java Server Cluster Nodes on the Adapter Engine. The JMS sender adapters do not appear to read from the external messaging system (MQ) in a concurrent fashion. They appear to process in a sequential manner per Adapter:
1. Read from request Message Queue (MQ)
2. Send request for processing (IS)
3. Wait response message
4. Receive response message
5. Write response message to Message Queue (MQ)
6. Read from request Message Queue (MQ)
7. Send request for processing (IS)
8. Wait response message
9....
We need to be able to introduce some means of scaling the solution so that mesages can be read from the MQ request message queue in a concurrent manner. Hopefully we can do this without adding more javer server nodes to the Adapter Engine.
We were looking intot he possibility of tuning AS Java properties that control the number of connections to the Messaging System of the Adapter Engine but this has not provided a solution.
Any information on this topic would be much appreciated.
regards
MurrayAs far as I know, the only wasy for JMS adapter to do concurrent reads from a queue is by having multiple server nodes. This is document in note 856346, point 6.2
Thanks
KK -
JMS sender adapter To File scenario
Hi all,
How the Message picked from the JMS Queue will be converted to XML using JMS Sender adapter. We have the setting "Mapping of Message" set either to Message Payload = JMS Payload or Entire Message = JMS payload. What should be the Message Interface, MT and DT for these kind of setting in JMS adapter.
Thanks in advance.
AmulThe JMS adapter does not convert the message to XML by default. You can use the MessageTransformBean to achieve this.
Check this document:
https://websmp207.sap-ag.de/~sapdownload/011000358700001186732005E/HowToConveModuleJMS.pdf
Regards
Stefan -
XI JMS Sender adapter EOIO with serialized messages
Hello
I have a customer question. They would like to use a JMS sender adapter with quality of service EOIO. There will potentially be multiple messages in a MQ Series queue at the same time, but they want XI to pick up these messages in the correct order. Is this possible? The documentation for JMS sender adapter lists the following:
"Specify the Processing J2EE Cluster Server (Cluster ID).
This specification stops queue-jumping in the JMS queue. The valid cluster ID is located on the J2EE server Administrator under Server."
Does this relate?
Thank you,
Harold> I have a customer question. They would like to use a
> JMS sender adapter with quality of service EOIO.
> There will potentially be multiple messages in a MQ
> Q Series queue at the same time, but they want XI to
> pick up these messages in the correct order. Is this
> possible?
Yes. Just choose <i>Exactly-onces-in-order</i> for Quality of Service.
> The documentation for JMS sender adapter
> lists the following:
> "Specify the Processing J2EE Cluster Server (Cluster
> ID).
> This specification stops queue-jumping in the JMS
> queue. The valid cluster ID is located on the J2EE
> server Administrator under Server."
When you choose EOIO, the processing can be done by one J2EE server node only. So put the cluster ID of the required server note here.
Regards
Stefan -
Hi Experts,
Any idea about this error. We are getting following in JMS receiver adapter in PI 7.1.
Delivering the message to the application using connection JMS_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Connector for ConnectionProfile of channel: JMS_Receiver_THQPRD2_Slow_Replyon node: 284760550 having object id: cf2f6eb7d6c93902b64b27bfcaad0ba5 encountered error: MQJMS1016: an internal error has occurred. Please contact your system administrator. Detail: java.lang.NullPointerException: while trying to read the field 'ccsid' of an object loaded from field com.ibm.mq.MQSESSIONClient.comms of an object loaded from local variable '<0>' in sending to destination queue:///QR.EAIPRD.THQPRD2.REPLY.SLOW?targetClient=1, the message message: JMS Message class: jms_text JMSType: null JMSDeliveryMode: 2 JMSExpiration: 0 JMSPriority: 4 JMSMessageID: null JMSTimestamp: 0 JMSCorrelationID:ID:414d5120504c535748353533202020204e6324ae23eb5b2d JMSDestination: null JMSReplyTo: null JMSRedelivered: false XPLOR PIPXSDI2030 45219q00282YSDI2030PROCESS_MQSERIES PLSWH553 Another 12,761 character(s) omitted: javax.jms.JMSException: MQJMS1016: an internal error has occurred. Please contact your system administrator. Detail: java.lang.NullPointerException: while trying to read the field 'ccsid' of an object loaded from field com.ibm.mq.MQSESSIONClient.comms of an object loaded from local variable '<0>'.
Thanks,
HariHello,
The error indicates a JMS driver issue.
Another customer resolved this issue by updating their MQ and the MQ drivers version (in their case to 6.0.2.8.)
You could try contacting IBM for advice on a similar upgrade.
#1086303 XI JMS Adapter and IBM Websphere MQ: FAQ
12)What is the recommended version of MQ drivers for the PI JMS
Adapter - IBM MQ connectivity ?
Kind regards,
Sarah
Maybe you are looking for
-
Volume control not working when speakers/headphones plugged in.
When my external speakers or headphones are plugged into the back of my iMac, the volume control won't work. A "no sound" icon appears and the volume slider will not move. When I unplug speakers or headphones everything goes back to normal. All updat
-
500 Internal Server Error after JSP trys to invoke a BPEL Process
I get the 500 Internal Server Error after hitting the submit button on my displayed JSP screen. Did somebody had already the same error: Thanks The JSP Source is: <%@ page contentType="text/html;charset=windows-1250"%> <%@page import="java.util.Hasht
-
What hardware is compatible with the MAC OS
Other than the MAC hardware available from Apple, what hardware is compatible with the Mac OS? Is there any AMD compatible hardware or other Intel 64 bit hardware that is compatible with the OS? Like the Mac Pro but ... Mac OS X (10.4.8)
-
Link opened in an IFRAME abandons the page
A certain page on my site uses an iframe to link to a page in another domain. My page loads properly and displays the content from the remote domain in the iframe that I expect to see. Problem comes whenever I click on any link within the iframe. The
-
Understanding static ip route command
Hi all, this is not a technical problem, I am just trying to understand how the static ip routes in the form: ip route vrf my_vrf 10.10.10.0 255.255.255.0 Te1/8/16 will work. According to the CISCO documentation, the network 10.10.10.0/24 will be con