Missing message in JMS adapter sender
Hi,
we have a synchronous interface with a JMS adapter. The scenario is:
ECC 5.0 -> XI -> MQSeries -> XI -> ECC 5.0
We put the message in the queue MQ correctly and we get the response message. I can see this in the adapter monitoring in RuntimeWorkbench. But from this moment the message is missing. I can't see anything in the bpm monitoring (SXMB_MONI_BPE). The bpm stops in workitem receive but doesn't return any error.
I don't know how to see where we lose the message and why.
Thanks for advance.
Paloma
Hi,
Can you see your message in SXMB_MONI? Is your BPM is in running state in sxmb_moni?
You can double click on "PE" in sxmb_moni. It will take you to the Workflow display. Then click on button Technical details,which will show you all steps and if you expand all branches..you should be able to see your error / exception message in case if any.
Please check n let us know the result.
Nilesh
Similar Messages
-
Missing Messages by JMS Adapter
We are using JMS adapter to send the X12 messages to XI and we are having intermittent issues when the server load is high or server is given a restart.
Some of the messages from MQ are not processed by the adapter and are lost.
We have to resend the messages again.
has anyone face similar problems in prod. Solution for the problem would be awarded full pointsHi,
check the "Transactional JMS Session (Recommended)" check box.
Then no message loss will happen from MQ.If there is any messages loss, go and check the dead lock Queue. -
Read Object Message using JMS Adapter
Hi,
My JMS queue receives an object message.I want to read that object message using JMS adapter.Currently the JMS Adapter payload type is given options to read only 'TextMessage','BytesMessage','MapMessage'.How to read ObjectMesage using this adapter?Please help me on this?Hi,
As far as i know, JMS Object Messages is not supported by XI JMS adapter.
you need to have the JMS provider to transform the message to bytes messages.
(Refer to SAP note 856346) -
Idoc xml message in JMS adapter
Hi All,
Question 1:
My scenario is MQ series(JMS adaptr) to SAP(IDOC adptr) . In my mapping both source and target structure is same IDOC structure.Where MQ series will send IDOC xml. In such case shall i need to do content conversion at JMS adapter level or not.whthr IDOC xml can be directly handle at Mapping level without doing any content conversion in adapter level.
Question 2(viceversa):
SAP(IDOC adptr) to MQ series(JMS adaptr) . In my mapping both source and target structure is same IDOC structure.Where MQ series expect me IDOC xml. How to handle content conversion at JMS recvr adapter level.
my assumption only in case of (xml to plain) and (plain to xml) require content conversion here my Input and output is IDOC xml.Saravanan,
As Expert Vishnu Mentioned,
>In such case shall i need to do content conversion
NO need to use
>How to handle content conversion at JMS recvr adapter level
http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-adapters/how%20to%20use%20the%20content%20conversion%20module%20with%20xi%203.0%20j2ee%20jms%20adapter.pdf
Cheers
Agasthuri Doss -
JMS Adapter: Sending data with WebSphere MQ Client to XI
Hi,
I want to send data from the WebSphere MQ Client to the XI. Is this possible and what do I have to do except configuring the JMS queues in Visual admin?
Thanks in advance
Dominichi
xi jms adapter will read/write data frm queue.
but u want to access the jms queues in XI WAS frm ur MQ client
..will hv to access it directly frm ur client
chk this
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/604e2b64-e689-2910-64b3-ffd650f83756
rgds
arun -
Dequeue jms messages using JMS adapter
Hi,
I have created jms server, modules, queue from console-messaging-jms modules.
I am trying to create a soa composite to consume message from this queue.
In JMS adapter wizard - step 7 - i have selected the destination queue. In this step, what should be the jndi name?
do i need to update weblogic-ra.xml file?
Can someone please point me to the steps/doc to create jms adapter to consume message from Oracle Weblogic JMS? (basically configure deployment descriptor)
Thanks
GaneshBy passing username/password in the outbound connection pool, i was able to connect to the secured weblogic jms..
This was my config for eis/wls/Queue connection pool..
AcknowledgeMode java.lang.String AUTO_ACKNOWLEDGE
ConnectionFactoryLocation java.lang.String weblogic.jms.XAConnectionFactory
FactoryProperties java.lang.String
IsTopic java.lang.Boolean false
IsTransacted java.lang.Boolean false
Password java.lang.String weblogic123
Username java.lang.String weblogic
After making the change ( remember to hit enter after modifying password and username fields, else change wont persist) , i saved it with a new deployment plan and updated the deployment with the new plan. Then redeployed the composite containing the jms adapter and I am able to see a consumer created for the queue. -
Maximum message size JMS adapter can pick
Dear All,
I have query on JMS adapters.
1) I would like to know what is the maximum size message JMS adapter can pick?
2) Is there any option in JMS adapter, to define the maximum size?
You help/guidance will be very much appreciated.
Thanks,
Praveenkumar1) If you see any issues with JMS XI Adapter handling 30MB messages in
Production systems.
If message size beyond 10MB then the message wont come to SXMB_MONI itself.....may be even in CC monitoring there may not be an entry....you mentioned Production Systems.....did you checked in Dev? The behavior wont change from Dev to Prod.
2) If 30MB is huge, what is the maximum permissible message size
greater than 10MB as break point.
10MB itself is the limit...anything above that wont be processed.
Regards,
Abhishek. -
Missing messages in JMS sender adapter
Hello All,
We are in the testing phase of one of the our implementation porject, In which we have used JMS to IDOC scenario for WMS interfaces.
But unfortunately we are not receiving all the messages in SAP PI from JMS queue.
We have checked with JMS provider and maxximum JMS queue message limit is 100000. and there is no other system is trying to access the same queue.
also there is no message overwritting issue from JMS side.Please check the below screenshot for the channel configuration.Hi Anant,
are you on AEX or Dual Stack? We are experiencing some similar problem at the moment with errors like this show up in the default trace
com.sap.sql.exception.OpenSQLIntegrityConstraintViolationException
[NON_TRANSIENT, INTEGRITY_CONSTRAINT_VIOLATION]
If that's the case in your environment, there's a note for that http://service.sap.com/sap/support/notes/1983366
We discovered that the problem occurs especially in high load situations.
Cheers
Jens -
Sender JMS adapter in processing tab queue id ,How get queue id?
Hi ,
Anyone help me ,In JMS adapter sender side Processing tab one field i.e Queue id -What i do the Queue id field
Thanks
NaiduHello Naidu,
You appear to be seeking answers to interview/exam type questions. Can you confirm this? This is not permitted on this SCN forum.
The questions you are asking in this and other Discussions you have created are of a very basic nature. We expect that you first attempt to find answers to basic questions by conducting a search e.g. using the forum search functionality, help.sap.com etc.
This forum is designed for expert users to assist each other with technical PI issues. It can not be used to learn about the product. Please use the SAP Training and Education space if you wish to learn more about PI.
This thread will be locked by a Moderator and your user will be monitored for future posts.
Regards
Moderator -
Setting JMS Message header and properties in JMS Adapter ESB Component
Hi,
I am new to using some of these adapters in Oracle ESB and need some help.
I am trying to define a JMS Publisher using JMS Adapter component in JDeveloper. I would like to publish messages with message property set to a topic. I dont find a way to do that.
I see that for consuming JMS messages, the JMS Adapter allows to specify message selector but I could not find a way for producing message with a user defined message property. I would like to use that property in the message selector to filter messages and consume.
I am using Oracle SOA Suite 10.1.3.3.x
Can someone help please?
Thanks.Thanks for the response.
I think I found the solution although I havent tried it out yet.
ESB sample 110.JMStoJMSHeaders outlines the approach.
It is my understanding that JMS Message selector can work on JMS header or JMS properties (user defined) but not on JMS body. (All the three constitue a JMS message). Hence the need to set a JMS property prior to publishing the message to a topic/queue.
Thanks. -
Hi
I have to build interface for scenario IDOC-XI-JMS adapter and legacy syetem is MQ-series. All the jar files has been deployed which is the pre-requisite to use JMS adapter.
Can anyone tell me if I should send data in file or as message.
Also if you can tell me the steps to build this interface. Please refer to some relevant blogs but would appriciate if you can explain me steps.
Points will be rewarded for the appropirate replies.
RegardsHi,
>IDOC-XI-JMS adapter
Sender Side IDOC Adapter, Hence No Need Sender Agreement, Import the IDOC in XI System , Declare the Data Type for the Receiver side..Message Type..Message Interface as Ingoung..Do Message Mapping..Interface Mapping..In Configuratio Receiver JMS Adapter. Mention the Driver Information,User ID & Password and go ahead and test it
Regards
Agasthuri Doss -
JMS Adapter module content conversion
Hi,
I'm developing a module for the jms adapter(sender). My requirement is to parse the XI message(text) using some XML parsing api and do some formatting, logic etc and to make the jms adapter create a xml file with the processed information. Jms File Content Conversion does not suit our requirement and thats the reason we are trying this option.
My understanding is: Access the payload in the "process" method of the local ejb, apply XML parsing using JDOM etc, make a xml which should be the output of the jms adapter. This xml will be the xml with my user defined tag elements after content conversion. Can i form this xml and assign to the inputModuleData? Will the jms adapter use this string to create the xml and send to IS? Are there any other parameters to be set or processes to be done?
Also in which sequence should I put my adapter module in communication channel.
================================================
My code snippet:
public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData)
throws ModuleException
Object obj = null; // Handler to get Principle data
Message msg = null; // Handler to get Message object
try
obj = inputModuleData.getPrincipalData();
msg = (Message)obj;
AuditMessageKey amk = new AuditMessageKey(msg.getMessageId(),AuditDirection.INBOUND);
Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS,"sample: Inside sample Module---efore reading payload");
try
XMLPayload xmlpayload = msg.getDocument();
String messageStr = xmlpayload.getText();
String inputStr = null;
String tags[] = new String[2];
String values[] = new String[2];
Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS,"sample: Inside sample Module---before content conversion");
String tagvalue1 = messageStr.substring(messageStr.indexOf("BEGIN+"), messageStr.indexOf("'");
String tagvalue2 = messageStr.substring(messageStr.indexOf("'"), messageStr.lastindexOf("ENDING");
tags[0] = "tag1";
tags[1] = "tag2";
values[0] = tagvalue1 ;
values[1] = tagvalue2 ;
Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS,"sample: Inside sample Module---after content conversion");
Document xmldoc = null;
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
DOMImplementation impl = builder.getDOMImplementation();
org.w3c.dom.Element e = null;
Node n = null;
xmldoc = impl.createDocument(null, "MT940", null);
org.w3c.dom.Element root = xmldoc.getDocumentElement();
for(int i = 0; i < tags.length; i++)
e = xmldoc.createElementNS(null, tags<i>);
n = xmldoc.createTextNode(values<i>);
e.appendChild(n);
root.appendChild(e);
Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS,"sample: Inside sample Module---before dom creation");
DOMSource domSource = new DOMSource(xmldoc);
ByteArrayOutputStream myBytes = new ByteArrayOutputStream();
Result dest = new StreamResult(myBytes);
TransformerFactory tf = TransformerFactory.newInstance();
Transformer serializer = tf.newTransformer();
serializer.setOutputProperty("indent", "yes");
serializer.transform(domSource, dest);
Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS,"sample: Inside sample Module---before setting principal data");
byte[] docContent = myBytes.toByteArray();
if (docContent != null) {
xmlpayload.setContent(docContent);
inputModuleData.setPrincipalData(msg);
Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS,"sample: Inside sample Module---after setting principal data");
catch(ArrayIndexOutOfBoundsException e)
e.printStackTrace();
catch(StringIndexOutOfBoundsException e)
e.printStackTrace();
catch(TransformerException e)
e.printStackTrace();
catch(Exception e)
e.printStackTrace();
catch(Exception e)
ModuleException me = new ModuleException(e);
throw me;
return inputModuleData;This is for sender channel. The doubt in adapter module is in the process block how will I get the main data being read by the jms adapter from the text file.As I am reading text file from websphere MQ, the content of the text file can be obtained thru xmlpayload.getText() or is there any other way.
obj = inputModuleData.getPrincipalData();
msg = (Message)obj;
XMLPayload xmlpayload = msg.getDocument();
String messageStr = xmlpayload.getText();
At present I am using my adapter module before call sap adapter, but before sap adapter there are two other modules(toBinary and to Xmb), so shld I place it before both or after both the modules.
Thanx in advance
Rachit -
JMS Adapter...
Hi Frnds,
I am working on one scenario using JMS Adapter,
my requirement is i have to read messages from JMS Queue,suppose in Queue there is 20 messagesa have to read at a time 20 messages using JMS Adapter and merge into one message.
JMS Adapter wl support to read multiple messages at a time?
without BPM i have to ahieve this..is it possible?
Regards,
RajHi Frnds,
thanks for your valuable replay,
with BPM i can achieve this but my client not accpeting to use BPM.
without BPM i am looking for solution, i written java map to merger all messages in to one message.
but as per your input JMS Ada[ter wl read only one message at a time.
Regards,
Raj -
JMS adapter: JNDI server address
Hi,
i try to configure a JMS adapter(sender), i have to provide the JNDI server address, which is host:port.
Could you sat which port do i have to provide?
regards,
Peter HaHi Peter,
Please provide the J2EE server port 5XX00.
Regards
Sidharth -
Message format to be send to the JMS Adapter
Hi all,
I have a very strange situation. i have a sender JMS channel where i am trying to use the Message Transformation module
I have done the configuration but the problem is that i have made a .dat file
AAABBBCCC
DDDEEEFFF
and i am using the PutMessage fuction to put the messages in the Queue and process it
dont knw y but the newline characters get disapeared. I am not sure why this is happening on investigation i found that we have 2 modules which are used before the conversion for XML
localejbs/SAP XI JMS Adapter/ConvertJMSMessageToBinary
localejbs/SAP XI JMS Adapter/ConvertBinaryToXMBMessage
Is it because of this.. that the channel is behaving like it. please give your inputs as to what can be done
if so will the messages work fine if the messages are directly put into the queue
what special character should i use to get the desired output with new line charactersHi Abhisheek,
It doesnt work... i tried adding the ISO 8859 1 in the module and also tried setting the CCSID which is to 819.. for the ISO 8859 1.. bt i doesnt work
i dont understand why its behaving in such a manner but i really feel some silly mistake i am missing out a parameter or something...
I have created a txt file with 2 line only
AAABBBCCC
DDDEEEFFF
And jst trying to pick up this file without any conversion ... kind of a JMS to File senario without any modules.. it still doesnt work..
i dnt think it is recognizing the new line which i have given.. or may be because the conversion modules are stripping out the new line characters
And i have not upgraded my system as well. its XI 7.0 SP 9
RGds
ADitya
Maybe you are looking for
-
Is there any JavaEE sample application somewhere which can be runnable by Weblogic server ?
Is there any JavaEE sample application somewhere which can be runnable by Weblogic server ? I would like to learn how JavaEE application and framework work on Weblogic. Or is there any e-learnign seminar or how to video ?
-
How to manually delete messages in SXMB_MONI_BPE. we need the access for SWWL Transactiion.Do we have some other method for deleting the processes manually. Regards Abhishek Mahajan
-
Windows 7, Windows Photo Viewer
When I try to open a photo attachment (jpeg), it defaults to Windows Photo Viewer, says Loading, but does nothing more than immediately freezing my HP computer. I then have to shut down and reboot my computer. All efforts to re-open the attachment ha
-
I want to use the OEM to apply a patch to the database. On step 4 "Stage or Apply" it shows a DOS script with comments about stopping services and bringing them back up and performing post installation tasks. What do I need to put in here? Will it au
-
How do i check the inventory to see when the iphone 5 will be in stock?
Im just trying to figure out where the inventory checker is online