CPALookupException while sending a Test message to Adapter engine
Hello Experts,
I am getting following exception while sending a test message to Adapter engine through Runtime Workbench.
Error while sending message: com.sap.engine.interfaces.messaging.api.exception.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: FP=<Configured Party>;TP=;FS=<Configured Communication component>;TS=;AN=<Configured Outbound Interface>;ANS=<Configured Namespace>
This scenario works fine when I submits the message through Integration engine. So ID configuration is perfect. Also cache contents are upto date.
Thanks in advance.
Regards
Rajeev
Error is clearly saying that it is unable to find receiver agreement for that particular interface.
Please check your receiver agreement for the interface.
If your receiver agreement is fine then do CPA cache refresh using following URL:-
http://<host>:<port>/CPACache/refresh?mode=full
Similar Messages
-
when i send a test message throw the RWB for Http receiver adapter it is giving the error "Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SOCKET_TIMEOUT, Read timed out"
Hi, Michal
I have read your Weblog. It makes sense to me. Thanks a lot for your help! However, I still have some questions and listed them as following. Could you please help to answer them?
<b>Q1:</b> I am new to SAP-XI. So I have no idea about TCODE-SXMB_ADM. Could you introduce more details about it?
<b>Q2:</b> The XI system I am using is running on SAP-ICC's machine. The tools I can use are:
<b>1.</b>Builder for Integration Repository
<b>2.</b>Builder for Integration Configuration
<b>3.</b>System Landscape Directory
<b>4.</b>Runtime Workbench
<b>5.</b>Administration System (for Repository, Directory, Runtime)
Please note that I do not have a complete control on this SAP-XI. Do you think whether or not I can set the timeout parameter by following the instructions provided in your Weblog?
For more details about my SAP-XI, please access the following Web page:
http://iccxi.sap.com:58000/rep/support/admin/index.html
<b>Q3:</b> The following messages are extracted from the SAP-XI. Wish they are hepful to solving my problem.
2006-06-19 05:12:16 Success The message was successfully received by the messaging system. Profile: XI URL: http://iccxi.sap.com:58000/MessagingSystem/receive/AFW/XI
2006-06-19 05:12:16 Success Using connection AFW. Trying to put the message into the request queue.
2006-06-19 05:12:16 Success Message successfully put into the queue.
2006-06-19 05:12:16 Success The message was successfully retrieved from the request queue.
2006-06-19 05:12:16 Success The message status set to DLNG.
2006-06-19 05:12:16 Success Delivering to channel: ValidationRequestHandlerServiceChannel
2006-06-19 05:12:16 Success SOAP: request message entering the adapter
2006-06-19 05:12:37 Success SOAP: call failed
2006-06-19 05:12:37 Error SOAP: error occured: java.net.ConnectException: Connection timed out: connect
2006-06-19 05:12:37 Error Exception caught by adapter framework: Connection timed out: connect
Thanks
Menghua Li -
Difference between Testing Message in Integarion Engine and Adapter Engine
Hi Experts,
in project, we always test message in runtime workbench>component monitoring>integration engine-->Test Messge
however, i also find that in runtime workbench>component monitoring>adapter engine also exists a Test Message tab.
we don't have access to test messages in this tab, so can anyone tell that what is the difference between testing message in integration engine and adapter engine?
thanks in advance.The usual flow of messages in scenarios which use adapters at both sender and receiver end is as follows
Sender system -> Adapter Engine -> Integration Engine -> Adapter Engine -> Receiver system
When you use the testing option in IE, then you are basically posting the message directly to the Integration Engine.
When you use the testing option in AE, then you are trying to post the message to the adapter engine, which will then forward the message to the Integration Engine. IN this testing, you are also testing the sender adapter also.
Regards,
Ravi Kanth Talagana -
Unable to send a test message (XML file) at the runtime workbench..
Hi,
we are not able to send a test message (XML file) at the runtime workbench just to test Idoc's. From the component monitoring, under the integration engine, test message- i have given all the parameters like sender and receiver service, interface namespace with the user id and password details. when i say send message it is throwing error while sending. not even displaying any error to attach here. I beleive it is a configuration problem in the integration directory. what do you reckon guys?
OS- win 2003 DB-Oracle 10.2.0.4
SAP PI 2004s basis SPS 18
Appreciate your much needed help!
Thx
SreeIt is a sender Idoc. we are using sender agreement and comm channel.
Why are you using a channel and agreement for IDOC....we dont need it when IDOC is sender!
All the channels and agreements (if created) are in XI/ PI and we can delete them if they are not required
Edited by: abhishek salvi on Mar 11, 2010 11:49 AM -
Timed out while sending ... message may be send more than once
Hi,
I regular have complaints from some clients receiving my emails 10 -15 times in their mailbox.
When checking the maillog I always see : timed out while sending ... message may be send more than once. See below
Problem can happen at any time, even when there is just 1 person connected to the server, so I rule out overload.
95% of mails send arrive without problem.
When looking the dns mx info of these clients I am having problem with, all have multiple (round-robin ?) mx-hosts (eg mx.mailprotect.be).
Is someone else having these problems ?
gr
Fonny
Nov 20 14:05:05 osxserver postfix/smtp[33385]: 3846CBE9FFC7: conversation with monitor.estrel.com[62.154.155.69] timed out while sending end of data -- message may be sent more than once
Nov 20 14:15:48 osxserver postfix/smtp[33385]: 3846CBE9FFC7: to=<[email protected]>, relay=mx-30.startplus.de[62.154.155.70]:25, delay=1826, delays=486/0.01/716/623, dsn=4.4.2, status=deferred (conversation with mx-30.startplus.de[62.154.155.70] timed out while sending end of data -- message may be sent more than once)
Nov 20 14:15:48 osxserver postfix/smtp[33385]: 3846CBE9FFC7: to=<[email protected]>, relay=mx-30.startplus.de[62.154.155.70]:25, delay=1826, delays=486/0.01/716/623, dsn=4.4.2, status=deferred (conversation with mx-30.startplus.de[62.154.155.70] timed out while sending end of data -- message may be sent more than once)
Nov 20 14:27:06 osxserver postfix/smtp[34737]: 6F586BEA0F09: lost connection with mx1.hotmail.com[65.55.92.136] while sending end of data -- message may be sent more than onceIt means that Cyrus IMAP is not responding or ready to deliver mail (at least temporarily). Most likely reason is that there are too many connections/users.
-
Cannot resend messages in adapter engine
Hi all,
I encountered thousand messages in adapter engine yesterday with error category: XI_J2EE_ADAPTER_ENGINE, error code: JMS_TRANSMISSION_ERROR.
First I checked the affected communication channel, and there was an error in MQ side. Also, our database crashed. But these issues were resolved already. Then I tried to resend the messages, but still it ended up in system error. As I looked in the log,
MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Connector for ConnectionProfile of channel: JMS_--_Receiveron node: -having object id: - encountered error: MQJMS2007: failed to send message to MQ queue in sending to destination queue:///?targetClient=1, the message message: JMS Message class: jms_text JMSType: null JMSDeliveryMode: 2 JMSExpiration: 0 JMSPriority: 4 JMSMessageID: null JMSTimestamp: 1193614619284 JMSCorrelationID:--
Exception caught by adapter framework: Connector for ConnectionProfile of channel: JMS_----
MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Pending message discovered: -
.The channel is configured throw an recoverable, temporary error for this warning (default). Decide whether you want to bypass this message. If so, set the Pending Handling channel parameter to 'Bypass' and restart the message afterwards.
Exception caught by adapter framework: Pending message discovered: -
.The channel is configured throw an recoverable, temporary error for this warning (default). Decide whether you want to bypass this message. If so, set the Pending Handling channel parameter to 'Bypass' and restart the message afterwards.
Every time I tried to resend the message, it ended up in error stated above. But there are successful messages today which means that the communication channel is working fine.
How can I resend the messages stucked in the adapter engine? Hope someone can help me.
Thanks a lot in advance.May be when u tried to send the message some of the message got stuck in AE due to some Error.
As I no the message can stuck in AE when....Target Systems is down, Test data is not valid for receiver..then few of the messages goes in System Error and later message come in waiting/Holding/To be Delieverd state...
Check all the messages that has in System Error status...
Thanks
Farooq. -
Archiving message in Adapter Engine in XI 3.0
Dear all,
Could you please explain the procedure of Archiving Messages in Adapter Engine in XI 3.0.
I have read many blogs regarding deleting messages in Adapter Engine, but nowhere i can see about Archiving.
I have been told that activating and scheduling "Default Version Archive Job" in RWB->Components->Adapter Engine->Background Processing would solve the purpose.
But while activating, i am unale to set rules, as it gives error " Rules are not allowed for jobs with set 'archive edited messages only' flag."
Thanks and regardsHi,
Please check the [link|http://www.****************/Tutorials/XI/Archiving/Index.htm]
Also check this
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c46a236f50?quicklink=index&overridelayout=true
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=147266890
Regards,
Naveen. -
PI 7.1 - Message Monitoring - Adapter Engine (Database Overview)
Hi Friends,
In Message Monitoring --> Adapter Engine --> Database (Overview) is not working. It throws the following error message.
no_connection Exception Message: RemoteException in Method: CentralViewManager: getIProfiles( IApplication, boolean ). Communication-related failure. Message: java.rmi.RemoteException: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.wsdl2java.ClientProtocolException: An error occured while reading data from the destination sap.com/com.sap.aii.af.service.profile.proxy/com.sap.aii.af.service.statistic.proxy.ProfileProcessor/basicPort_Document. The error was: com.sap.security.core.server.destinations.api.DestinationException An error occurred while reading the destination sap.com/com.sap.aii.af.service.profile.proxy/com.sap.aii.af.service.statistic.proxy.ProfileProcessor/basicPort_Document, type WebService. The error was Internal error during the decryption process...
But, Adapter Engine --> Database option is working. What could be the problem ?
Kindly clarify, friends.
Kind regards,
Jegathees P.Hello friend,
May be it is related with connection problem check with your basis people .
Regards,
Ravi. -
SOAP messages not visible in RWB - Message Monitoring - Adapter Engine
Hi,
following scenario:
ERP is sending IDocs to PI.
Within PI an integration process sends the IDoc data through a SOAP (WS) receiver channel to a system far far away.
In RWB -> Communication Channel Monitoring I can see all delivered messages selecting my SOAP channel.
But:
I can´t see the SOAP messages in RWB -> Message Monitoring -> Messages of Adapter Engine.
In RWB -> Message Monitoring -> Messages of Integration Engine I only see SOAP messages with status "Error".
Successful column is empty.
Do I have to adjust some system / monitoring parameters also seeing SOAP messages in RWB->Message Monitoring?
Thanks in advance,
AndréHi Ravi,
thanks.
But there are thousands of successful messages delivered to the receiver.
These successful messages can only be seen in the Channel Monitoring.
I can´t find these successful messages in Message Monitoring.
Only some with status "Error" are displayed.
Strange...
Cheers,
André -
Automatic restart of Error-Message in Adapter-Engine (Job?)
Hi,
we are working on PI 7.11 and facing following problem:
Often in message-monitoring error-messages are forgotten because of wrong date-selections by the monitorer (not enough days back). It would be very nice, if there is a function witch is repeating error-messages in adapter-engine automaticly and witch can be scheduled.
Does anybody know something about an excisting program / function on PI?
Regards
JürgHi,
By default if any failure occurs in adapter engine (in case of receiver,during delivery to target system)
it will retry 3 times after a period interval of 5 minutes..this is by default even this can be change if needed with the help of the proeprties at NWA/VA...
but in case of failures at IE level (mappings,...) then you need to schedule the report RSXMB_RESTART_MESSAGES....
search SDN if like to know more about the reports...
HTH
Rajesh -
Unable to cancel messages in adapter engine
Hello,
We have implemented an interface with file connector. Since one week, all messages are hanged in the adapter engine with status TO BE DELIVERED.
I tried to cancel but the folowing error message appears :
Could not fail message. Reason: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Could not fail message 0013211d-2dc8-1def-a8a4-938b4635c3af(INBOUND), as triggered by admin action. Reason: Predecessor not in final state.
This interface is a proxy from ECC6-->csv file and i can't see the corresponding messaging in any queues SMQ1..
They are only available in the RWB/message monitoring/adapter engine
Can you tell me how to process these messages or cancel ?
RegardsHi
Messages will go in to the state Tobe delivered if there are no threads available for the particular adapter.. and lack of threads is due to the state of the messages in DLNG...
Check the messages which are in DLNG and the reason behing long time for processing the same..(can be restart of the target system...)
if you get the error saying predecessor is not in final state...
for this you need to check the parent message in the queue which is causing this. this can be done using messaging system url
http://host:port/MessagingSystem/
go here and check the tab EOIO message ..... and there check the messages which are blocked and check the queue names if need to find the paticular queue..and reprocess if the error occured can be rectified...
HTH
Rajesh -
Hi all,
We monitor messages in adapter engine through RWB.
Can anyone tell me where these messages are stored?hi,
it has the misconception that RWB uses the same data base as of sxmb_moni.
but this is not true. actually RWB has a java componenet and IE is a abap componenet.
RWB getting tha data from SXMB_MONI db(abap table) through the jrfc call and storing it into the XI_AF_MSG table. this can be verified because, when u try to fatch payload for the sych message in RWB ,it is showing payload is deleted to save memory . but the same message with the payload can be displayed at SXMB_MONI .but for this u need to set the retention period at sxmb_adm---intigration engine configuration.by default value for this is 0 days.please have a look of below link.
https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/xi%252btables
the XI_AF_MSG_AUDIT table stored the detail of all the audit log.thats why the no of entrieds in this table is more than XI_AF_MSG table.
now Q is how to access these DB.
these DB can be access through the DB tool say SQLplus.
to get the total no of entries byststus u can use the fllowing query.
select status, count(1) as
current_number from sap[sid]db.xi_af_msg
group by status;
regards,
navneet -
How to see old successfully delivered messages in Adapter Engine
We are unable to see the messages that were successfully delivered by Adapter Engine more than a day.Ho do we see old successfully delivered messages by Adapter Engine.We are only able to see the messages that were 1 day old.We are using PI 7.1.
We are able to see the older messages in Integration Engine as per the config in sxmb_adm.
Any Help greatly appreciated.
Thanks,
AravindOnly message that contain error,holding,not delivered are getting persisted not the sucessfully delivered ones.
Is there any Archiving scheduled for your Adapter Engine?
I want to see the old messages that were delivered sucessfully
In Message Monitoring Itself select Archive (instaed of Database) and make a search.....if archiving is scheduled then you should be able to see the messages by this option.
Regards,
Abhishek. -
Error while testing message from Integration Engine.
Hi,
Trying to send message to Integration engine from RWB, using test mesage tab in Integration engine.
I pasted the payload(IDOC payload) , entered sender service, interface name and namespace and also username and password. Selected quality of servie as Exactly once.
While sending the message getting the following error - "Error while sending".
What could be possible reasons for this error.
Thanks.Hi,
Please check the following possibilities:
1. Make sure you have selected integration Engine oprtion and not the adapter engine.
2. The USERID and password should be correct.
Please let me know if you still face the problem.
Regards,
Shwetambari. -
Error Message while sending a photo message
While trying to send a photo message the following failed error message occurs 1xDNS not responding. Phone being used is a Casio GzOne
Hey,
No, this account is hardly 2 months old and 1802 is the total number of emails. There are other machines configured with different IDs and they seem to work fine. Some are configured with POP and some with IMAP. The machine which has the problem is the only
one with Outlook 2011 and is a Mac. So yes, I think it concerns only Outlook 2011. I currently have IMAP setup on this device, would switching to POP solve the issue? I do not mind switching to POP as I do not need all that IMAP offers me, POP fits my use
case just fine.
Your thoughts?
Thank you.
Maybe you are looking for
-
With reference to which document Delivery is created in Sub contract
Hi Friends With Reference to which document delivery document is created in subcontract process . through which T code I can see this reference document . Suppose , there are 10 quantity in delivery document , where can I see this 10 numbers are f
-
Getting authorization from a computer that is not online...
We download music from the music store for my daughter then burn it to a disk to download it to my daughter's computer. When we try to transfer the songs it says we need to an authorization for that song. Since her computer is not online how can we g
-
Mail app and Safari dont work after updating to 10.6.8
Hello there, i've got a serious problem, mail 4.6 isn't sending mails and safari doesn't open (it shoes an alert about a crash). Things I did befor all that happened: 1- I organized my Programms inside de application folder. I moved some programmes i
-
We have multiple accounts with a vendor but like a single Vendor Master rec
We have situation, like with utilities, where there is a single vendor but we have multiple accounts with that vendor. We would like to have a single master record that holds the different account numbers. Does anyone know how to do this or other w
-
Report Group 1SIP Consistency Check
SAP reccomends the following to be consitency check for CO customers for system copy: "CO customers: An additional consistency check can be performed by running the report group 1SIP before the system copy in the source system, as well as after the c