Pick activity eats messages that it does not consume
Consider the following code fragment:
<while name="while-1" condition="bpws:getVariableData('counter') < 2">
<pick name="pick-1">
<onMessage partnerLink="rcvr1" portType="tns:BasicCallback" operation="onResult" variable="rcvd1">
</onMessage>
<onMessage partnerLink="rcvr2" portType="tns:BasicCallback" operation="onResult" variable="rcvd2">
</onMessage>
<onMessage partnerLink="rcvr3" portType="tns:BasicCallback" operation="onResult" variable="rcvd3">
</onMessage>
</pick>
</while>
In principle, this fragment of process will perform a number of iterations (let's say two iterations) and for each of these iterations it will consume one among three possible types of messages (the messages have the same type but come from different partner links).
I have run this process in a situation where all the three messages (which come from the three different partner links) are sent at the same time and thus (in most executions) they arrive to the BPEL process at the same time. The problem that I'm having is that during the first iteration, the Pick activity consumes one of the message (say the message over "rcvr1") and it then discards the other two messages which are sitting on the message queue (i.e. the messages that arrived through partner links "rcvr2" and "rcvr3"). As a result, these two messages are no longer available during the second iteration of the "while" loop, and the process just waits forever.
Reading Section 12.4 of the BPEL 1.1 spec. there's nothing in there that says that messages that are not consumed by a Pick activity should be discarded.
Specifically, the execution log that I'm getting looks something like the following:
... [first iteration]
rcvr3 (onResult) (cancelled)
[2005/06/09 14:42:28] Waiting for message from "rcvr3", operation is "onResult".
[2005/06/09 14:42:32] Receive activity has been cancelled.
rcvr2 (onResult) (cancelled)
[2005/06/09 14:42:28] Waiting for message from "rcvr2", operation is "onResult".
[2005/06/09 14:42:32] Receive activity has been cancelled.
rcvr1 (onResult)
[2005/06/09 14:42:28] Waiting for message from "rcvr1", operation is "onResult".
[2005/06/09 14:42:32] Received "onResult" callback from partner "rcvr1" More...
<rcvd1>
... [second iteration]
rcvr3 (onResult) - pending
[2005/06/09 14:42:32] Waiting for message from "rcvr3", operation is "onResult".
rcvr2 (onResult) - pending
[2005/06/09 14:42:32] Waiting for message from "rcvr2", operation is "onResult".
rcvr1 (onResult) - pending
[2005/06/09 14:42:32] Waiting for message from "rcvr1", operation is "onResult".
Interestingly, sometimes it happens that one of the 3 messages arrives one second before the other two. In this case, The Pick activity consumes the first message during the first iteration, then the process goes into the second iteration and the "Pick" activity then consumes a second randomly chosen message (but still it "eats" the third message).
This behaviour has been observed in Oracle BPEL 2.1.2
Kind regards
Marlon Dumas (m . dumas @ qut . edu . au)
Queensland University of Technology, Australia
Thanks Marlon. I will communicate the same to dev team.
Similar Messages
-
Can someone please help me get my iPhone to sync to your computer?
I can not sync my iPhone to the computer. I keep getting up an error message that synchronization does not want to start. I have uninstalled iTunes and then reinstall it. But the same warning box will appear. How can I get my phone in sync again?Hello lenmin,
Thanks for using Apple Support Communities.
To help resolve this issue where you're repeatedly prompted to authorize with your Apple ID in iTunes when syncing, please follow the directions in the article below.
iTunes: Missing folder or incorrect permissions may prevent authorization - Apple Support
Have a great weekend,
Alex H. -
trying to download new version of I-tunes getting message that says does not have permision from system administrator ??
Is the account (computer not iTunes) that the user is signed in with an Administrator account?
-
I uploaded an rtf (word) document to icloud, but when I try to open in Pages, I get a message that it does not support rtf format. What is going on?
Supported file formats for iOS Pages
Import:
Pages ’09 for Mac
Microsoft Word - Office Open XML (.docx) and Office 97 or later (.doc)
Plain Text files (.txt)
Export:
Pages ’09 for Mac
Microsoft Word (.doc)
PDF
As you can see - .rtf is not supported. -
hello am using ios 7.0.4 I have a question about messages that it does not show the time of a particular message after first message that I recive form a paricular person so please in the next version change this and with every message show time and date
Hi,
How is everything going? Have you checked this issue from OWA? If so, please let me know the result.
In adition, please also try to use the following powershell commands to check if the assistant has right permissions:
Get-MailboxFolderPermission -Identity
CEO’s email address:\Calendar -User assistant’s email address
Also check with:
Get-Mailbox -Identity CEO’s mailbox
| fl *GrantSendOnBehalfTo
Please let me know the result.
Best Regards,
Steve Fan
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please click
here -
Keep getting message saying current version of Safari does not support gmail, but I seem to have latest version (5.0.5). Is there an update I need?
Poroblem goes away when I use Chrome.Several older browser versions and ones that won't be upgraded without
a major system upgrade (a new OS X, if one is supported in hardware)
get similar messages when using Gmail & perhaps other google access.
If you want to experiment a little and the cost is zero, see the iCab browser
that is shareware but runs free with annoying prompt to buy a license, that
can be set to appear as Safari 6 to various web sites including Gmail. I've
tried it, and that does work. The iCab version that I found helpful works in
either PPC or Intel Mac OS X 10.5 ~ 10.7, there is a later version, too.
There is a recent iCab v.5.5 or an older iCab 5.1.1, since you could use
the more recent, I'd suggest that version over the older one which I have.
See http://www.icab.de/dl.php for iCab 5.5 (30.10.2014 or note a direct
DL link to that, here: iCab_5.5_Intel.zip -- either version is 32/64 bit.
Hopefully you can use the additional options without an OS X upgrade
to later system such as Lion. Sometimes an upgrade goes fine, but
there are good reasons to make a fully bootable clone on external HDD.
Then you could revert to a working copy of what you had before upgrade.
PS: If you are seeing two Safari versions in the Application folder, you
could use Get Info on each (separate, highlight one at a time) to find
what one is newest; then put the older one in Trash. Do not delete it yet.
The icon for Safari in the Dock may need to be replaced by dragging
the new Safari into the Dock, after dragging the old icon out of it...
but generally that part should not be necessary if only one Safari is
in the Applications folder. Be sure to not leave an app in the desktop
when it should be found by OS X in the Application folder.
The newer Safari should be in the Applications folder. Is it?
Check the Downloads folder in the Dock, to see where it went.
Sometimes, the browser's download info will show a history;
you can choose where downloads get stored.
Good luck & happy computing!
edited 2x -
Whenever i reply to an email i get message that receiver does not accept relay messages.
I have a work email. Whenever I set it up on my Iphone 5 I dont get my calendar. Whenever I try responding to an email I get message "receiver does not accept relay messages"
Your outgoing mail server settings is wrong. Go back in and make sure the password is correct.
-
Things were going well. Mail was working fine and then the following error message appears out of nowhere. I had not changed any settings. From that point on all efforts to send mail failed, and the error message appeared even thought I used the password to log back in after I quit. Now, an hour after the problem started it takes my password (on the second try after the error message appears) once and sends a test message. Then, one minute later it gives the error message again and refuses to send anything. Why is mail so inconsistent? What can I do in the future to address the problem?
Error message reads "The SMTP server "xxxxx" rejected the password for user "xxx" Please re-enter your password or cancel.
When mail does work again. Should I click the remember this password in keychain or am I just asking for more trouble?
I'm writing this using my IMac computer in a different room. The error also occurs on my powerbook running my new MacBook Pro 12 inch.
Fed up Mac user.I"m no expert but this used to happen to me all the time (stop downloading, asking for my password, nothing downloading, walking away- 24 hours or more later, all is fine, only to later start all over again)
Well, i gave up for a long time and stopped using that account with mac mail and only accessed it online..recently went and changed the pop3 to only pop and now it works beautifully and seamlessly. Don't ask me why or how, but it does so thought I'd share. -
ive tried uninstalling itunes and re installing many times and my ipod th generation still says cannot be reconised ? someone please help
ive tried uninstalling itunes and re installing many times
Doublechecking. Have you tried a complete uninstall of both iTunes and all the other related software components (Apple Mobile Device Support, Apple Application Support, etc ...) and then a reinstall? If not, try the instructions from the following document:
Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8 -
help
Without proper technical details like system info and the actual text of the error message nobody can say anything.
Mylenium -
I am running an Apple imac G-5 with OS 10.5.8. Processor: 2 GHz. Memory: 2 GB DDR SDRAM. I am getting the message that my version of Safari is no longer working. I downloaded a newer version of Safari and I got the message that it would not work with my OS 10.5.8. Does any one have a suggest
Your post somehow found its way to a little-viewed forum for an obsolete Apple productivity program. I have asked the Hosts to move you to a more active and appropriate forum for your product.
-
I cannot update or install updates on itunes. It says that the location for that file does not exist. I cant even uninstall itunes as the same error message comes up.
Hi vindog60,
Thank you for using Apple Support Communities.
To troubleshoot this issue where you get an installation error with iTunes on your Windows PC, please follow the steps in the article linked to below.
Issues installing iTunes for Windows - Apple Support
Cheers,
Alex H. -
How do I download a movie to my iphone 3G? When I click 'rent' in itunes, I get a message that there is not enough available local storage, but I can manage storage on my device in 'Settings'. I have activated icloud, but don't know how to change my storage so that I can rent and watch the movie on my phone. thanks for any help you can give.
I always do my Rentals with the itunes program on the computer.
Make rental from itunes store. It will show in movies under library, DO NOT click to play it. Plug in the device to the computer. Click the name of the device on left. Click on movies. There is an option to copy to the device. Sync. obviously you still need space on ipad to put rental but you can have it take computers hard drive space until you need it. -
From within Photoshop Elements, when I try to open Editor, a box opens that states I must activate the software. I registered and activated the software last year. When I click to activate, I get a message that I am not connected to the internet. I am connected. How do I get Editor to work?
You would get the redemption code, or perhaps even the serial number, from whomever you purchased the software from, apparently Amazon, so talk to them. This wouldn’t be the first time they’ve sold something that didn’t have all the numbers needed to license it.
A redemption code is something that is usually on the inner disc packaging if you purchase the media in a box, and there is a barcode on the outside of the packaging that must be scanned at the checkout register to activate the hidden inner code so you can redeem it at home on that website. This is what happens if you buy PSE from a brick-and-mortar store like Best Buy. I don’t’ know what happens if you purchase the downloaded version as I have never done that.
A redemption code is 24-digits of letters and numbers that you enter into a website to get a serial number, once and only once. The serial number of only 24-digits, no letters, is what you enter into the software during the install or when you run it and it asks if you want to register or run in a trial mode—whatever the exact phrasing is.
In any case it sounds like you don’t have either a redemption code or serial number—although perhaps something is listed on the purchase confirmation or your account online at Amazon or even in an e-mail from Amazon. -
I have my iphone4 activated and working since 3days, i purchased it from ebay with 1year warranty, when i check the serial number from Apple store at Bangalore Forum mall, they say that it does not show anything and 'OUT OF WARRANTY'.
Now i have a problem in it, all icons just shake and system hangs, needs restarting.You need to go back to the person you bought it from. Sounds like they may have sold you phone that is not as described.
Did you check the warranty status before purchasing it?
Maybe you are looking for
-
Can't import photos into iPhoto-- it sees them but won't import
I've been using iPhoto with my Mac Mini for almost a year now without a single issue (that's the main reason I bought a mac). I believe I have iPhoto 08 (I bought the computer 1 year ago). I have a newer Canon point-and-shoot that I've been using. Ab
-
SCOM 2012R2 - Alerts Not Generating, Must Restart SCOM to Resolve
Hi TechNet, I am having an issue with my SCOM 2012R2 where the system goes into a state where alerts are not generated. We start to see events like the one below leading up to the point where this happens. This is resolved by restarting our SCOM MS.
-
Hi, I'm using Oracle JDeveloper 11.1.2.2.0 and the eclipselink JPA provider (integrated in Toplink library). I can run my web application in IDE. However, when I deployed my application to the embedded WLS via a WAR file, I got the following error: E
-
Add a field selection to ldb IMA
Hi friends, could you give a help on this requirement : I need to add a selection field ( pa_vgsber like IMAK-VGSBER ) to a selection screen of logical database IMA in order to select this field in tcode IMR1. I have tried to create a 'CUST' selectio
-
Do I need to turn you in to the Attorney General????
cancelled this service back in MAY 2015 and I hevv been charged 3times since then. I want my money back ASAP or I will file a claim with the Attorney Generals Office. For your reference this is Case #: 02973654