on 05-12-2006 4:22 PM
Hello, This is DS from Korea.
We are testing JDBC to RFC Scenario.
There's something strange that is two message creation.
We are using XI 3.0 with SP16 and other Adapters look fine. Does anyone have idea?
We have two servers and each has their own instance.
Thanks in advance.
Regards DS
Hi DS,
Am not sure i understand your problem exactly. Can you explain what you mean by Messages are created twice?
Have you made sure that the UPDATE STATEMENT in your SENDER JDBC adapter is correct and updating the rows that are selected as a result of your SELECT statement?
Also, check if the Adavnced MODe setting of JDBC adapter has option SERIALIZABLE selected.
Regards,
bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Bhavesh,
Thank for your advice.
The polling time is set to 3600 seconds and messages are created twice almost simultaneously.
Regards
DS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Dong,
We have the same problem because we are using cluster.
THe sql statement is executed on each server of the cluster. The "load balancing" seems not be managed for the jdbc adapter.
I read that to solve you should use an update command to flag the entries, but if you don't have a permission to write on the database it not help... and it also means that for each table to be read you need to add a column for that flag...
If you are not the owner of the database it is not realistic...
Anyone have a idea how to solve this without updating the database table ? (bpm ?, cluster parameters ? install a decentralize adapter engine)
Xe are using XI 3.0 SP15 - Sybase Database - Sybase JDBC Driver 6-05
Regards,
David
Dear buddies,
The main problem is that the JDBC sender selects data twice. Because this system is the test one for demo, we don't use flag field which means update statement is useless.
Thanks and regards,
DS
Message was edited by: Dong Suk Choi
Message was edited by: Dong Suk Choi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
DS,
The Sender JDBC adapter will poll over your database, and will execute the SELECT statement during every polling interval. Now, as you are not updating the Database table, the select query query will staisfy the condition always and keep selecting the data from the database and so, you will get the message into moni for every polling interval.
Update Statement can be used to update the rows that satisfy the condition of your SELECT statement.
it can be anything like as follows,
select * from tab where condition='true'
update tab set condtion ='false'
This way, the rows satisfying condition will not be selcted twice.
Regards,
Bhavesh
Hi Dong,
<i>There's something strange that is two message creation.</i>
Are you able see this 2 messages in the SXMB_MONI ? If so findout what is sender and reciever service for each message. Make usre that your RFC is not sycnhrnous
Also check , as mentioned by ealier post.
Just my views~
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.