Large Messages fail on Integration Engine
Hello Guys!
I have an integration scenario with <b>large</b> messages going from ECC to XI (RFC -> XI -> JDBC) and these messages frequently fail on Integration Engine (inbound queue SYSFAIL).
1) Can't XI process large messages?
OR
2) Is there an integration engine configuration parameter that limits message size? (<i>I think that's not the case, because sometimes I can manually restart a message that failed on a first attemp</i>)
OR
3) Is there an integration engine configuration parameter that limits processing time of a message?
Thanks
Julio
Hi Julio,
i think you can click on the sysfail to get more info. Check as well SM21 for the error. Assumedly it was too much for Java Runtime and you should find a temporary down destination AI_RUNTIME_JCOSERVER.
SAP note 723909 shows how to tune JVM and increase Java Heap Size.
You should control if more than one msg leads to the error. If that is the case, may be a simple change of QOS to EOIO could solve the task to avoid more than one msg processing parallel. Reducing parallel JCO server threads would be similar strategy.
A direct Java Maping could be another idea. Message Mappings will be generated to Java with a quite huge source code, a direct written mapping could be more performant / stabil.
Regards,
Udo
Similar Messages
-
How to retrive the old messages in sxmb_moni (integration engine)
Hi Expert,
We were trying to call RFC and send some messages through XI. Due to some connection issue the message was failed in integration engine(MONI). As this messages had failed last week. We are not able to see the messages in MONI.
Now we wanted to get the payload of the messages which had failed.
Can you please suggest how can we see those messages and get the payload which is now not visible in MONI.
Thanks in advance.
Thanks,
Nutan Champia.Hi All,
Thanks for your response. I am able to see some messages in the mentioned table but I am not able to open those messages in MONI with the message id given in the table SXMSPMAST2 (SXMSPMAST) and SXMSPHIST to get the payload. (I have given date selection critaria as 1st of Nov 2011 till date). As this is very important for us would you please help us.
Hi Venkata Ramesh,
So if I have correctly understood you, then you mean to say that these messages which is not visible in moni we can not retrive the payload.
Would you please help me to understand where can we see the settings to mention the number of days for which these messages should appear in MONI. (So that we can increase or can see the current settings for our project)
Thanks
Nutan -
Auto Cancellation of Messages in the Integration Engine.
Dear all,
Issue: Auto Cancellation of Messages in the Integration Engine.
Description: Actually Today, I'm facing Problem in message mapping and its showing error "JCO_SYSTEM_FAILURE". Finally the message is Auto Canceled and showing the status in the Message Monitoring as Canceled with Errors.
I have doubt here how the messages are Auto Canceled with Error? Is there any system or ABAP program which cancelling these messages?
Waiting for yours valuable reply on the above issueu2026
Edited by: BhavinPatel on Oct 7, 2010 8:15 AMHi Bhavin,
Two report program are there to cancel error msgs automatically..
1) RSQIWKEX
2) RSXMB_CANCEL_MESSAGES
Regds,
Pinangshuk. -
No message reach into Integration Engine ...
Hello,
I have following problem. I send message to XI through SOAP adapter. But the message doesn't reach of Integration Engine. It is delivered into Adapter Engine and then it stays in status "Waiting". When open message detail in RWB I get these information:
Message Data
Attribute Value
Engine Adapter Engine
Status Waiting
Repeatable Yes
Cancelable Yes
Start 29.08.2008 12:14:59
End 29.08.2008 12:14:59
+Sender Party +
Sender Service BS_GetSupperior
Sender Interface http://sntcz.cz/xmlns/holidays
MI_Holiday
+Receiver Party +
+Receiver Service +
+Receiver Interface +
Quality of Service Exactly Once
Error Category XI_J2EE_ADAPTER_XI_HANDLER
Error Code GENERAL_ERROR
Message 55C9628075B311DDABE200301875333B
+Reference +
... and in defaultTrace file occures this message:
#1.5#00301875333B0057000000DE0000109C00045596D2CD72D8#1220006176812#com.sap.aii.af.ra.ms.impl.core.queue.SendConsumer##com.sap.aii.af.ra.ms.impl.core.queue.SendConsumer.onMessage(QueueMessage, boolean)#J2EE_GUEST#0##srvbr05_NW4_2798750#XISUPER#18255d00759d11ddc1a500301875333b#SAPEngine_Application_Thread[impl:3]_31##0#0#Error##Java###Transmitting the message to endpoint using connection failed, due to: .#3#AFW#com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 500 : Error during conversion of XI message#http://srvbr05:8000/sap/xi/engine?type=entry#
#1.5#00301875333B004B0000009D0000109C00045596D2CE9B64#1220006176890#com.sap.aii.messaging.srt.xmb.XMBWebServiceExtension#sap.com/com.sap.aii.af.soapadapter#com.sap.aii.messaging.srt.xmb.XMBWebServiceExtension#XISUPER#2919##srvbr05_NW4_2798750#XISUPER#ecff64f075af11dda90200301875333b#XI SOAP[BS_GetSupperior_SOAP/BS_GetSupperior/]_2449##0#0#Error##Plain###no message ID available#
#1.5#00301875333B0049000001270000109C00045596D3111C00#1220006181250#XIRWB.com.sap.aii.mdt.api.server.MessageMonitoringBean#sap.com/com.sap.xi.mdt#XIRWB.com.sap.aii.mdt.api.server.MessageMonitoringBean#XISUPER#2920##srvbr05_NW4_2798750##f03f74c075af11ddb4ce00301875333b#SAPEngine_Application_Thread[impl:3]_3##0#0#Error#1#/Applications/ExchangeInfrastructure/RuntimeWorkbench#Plain###enrichMessageData(): Error during retrieving the end-to-end-monitoring information
Thrown:
com.sap.aii.rwb.endtoendmonitoring.util.Sxmb_Get_Pmi_Info_Fault_Exception:
at sun.reflect.GeneratedConstructorAccessor358.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at com.sap.aii.proxy.framework.core.JcoMarshaler.unmarshalException(JcoMarshaler.java:429)
at com.sap.aii.proxy.framework.core.JcoProxy.send(JcoProxy.java:82)
at com.sap.aii.proxy.framework.core.AbstractProxy$JcoProxyHelper.send(AbstractProxy.java:173)
at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:141)
at com.sap.aii.rwb.endtoendmonitoring.util.PMI_PortType.sxmb_Get_Pmi_Info(PMI_PortType.java:28)
at com.sap.aii.mdt.api.server.MessageMonitoringBean.enrichMessageData(MessageMonitoringBean.java:965)
at com.sap.aii.mdt.api.server.MessageMonitoringBean.setMessageList(MessageMonitoringBean.java:762)
at com.sap.aii.mdt.api.server.MessageMonitoringBean.getPureMessageList(MessageMonitoringBean.java:568)
at com.sap.aii.mdt.api.server.MessageMonitoringObjectImpl0.getPureMessageList(MessageMonitoringObjectImpl0.java:1016)
at com.sap.aii.mdt.api.server.MessageMonitoring_Stub.getPureMessageList(MessageMonitoring_Stub.java:1772)
at com.sap.aii.mdt.server.integrationserver.IntegrationServerMonitoringBean.getMessageList(IntegrationServerMonitoringBean.java:354)
at com.sap.aii.mdt.api.server.MessageMonitoringBean.setMessageList(MessageMonitoringBean.java:744)
at com.sap.aii.mdt.api.server.MessageMonitoringBean.getMessageList(MessageMonitoringBean.java:552)
at com.sap.aii.mdt.api.server.MessageMonitoringObjectImpl1_1.getMessageList(MessageMonitoringObjectImpl1_1.java:657)
at com.sap.aii.mdt.api.server.MessageMonitoring_Stub.getMessageList(MessageMonitoring_Stub.java:810)
at com.sap.aii.mdt.util.WebUtil.generateTableViewModel(WebUtil.java:1254)
at jsp_monitor_new1219936385390._jspService(jsp_monitor_new1219936385390.java:9)
at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:68)
at com.sapportals.htmlb.page.PageProcessorServlet.doPost(PageProcessorServlet.java:22)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
If I try to send message to XI directly through HTTP adapter the message is not delivered into Integration Engine.
Do you have any idea what to check or where could be problem?
Thank you in advance for every advice!
Best regards,
ZbynekHi Zbynek,
I think the problem is in the structure of the xml you want to send. I mean, that the structure of the message you are sending by means of SOAP adapter is not the same that the structure in the Inegration Repository.
When you test your message with a wrong BS it is sent to the IE and you can see this message in sxmb_moni with error status. It`s obvius, there is no configuration for this scenario. However if you test your scenario with right parametes but the content (xml structure) is wrong, the step when the content of the call is converted to the structure of the IR will fail. And the message doesn`t get the IE.
So check the content of your call.
I hope it is useful for you.
Regards,
Carlos -
Auto restart of messages failed in Adapter Engine PI 7.0 and 7.1
Hi,
I am trying to figure out a way to automatically restart the messages failed with in the adapter engine (because of the target system not available etc.). These messages are in System Error status and I can restart them from RWB. But I am looking for any report or something available either on Java or ABAP engines so that I can automate the process.
Thanks for the help.
VJI have come across the web service AdapterMessageMonitoring in PI 7.0 (Found it in Web service navigator) with possibly useful methods. But I could not find the same service on PI 7.1. Any clue on this?
Also, the getMessageList methods works perfectly as expected but the resendMessages mehtod fails with the exception -
com.sap.engine.services.ejb.exceptions.BaseEJBException xmlns:ns1="http://sap-j2ee-engine/client-runtime-error">Exception in method resendMessages.</ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException>
Will post more if move forward.
VJ -
Message ID in Integration Engine and Adapter Engine
Hello,
I have one question related to messages generated in XI.
Is the Message ID specified in the Integration Engine same as the Message ID used during the Message transformation in the Adapter engine?
What is the message flow once the message reaches XI and vice versa?
Regards,
Gajendra.Yes.it is the same ID used .
once the message reaches XI it goes thorough IS which has pipe line steps such as inbound processing receivr determination ,interface determination, techincal routing,mapping,outboundporcessing etc.
for more look at this link
http://help.sap.com/saphelp_nw04/helpdata/en/01/d9d43fb9490c65e10000000a114b1d/frameset.htm -
Change status for 18 million messages in the Integration Engine
Hello there!
I have the following situation and I wonder that maybe you could help. Currently I have more than 18 million messages for the BC_XMB object in the Integration Engine for a BI System (connected to a PI system).
The problem here is that the archiving/deletion jobs in this BI system are faulty since maybe a couple of years ago and all of these messages are marked as "Archivable":
What I'm trying to do here is to change the status for these 18 million messages from "can be archived" to "to be deleted" since there is no way that I can archive this 18 million messages (filesystem capacity). I've been looking many option but I cannot figure out how to do it.
Maybe, if you know an alternative way to do this, I will be very pleased to hear it.
Thanks a lot in advance.
CarlosRaghu.
I've done the following:
1. I've executed SE38 tx code.
2. I've entered the "RSXMB_DELETE_MESSAGES" report as "Program"
3. As the "RSXMB_DELETE_MESSAGES" report does not have a selection screen, it must be executed with default parameters. So, I selected "Program -> Execute -> Background".
4. There are no available variants, so I clicked on the "Execute immed." button.
5. The job starts. I can monitor it on the SM37 tx code.
6. It only deleted 20 messages.
What I get from this, is that the "RSXMB_DELETE_MESSAGES" report cannot delete the big part of the messages since them are marked as "Archivable" and not as "Archived".
what do you think of it??
regards
Carlos. -
Message Flow in Integration Engine
Dear Friends,
Kindly can someody share how the message is flowing in Intergration engine after the message taken from Adapter engine.
If you have any block diagram it will be helpful for meHi Karthik,
There are 6 stpes for the message processing thats only called
PIPELINE Steps.
what are all the steps involved in the Pipeline processing.
Sender Adapter picks up the file from the file system, converts it to XML and places it in the payload of an XI-SOAP message. Then it posts this message to the Integration Server pipeline via http(s).
XI pipeline steps are:-
->Sender Agreement
->Receiver Determination
->Interface Determination
->Interface Mapping
->Receiver Agreement.
When a source message reaches the Integration server, it performs 6 steps before the message reaches the destination. The steps are:
1) Receiver Determination: This steps determines the system that participates in the exchange of the message.
2) Interface Determination: For each receiver determine which interface will should receiver the message.
3) Message Split: If more than one receivers are found, Xi will instantiate new message for each receiver.
4) Message Mapping: Mapping to transform the source message to destination message format.
5) Technical Routing: Bind a specific destination and protocol to the message.
6) Call outbound Adapter: Send the transformed message to the adapter or a proxy.
One can examine these steps in Runtime Workbench using the Transaction: SXMB_MONI.
message flow in XI
The life cycle of the message is explained in detail by taking an example scenario. The file is picked up by the Sender File adapter and the data is inserted into DB table by Receiver DB Adapter.
The adapter engine uses the messaging system to log the messages at every stage. This log is called the Audit Log. The audit log can be viewed from the runtime work bench (RWB) to look into the details of the lifecycle of the message. During our journey we will also have a look at the messages that are logged at different stages.
Note: This article is targeted for the newbieu2019s who want to understand the message flow in Adapter Engine. So the insight into the message lifecycle is provided here by taking only the Technical adapters (File/ JDBC/ JMS/ Mail) into consideration. It doesnu2019t delve into the lifecycle of the messages that have reached XI Adapter Engine using RNIF/ BC/ CIDX adapters.
ONWARD JOURNEY:
Fig1. Message flow from Adapter Engine to Integration Server
1. For the message to be picked up by the communication channel, the channel should be associated with a sender agreement. Here creation of a communication channel doesnu2019t ensure the message to be polled and picked up by the adapter. The message reaches the adapter in its native message format. As the communication in SAP XI happens in XI message format, a module inside the adapter converts the message in native format into XI message format.
2. During this process, a message ID is generated for the message. To build the XI header (sender agreement details like the sender system, sender message interface and the interface namespace) the details are fetched by performing a CPA lookup(collaboration-partner-agreement are the configuration object details that have been created using the configuration time. The details are updated into the runtime cache when you activate the Configuration objects in Integration builder u2013Configuration time. This cache is referred to as CPA cache).
3. This message is then sent to module processor for further processing. During the process of sending the message to module processor, the message u201CApplication attempting to send an XI message asynchronously using connection AFWu201D is logged.
4. The module processor performs steps like structure conversion, communication channel specific conversions (that have been specified in the u201Cmodule tabu201D of the adapter channel). These conversion modules are executed in the same sequence as mention in the communication channel.
5. After the successful execution of the conversion modules, the appropriate module (call SAP adapter module) of the module processor is called which will send this message for persistent storage. This message is put into the Send Queue of the messaging system for further processing. Messages like u201CMessage trying to put into the send Queueu201D and u201CMessage successfully put into the queueu201D are logged during this process. A confirmation message (success/ failure) is sent back to the sender application at this stage. This confirmation message is used by the channel to perform various steps like deleting the file that has a processing mode as delete.
6. The message that has been put in the Send Queue has to be picked up and sent to the Integration Engine. The Adapter Engine and XI Integration server use XI Adapter for internal communication purposes. So the XI Adapter picks up message from the send queue and parses the XI message. In this process, the status of the message is set to DLNG and. Messages like u201CThe message was successfully retrieved from the send queue and message status set to DLNGu201Dare logged.
7. The XI adapter performs a SLD look up (System landscape Directory) to find the Integration server with which the Adapter framework has register itself.
8. On successful SLD look up, the message is sent via HTTP to the XI IS pipeline, using the pipeline URL (http://hostname:abap-httpport/sap/xi/engine?type=entry). . If this is successful, a message u201CThe message was successfully transmitted to endpoint http://hostname:8000/sap/xi/engine?type=entry using connection AFWu201D is logged and the message statues is set to DLVD means message has been successfully delivered to the endpoint( XI IS in this case)
Fig2. Audit Log of message during onward journey
RETURN JOURNEY:
The return journey commences when the IS has successfully processed the message and delivers it to the Messaging system using the URL u201Chttp://hostname:50000/MessagingSystem/receive/AFW/XIu201D
br>
Fig3. Message flow from Integration Server to Adapter Engine
1. When the Integration Server (XI IS) finishes processing of the pipeline steps (like receiver determination, interface determination and interface mapping), the message has to be delivered to the required Receiving system. So the XI Integration server will send the message to the messaging system of the Adapter Engine (AE) using the mentioned above. Once the message is successfully received by messaging system, the message u201CThe message was successfully received by the messaging system. Profile: XI URL: http://hostname:50000/MessagingSystem/receive/AFW/XIu201D is logged.
2. As discussed Integration server and Adapter Engine use XI adapter for internal communication purposes. So the XI message that has been received by the messaging system URL is parsed by the XI Adapteru2019s protocol handler.
3. The XI message is put into the receive queue and persisted. During this stage messages like u201CUsing connection AFW. Trying to put the message into the request queue; Message successfully put into the queue.u201D are logged.
4. The XI messages that are put in the receive queue are retrieved by an application (Worker thread) and are sent to AFWListenerBean. AFWListenerBean is a module (an EJB) in Adapter Engine that is capable of parsing the XI message. On successful receive of the XI message by the AFWListenerBean, messages like u201CThe message was successfully retrieved from the request queue.u201D are logged and the status of the XI message is set to DLNG.
5. The AFWListenerBean reads the receiver agreement and the corresponding channel from the XI header to determine the appropriate adapter. In this stage the adapter channel is logged in the audit log. u201CDelivering to channel: XYZ_Channelu201D
6. The message is forwarded to the module processor where additional steps like structure conversions and extra modules specified in the adapter are performed.
7. The exit module is called and the message is sent to the appropriate adapter (DB Adapter in this case). The format conversion will be executed within the specific adapter and sent to the Receiving system (DB in this case) using the channel that has been determined by the AFWListenerBean and the required action is reformed (select statement is performed in this case). On successful processing of the message the status is set to DLVD. -
Message stuck in Integration engine
Hi,
I have a very simple file to file scenerio.
I am sending a file from SAP system to Non Sap system and archiving the file later.
My file is getting archived but its not reaching the destination.
When I check it in the Run time workbench, it says WAITING status in Integration engine.
I don't know why it is taking so long, my polling interval is 10 mins.
And in SXMB_MONI it says that it is in the queue.
Regards,
Lokeshbut in smq2 my queue XBTO2___0000 has 643 enteries and its in a running state for really long time.
If not production, then delete the first message in the queue (if it is not getting re-processed)
For DEV/ TEST encironment you can even delete the queue, if the stuck messages can be ignored (not to be processed).
Regards,
Abhishek. -
Outgoing messages failing in adapter engine
Hi,
I would like to know the cause of the following error which I frequently encounter in my Seeburger AS2 adapter engine for outgoing messages
MIC not verified # MIC values not verified: QRP65LlObLvoGwZmMdIFpuXsvzA=-yqCovOQUkVWawfNVfSrXXaRRt8c=
It appears only in the adapter engine and doesnt reflect as an error in RWB.
We have already checked the certificate being used and found it to be valid.
Would like to know the root cause of this.
Thanks in advanceMIC is the message digest sent by the receiver AS2 system as a part of MDN to acknowledge the status of sent message. This is used by sender for non-repudiation of sent message. This message indicates some problem in the message sent. The point of this verification is the at sender system. This is not exactly XI related problem.
Found a similar problem in Seeburger guides but this is related to authentication failure
Outbound: MIC not verified # authentication-failed, processing continued
Cause:
An incorrect signing certificate is being was used, but the trading partner continued with the
processing, because it doesnu2019t matter, if the message is authenticated, or not.
Solution:
Check the signing certificate configuration.
Regards,
Prateek -
Connectivity failing from Integration Engine to Adapter Framework
Hi Experts,
We are facing in issue for Idoc to file scenario where the messages are failing in the Call Adapter step in sxmb_moni with the error
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">UNAUTHORIZED</SAP:Code>
<SAP:P1>401</SAP:P1>
<SAP:P2>Unauthorized</SAP:P2>
<SAP:P3>(See attachment HTMLError for details)</SAP:P3>
<SAP:P4 />
If I check the trace in the Call Adapter step, this is what I see
<Trace level="3" type="T">URL = http://mpixq1cs01:50000/MessagingSystem/receive/AFW/XI
<Trace level="3" type="T">User = PIISUSER</Trace>
<Trace level="3" type="T">Cached = X</Trace>
<Trace level="3" type="T">Creating HTTP-client</Trace>
<Trace level="3" type="T">HTTP-client: creation finished</Trace>
<Trace level="3" type="T">Security: Basic authentication</Trace>
<Trace level="3" type="T">Serializing message object...</Trace>
<Trace level="3" type="T">HTTP-client: sending http-request...</Trace>
<Trace level="3" type="T">HTTP-client: request sent</Trace>
<Trace level="3" type="T">HTTP-client: Receiving http-response...</Trace>
<Trace level="3" type="T">HTTP-client: response received</Trace>
<Trace level="3" type="T">HTTP-client: checking status code...</Trace>
<Trace level="3" type="T">HTTP-client: status code = 401</Trace>
<Trace level="3" type="System_Error" />
Which means that the connectivity between IE and AE is failing for the user PIISUSER, which basis has confirmed is repeatedly getting locked.
Can anyone please suggest where all this user needs to be maintained in the exchange profile, specially for calling the AFW url.
RegardsApart from INTEGRATION_DIRECTORY_HMI, check any RFC Destination type H if you have proxy communicaiton in your landscape. You might have used the same user there. If there was recent password change for this user, make sure that it was changed in the RFC destinations as well.
Regards,
Prateek -
Message Duplication in Integration Engine
Dear all,
We have issue in one of our PI Production Servers.
It is an inbound interface, Idoc flat files are being picked up by PI and are converted into proper SAP Idocs by ABAP Mapping.
In this case, messages are getting duplicated and SAP Idocs of previous messages are getting copied in the subsequent messages.
In the duplicated messages, we have observed that,
1. In SXMB_MONI, some pipeline steps are not getting displayed when compared to the successful messages.
Successful Message, Pipeline Steps
Inbound Message ( CENTRAL )
Receiver Grouping
Call Adapter
Duplicated Message, Pipeline Steps
Inbound Message ( CENTRAL )
Receiver Grouping
Request Message Mapping
Response
The converted message is having multiple entries of <?xml version="1.0" encoding="UTF-8" ?>
Will this help out in tracing the issue.
Regards,
Younushi Younus Mohd ,
the tool itself does not duplicate messages. you should chech 2 thing.
1) if the flat file is not greater than 1000 segments
2) test your abap mapping in a dev enviromentto check why the mapping fails with the file.
Thanks
Rodrigo P. -
PI 7.1- Message going thru Integration Engine
Scenario:
ECC<-----SoapAdapter(Synch)> PI7.11 <JDBCAdapter(Synch)--
>OracleDatabase
Use of Local Processing required in this project.
I've successfully completed Design work and then completed Integrated Configuration (all those tabs, Inbound processing, Receiver, Receiver Interfaces, Outbound Processing look correct)
Then I did the ABAP backend communication on the ECC side
(SM59-RFC Destination to point to AAE,
then SXMIF - defined Sender Interface,
then sxmb_adm - IE Engine Config.-->Specific Config where I added IS_URL.
Ran my test from ECC. It is still going thru IE engine and cannot find receiver.
What am I doing wrong? Please advise...I did.
In SXMSIF, I only created a sender ID (named it, RECONREPORT) where I
Left Agency and Schema blank
Party and Service: put *
Request - Put my Sender Interface and Sender namespace
Then in SXMB_ADM-->Specific config.
I created a new entry of
Catogery: Runtime
Parameters: IS_URL
Subparameter: I copied the text of Sender ID from SXMSIF and pasted it.
Current value: dest://AAE_PEH
on a different note, in SM59 I have
RFC Destination: AAE_PEH
Target host: put my java host
Service no: put my java port here. -
Copying/Moving of large message fails
The message I am copying is approx. 13Mb, containing a PDF attachment that makes up most of the size. I've tried tweaking params on both the Exchange IMAP4 service, and JavaMail and nothing seems to work. Below is my configuration. If anyone has run into this, or has some tips, feel free to pass them along.
Thanks,
Environment:
JavaMail 1.4
Exchange 2003 (enable fast message retrieval unchecked).
JavaMail Config:
mail.debug=false
mail.store.protocol=imap
mail.imap.starttls.enable=true
mail.imap.partialfetch=false
mail.imap.statuscachetimeout=0
mail.imap.appendbuffersize=16384
mail.imap.connectionpoolsize=5
mail.imap.connectionpooltimeout=45000
JavaMail Debug Output:
DEBUG: JavaMail version 1.4ea
DEBUG: java.io.FileNotFoundException: /usr/java/jdk1.5.0_11/jre/lib/javamail.providers (No such file or directory)
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.address.map
DEBUG: java.io.FileNotFoundException: /usr/java/jdk1.5.0_11/jre/lib/javamail.address.map (No such file or directory)
DEBUG: getProvider() returning javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc]
DEBUG: mail.imap.partialfetch: false
DEBUG: mail.imap.statuscachetimeout: 0
DEBUG: mail.imap.appendbuffersize: 16384
DEBUG: enable STARTTLS
* OK Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 (EXCHANGE_HOST) ready.
A0 CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 IDLE LOGIN-REFERRALS MAILBOX-REFERRALS NAMESPACE LITERAL+ UIDPLUS CHILDREN AUTH=NTLM
A0 OK CAPABILITY completed.
IMAP DEBUG: AUTH: NTLM
DEBUG: protocolConnect login, host=EXCHANGE_HOST, user=EXCHANGE_USER, password=<non-null>
A1 LOGIN EXCHANGE_USER rcatv
A1 OK LOGIN completed.
A2 LIST "Public Folders" ""
* LIST (\Noselect) "/" ""
A2 OK LIST completed.
DEBUG: connection available -- size: 1
A3 SELECT "Public Folders/FOLDER_PATH"
* 1 EXISTS
* 0 RECENT
* FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)
* OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)] Permanent flags
* OK [UIDVALIDITY 144] UIDVALIDITY value
A3 OK [READ-WRITE] SELECT completed.
2007-07-31 09:43:20,090 INFO [main] (IExchangeScript.java:450) - Looking for messages in folder [Public Folders/FOLDER_PATH]
A4 LIST "" "Public Folders/FOLDER_PATH"
* LIST (\Marked \HasChildren) "/" "Public Folders/FOLDER_PATH"
A4 OK LIST completed.
A5 FETCH 1 (ENVELOPE INTERNALDATE RFC822.SIZE)
* 1 FETCH (ENVELOPE ("Mon, 30 Jul 2007 17:41:35 -0400" "MESSAGE_SUBJECT" (("FROM_EMAIL_FRIENDLY" NIL "FROM_EMAIL_USER" "FROM_EMAIL_DOMAIN")) (("FROM_EMAIL_FRIENDLY" NIL "FROM_EMAIL_USER" "FROM_EMAIL_DOMAIN")) (("FROM_EMAIL_FRIENDLY" NIL "FROM_EMAIL_USER" "FROM_EMAIL_DOMAIN")) (("TO_EMAIL_FRIENDLY" NIL "TO_EMAIL_USER" "TO_EMAIL_DOMAIN")) NIL NIL NIL "<000501c7d2f2$73d2c560$0101a8c0@RAB02>") INTERNALDATE "30-Jul-2007 16:56:45 -0400" RFC822.SIZE 18310684)
A5 OK FETCH completed.
2007-07-31 09:43:20,104 INFO [main] (IExchangeScript.java:468) - Processing message from folder [Public Folders/FOLDER_PATH], Message Subject [MESSAGE_SUBJECT]
A6 FETCH 1 (BODYSTRUCTURE)
* 1 FETCH (BODYSTRUCTURE ((("TEXT" "PLAIN" ("charset" "iso-8859-1") NIL NIL "QUOTED-PRINTABLE" 124 3 NIL NIL NIL)("TEXT" "HTML" ("charset" "iso-8859-1") NIL NIL "QUOTED-PRINTABLE" 658 11 NIL NIL NIL) "alternative" ("boundary" "----_=_NextPart_002_01C7D2EC.23516480") NIL NIL)("APPLICATION" "PDF" ("name" "PDF_ATTACHMENT.pdf") NIL "PDF_ATTACHMENT.pdf" "BASE64" 18307324 NIL ("attachment" ("filename" "PDF_ATTACHMENT.pdf")) NIL) "mixed" ("boundary" "----_=_NextPart_001_01C7D2EC.23516480") NIL NIL))
A6 OK FETCH completed.
A7 FETCH 1 (BODY[1])
* 1 FETCH (BODY[1] {1106}
------_=_NextPart_002_01C7D2EC.23516480
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
...(BODY OF MESSAGE IN PLAIN TEXT)...
------_=_NextPart_002_01C7D2EC.23516480
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16481" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
...(BODY OF MESSAGE IN HTML)...
</BODY></HTML>
------_=_NextPart_002_01C7D2EC.23516480--
A7 OK FETCH completed.
A8 FETCH 1 (BODY[2])
* 1 FETCH (BODY[2] {18307324}
...(BASE64 ENCODED PDF)...
------_=_NextPart_001_01C7D2EC.23516480--
A3 NO The network connection was aborted by the local system.
2007-07-31 09:43:32,965 ERROR [main] (IExchangeScript.java:529) - Problems while processing APTrak Appraisals Parsing Script message.
javax.mail.MessagingException: A3 NO The network connection was aborted by the local system.;
nested exception is:
com.sun.mail.iap.CommandFailedException: A3 NO The network connection was aborted by the local system.
at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2337)
at com.sun.mail.imap.IMAPFolder.appendMessages(IMAPFolder.java:1289)
at com.sfsltd.services.exchangescripting.IExchangeScript.scanForMessages(IExchangeScript.java:496)
at com.sfsltd.services.exchangescripting.APTrakScriptTest.testScanForMessages(APTrakScriptTest.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: com.sun.mail.iap.CommandFailedException: A3 NO The network connection was aborted by the local system.
at com.sun.mail.iap.Protocol.handleResult(Protocol.java:294)
at com.sun.mail.imap.protocol.IMAPProtocol.appenduid(IMAPProtocol.java:881)
at com.sun.mail.imap.protocol.IMAPProtocol.append(IMAPProtocol.java:835)
at com.sun.mail.imap.IMAPFolder$10.doCommand(IMAPFolder.java:1292)
at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:2387)
at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2332)
... 21 more
A4 LOGOUT
* BYE Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 signing off.
A4 OK LOGOUT completed.
DEBUG: IMAPStore connection dead
DEBUG: IMAPStore cleanup, force false
DEBUG: close folder
A12 EXAMINE "Public Folders/FOLDER_PATH"
* 1 EXISTS
* 0 RECENT
* FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)
* OK [PERMANENTFLAGS ()] Permanent flags
* OK [UIDVALIDITY 144] UIDVALIDITY value
A12 OK [READ-ONLY] EXAMINE completed.
A13 CLOSE
A13 OK CLOSE completed.
DEBUG: added an Authenticated connection -- size: 1
A14 LOGOUT
* BYE Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 signing off.
A14 OK LOGOUT completed.
DEBUG: IMAPStore cleanup doneDo you have an antivirus or firewall product that might be interposing itself
in the communication with your server? -
Message failed on adapter engine
I have cofigured the IDOC-XI-JDBC scinario. Everything works except the adapter's status is 'holding' for a long time when trying to send to JDBC. Wish to help me.
[email protected]
Thanks and Regards
AmandaHi Amanda,
JDBC adapter tends to hit the database every x secs(polling interval) .So either increase the polling interval or change Quality of Service to (QOS) to Exactly Once (EO).
if your values are getting updated in the database on the receiver side and yet your adapter status is 'holding' for a long time , above mentioned should be the problem.
If your values are not getting updated in the receiver database and u r landing up with the message, then the problem should be in JDBC driver , username and password informations that you gave in the JDBC adapter configuration.
Try entering into the receiver database manually with the exactly log on parameters u gave while configuring JDBC receiver adapter .If you are not able to log in , then this is the problem. If u r able to log in then have a sharp look at the driver type you specified.
Hop this helps you in locating the root cause.
regards,
Aravindh.
Maybe you are looking for
-
Show region if field in recordset is NOT empty
Hi Ive been using dreamweaver's built in "show region if recordset is not empty," but now i need to change the code so that it "shows the region if a field in the recordset is empty" Does anyone know how to do this ? below is my code for "show region
-
Help in Integration Scenario.
In XMLSPY execute Send Server. No problem. The interface SXI_MONITOR. Public next message. "Split mapping created no messages" Help my.
-
Emailing PDF Reports from Workspace in 10GR3
Hi all, There is an option in the workspace of 10GR3 to generate PDF and Excel reports of instances Aborted/Completed/InProcess by filtering them and then hitting the Output Options button to generate a PDF or Excel reports out of these. But this has
-
Query on SRM Shopping Cart ,plz help its very very urgent
Hi Friends, I have a query on workflow. Users creates PO through SRM shopping cart and immedeately they receive a mail in there mail box.Below is the process flow of sending the mail to the user inbox from srm shopping cart. SRM Shopping Cart>Busines
-
Play two different instruments together?
hi all, is it possible to play/record two different instuments (MIDI) at the same time in Logic? i have a Keystation 49e (keyboard) and a padKontrol (drum pads) setup (both MIDI via USB). ideally, two people could play both instruments and be heard o