Duplicate processing by DBAdapter when using Distributed Polling with Logical Delete Strategy
We have DBAdapter based polling services in OSB running across two Active-Active clusters (total 20 managed service across 2 clusters),
listening to the same database table. (Both clusters read from the same source DB). We want to ensure distributed polling without duplication,
hence in the DBAdapter we have selected Distributed Polling option, meaning we are using "Select For Update Skip Locking".
But we see that sometimes, same rows are processed by two different nodes and transactions are processed twice.
How do we ensure that only one managed server processes a particular row using select for update? We do not want to use the markReservedValue option which was preferred in older version of DBAdapter.
We are using following values in DB Adapter configuration, the Jdev project for DBAdapter and the OSB proxy using DBAdapter are attached.
LogicalDeletePolling Strategy
MarkReadValue = Processed
MarkUnreadValue = Initiate
MarkReservedValue = <empty as we are using Skip Locking>
PollingFrequency = 1 second
maxRaiseSize = 1
MaxTransactionSize = 10
DistributionPolling = checked (adds lock-n-wait in properties file and changes the SQL to SELECT FOR UPDATE SKIP LOCKED)
Thanks and Regards
Hi All,
Actually I'm also facing the same problem.
Step I follwed:
1) Created a job_table in database
create talbe job_table(id, job_name, job_desc, job_status)
2)created a bpel process to test the Inbound distributed polling.
3)Configure the DBAdapter for polling.
a)update a field in the job_table with logical delete.
b)select the field name form the drop down
c) change the read value-->Inprogress and unRead value--->Ready
d) dont change the value for Reserved value
e) select the check box for "distributed polling".
f) the query will be appended with "For update NoWait."
g)click next and then finish.
4) Then i followed the below steps.
To enable pessimistic locking, run through the wizard once to create an inbound polling query. In the Applications Navigator window, expand Application Sources, then TopLink, and click TopLink Mappings. In the Structure window, click the table name. In Diagram View, click the following tabs: TopLink Mappings, Queries, Named Queries, Options; then the Advanced… button, and then Pessimistic Locking and Acquire Locks. You see the message, "Set Refresh Identity Map Results?" If a query uses pessimistic locking, it must refresh the identity map results. Click OK when you see the message, "Would you like us to set Refresh Identity Map Results and Refresh Remote Identity Map Results to true?Ó Run the wizard again to regenerate everything. In the new toplink_mappings.xml file, you see something like this for the query: <lock-mode>1</lock-mode>.
5) lock-mose is not changed to 1 in toplink_mappingss.xml
Can we edit the toplink_mappings.xml manually.
If yes, what allt he values Ineed to change in toplink_mappings.xml file, so that it will not pick the same record for the multiple times in clustered environment.
Please help me out this is urgent.
Thanking you in advance.
Similar Messages
-
DBAdapter polling with logical delete x distrib polling x DB rows per trans
Hi all.
I'm trying to configure a DBAdapter with "logical delete" polling strategy, distributed polling (cluster environment) and a defined number of "Database Rows per Transaction".
When I check the box "Distributed Polling", the SQL generated gets appended by "FOR UPDATE NOWAIT"
However, when I set a value for "Database Rows per Transaction" the "FOR UPDATE NOWAIT" sql clause disappear.
Is this a bug, or some limitation related to the "logical delete" strategy???
Thanks
DenisHi All,
Actually I'm also facing the same problem.
Step I follwed:
1) Created a job_table in database
create talbe job_table(id, job_name, job_desc, job_status)
2)created a bpel process to test the Inbound distributed polling.
3)Configure the DBAdapter for polling.
a)update a field in the job_table with logical delete.
b)select the field name form the drop down
c) change the read value-->Inprogress and unRead value--->Ready
d) dont change the value for Reserved value
e) select the check box for "distributed polling".
f) the query will be appended with "For update NoWait."
g)click next and then finish.
4) Then i followed the below steps.
To enable pessimistic locking, run through the wizard once to create an inbound polling query. In the Applications Navigator window, expand Application Sources, then TopLink, and click TopLink Mappings. In the Structure window, click the table name. In Diagram View, click the following tabs: TopLink Mappings, Queries, Named Queries, Options; then the Advanced… button, and then Pessimistic Locking and Acquire Locks. You see the message, "Set Refresh Identity Map Results?" If a query uses pessimistic locking, it must refresh the identity map results. Click OK when you see the message, "Would you like us to set Refresh Identity Map Results and Refresh Remote Identity Map Results to true?Ó Run the wizard again to regenerate everything. In the new toplink_mappings.xml file, you see something like this for the query: <lock-mode>1</lock-mode>.
5) lock-mose is not changed to 1 in toplink_mappingss.xml
Can we edit the toplink_mappings.xml manually.
If yes, what allt he values Ineed to change in toplink_mappings.xml file, so that it will not pick the same record for the multiple times in clustered environment.
Please help me out this is urgent.
Thanking you in advance. -
Unstoppable feedback when using POD X3 with Logic Pro 8 PLEASE HELP!
Hey everyone, i recently bough and installed logic pro 8 but whenever I use my POD X3 with it there is feedback which no matter what I do I cant stop. does anyone have any ideas or suggestions about how I can fix this please??? thanks alot!
Joe Dexter wrote:
Hey everyone, i recently bough and installed logic pro 8 but whenever I use my POD X3 with it there is feedback which no matter what I do I cant stop. does anyone have any ideas or suggestions about how I can fix this please??? thanks alot!
Hi.
1. TURN OFF YOUR SPEAKERS!!!
Ok. Now that you don't hear the feedback...you can start troubleshooting.
2. UNPLUG YOUR MICROPHONE OR GUITAR!!!
There...That's much better.
3.READ THE FRIGGIN' MANUAL THAT CAME WITH YOUR X3 THINGY.
Ok. Once you read it, AND ,much more importantly, understand it, you will most definitely find what is wrong with your setup. The solution will be in the manual... despite what you might think. If you don't find the solution in the manual, you can always make earplugs out of it, provided it is made of soft paper. If the paper is hard, you might need to chew on it, or use some water, to soften it enough to put in your ears.
Here is the mother of all clues:
FEEDBACK... it only occurs when you have a live input(microphone or really loud guitar) in the same acoustic space as the output (speakers), or when you are feeding a computer output directly into a computer input... ie creating a loop that feeds back into itself... get it??? Feeds Back???
Cheers -
Java.sql.SQLException: Cannot call rollback when using distributed transac
Hi all,
I am getting the below exception trace when I tried to rollback the data in WLI.I am getting the db connection Object from DBControl.
java.sql.SQLException: Cannot call rollback when using distributed transactions
at weblogic.jdbc.wrapper.JTAConnection.rollback(JTAConnection.java:313)
at controls.DailyFeedFileJavaImpl.excuteBatch(DailyFeedFileJavaImpl.jcs:
904)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java
:371)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:42
3)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:39
6)
at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:381)
at $Proxy59.excuteBatch(Unknown Source)
at QnbDailyFeedProcess.feedFileJavaObjExcuteBatch(QnbDailyFeedProcess.jp
d:274)
at QnbDailyFeedProcess_wf$ImplControlSend15.invoke(QnbDailyFeedProcess_w
f.java:146)
at com.bea.wli.bpm.runtime.Perform.execute(Perform.java:32)
at com.bea.wli.bpm.runtime.ProcessState.executeInternalCallback(ProcessS
tate.java:726)
at QnbDailyFeedProcess_wf$_ProcessState.executeInternalCallback(QnbDaily
FeedProcess_wf.java:311)
at com.bea.wli.bpm.runtime.ProcessState.executeInternalCallback(ProcessS
tate.java:685)
at com.bea.wli.bpm.runtime.ProcessState.processNodeOrchestration(Process
State.java:681)
at sun.reflect.GeneratedMethodAccessor193.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java
:371)
at com.bea.wli.bpm.runtime.JpdInternalDispMethod.invoke(JpdInternalDispM
ethod.java:87)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:42
3)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:39
6)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:24shanmuga gomathi nayagam wrote:
Hi all,
I am getting the below exception trace when I tried to rollback the data in WLI.I am getting the db connection Object from DBControl.
java.sql.SQLException: Cannot call rollback when using distributed transactions
at weblogic.jdbc.wrapper.JTAConnection.rollback(JTAConnection.java:313)Hi, Ideally, you should obtain the Transaction object and roll it back/ set it
to rollback only.
Joe
at controls.DailyFeedFileJavaImpl.excuteBatch(DailyFeedFileJavaImpl.jcs:
904)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java
:371)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:42
3)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:39
6)
at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:381)
at $Proxy59.excuteBatch(Unknown Source)
at QnbDailyFeedProcess.feedFileJavaObjExcuteBatch(QnbDailyFeedProcess.jp
d:274)
at QnbDailyFeedProcess_wf$ImplControlSend15.invoke(QnbDailyFeedProcess_w
f.java:146)
at com.bea.wli.bpm.runtime.Perform.execute(Perform.java:32)
at com.bea.wli.bpm.runtime.ProcessState.executeInternalCallback(ProcessS
tate.java:726)
at QnbDailyFeedProcess_wf$_ProcessState.executeInternalCallback(QnbDaily
FeedProcess_wf.java:311)
at com.bea.wli.bpm.runtime.ProcessState.executeInternalCallback(ProcessS
tate.java:685)
at com.bea.wli.bpm.runtime.ProcessState.processNodeOrchestration(Process
State.java:681)
at sun.reflect.GeneratedMethodAccessor193.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java
:371)
at com.bea.wli.bpm.runtime.JpdInternalDispMethod.invoke(JpdInternalDispM
ethod.java:87)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:42
3)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:39
6)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:24 -
How do I resolve "error processing your request" when using the download link in My Orders for photoshop 5
As Jeff already hinted at, try a different browser. Such issues almost always are local problems on your end. Something is either changing or blocking the HTTP headers used for forwarding (could be your router, a desktop firewall or other security tools) or a JavaScript is not running/ being blocked.
Mylenium -
When using Time Machine, if I delete items from my computer, will they still be backed up to access later on my external hard drive?
In other words, when time machine backs up again, will it delete the files from the back up that I have deleted from my computer?No, I do not believe so. Time Machine would keep all those now-deleted files in previous backups, and as time goes by those backups might be deleted if you needed room, but it would still keep one backup from each day in last month, as well as one from each week forever, as long as you don't start running out of room, then just the oldest would be deleted to make room if needed.
I use a backup drive about double the size of my drive to be backed up, so I would guess it will never get to the point where deleted files being replaced by new ones being backed fill up that drive to the point where backups actually have to get deleted. -
Revision: 1720
Author: [email protected]
Date: 2008-05-14 14:50:06 -0700 (Wed, 14 May 2008)
Log Message:
Bugs: LCDS-304 - Authentication not working in all cases when using security constraint with NIO endpoints.
QA: Yes
Doc: No
Details:
Update to the TomcatLoginCommand to work correctly with NIO endpoints.
Ticket Links:
http://bugs.adobe.com/jira/browse/LCDS-304
Modified Paths:
blazeds/branches/3.0.x/modules/opt/src/tomcat/flex/messaging/security/TomcatLoginCommand. javaRevision: 1720
Author: [email protected]
Date: 2008-05-14 14:50:06 -0700 (Wed, 14 May 2008)
Log Message:
Bugs: LCDS-304 - Authentication not working in all cases when using security constraint with NIO endpoints.
QA: Yes
Doc: No
Details:
Update to the TomcatLoginCommand to work correctly with NIO endpoints.
Ticket Links:
http://bugs.adobe.com/jira/browse/LCDS-304
Modified Paths:
blazeds/branches/3.0.x/modules/opt/src/tomcat/flex/messaging/security/TomcatLoginCommand. java -
Strange behaviour when using connection pooling with proxy authentication
All
I have developed an ASP.NET 1.1 Web application that uses ODP.NET 9.2.0.4 accessing Oracle Database 8i (which is to be upgraded to 10g in the coming months). I have enabled connection pooling and implemented proxy authentication.
I am observing a strange behaviour in the live environment. If two users (User 1 and User 2) are executing SQL statements at the same time (concurrent threads in IIS), the following is occurring:
* User 1 opens a new connection, executes a SELECT statement, and closes this connection. The audit log, which uses the USER function, shows User 1 executed this statement.
* User 2 opens the same connection (before it is released to the connection pool?), excutes an INSERT statement, and closes this connection. The audit log shows User 1, not User 2, executed this statement.
Is this a known issue when using connection pooling with proxy authentication? I appreciate your help.
Regards,
ChrisHi Chris,
I tried to reproduce your complaint, but was unable to. I didnt use auditting however, just a series of "select user from dual" with proxy authentication. You might want to see if you can put together a small complete testcase for this and open a sr with support.
Cheers
Greg -
Scope when using a JavaBean with JSP
what is the meaning of this question .....?
"Which of the following can not be used as the scope when using a JavaBean with JSP? "
question 4
site :http://java.sun.com/developer/Quizzes/jsptut/The question is clearly written. I don't see how you can be confused. But let's assume you are since you would not have posed the question.
Dumbed-down:
There are 4 scopes or areas of variable visibility in JavaServer Pages. Which of those can areas can not be used with JavaBeans?
Does that help? -
When using Camera raw with PS12 after editing, I cannot save my file in JPEG, only DNG
When using Camera RAW after editing photo I can only save file as DNG, I want to save as JPEG. HOW??
THANKS LLOYDBARBARA,Yes, you are so right, I was deceived by the eve button, Just tried it and it WORKS GREAT-Thanks for the help.
THANKS AGAIN AND HAVE A GOOD DAY Lloyd
From: Barbara B. <[email protected]>
To: Lloyd Bennett <[email protected]>
Sent: Tuesday, January 13, 2015 11:46 AM
Subject: When using Camera raw with PS12 after editing, I cannot save my file in JPEG, only DNG
When using Camera raw with PS12 after editing, I cannot save my file in JPEG, only DNG
created by Barbara B. in Photoshop Elements - View the full discussionYou are being deceived by the Save button, like most people. That button is not the Save As button, really, but a link to the DNG converter. To save your raw file in an image format, click the Open button instead and then save in the format of your choice in the editor. If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7092207#7092207 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7092207#7092207 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following" Start a new discussion in Photoshop Elements by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624. -
How to avoid data repetation when using select statements with innerjoin
how to avoid data repetation when using select statements with innerjoin.
thanks in advance,
satheeshyou can use a query like this...
SELECT DISTINCT
frg~prc_group1 "Product Group 1
frg~prc_group2 "Product Group 2
frg~prc_group3 "Product Group 3
frg~prc_group4 "Product Group 4
frg~prc_group5 "Product Group 5
prc~product_id "Product ID
txt~short_text "Product Description
UP TO 10 ROWS
INTO TABLE l_i_data
FROM
Joining CRMM_PR_SALESG and
COMM_PR_FRG_ROD
crmm_pr_salesg AS frg
INNER JOIN comm_pr_frg_rod AS prd
ON frgfrg_guid = prdfragment_guid
Joining COMM_PRODUCT and
COMM_PR_FRG_ROD
INNER JOIN comm_product AS prc
ON prdproduct_guid = prcproduct_guid
Joining COMM_PRSHTEXT and
COMM_PR_FRG_ROD
INNER JOIN comm_prshtext AS txt
ON prdproduct_guid = txtproduct_guid
WHERE frg~prc_group1 IN r_zprc_group1
AND frg~prc_group2 IN r_zprc_group2
AND frg~prc_group3 IN r_zprc_group3
AND frg~prc_group4 IN r_zprc_group4
AND frg~prc_group5 IN r_zprc_group5.
reward it it helps
Edited by: Apan Kumar Motilal on Jun 24, 2008 1:57 PM -
How do you stop needing to verify email password when using yahoo.att with Mac Mail
How do you stop needing to verify email password when using yahoo.att with Mac Mail?
Nevermind, I fixed it (I think). I went into Settings | Accounts & Sync and found Yahoo at the bottom of the list (alphabetically). I selected it and it had an optiion to delete the account, which I did.
-
why my iphone 4s getting hot when using 3g plus with data?
then my phone left side speaker didnt work when i list songs?It is normal for the phone to get hot when your using data such as YouTube videos, streaming music etc.. And as for the left speaker not working, the left speaker is a microphone, the right one is for sound. Don't worry, everything your iPhone is doing is normal.
-
when using apple tv with my ipad, the mirroring function does not work, screen goes black, what is the issue? My son's Ipad(same as kind as mine) works ok with the apple tv but mine does not. Any suggestions?
Hello Nina Izurin,
While written for the iPhone, the troubleshooting below can help resolve issues with your iPad's camera, as well.
Camera isn't functioning or has undesired image quality
If the screen shows a closed lens or black image, force quit the Camera app.
If you do not see the Camera app on the Home screen, try searching for it in Spotlight. If the camera does not show up in the search, check to make sure that Restrictions are not turned on by tappingSettings > General > Restrictions.
Ensure the camera lens is clean and free from any obstructions. Use a microfiber polishing cloth to clean the lens.
Cases can interfere with the camera and the flash. Try gently cleaning the lens with a clean dry cloth or removing the case if you see image or color-quality issues with photos.
Try turning iPhone off and then back on.
Tap to focus the camera on the subject. The image may pulse or briefly go in and out of focus as it adjusts.
Try to remain steady while focusing:
Still images: Remain steady while taking the picture. If you move too far in any direction, the camera automatically refocuses to the center.
Note: If you take a picture with iPhone turned sideways, it is automatically saved in landscape orientation.
Video: Adjust focus before you begin recording. You can also tap to readjust focus while recording. Exiting the Camera application while recording will stop recording and will save the video to the Camera Roll.
Note: Video-recording features are not available on original iPhone or iPhone 3G.
If your iPhone has a front and rear camera, try switching between them to verify if the issue persists on both.
My issue is still not resolved. What do I do next?
Contact Apple Support.
iPhone: Hardware troubleshooting
http://support.apple.com/kb/TS2802
Cheers,
Allen -
Using usb mic with logic output stops
using usb mic with logic output stops
Aggregate devices are setup in the Audio/Midi setup of OSX Utilities, (Not in Logic). It gives you a way of having for than one audio i/o device. Once you have set up your aggregated devices in Audio/Midi, when you start Logic you will need to go into Audio preferences and choose the Aggregate device.
Maybe you are looking for
-
New tabs do not open with middle mouse in Windows, but not Linux
I've seen this bug reported a few times already, but none of them seem to have resolved the issue (at least for me). I have a Lenovo ThinkPad T510 currently running two operating systems on separate partitions (Windows 7 and Fedora 20). Firefox is my
-
I'm a "senior", sort of computer illiterate. I need to send 13 pages of documents to my mortgage lender. Do I scan and put in a file/folder, or is there a way to get them right in the email? All I've ever done is write emails and send them - - wit
-
Hi Gurus, This issue is the extension for the issues I posted in this CO Thread. I have mat A , and B,C,D as the BOM components, C,D are non stock materials like Gas and water which we use in during the process and there is no Costing view for them s
-
In Bex Query day from calday value and sales in prev yr value not come
Dear all right now i got output like Sales Sales in Prev Yr Sales Organization Day From Calday Calendar Day Sales Value
-
hi, 1. can i create an ods without time characteristic. can anyone explain me with one such scenario. 2. i need to maintain a table in bw just for lookups in a prog.how do i maintain this.should i create an ods for this or should i use a ztable load