on 10-02-2006 11:39 AM
Hi guys
Our client has some async jdbc interfaces and the database is located in a WAN, (this is an IBM DB2/UDB - Windows). The problem happens when there is lost of network connectivity for a small time. So when it happens, the jdbc loose the connection to the DB2 and is unable to reconnect to the database to reprocess the messages which are waiting to be read.
This is happening in a productive system and the client is becoming a little bit worried!!!
The only way to see this problem is in Adapter Monitor, when the polling interval started is too long (few hours instead of seconds (normal behavior)). The workaround that we have is a j2ee soft shutdown with restart. But this is not a good solution
Anyone knows whats happening? Ideas and better workarounds are appreciated
Thanks in advance.
Regards,
Ricardo.
Hi ricardo,
I am not sure if I understood your problem correctly.
Here my suggestion:
Use BPM! Create an exception branch for system errors.
If the JDBC is not available, the BPM will jump in the exception branch. In the exception branch create a wait step. After waiting for a while send the message again in this wait step!
See also my answers in
Regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this problem is in the Receiver JDBC adapter ?
If so , you can think of BPM . but it will allow you to send the error message.
Try to increase the Retry mode and check it. Also analyse the Visual Admin log for the Jdbc chhanel. If it is a Network problem, thn i don't think so, workaround is a solution.
To check how to set up Retry -
/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically
Regards,
moorthy
Hi,
Disconnect from Database for each message processing should do the trick.
http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
<i>Set this indicator if the database connection is to be released and reestablished before every poll interval.</i>
Regards,
Bhavesh
Ricardo,
This is what you would need is you are looking at the BPM,
1. Receive
2. Block --> Send Step inside this block.
3. Exception Handler for the Block of Step 2. DO the required Exception handling as per requirements inside the Exception Handler block.
http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/content.htm
Regards,
Bhavesh
Hi Bhavesh,
<i>DO the required Exception handling as per requirements inside the Exception Handler block.</i>
Is in second line (step 2) that I have to put the wait step?
What I need to put into the field "Exception Handler"?
Note: The exception only should be triggered when the wait step is finish the time without send step concluded successfully.
Thanks and regards,
Ricardo.
Message was edited by: Ricardo Quintino
Message was edited by: Ricardo Quintino
Hi Bhavesh,
I'm doing the BPM.
I define a receiver step, after that a block with two branches, there I put the sender step and in second line I put the control step that throws an exception. My question is: How can define a timeout for the sender step? Because the objective is: when the sender step wastes more than 10 min it should throws an exception.
Thanks a lot for your help.
Regards,
Ricardo.
Message was edited by: Ricardo Quintino
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.