on 07-30-2014 9:58 PM
Hi Group,
I am working on JDBC adapter , randomly interface throwing sql exception in mapping, I would like to trace on and wants to check logs, can any body tell me the steps to trace on and where to check logs.
T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jannus,
As a I mentioned its random error, if I am sending 5 messages (with same content) 3 success and 2 errors with the below error:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'Getdata' (structure 'Record_1'): java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
Ok cool.
Everything is working but that is a data error.
What it means is that the you cannot insert those records into the table. It might be because of length or type etc.
Also have a look at how your message mapping looks after you run it through the mapping. It might generate the target structure incorrectly.
See if you are able to manually add those records to the database.
Regards,
Jannus Botha
Mapping is very big I cant send screen shot, but I will explain scenario , its SOAP to mS access data base synchronous interface , first request message will be send through SOAP request based on that records will fetch from data base using JDBC adapter the response is mapped to SOAP response.
Great.
You do not update the Access Table with a type of indicator correct? If so it might lock the entry and not let you read it, because you said that you are sending 5 messages with the same content?
What happens when you 5 messages with different content?
Think your mapping and config is good.
Regards,
Jannus Botha
Hi Rajiv,
Use XPI inspector to trace the error for JDBC receiver channel, XPI inspector will gives you complete set of tracing about the channel.
Please go through below link
http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/22/xpi-inspector
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if JDBC Receiver - you can include the additional parameter "logSQLStatement" in the advance mode and set the value as "true".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.