Async Process A calling Async process B. Process B is throwing Error.

Hi,
I have one scenario like Async Process A is calling Asnc process B. now if process B fails, how would process A will come to know that process B has failed.
~rps

Hi' Sri,
I missed the Async/ sync, you are correct the reply will work for sysnc process,
For this
1.) We can have to first modify the XSD and add extra elements (other then input and output) for faults
ex: remote fault, etc.
2.) Modify the WSDL manually to include this elements, in the similar way as input and output are there.
3.) Inside the process B put a catch and use a assign activity and assign the values for the exception
(usually hard coding is done and description is given by ora:getFaultAsString()).
this values will go in the variable which we will create and will be of the the same message type as created in the WSDL
-Yatan

Similar Messages

  • What should be the normal behavior when calling a retired/stopped process?

    Dear all,
    I thought that when one of my asynchronous BPEL process would call another asynchronous BPEL process that is retired or stopped(with no other version number active), I would receive any kind of error. So I tried it, and instead of receiving an error, the first BPEL process sent his message and received the ack without any errors (that is in both cases, retired or stopped). So I checked if the message was put in the thread queue or any other kind of queue and no it wasn't. I tried to reactivate the second process, and nothing happened. So I guess the message had been lost. Is this the normal behavior??
    Since we are implementing asynchronous processes to do a "fire and forget" type of system, we would have liked to receive some kind of error so we know that no instance had been instanciated and that the message had not really been delivered?
    Can anyone tell me where I'm wrong. Is there a chapter talking about that in any document. If anyone has read about that I'd like to know where so I can understand the way it works!
    Thank you!

    Thanks for your prompt reply,
    I'm sorry but I'm not sure I understand the onError callback thing,
    If we consider my called asynchronous process was a one-way process (no callbacks),
    Correct me if I'm wrong but:
    -This means I would have to define a callback in the called process (that onError callback).
    -Then, I gotta put a receive or a pick activity, which means I need to wait for an error answer, which is not wanted.
    -And, would a retired or stopped process really answer me and throw me an error?!?! I'm not sure since its stopped... So i would probably wait forever I guess.
    I'm just trying to find a way to make sure the message has been taken in charge by the next process and if not, to be alerted!
    Thanks for helping a beginner like me!
    Btw I've read that post:
    Re: How to throw a Fault from an asynchronous process to another process
    It helps understanding the fault handling in asynch processes, but my problem is more about the fact that my async process is stopped/retired!

  • F60WEBMX PROCESSES 의 UNIX CALL STACK 생성방법

    제품: AOL
    작성날짜 : 2006-05-30
    F60WEBMX PROCESSES 의 UNIX CALL STACK 생성방법
    ==========================================
    PURPOSE
    F60webmx process 가 CPU을 많이 차지하는 경우가 간혹 있으며
    SQL trace외에 UNIX call stack으로 위 Process가 현재 Active 상태인지
    혹은 Dump 등을 분석시 UNIX trace를 생성하는 방법니다.
    Explanation
    먼저 아래 명령어와 같이 Trace 를 실행합니다.
    Log on as root.
    # trace -a -L 4000000 -T 2000000 o ./trace.out;
    # owsctl start admin
    # trcstop
    # trcrpt -O exec=on,pid=on trace.out > trcrpt.1
    그다음 아래단계처럼 해당 Process를 찾습니다.
    1) PS 명령어로 Process를 찾습니다.
              - ps -ef | grep -i f60webmx | grep webfile
         This will return an output like this:
              applmgr 6324 1052 0 14:34:56 ? 0:01 f60webmx webfile=5,1,gjimenez-sun     _14007_PROD
    2) TUSC 를 실행합니다.
    Execute your TUSC command for your process id identified on the previous step. In the above example, the PID is 6324.
    3) 문제를 Reproduce하면서 Webfile 1번과 2번을 유의하여 Monitoring 합니다.
    Ask any of your users in the location where you are having problems to log in to the application (Forms). Then,
    make sure that a new process has been spawn (in the above example, a new f60webmx process should be spawn with a the parameter
    webfile increased by 1: f60webmx webfile=5,2). This will tell us that the process #1 has been taken by the user we expect.
    4) 문제가 재현될때까지 기다립니다.
    Wait until the error reproduces for this user. Once the error surfaces, the TUSC process will die all by itself. Make sure you
    upload the output file through Metalink for further examination.
    Reference Documents
    Note 244072.1

    Always paste only the ERROR lines, not the full content.
    Suggestions: Upgrade your Database for 9i to 10g (9i is out of support)
                          Size your hardware and application based on your system load etc
    Solution for above issue: Try to kill some of the work processes from OS level (Application restart is better than this)
    Regards,
    Nick Loy

  • Invoking an async  process from an async process

    I want to invoke an asynchronous process from an asynchronous process. My caller process has has a initiator task, a   message throw and catch event while called process has a start catch message  event and throw message as end event . If any one of you can provide a  sample or reference, it will be of great help.  I am have problem in configuring  end throw message  event .

    Where exactly do you have problems. When you use the async template you do not really have to configure anything - just define your input / putput data. This blogpost here describes how you can call an async BPEL from an async BPMN process: Oracle-FMW: Calling Async BPEL process from BPM.
    Danilo

  • How to call a Asynchronous bpel process from a PLSQL procedure?

    How to call a Asynchronous bpel process from a PLSQL procedure?

    Hi,
    You could do something smart and technical very spiffy with soap-stacks in the database and/or dbms_ws/dbms_http. But I allways find AQ with AQ-adapter the simplest. Let Pl/sql enqueue a message on an aq-queue and subscribe an aq-adapter process on it. That can call your async-bpel process. If you want to get answer back in pl/sql, let the aq-adapter process enqueue a response message on another queue or on the same queue with another consumer name. Give it a correlation-id that you provided in the payload of your request message. Your pl/sql process can then do a dequeue on that correlation-id. It will sit and wait until a message with that correlation id is enqueued on the queue.
    Regards,
    Martien

  • Call ABAP Program in Process Chain

    Dear BW Gurus,
    I need to call an Process chain which includes ABAP Program.
    The ABAP Program doesn't have the variants but it accepts the inputs from the user and sets into a YXXXX table.
    I am not getting how to proceed in this regard.
    Kindly guide.
    Best Regards,
    Harsh

    hi,
    chk these links below.. they contain the resolution for your query
    Call ABAP Program in Process Chain
    ABAP in Process Chains
    Also chk this relase which ia an entire guiding one to ABAP Program in Process Chain
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7

  • LABVIEW.LIB was not called from a LabVIEW process

    Hi All,
    I've inherited LV code that calls a CIN node to access a motor controller.  I'd like to compile this code to a .NET DLL, but receive the following error when calling it from an external source:
    I've read the knowledgebase article explaining the problem from here, as well as the following support questions:
    http://forums.ni.com/t5/LabVIEW/Labview-lib-was-not-called-from-a-labview-process/m-p/232548
    http://forums.ni.com/t5/LabVIEW/Problem-with-lsb-LABVIEW-LIB-was-not-called-from-a-LabVIEW/m-p/48809...
    http://forums.ni.com/t5/LabVIEW/Labview-lib-was-not-calld-from-a-labview-process/m-p/718427
    http://forums.ni.com/t5/LabVIEW/Building-a-LabVIEW-DLL-with-VIs-that-use-CINs/m-p/632817
    The conclusion seems to be recompiling is the answer.  I've tried recompiling the original CIN vi within LV with no success.  Do they mean to recompile the original C code against the newer labview.lib (sorry, I'm not all that familiar with how the CIN nodes work)?  Any suggestions would be awesome.  Thanks.
    -Joe

    You can't make use of LabVIEW manager functions in non-LabVIEW based processes. Basically unless the C code is for a CIN or DLL that is to be called by LabVIEW (inside the development system or a LabVIEW built application), any function pulled in from labview.lib is not available. LabVIEW.lib is an import library that does not implement any functions but simply imports them from the LabVIEW kernel, either the LabVIEW development system or the LabVIEW runtime DLL. And no you can't just link in the LabVIEW runtime DLL into your .Net application. This DLL needs to be started up and initialized in very specific ways, that only LabVIEW itself knows about when building an application.
    Basically if you want to recompile the code (yes in C/C++) for use in a non-LabVIEW application, you also have to remove all the link libraries from the LAbVIEW cintools directory, and replace any use of functions now unavailable (link error: unavailable external reference) with other similar functionality from your C runtime library. Or implement those functions yourself using C runtime library calls.
    Another possibility could be to actually create a LabVIEW executable that exports the functionality as ActiveX Server. Or in LabVIEW 2010 you could also select to create a .Net Interop Assembly from inside the LabVIEW project.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • LABVIEW.LIB was not called from a LabVIEW process when creating unit tests

    We are developing a DLL to be integrated in LabVIEW using CLFs. So far we have the system working, but we wanted to create some unit tests in C as part of our release process. The problem is that when I link labview.lib in VS C++ and then call the EXE generated I get an error saying: "LABVIEW.LIB was not called from a LabVIEW process". As mentioned in http://zone.ni.com/reference/en-XX/help/371361J-01/lvexcodeconcepts/debug_dlls_and_dll_calls/:
    "Calling the shared library from another C program is also another way to debug the shared library. By calling the shared library from another C program, you have a means of testing the shared library independent of LabVIEW, thus helping you to identify any problems, sooner."
    Some of our functions, however, use LabVIEW specific instructions and we would like to test them in a realistic environment (i.e., calling to the actual functions instead of creating stubs).
    Is there any workaround to this problem?
    Thanks!!

    Hello SaraGr,
    Welcome to the NI Discussion Forums! I have a couple of questions to better determine the issue here:
    1. What is the LabVIEW version that you are using?
    2. Does your DLL uses Serial Compatibility VIs? If so, try using your development on NI-VISA instead of Serial.
    3. Are you using a Code Interface Node (CIN)? If you do, I see that from the help file you would need to compile the code for the new platform. Also, please remember that functions specifc to CINs (such as SetCINArraySize) will not work in a DLL.
    4. Be sure to include the header files in your program, like extcode.h. Please follow this white paper to link labview.lib to your program, or follow the Alternate Method.
    Regards,
    Daniel REDS
    RF Systems Engineer
    Help us grow.
    If a post solves your question, mark it as The Solution.
    If a post helps, give Kudos to it.

  • Trying to replicate a gray processing operation called "black flood"

    I am trying to replicate a gray processing function call "black flood". This is found in Leica image analysis software. The documentation reads, "Fills in black detail without affecting the boundaries.  This is done by closing by the selected number of cycles and then performing a gray-level reconstruction.”
    Any ideas how to pull this off in IMAQ Vision?
    Thanks!

    IMAQ has Gray level reconstruction. 
    It seems to me like you want to implement the Matlab function imfill. 
    You don't have to do closing if you don't want to. This logic will work even without the closing. Closing will remove the raged edges.
    What you need to do is to inverse the image so the black holes will be bright.
    Then you use the image reconstruction to fill up the holes.
    Then inverse the image back.
    Thanks - Amit,
    Amit Shachaf

  • Calling an On Demand Process in PL/SQL Region without using AJAX

    Hi!
    I am trying to find a way to call an On demand Process in a PL/SQL Reports Region. The reason is that i need Reportings for about 20 Pages that look like the same but have different parameters. I already have some Processes that return SQL Statements and it works fine. But these Reportings are more complex and it's not possible to return it wirh a SQL Statement.
    I have seen some solutions in this forum that used AJAX to call such a process. The problem is, that I'm not allowed to use AJAX because activeX is diabled. I tried it and it works but i need another way to solve this process call.
    Thanks in advance
    Philipp

    At the moment I cannot say if your link can help. Right now the call of the On demand Process looks like this:
    Inside annonymous PL/SQL Region:
    <script type="text/javascript">
    get = new htmldb_Get(null,'||:APP_ID||'.,'APPLICATION_PROCESS=F_REPORT_NAME',0);
    gReturn = get.get();
    document.write(gReturn);
    </script>

  • Increasing memory used by java process when calling Runtime.exec()

    Hi everyone!
    I'm running a servlet Oracle iAS 9i, Jserv. It receives an image posted by a user and does a System.exec() which performs a call to convert (an image processing utility included in ImageMagick).
    After a few hours, java process start taking more and more RAM, until it crashes with an error like this:
    Memory: 5394008 free of 134217728 total. (I log this myself)
    Exception: java.io.IOException: Not enough space
    java.lang.UNIXProcess.forkAndExec(), line -2.
    java.lang.UNIXProcess.<init>(), line 54.
    java.lang.Runtime.execInternal(), line -2.
    java.lang.Runtime.exec(), line 553.
    ImageProcessor.convert(), line 235.
    ImageProcessor.createItemPics(), line 124.
    Uploader.doPost(), line 69.
    As you can see, this is not an OutOfMemoryError, but something else in connection with O/S.
    This is not related to hard disk space, since there is a lot of free space in every filesystems
    After restarting the webserver, everything goes back to normal and start increasing RAM again.
    Is there anything I can do? Any help will be gratly appreciated... Thanks!!!
    Dani.-

    Have you had any solutions to this pal?
    I am also suffering. I tried closing the processes by:
    Runtime runtime = Runtime.getRuntime();
    Process proc = runtime.exec("/opt/sta_rpms.sh " + sFileName);
    proc.waitFor();
    proc.getInputStream().close();
    proc.getOutputStream().close();
    proc.getErrorStream().close();
    proc.destroy();
    proc = null;
    but still after like a day...Though our codes are not alike, it sounds like the same reason.
    Cheers!

  • How can we call a task in process definition A from Process definition B

    Hi,
    Is that possible to call a task in process definition A from Process definition B?
    Thanks.

    Sure, as long as you can come up with the correct query to lookup the task key for the task you want to run.
    provIntf.addProcessTaskInstance(taskKey, processInstanceKey);
    -Kevin

  • Can we call Function Module from Process Chain?

    Hello experts,
    I have a small question.
    Can we call Function Module(SE37) from Process Chain?
    If yes can you please provide some example link?
    I m new to BI world.
    regards

    Hi,
    Create one ABAP program and call the function module from that program. Check the link to know how to call a function module from an ABAP program.
    http://help.sap.com/saphelp_wp/helpdata/en/d1/801edb454211d189710000e8322d00/content.htm
    http://help.sap.com/saphelp_wp/helpdata/en/9f/db98ef35c111d1829f0000e829fbfe/content.htm
    Then use process type "ABAP Program" in your process chain and add the program you have created. So then this program will be executed via process chain and this program will call the function module.
    Indrashis

  • Why does my FT freezes when it starts? or simply wont process the call?

    why does my FT freezes when it starts? or simply wont process the call?
    Facetime really *****...!

    Are you running iTunes 10.5.3?

  • Best practice on calling an Oracle Bpel process

    Trying to find the best practice calling an Oracle Bpel process. I know that I can call the process via database, app server, anothe bpel process, from an application, cron job, etc... I can do any of these but want some feed back on what others do and what method is the best.
    Thanks

    Your right there are a lot of different ways to call the BPEL WS. I guess what I'm asking is if you had several of these options at your disposal what way would you choose?
    I have an asych bpel process that needs to be called once a day to move some data from one db to another. What do you think is the best way to perform this: from the db cron or Oracle job scheduler, the bpel manager on a timer, etc. I'm leaning towards calling it from the db via a cron or an oracle job. Want to know if there is a best practice for something like this.
    Thanks

Maybe you are looking for

  • How to install a database on a MS Windows 2008 R2 failover cluster?

    Hello, I have to install a Oracle 11g R2 database onto a MS cluster (Windows Server 2008 R2 Failover Cluster with 2 nodes and shared storage). I installed the DBMS on both nodes. On the first node, I created a tablespace, the files are on the shared

  • Logic Express vs OSX 10.4.9

    Anybody else having problems with Logic Express since the 10.4.9 update? My M-Audio FireWire Solo interface is distorting my guitar tracks and the trouble seems to have started around the time of the update. M-Audio says there's not ETA on a 10.4.9 d

  • Socket concurrency

    Howdy all! Is it possible for two threads to be using the same socket at the same time - where one is just writing to the socket's OutputStream and the other is just reading from the socket's InputStream - and for the same to be happenning on the oth

  • Aperture. Can't order book? Order won't process.

    I've been trying to order books for days and every time I try I get the screen shot below in red: Please try again later. How can I place this order!!???? <Personal Information Edited by Host>

  • Replica Active Directory server in windows server 2008 R2

    I installed and configured a secondary active directory server in 2008 R2 for fault tolerance as well as backup active directory server what i wanted to know is if  my primary AD goes down??? what changes i need to do my users pc since they are  usin