Error in the receiver JDBC
Hi ,
Iam sending the message using the test message tab in the RWB.Iam getting the Error message which is given below :
2006-06-19 21:16:16 Success The message was successfully received by the messaging system. Profile: XI URL: http://XXXXXX/MessagingSystem/receive/AFW/XI
2006-06-19 21:16:16 Success Using connection AFW. Trying to put the message into the request queue.
2006-06-19 21:16:16 Success Message successfully put into the queue.
2006-06-19 21:16:16 Success The message was successfully retrieved from the request queue.
2006-06-19 21:16:16 Success The message status set to DLNG.
2006-06-19 21:16:16 Error Unable to find channel ID
2006-06-19 21:16:16 Error Delivery of the message to the application using connection AFW failed, due to: Couldn't find delivery channel for message: 5f5565f0-XXXXX. Setting message to status failed.
2006-06-19 21:16:16 Error The message status set to FAIL.
2006-06-19 21:16:16 Error Returning synchronous error message to calling application: Couldn't find delivery channel for message: 5f5565f0-fffaXXXXX.
Can any one throw some light on the above error.
It worked fine when we are triggering the message thru the normal SAP Proxy execution.
Regards,
Kittu.
Message was edited by: kittu chowdary
Message was edited by: kittu chowdary
Hi Kittu,
First check your Pipeline URL in SLD.
Business System -><your Integration Server -> Pipe Line URL
It should be
http://Server:port/sap/xi/engine?type=entry
And here port should be http port(8xxx).
Is your scenario is Synchronous ?
Hope this helps,
Regards,
Moorthy
Similar Messages
-
Error in the Receiver JDBC Adapter
Hi Guys,
Iam getting the below given error when trying to insert the data into the Legacy DB...
2006-06-20 01:16:25 Error Unable to execute statement for table or stored procedure. 'Table_Name' (Structure 'STATEMENT') due to java.sql.SQLException: ORA-01861: literal does not match format string
2006-06-20 01:16:25 Error Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'Table_Name' (structure 'STATEMENT'): java.sql.SQLException: ORA-01861: literal does not match format string
Can anybody tell me what the error is ?
Regards,
Kittu.Kittu,
this is how your Target Datatype should be,
<nr1:MT_tablename xmlns:nr1="urn:XXXXXX.XX.yyyyy">
<StatementName>
<dbTableName action=INSERT>
<table>TABLENAMETO WHICH INASERTING DATA</table>
<access>
<ts_matl>2006-06-14</ts_matl>
<no_matl>M181127</no_matl>
<qt_do>1</qt_do>
</access>
</dbTableName>
</StatementName>
</nr1:MT_tablename >
Regards,
Bhavesh
Message was edited by: Bhavesh Kantilal -
Problem in the receiver JDBC channel
hi,
I am facing some problem with the receiver JDBC channel which is trying to insert some data in ORACLE DB. My sample input XML file is,
<root>
<statement>
<table>EBILL_CUST_STATE_AGE_HDR2</table>
<CUST_CODE>BA001</CUST_CODE>
<CUST_ADDR>Rental Customer Name 1+Name 2street01+TEL: 0331694100
FAX:0331694103</CUST_ADDR>
<CRD_LMT>1000000.00</CRD_LMT>
<BG_AMT>1000000.00</BG_AMT>
</statement>
</root>
Error stack is,
Exception caught when executing statement for table/stored proc. 'EBILL_CUST_STATE_AGE_HDR2' (structure 'Statement_CUST_STATE_AGE_HDR2'):
java.sql.SQLException: ORA-00917: missing comma
Please help me in solving the issue ASAP.
Thanks,
SooryaHi,
It works like this
<ROOT>
<STATEMENT>
<TABLENAME ACTION="INSERT">
<TABLE>EBILL_CUST_STATE_AGE_HDR2</TABLE>
<ACCESS>
<CUST_CODE>BA001</CUST_CODE>
<CUST_ADDR>Rental Customer Name 1+Name 2street01+TEL: 0331694100
FAX:0331694103</CUST_ADDR>
<CRD_LMT>1000000.00</CRD_LMT>
<BG_AMT>1000000.00</BG_AMT>
</ACCESS>
</TABLENAME>
</STATEMENT>
</ROOT>
Please refer the link.
http://help.sap.com/erp2005_ehp_04/helpdata/EN/ae/d03341771b4c0de10000000a1550b0/frameset.htm
Abid Mazhar -
Error with the Receiver JMS Adapter (Connection On-Demand feature)
Hi,
In high volume we are experiencing errors with the Receiver JMS Adapter and the connection On-demand feature:
Adapter Framework caught exception: while trying to invoke the method com.sap.aii.adapter.jms.api.connector.DisconnectorListener.notifyEvent(java.lang.String) of an object loaded from local variable 'listener'
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: while trying to invoke the method com.sap.aii.adapter.jms.api.connector.DisconnectorListener.notifyEvent(java.lang.String) of an object loaded from local variable 'listener'.
The message status was set to WAIT.
Looks like the message is successfuly reprocess after the wait period but the ALEAUD/Akcnowledgment are not successful in the sender ECC system. (SAP -> PI - > JMS)
Any idea?
PI 7.1 EHP1
Thanks,
Martin
/people/sunil.ojha5/blog/2010/08/31/review-of-sap-pi-jms-adapter-on-demand-connection-feature
Edited by: Martin Lavoie Rousseau on Jun 3, 2011 3:21 PMPlease ensure to have specified an User and password to connect to JMS server (don't leave the fields empty).
-
QUESTION abt "SQL_DML" of the Receiver JDBC Adapter
HI ALL,
i hav a doubt abt "SQL_DML" of the Receiver JDBC Adapter.
i wanna use two SQL Statements in the "SQL_DML" structure to manipulate two tables.
i.e.
<root>
<stmt>
<Customers action="SQL_DML">
<access>
INSERT INTO Customers VALUES (u2019$NAME$u2019, u2019$ADDRESS$', '$KEYFIELD$u2019);
INSERT INTO Companys VALUES('$NAME$')
</access>
<key>
<NAME>Company</NAME>
<ADDRESS>Street 3 </ADDRESS>
<KEYFIELD>CO</KEYFIELD>
</key>
</Customers>
</stmt>
</root>
BUT i cant ascertain if it permit like this writting above ??
Requset help in this regards.
Thx in advance.
brianHi,
You need to have two different statements. Each for one insert query. Your query will come under access tag and palceholders under kay tag. Action will remain same as you have given, but under both statements.
Ex:
<root>
<stmt1>
<Customers action="SQL_DML">
<access>
INSERT INTO Customers VALUES (u2019$NAME$u2019, u2019$ADDRESS$', '$KEYFIELD$u2019);
</access>
<key>
<NAME>Company</NAME>
<ADDRESS>Street 3 </ADDRESS>
<KEYFIELD>CO</KEYFIELD>
</key>
</Customers>
</stmt1>
<stmt2>
<Customers action="SQL_DML">
<access>
INSERT INTO Companys VALUES('$NAME$')
</access>
<key>
<NAME>Company</NAME>
</key>
</Customers>
</stmt2>
</root>
Hope this helps.
Regards,
Siddhesh S.Tawate
Edited by: siddhesh tawate on Apr 24, 2009 8:10 AM -
Error in the Receiver SOAP Adapter
Hello Experts,
I am sending an order number by running a report on the ECC 6.0 server to a web service for publishing the information on the web site. The receiver side is configured as Receiver SOAP Adapter . I am getting the following error in the SXMB_MONI Transaction.
com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Not enough message parts were received for the operation.
Kindly let me know to overcome this problem.
Thanks
Best Regards
S JoshiHi Ramesh,
The message Iam getting in MONI is as follows:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Not enough message parts were received for the operation.
This is the response for the request that i am sending for order creation. I did checked the fields also it is same and the values of the fields too. they all are correct. Over and above this it was working fine till last week , but suddendly this week I am getting this error.
Regards -
ALEAUD back to ECC when we have an error in the receiver adapter engine
Hello friends,
My scenario is ECC (async) to SOAP (sync) and back to ECC (async = ALEAUD). I'm using aync/sync bridge is receiver SOAP adapter.
Is it possible to send back an ALEAUD automatically when I have an error in my receiver SOAP adapter? If so can you please explain how to achieve that?
Your help is greatly appreciated,
Thank you in advance,
Kind regards,
JohnHi,
The below reports will helps you to get alerts when any error in target end..
IDX_NOALE - you can configure what kind of acknowledgement you want to request for the send message type. for example you can configure for only error acknowledgements.
IDX_ALEREQUEST - you can configure to send back an acknowledgement as PI message, so that you can control the ALEAUD content by mapping.
Thanks & Regards,
A.Neelima. -
Error configuring the receiver http adapter.
Hi All,
I get the folllowing error in the ICM Monitor trace file after I configure teh HTTP Adpater.Please can anyone suggets what is this error message and how to fix it.
Thr 34] Thu Sep 3 07:59:18 2009
[Thr 34] *** ERROR => IcmConnRollInWP: AppServer context already released [icxxthr_mt.c 2388]
[Thr 12] *** ERROR => IcmPlAllocBuf: MpiGetOutbuf failed (rc = 14) [icxxplugin_m 1121]
Regards,
ShreshthaDo I have to set up certificates of that external server in my XI server.
Yes. You have to import certificates on abap stack using STRUST.
Second thing ,do I have to create an entry for https,port 443 in the parameter list of the ICM monitor.
Yes.
See this
http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
Regards,
Prateek -
Error While Configuring Receiver JDBC ADAPTER
HI Experts,
while configuring the JDBC Receiver(Stored Procedure),I got the the follwing error's .PLease find the used data types and the exceptions (got) as follows.
1.Exception
<SAP:AdditionalText>
com.sap.aii.af.ra.ms.api.DeliveryException:
Error processing request in sax parser: Error when executing statement for table/stored proc.
'PRC_SET_MAIN' (structure 'InsertData'): java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00201: identifier 'PRC_SET_MAIN' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored</SAP:AdditionalText>
1. Data Type eused.
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_Request_In xmlns:ns0="http://XXXXXXX">
- <InsertData>
- <PRC_MAIN action="EXECUTE">
<table>PRC_SET_MAIN</table>
<P_ID isInput="true" type="NUMERIC">245</P_ID>
<P_QID isInput="true" type="NUMERIC">245</P_QID>
</PRC_MAIN>
</InsertData>
</ns0:MT_Request_In>
2. Exception .
com.sap.aii.af.ra.ms.api.DeliveryException:
Error processing request in sax parser:
No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)
</SAP:AdditionalText>
2. Datatype used .
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_Request_In xmlns:ns0="http://XXXXXXX">
- <PRC_MAIN action="EXECUTE">
<table>PRC_SET_MAIN</table>
<P_ID isInput="true" type="NUMERIC">245</P_ID>
<P_QID isInput="true" type="NUMERIC">245</P_QID>
</PRC_MAIN>
</ns0:MT_Request_In>
PLease suggest meany ideas (which will be rewarded) to solve the problem.
Thanks and Regards,
Kiran.Hi,
I am using File to Jdbc (stored procedure) Scenario. Name of the Stored procedure is demoProcedure which inserts four fields (name,id,age,***) in a table.
Stored Procedure code as follows.
CREATE OR REPLACE PROCEDURE demoProcedure(
name VARCHAR,
id VARCHAR,
age INTEGER,
*** VARCHAR)
AS
BEGIN
INSERT INTO EMPLOYEE (NAME, ID, AGE,***)
VALUES (name, id, age, ***);
END demoProcedure;
Inbound (Generated XML file During Mapping Test):
<?xml version="1.0" encoding="UTF-8"?>
<ns3:MT_file2JavaProc_Sender xmlns:ns3="http://file2JavaProc">
<name>A</name>
<id>1</id>
<age>25</age>
<***>Male</***>
</ns3:MT_file2JavaProc_Sender>
Outbound (Generated XML file During Mapping Test):
<?xml version="1.0" encoding="UTF-8"?>
<ns2:MT_file2JavaProc_Receiver xmlns:ns2="http://file2JavaProc">
<Statement>
<demoProcedure action="EXECUTE">
<name type="VARCHAR">A</name>
<id type="VARCHAR">1</id>
<age type="INTEGER">25</age>
<*** type="VARCHAR">Male</***>
</demoProcedure>
</Statement>
</ns2:MT_file2JavaProc_Receiver>
I think this will solve your problem.
Thanks
Dipankar
Message was edited by:
Dipankar Sinha Sarkar -
Error when using receiver JDBC adapter
i am using JDBC adapter as receiver(for oracle 10g) now, however i got ORA-00984 error. So i enable logSQLStatement.
then got the following SQL statement from communication channel monitoring:
INSERT INTO BASEINFO(APPNO, BUSSINAME, APPPERSON) VALUES (3, Steven, Lee)
I realize the statement is incorrect, which should be:
INSERT INTO BASEINFO(APPNO, BUSSINAME, APPPERSON) VALUES ('3', 'Steven', 'Lee')
So how can i correct the SQL statement? is there any setting i miss out in configuration?
ThanksYou may try this. For each field in datatype, add an attribute hasQuot. Map it to "no" in mapping. Then add single quotes to all the values by simply concatinating it on both sides of value.
Regards,
Prateek -
Want Batch mode in the Receiver JDBC adapter
Hi,
My scenario is File to JDBC . from the source file I'm getting 20 records for file. after processing by XI while inserting the records into database level but due to some problem some records are not inserting.. suppose first 5 records got successfully inserted. but 6th record due to unique contarin problem that was failed. but due to this problem remaing records are also not inserting from the 6th record onwards it was not inserting any more records .
But i want to process all the Records or If any error is there in those records i want to fail all the records. I dont want any partial posting of the data.
Plesae suggest me some solution for this.
Regards
JainHi Joel,
Already i have selected that Batch Mode in Advanced tab. my transport protocol is JDBC 2.0 .
And my SQL query is only INSERT . in the mapping i have mapped action tag to INSERT Command for inserting the rows...
still my SQL query is inserting first 5 records only out of 20 records ... if the sixth record contain any problem the process has been terminating .
Please suggets me some solution for avoiding those problems. if any error is there then i want to fail teh complete message otherwise process all the records. I dont want any partial posting of the file.
Regards
Jain -
Select Query in the receiver JDBC
Hello all,
Is it Possible to use the select query in eceiver JDBC.
Thanks,
SrinivasaHi Srinivas,
You can either create the structure or can directly write the SQL_QUERY or| SQL_DML statement where you will specifty the action SQL_QUERY | SQL_DML .
So you can use either XML SQL Format or Native SQL Format. Please see this help srini:
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
Regards,
---Satish -
Receiver JDBC: Error while doing the Deleting and Inserting new records
Hi All,
I am doing Idoc to JDBC scenario. In this I am collecting & bundling different type of Idocs and then sending to the JDBC receiver. My requirement is to delete the existing records in the database and insert the new records. I have configures as mentioned in the link
Re: Combining DELETE and INSERT statements in JDBC receiver
In the above link its shows for single mapping. In my scenario I am using multi mapping for collecting idocs in BPM. If I configured for normal mapping then it is working fine(Deleting existing records and Inserting new record). Whenever I am using multi mapping then I am getting following error in the receiver JDBC communication channel u201CError while parsing or executing XML-SQL document: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)u201D . Can you please tell me what might be the problem.
Thanks & Regards,
T.PurushothamHi !
check this out:
JDBC - No 'action' attribute found in XML document - error
JDBC receiver adapter: No 'action' attribute found in XML document
It appears that the inbound payload (the one that is going from XI to the JDBC adapter) does not have the requiered tag to specify which SQL action to execute in the receiver system. Maybe the multimapping is not creating the desired output message format.
Regards,
Matias. -
Receiver JDBC CCerror "Could not do TCP/IP Connection to host Manufactured"
Hi,
I want to connect to MS SQL server 2000 Database from my PI 7.1 EHP1 server.
Basis team has installed MS SQL 2005 drivers in PI system by downloading it from the below link
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=c47053eb-3b64-4794-950d-81e1ec91c1ba
Network team has opened the 1433 port.
I installed 2005 drivers as I read it is backward compatible and there are plans of upgrading the SQL 2000 version to 2005 by the DB team.
Now I tried to send the data to the DB i get the below error in the receiver JDBC Communication channel.
Error when attempting to get processing resources: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Can not establish connection:: com.microsoft.sqlserver.jdbc.SQLServerException: Es konnte keine TCP/IP-Verbindung mit dem Host hergestellt werden. java.net.ConnectException: Connection timed out: connect
The parameters which I gave in the CC are
JDBC driver : com.microsoft.sqlserver.jdbc.SQLServerDriver
Connection: jdbc:sqlserver://<ip>:1433;databasename=<DBname>
Can you please suggest what could be the reason for the issue?
Thanks,
PreethiHi All,
The above is issue was solved. The network team did not open the port 1433 properly. They made some mistake in the FW rule.
So, after the port 1433 being opened, I am able to connect to DB from XI server.
Thanks,
Preethi -
Receiver JDBC Channel Error : Incorrect syntax near 'OR'
hi,
we are facing the below error at the receiver communication channel:
Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'table' (structure 'statement'): com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 'OR'.
When we again reprocess the message,it shows the exact error at the channel.
Any ideas why the first error shows up?Hi, Anu
The most probable it's that your target XML it's not correct because it haven't a correct format.
Please, check your target XML and see
http://help.sap.com/saphelp_nwpi711/helpdata/en/48/465581929734d9e10000000a42189d/frameset.htm
Regards,
Carme
Maybe you are looking for
-
Cannot change tools and cannot use selection or crop tools
I am using Photoshop Extended CS6. A new problem has started to occur recently. I can select a tool, but I can't change the tool type. For example, I can select the Lasso Tool and when I right-click the tool fly-out appears, but I cannot select a t
-
Unable to insert into table of PointBase database
Hi, I have written one sample application which uses PointBase of JSC. It was working fine but now while trying to insert a record into table I am getting this exception javax.faces.el.EvaluationException: javax.faces.FacesException: java.sql.SQLExce
-
Help! My Mac will not download all images from my Sony digital camera...well, it downloaded 6 out of 170, then said "unreadable j.peg format". This is the second time I have had this problem with this camera. Up to this second time, I have not had a
-
Where is the location of the default package?
I'm using jdk1.6.0_14. There is a folder src. I guess the folder contains all the default package. And I try to delete the src folder, and then compile and run a simple program: import java.util.Scanner; public class TesImport { public static vo
-
Doubt in Docking and Splitter Container
Hi All, I want to make a screen which is draggable on right hand side, means user can click the border line and then increase and decrease the size of screen moving it left and write. This is similar to screen in SE80, ABAPDOCU, ME22n. This can be ea