Trying to get Human Tasks to work in a BPEL process

I have a workflow that needs to include a human review point for quality control purposes.
I have added a "Human Task" at that point, and that seems to partially work. I can see the tasks in BPM and I can Approve them. What's not working is that after the approval, the next step in the BPEL flow isn't getting applied.
Perhaps related is that I can see the human task was executed from within the SOA Console. However, I don't see the BPEL instance that it was associated with. I only seem to be able to see instances that have completed.
So, I'd appreciate any help you can provide on what I might be doing wrong or how to best diagnose what's going on.

Ok, I ran my data through again, trying to pay attention to what's going on in the console log and in the oc4j/diagnostic log. I do see various stack traces and diagnostics - none of which are directly in my code. However, I see lots of diagnostic stuff coming out often - even when I'm not doing anything, so it's hard for me to say for sure they're related.
I run OC4J out of JDeveloper using "Debug Server Instance". I have deployed my web service and BPEL stuff to the OC4J.
Here's the stuff I see that my help diagnose what's going on.
At about the timeframe where the human task is being executed within the BPEL flow:
In the "Debugging: DefaultServer - Log" tab in Jdeveloper I see:
Aug 15, 2008 11:11:17 AM com.collaxa.cube.CubeLogger error
SEVERE: <DispatchHelper::handleMessage> failed to handle message
javax.ejb.EJBException: An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: Timed out
javax.transaction.RollbackException: Timed out
     at oracle.oc4j.transaction.TransactionImpl.checkForRollbackOnlyWhileInCommit(TransactionImpl.java:714)
     at oracle.oc4j.transaction.TransactionImpl.doCommit(TransactionImpl.java:341) ...
This is followed by some lines of the form:
Aug 15, 2008 11:11:17 AM com.collaxa.cube.CubeLogger error
SEVERE: <BaseScheduledWorker::process> Failed to handle dispatch message ... exception ORABPEL-05002
Message handle error.
An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: Timed out
This error is a wrapper for an exception thrown by the message handler.
Please check the exception trace in the log (with loggers set to debug mode).
ORABPEL-05002
Message handle error.
An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: Timed out
This error is a wrapper for an exception thrown by the message handler.
Please check the exception trace in the log (with loggers set to debug mode).
     at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:176)
     at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:82) ...
At around the time I approved the task in the BPM console, I see
Aug 15, 2008 11:13:11 AM oracle.j2ee.util.AnnotatedLogger logWithThrowable
WARNING: J2EE JNDI-00009
Aug 15, 2008 11:13:50 AM oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectOneRenderer _getSelectedIndex
WARNING: Could not find selected item matching value "" in RichSelectOneChoice[UIXEditableFacesBeanImpl, id=navList1]
Aug 15, 2008 11:13:50 AM oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectOneRenderer _getSelectedIndex
WARNING: Could not find selected item matching value "" in RichSelectOneChoice[UIXEditableFacesBeanImpl, id=navList1]
Aug 15, 2008 11:13:53 AM oracle.jbo.uicli.mom.JUApplicationDefImpl logCpxUsageIdCollision
SEVERE: Both validatefeedtaskflow.DataBindings.cpx and validatefeedtaskflow.DataBindings.cpx use the same usageId: validatefeedtaskflow_taskDetails1PageDef
FIX: Use validatefeedtaskflow_validatefeedtaskflow_taskDetails1PageDef as the usageId in validatefeedtaskflow.DataBindings.cpx
08/08/15 11:13:53 InvokeActionBean.reloadParentBrowser start
08/08/15 11:13:53 InvokeActionBean.reloadParentBrowser end
Aug 15, 2008 11:13:54 AM oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectOneRenderer _getSelectedIndex
WARNING: Could not find selected item matching value "" in RichSelectOneChoice[UIXEditableFacesBeanImpl, id=navList1]
Aug 15, 2008 11:13:54 AM oracle.jbo.uicli.mom.JUApplicationDefImpl logCpxUsageIdCollision
SEVERE: Both validatefeedtaskflow.DataBindings.cpx and validatefeedtaskflow.DataBindings.cpx use the same usageId: validatefeedtaskflow_taskDetails1PageDef
FIX: Use validatefeedtaskflow_validatefeedtaskflow_taskDetails1PageDef as the usageId in validatefeedtaskflow.DataBindings.cpx
Aug 15, 2008 11:13:55 AM oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectOneRenderer _getSelectedIndex
WARNING: Could not find selected item matching value "" in RichSelectOneChoice[UIXEditableFacesBeanImpl, id=navList1]
Aug 15, 2008 11:13:55 AM com.evermind.server.http.HttpMessages commonIOExceptionThrown
WARNING: The application: ValidateFeedTaskFlow threw a Broken pipe IOException. Though this error may occur many times, this message is only logged once. To log additional occurances of this exception, set the log level of the com.evermind.server.http.EvermindHttpServletResponse trace logger to Level.FINE or finer.
java.io.IOException: Broken pipe
     at sun.nio.ch.FileDispatcher.write0(Native Method)
     at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29) ...
In the OC4J/diagnostic.log around the time of the approval, I see a lot (and I mean a lot) of lines of the form:
[2008-08-15T11:13:55.332-06:00] [j2ee] [NOTIFICATION] [] [applications.ValidateFeedTaskFlow] [tid: 24] [ecid: 0000Hj7MyYX000000000000000030eCWL00000003y,0] [APP
: ValidateFeedTaskFlow] ValidateFeedTaskFlow: Broken pipe
After a bunch of the above (only varying in timestamp), I see
2008-08-15T11:13:55.814-06:00] [j2ee] [NOTIFICATION] [J2EE JSP-00052] [jsp] [tid: 18] [ecid: 0000Hj7MyxG000000000000000030eCWL000000048,0] [APP: worklist] [arg: /templates/panelPageTemplate.jspx] Using the ProviderURI /templates/panelPageTemplate.jspx that is returned from custom provider for processing requests.
[2008-08-15T11:13:55.815-06:00] [j2ee] [WARNING] [J2EE HTTP-00022] [http] [tid:24] [ecid: 0000Hj7MyYX000000000000000030eCWL00000003y,0] [APP: ValidateFeedTaskFlow] [arg: ValidateFeedTaskFlow] [arg: Broken pipe] The application: ValidateFeedTaskFlow threw a Broken pipe IOException. Though this error may occur many times, this message is only logged once. To log additional occurances of this exception, set the log level of the com.evermind.server.http.EvermindHttpServletResponse trace logger to Level.FINE or finer.[[
java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
I'm happy to run things again or dig for specific information that might help in diagnosing the problem. I can also send the complete files if that helps.
Thanks in advance.

Similar Messages

  • I have an ipod touch 2nd generation, i'm trying to get apps that will work and i cant find any. Its says i need an update because it has ios 3.1.3 , but on itunes it says there is no update ? what apps can i get??

    i have an ipod touch 2nd generation, i'm trying to get apps that will work and i cant find any. Its says i need an update because it has ios 3.1.3 , but on itunes it says there is no update ? what apps can i get??

    Sounds like you actually have a 1st generation as those cannot update beyond iOS 3.1.3.
    Model Identifier Utility
    rachelfromnorthumberland wrote:
    what apps can i get??
    Finding iOS Apps Compatible with Older Devices

  • I am using an I phone 5 in Germany and trying to get text messaging to work through the hands free Bluetooth connection on a Honda CRV. It keeps telling me that text messaging is not a feature of my phone. messages come in on the phone.How to resolve ?

    I am using an I phone 5 in Germany and trying to get text messaging to work through the hands free Bluetooth connection on a Honda CRV. It keeps telling me that text messaging is not a feature of my phone. messages come in on the phone.How to resolve ?

    mono 8 bit 8k is 64kbps, yes. 8 bits times 8,000 = 64,000 = 64k bits/sec.
    And yes I think that's a typo - there's no such thing as 'Mone' that I've ever heard of...
    But you might want to check to find out if this is a mu-law non-linear format, possibly - there are several ways that 8 bit 8k wav files can be encoded, and typically phone systems don't use linear ones. If you have a log-in to Zultys' user-base system they have an FAQ there, I believe - the answer might be in that, and it won't cost $500.

  • I am trying to get my printer to work.

    I am trying to get my printer to work. It is a Canon MP240, it does not show up in the printers menu. Though it is plugged in via USB.

    This printer does have a driver available via Software Update, meaning that when you connect the printer to the Mac via USB cable the driver should be downloaded and installed automatically for you. Of course this will not occur if the Mac cannot detect the printer at the end of the cable. So if you open Print & Scan, select to Add and the MP240 is not shown in the Default Add Printer view then there could be a problem with the USB cable or with the printer.
    To double-check if the printer can be seen by the Mac, open System Information and under the Hardware entry in the sidebar, select USB. Then in the top right pane you will see all the USB connections on your Mac and what is currently connected to them. If the MP240 is not shown, then try moving the cable to a different USB port on the Mac. And don't use a USB hub or the USB port on the keyboard. If moving doesn't help the printer appear under one of the USB busses, then try a different USB cable. If that still doesn't help, turn off the power to the printer and unplug the power cord for 10 minutes before reconnecting and turning it back on.

  • My Pro Tools program was damaged by the Creative Cloud system. I was invited to install and try the Cloud,but it did me a great dis-service and has set me back in Production and personal time trying to get my pro Tools working again. I am really disappoin

    My Pro Tools program was damaged by the Creative Cloud system.
    I was invited to install and try the Cloud,but it did me a great dis-service and has set me back in Production and personal time trying to get my pro Tools working again. I am really disappointed and would like you to advise me how to restore my program to its working state. I am in a traumatic state since I have Artistes life work being processed in the Pro Tools 9 Program. Help! Help! Please.Ps. I tried reinstalling the software from the Disc....Still NOT working.

    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • Im trying to get my imessage to work on my iphone4

    im trying to get my imessege to work on my iphone4,i set up the account and did everything by the book .
    the imessege works fine on my macbook but dont seem to work on my iphone .
    i allways had this probleme on my iphone but recently i upgraded my ios to ios 7 and it didnt made any diference .
    please help....

    This may be of use,
    http://support.apple.com/kb/HT4527

  • Human tasks on working days

    How can I do to make Human task's expiration days count only working days?

    Here's a bit of Java code to generate the string for 8 hour expirations only on days of M-F. It assumes a BPEL variable named strExpirationMinutes of type string has been created. You can pass the variable in to the human task as a parameter and directly assign it via XPath on the task configuration screen.
    String tmp = "PT";
    int iMins = 0;
    int hrs8 = 60*8;
    int hrs23 = 60*23;
    int hrs24 = 60*24;
    java.util.Calendar calNow = java.util.Calendar.getInstance();
    int hours = calNow.get( java.util.Calendar.HOUR_OF_DAY );
    int minutes = calNow.get( java.util.Calendar.MINUTE );
    int dow = calNow.get( java.util.Calendar.DAY_OF_WEEK );
    // if a M-T
    if (dow>=2 && dow<=5) {   
    // if starting before 8 am - add 8 hours plus the interval between now and 8 am
    if (hours<8) {   
    iMins = (60-minutes) + ( (8-hours-1)*60 )+ hrs8;
    // if starting between 8 am and 9 am - just add 8 hours
    } else if (hours==8 || ( hours==9 && minutes==0) ) {   
    iMins = hrs8;
    // if starting between 9 am and 5 pm - just add 23 hours
    } else if (hours>=9 && (hours<17 || (hours==17 && minutes==0)) ) {   
    iMins = hrs23;
    // if starting after 5 pm - add 8 hours plus the interval between now and 8 am
    } else {   
    iMins = (60-minutes) + ( (24-hours-1)*60 ) + hrs8 + hrs8;
    // if Fri
    } else if (dow==6) {   
    // if starting before 8 am - add 8 hours plus the interval between now and 8 am
    if (hours<8) {   
    iMins = (60-minutes) + ( (8-hours-1)*60 )+ hrs8;
    // if starting between 8 am and 9 am - just add 8 hours
    } else if (hours==8 || ( hours==9 && minutes==0) ) {   
    iMins = hrs8;
    // if starting between 9 am and 5 pm - add 23 hours plus the two we days
    } else if (hours>=9 && (hours<17 || (hours==17 && minutes==0)) ) {   
    iMins = hrs23 + hrs24 + hrs24;
    // if starting after 5 pm - add 8 hours duration plus the interval between
    // now and 8 am saturday, plus the 2 we days
    } else {   
    iMins = (60-minutes) + ( (24-hours-1)*60 ) + hrs8 + hrs8 + hrs24 + hrs24;
    // if Sat
    } else if (dow==7) {   
    // add 8 hrs duration, plus the time between now and midnight sat, plus
    // all of sunday, plus 8 hrs for monday before 8 am
    iMins = (60-minutes) + ( (24-hours-1)*60 ) + hrs8 + hrs8 + hrs24;
    // if Sun
    } else {   
    // add 8 hrs duration, plus the time between now and midnight sun, plus
    // 8 hrs for monday before 8 am
    iMins = (60-minutes) + ( (24-hours-1)*60 ) + hrs8 + hrs8;
    // finish build the time string
    tmp = tmp + iMins + "M";
    // save the string to bpel proc and audit
    setVariableData("strExpirationMinutes", tmp);
    addAuditTrailEntry("strExpirationMinutes:",tmp);

  • I am trying to get TRON-Legacy to work on itunes......

    I have been trying to get the TRON-Legacy soundtrack to work on Itunes and it isn't reading, or doing the internet download that it needs to do to aquire the music and such. I have tried multiple times and have had no success.
    Can someone help me?
    Thanks!

    I'm assuming this is the iPod Touch, since that is the only iPod that accesses the iTunes store. I would recommend you post this here https://discussions.apple.com/community/ipod/ipod_touch

  • OS Win XP, trying to get phone modem to work

    ''locking as a duplicate - https://support.mozilla.com/en-US/questions/867405''
    Desk top computer with Windows XP OS, I am trying to get the 56K phone modem to work. Any suggestions?

    That is extremely vague.
    Maybe if you were t provide some information, any information, then someone could help.

  • I'm trying to get built-in microphone working on Satellite C850

    Dear Forum
    I am trying to get the built-in microphone working on my C850.
    Nothing is recorded if I use the sound recorder utility.
    In the Recording tab the only microphone listed is a Realtek High definition Audio which is set as the default device, is enabled and mute is off.
    Should this be an internal microphone?
    Any suggestions will be greatly appreciated.

    > While researching this I saw screenshots where the microphone was listed as 'Internal Microphone'. In my laptop it is listed as 'Realtek High Definition Audio'. Could my laptop not 'know' that it has a built-in microphone?
    Obviously the notebook supports the Realtek HD audio driver.
    I would recommend you to download and to install the latest Realtek HD audio driver which you could download directly from the Realtek page: http://www.realtek.com.tw/downloads/

  • Trying to get 'External Sample Editor' working.

    Hello,
    I cannot find anything in the manual about changing preferences as to what editor you are using. I found the key command and tried to get DP as my external but once I saw that wasn't going to work I couldn't find any possible way to change my choice of editor. There seems to be no preference or menu that would let you pick a new one. Is my only choice to complete trash prefs and rebuild everything? Not a huge ordeal but tedious none the less.
    Chris

    It's a lot easier than that.
    On my system there is an alias :
    ~/Library/Preferences/Logic/External Sample Editor
    You could try removing the file from it's location or going about the 'select new original method.

  • [SOLVED] trying to get Heros of Newerth working

    hello ive just installed Arch Linux and i cant seem to get Heros of Newerth working
    ive tried installiing it through the ABS but it fails to launch and with the client from the HON website i get the following error
    warning: The VAD has been replaced by a hack pending a complete rewrite
    K2 - Fatal Error: Couldn't load vid_gl2
    i am using the official nvidia driver with both the 64 bit and 32 bit libs installed. Any help would be appreciated
    Last edited by jwenzel2 (2012-10-31 01:55:14)

    Do you really think people can magically know what your system is? I mean, what do you even expect. You give 1 bit of info (nvida) and expect people to be able to help you. Are you serious?
    Provide at least these: lspci, lshw -C video, lshw -short, glxinfo|grep -i rend, pacman -Qs mesa, pacman -Qs nvidia, pacman -Qi linux, uname -a

  • Beginner trying to get my beans to work with jsp on tomcat

    Please help me open my eyes!
    I know this is a stupid oversight on my part, but I've been working for days on getting other things to work on my tomcat server, so I'm out of ideas on this one.
    I've followed all the tomcat docs instructions on where to put my jsp and bean files and set my classpath to where my beans are located. jsps work fine for me but when I try to run this jsp that uses my CalcBean, I get this and similar internal server errors:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 1 in the jsp file: /jsp/calc/calculate.jsp
    Generated servlet error:
    C:\jakarta-tomcat-4.0\work\Standalone\localhost\research\jsp\calc\calculate$jsp.java:56: Class org.apache.jsp.CalcBean not found.
    CalcBean calc = null;
    ^
    Do I need to register my bean somewhere like web.xml?
    Thanks so much in advance for any help!!

    rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

  • Not able to get the data from synchronous Webservice To BPEL process

    Hi All,
    My requirement is : Third party has some webservice.They are pushing data to that Webservice(Wsdl).
    Third part WSDL example : http://ipaddress:port/name/Service.svc?wsdl ( This is just example format of their WSDL)
    After that I need to get that data into my BPEL process and update my system.
    When I built My Snchronous BPEL process I imported third party WSDL(http://ipaddress:port/name/Service.svc?wsdl) through 'import WSDL' in dialog.After that I automatically got the (request and response schema elements) parameters from that WSDL.I gave input and output of the BPEL process from those elements.
    I pasted that third party URL iin SOAPUI and I got their operations and schemas.Based on that I had choosen the elements for 'input' and 'output' of the BPEL processes.I am also getting the schema structures in 'Assign' or 'Transform' activity.
    I built the whole process.
    I have the Process.
    Now Client is pushing data to their WSDL(http://ipaddress:port/name/Service.svc?wsdl) as it is their data pushing interface.But that data is not coming to my BPEL process and instance is not being created in EM console.
    As I have imported their WSDL into my BPEL process,I need to get the data.But I am not getting the data.
    Is there any problem in MY BPEL process?
    (or)
    DO I need to use 'Webservice' Adapter in 'Exposed Services' Swimlane in Composite Editor to have the third party URL, so that they Can push the data to that WSDL in turn that data comes into my BPEL process?
    Can anybody help me this case?
    once again my requirement is :
    Client pushes the data through their WSDL url -----> I need to get that data into MY BPEL process --> I have my own WSDl to take that details into my system.

    I will explain the requirement in small paragraph:
    There are two applications.One is our application(X) and another one is third party application(Y).
    I need to update in my application(X) based on data coming from application(Y).
    I am using SOA as a middle tier to have communication between Y and X.
    (Ex: if they send some info like event type 'event1' from Y ,I need to update that 'event1' data in my X application)
    The work at third party application is :
    According their info,They will push data from their end to their WSDL( http://ipaddress:port/name/Service.svc?wsdl ).
    They are telling they can only send the data to their WSDL( http://ipaddress:port/name/Service.svc?wsdl ).
    They will not consume our BPEL process(I think they might be wrong at this point of time).They have one WSDL to send or push the data from their end.
    The work at from our side(SOA & X application)
    From that point ,our BPEL process has to receive that data and update that data into my application(X).
    I hope You understand my requirement.
    Can you guide me through how to achieve this task as they are telling they have to use their WSDL to push the data?
    (or)
    Do I need to take 'Webservice' adapter into Exposed Services Swimlane in Jdeveloper to have their webservice(third party WSDL),If it is So Can you tell me the details how to take 'input' and 'output' for BPEL process?
    (or)
    Can YOu suggest me to talk to them to consume my BPEL process directly?
    Thanks
    Edited by: 899283 on Aug 17, 2012 4:55 AM

  • How to get the input payload passed to the BPEL Process using java.

    Hi all,
    I am working on an application in which, if some fault occurs in the flow I need to insert the input payload that is being sent to the BPEL process into a Queue using Java. I have gone through the FaultHandling framework and failed to find the method by which we can get the input payload. Can someone kindly help me in getting the input payload. using the java.
    Regards

    Hi,
    Use method getVariableData with your input variable.
    Object getVariableData(String name, String part, String query)
    For example: getVariableData("input", "payload", "/");
    http://docs.oracle.com/cd/E17904_01/integration.1111/e10224/bp_java.htm
    Cheers,
    Vlad

Maybe you are looking for