Hanging BPEL process after DB re-start

10.1.2, Linux
We have a BPEL process that uses an AQ adapter to receive messages from an Oracle 9i DB. This works great most of the time. We have noticed however that if the 9i DB is re-started for any reason, the BPEL AQ Adapter is unable to re-establish DB connectivity. Restarting the BPEL server fixes it, but this is kind of drastic.
Any suggestions on how we can have BPEL re-establish the AQ connectivity after the DB restart?
_mike
Message was edited by:
[email protected]

Do you know where I can find documentation on this configuration property and any others that might be available in the DB and AQ adapters? I checked the Oracle Adapter tech guide but this property isn't mentioned...
any help is appreciated!
thanks
ryan

Similar Messages

  • Aborting multiple hanging BPEL processes in bulk

    Hi,
    Is tehre a way to stop multiple hanging BPEL process in one shot, without shutting down the server..
    I went thro' the following url but dunno if i can use any command for this..
    http://download.oracle.com/docs/cd/B25221_04/core.1013/b15976/opmnctl.htm#i1026430
    Thanks,
    Vishnupriya

    Hi,
    i guess i din't frame the question correctly.. I want to abort few open instances of various BPEL processes, not retire or turn off the BPEL processes.. apologies for making the question ambigous.. I went thro' the the link u had specified and found that, it was about retiring/turning off/undeploying multiple BPEL processes. I actually want to abort the running instances of BPEL processes..
    Thanks,
    Vishupriya

  • How to catch exception always in BPEL without Hanging BPEL Processes

    Hi,
    I am facing a freequent problem with stucking BPEL instances. Some time it stucks at a partner link level, some times at adapter level, some times at embeded java save point. Obviously we know that if there is any issue at some point in the BPEL process, then the instance will rollback upto the last persistance stage and the instance status shows like still its running. Is there a way where we can through the error always and catch and show with an error appearence in the console?
    The QA team wants to see plain success or throwing error always in the BPEL console. Showing like a running process state is some misleading look in the BPEL console. How to achieve this?
    --Khaleel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    I have seen some other instances which are in the same state, but its happening even after getting the reply from the invoked partner link.
    To explain this in details... Say I have the process A which calls the webservice B. if the process B has a database adapter to insert some data and then the process B will send the status back to the calling process A.
    However if the process B takes some more time because of any unknown reasons of database (say its very slow some time due to heavy load on db). So the db adapter may take some time after that it may get SQL error if the transaction is failed, or the successfully comes out if the transaction is success.
    In both the above cases the process B sends the results back (either error message or the success message) back to the calling process A.
    Now the issues is the process shows the status like its waiting for the process response. but when I go to Audit and see the process then the process B is actually already returned status back but took some extra time than usual.
    Now in the process A I am expecting timeout error so that I can catch in catchall, or the success so that it come to an end successfully. But neither is happening.. the process shows like its waiting for the response.
    Any explanation is appreciated.
    I am looking at the following logs files.. some places I see like process already completed.. I didn't get what exact reason behind this.
    /oracle/product/10.1.3/soa/bpel/domains/Website/logs/ == domain.log
    /oracle/product/10.1.3/soa/bpel/system/logs/ == orabpel.log
    /oracle/product/10.1.3/soa/opmn/logs/ == OC4J~oc4j_soa~default_group~1.log
    /oracle/product/10.1.3/soa/j2ee/logs/ == oc4j_soa_default_group_1.xml
    --Khaleel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • BPEL Process Manager Olite not starting.

    Hi,
    We have recently installed Oracle BPEL Process Manager 10.1.2 with Jdeveloper. The problem is that I am not able to start BPEL server. It gives following message and stops there itself.
    C:\Apps\OraBPELPM_1\integration\orabpel\bin>set PATH=C:\Apps\OraBPELPM_1\integration\orabpel\bin;C:\Apps\OraBPELPM_1\jdk\jre\bin\server;C:\Apps\OraBPELPM_1\jdk\
    bin;C:\WINDOWS\system32;C:\WINDOWS\System32\Wbem;C:\Program Files\IBM\Trace Facility\;C:\Program Files\IBM\Personal Communications\;C:\Program Files\Assyst Enterprise 6.5;C:\Program Files\Lotus\Notes;C:\OraNT\ORA11i\bin;C:\OraNT\ORA11i\JRE1
    1\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bi
    n;C:\ORANT\ORA92\bin;C:\ORANT\ora817\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\OraNT\ORA11i\jdk\bin;C:\Apps\OrclJdev\Jdevhome\jdev
    C:\Apps\OraBPELPM_1\integration\orabpel\bin>set classpath=C:\Apps\OraBPELPM_1\integration\orabpel\lib\olite40.jar
    C:\Apps\OraBPELPM_1\integration\orabpel\bin>call C:\Apps\OraBPELPM_1\integration\orabpel\bin\olsv2040.exe /debug
    Debugging Oracle Lite Multiuser Service.
    It should lauch another command prompt window for starting the BPEL oracle lite process manager. But its not. Does anyone know whether its a permission issue or anything else.

    No idea, but is there a reason to use 10.1.2? Why not step over to 10.1.3.
    Marc

  • How to stop a process after it was started with Process.Start

    I want my program to run other programs, but I also want the User to be able to stop the running program from within my program. How do you keep track of what program Process.Start has run?
    Robert Homes

    I want my program to run other programs, but I also want the User to be able to stop the running program from within my program. How do you keep track of what program Process.Start has run?
    The Start(String...) or Start(StartInfo) methods of the Process class are functions that return a Process object that you can then use to manage the process that you started, for instance to stop it with .Kill.
    https://msdn.microsoft.com/en-us/library/system.diagnostics.process(v=vs.110).aspx

  • BPEL Process hangs in in-flight status

    Hi,
    I am facing several issues with a particular BPEL process which deals with an SQL Server database.
    To brief about what my BPEL Process does, It gets a list of EMPids from a master table, does a WHILE loop on each one of the id, now in a single scope <scope start> fetches the employee details from TABLE1 AND TABLE2 (PARENT and CHILD Realtionship configured in Databse adapter), publishes on to JMS and updates the status flag in TABLE1 <scope end> and exits from the loop.
    Here I've taken enough care that all the variables are declared as local and did all within my knowledge. However I keep facing the following issues.
    1. Deadlock issue - BPEL Process for large paylods starts throwing deadlock issue ( [Caused by: Transaction (Process ID 271) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.]).
    2. By repeated runs of this BPEL Process, server crashes with "500 Internal Server error" and re-starts on its own. However my process stands still in hug state.
    Please suggest.
    Thanks in Advances,
    Phani

    James, Thanks for the response. Actually I could use the FileAdpater to poll the FTP server which is our originl intention of having this BPEL process.
    But we need to get the list of all the files that are in FTP server as a response from FTPAdapter which I am not sure how can I implement it using the FTPAdapter so we have written a asynh webservice to do this.
    The service will checks if any files exists in ftp server and process them if exists and deletes them once the files are processed.
    Is there a way to do this using the FTPAdapter rather than calling the webservice ?

  • TNS:Operation Timed Out error while trying to invoke BPEL Process from sql

    Hi,
    I am trying to invoke a BPEL Process from PL/sql code. When i try to invoke the process, I am getting the following error message
    ORA-29273 HTTP Request Failed
    ORA:06512: at SYS.UTH_HTTP at line 1029
    ORA:12535: TNS:Operation Timed Out
    ORA:06512: at line 18
    I have the SOA suite installed on my local machine...and the BPEL process that i am trying to invoke is deployed their.
    Any idea what could be wrong..following is the code piece
    soap_request:='<?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header/>
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/Test">
    <ns1:TesProcessRequest><ns1:input>is1_1land</ns1:input></ns1:TesProcessRequest>
    </soap:Body>
    </soap:Envelope>';
    dbms_output.put_line('soap_request: '||soap_request);
    utl_http.set_proxy('3.209.30.25:80', '3.209.32.149:8888');
    http_req:= utl_http.begin_request('http://3.209.32.149:8888/orabpel/default/Tes/1.0 '
                   ,'POST'
                                  ,'HTTP/1.1');
    dbms_output.put_line('after Begin Request' );
    utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
    Please advise

    you are right the file adapter doesnt invoke any bpel
    process, instead it is polling the file from
    directory location?If it is polling for new files, shouldn't it create a new instance of the BPEL process automatically the moment it finds a new file? In other words, should a new file trigger an instance of the BPEL process rather than being started from PL/SQL?
    Can this file adapter not be invoked as bpel process
    in that case?The file adapter is part of a BPEL process. The BPEL process can be invoked from e.g. PL/SQL.
    In this case this file adapeter return to an RECEIVE
    activity...I think this receive cannot be invoked as
    a BPEL process rite?Can you explain what you mean with this?
    Also , will all synchronous request return "TIMEOUT"
    error, if tried to invoke from pl/sql?Only if the synchronous process instance takes more time to complete (and thus to return) than the value specified for a time-out to occur. If the instance completes in for example 10 ms and the time-out time is specified as 30 seconds, no time-out will occur.
    Regards, Ronald

  • How to pass multiple values while invoking bpel process from ADF?

    Hi,
    I want to call a bpel process from my ADF application. The bpel process is having one input parameter. I have created webservice data control by using WSDL url.
    Lets say, I have an Emp multi select table. I drag and drop the data control into Emp table selection facet to create an "Invoke" button.
    I am able to pass single value (lets say Empid) to the bpel process after clicking the "Invoke" button.
    But, my requirement is to pass all the selected values ( as its a multi select table) to the bpel process after clicking the "Invoke" button once.
    How can I achieve this?
    --Abhijit                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    if the BPEL method that you access allows you to pass arrays or lists, then you can get a list of selectedRowKeys from the table, which then you use to get the value from the underlying binding or the table. This however requires some Java coding instead of directly invoking the executable on the binding layer
    - you create the BPEL method in the binding layer
    - from a Java managed bean you call ADFBindingContext --> get current instance and access Binding container
    - OperationBinding oper = (OperationBinding ) bindings.get("method to invoke");
    oper.gerParamsMap().put("the BPel argument name", value);
    oper.execute();
    - To access the table selected rows
    RowKeySet rks = _table.getSelectedRowKeys();
      //iterate over the set of selected row keys and delete
      //each of the found rows
      Iterator selectedRowIterator = rks.iterator();
      while (selectedRowIterator.hasNext()){
        //get the first key
        Object key = selectedRowIterator.next();
        //make the row current
        _table.setRowKey(key);
        //the row is an instance of the ADF node binding class
        JUCtrlHierNodeBinding rowWrapper = null;
        rowWrapper = (JUCtrlHierNodeBinding) _table.getRowData();
        //get the actual oracle.jbo.Row object
        Row row = rowWrapper.getRow();
        ... get attribute values by calling row.getAttribute("name"); assuming you used ADF BC to build the tableFrank

  • Calling BPEL Process From ESB

    Hi Gurus,
    I'm experiencing an issue calling a BPEL process using the ESB SOAP Service. Basically, the ESB calls the BPEL process and manages to pass the message to the asychronous BPEL process however the first step in the BPEL process after the Recieve, an Assign, always fails with an Xpath error saying that the attribute being mapped is blank. However, when I look at the Recieve step I can see the value for this attribute. I can Initiate the BPEL process manually and enter the same values and these process successfully.
    Has anyone encountered this issue previously or know what I'm doing wrong?
    Any assistance appreciated.
    Pete

    Hi there,
    I am getting the same issue. I have two bpel processes, the first processplaces data into a common .xsd format and then sends it over to another process with is expeting the same .xsd format.
    I'm pretty sure i know what the issue is, but i'm not sure what the philosophy behind the whole thing is and how it is solved.
    When i transfrom the data over to the common .xsd is allocated a namespace ns0 which is then prepended to each element. When this is sent to the other process this stays prepended. The data is then allocated to the common .xsd in the second process with is allocated another namespace ns3.
    So when you try an assign is searching for ns3:rootElemnt....... which doesn't exist as it as the ns0 carried over from the first process.
    Is this correct? What do we do to get round it?
    Thanks,

  • How to change the input and output schema in BPEL process

    hi',
    Please tell me how to change the input and output schema in BPEL process after the process is made.
    thanks
    Yatan

    If your intention is just changing the content you are passing to bpel/returning from bpel
    Here is another way
    just update your default created xsd files with new elements, update wsdl elements in message definition and chnage bpel code to reflect new elements in activities
    Regards,
    Praveen

  • BPEL Control in SOA Suite 10g doesn't display BPEL Process deployed in jdev

    Hello,
    I've created a directory in C:\ as Examples for my demo BPEL Projects.
    After deployment is successful using Jdeveloper, BPEL Control in Oracle Application Server 10g doesn't display the BPEL process in Dashboard. This is possible only if I have my BPEL Projects placed under /jdev/mywork folder or I have to click on "Deploy New Process" and select the jar file from /bpel/output directory.
    How do I make BPEL control to look for the deployed bpel jars by default in C:\Examples folder?
    Help appreciated!

    bpel control won't look at those locations when you have deployed a bpel process
    after deployment it will unpack the jar in some tmp location in your domain
    i'm sure what you mean with those 2 locations, they both have nothing to do with a deployed version of your bpel.
    jdev will generate the jar for you and after that it will be deployed to the application server. After that the jar isnt needed anymore in your jdev workspace, it's already on the server itself

  • Fault while conncting from BPEL process to Database Adapter

    Broken pipe error
    Edited by: Srinu1477 on Jul 18, 2012 5:04 AM

    Arik,
    Presently iam not using raw connection.After deploying the BPEL code with proper Datasource connection its working fine.But if i run that BPEL process after some hours it is giving broken pipe error.I have found following reason for broken pipe error from some other source but i couldn't understand.
    The Pool has multiple connections, and due to timeout or any other reason, one of the connection would go dead but the application server is still trying to use the dead connection to connect and execute the Stored Procedure, and hence getting a broken pipe error.
    Iam thinking this may be a problem.
    If u have understand can u plz eloberate above reason.
    Warm regards,
    sreeni

  • 10g BPEL process upgrade to 11g hangs in Jdeveloper and Ant script

    I have successfully upgraded several 10g (10.1.3.4) BPEL processes and ESB services using Jdeveloper 11g (11.1.1.6.0) migration wizard and deployed them to an 11g environment. Both 10g and 11g environments are up and running.
    However, my 11g jdeveloper hangs when migrating the next BPEL process. It hangs at the message box with the title: "Migration Status". I tried the Ant script and it hangs too. It hangs after printing out:
    "CompositeRefs
    [upgrade] WARNING: UPGBPEL-02009: No Binding setup for : "soapCheckPrivileges"
    . This will cause compilation of the upgraded project to fail. Check SOA Upgrade
    documentation on manual steps necessary to bind this composite reference. If ne
    cessary, upgrade and deploy any dependencies. If planning to retain 1013x nodes
    in this projects dependency tree, check earlier part of this log for 1013x WSDL
    URLs that can be used."
    I guess it makes sense since Jdeveloper and Ant script use the same code base for migration.
    One other observation is that if I kill the hanging jdeveloper process and reopen it and go through the migration wizard again, it will be successful without hanging. However, when I fix all the wsdl reference and do a build and deploy to sar. The resulting sar is defective and cannot be deployed to Weblogic even if both build and deploy to sar report success. The defective sar contains only scac.log and scac-log.xml, not even composite.xml.
    One difference between this BPEL process and others I have successfully upgraded is that it depends on an ESB service (this esb service has been upgraded and deployed to 11g).
    Any ideas?
    Thanks,

    I will answer my question. I killed the migrating Java process and the migrating wizard will report failure of migrating the .jpr file. Actually, the only thing missing in the migrated .jpr file is deployment profile which I can generate from deployment menu. And I can deploy the migrated process. This works as a workaround.

  • Service reads data but Bpel process does not start

    i have a very simple project. I have db2(as400) adapter and it reads data, i will receive data, transfom and send to oracle database. I deployed the project successfuly but when instance start i see the service reads the data but bpel process does not start and and there is no error. At the flow chart there is only readAS400 partnerlink, there is no bpelprocess. In the partnerlink i am usin polling, i read the data's with 1 and update to 2. It reads but dont update to 2.
    In deploy step and when instance starts there is no errors. But when i am deploying i get a warning but i dont know it's related with this situation.
    (Warning: property "activationAgent.readAs400.className" may not be understood by BPEL component BPELProcessEqpType - it will likely be ignored.)
    Do you have any suggestion ? Thanks in advance.

    check the recovery console, the bpel process possibly is going into manual recovery,
    Another thing you might wanna try is using checkpoints in your process..
    also, instead of getting the db adapter to instantiate the process, try a simpler process just to see if the db adapter is working or not..
    A normal process, which you manually instantiate from em console, with the db adapter in it after the recevie activity
    Edited by: AshishSharma on Jun 24, 2010 5:48 PM

  • BPEL Processes are Hanging.......

    Hi,
    I am using BPEL 10.1.2.0.2 version. The logic am implementing in BPEL process is a frontend application will invoke BPEL process.BPEL will take some inputs from frontend and invokes a procedure in database using DbAdapter.BPEL will pull the output of the procedure and will pass the same to Frontend.
    The logic being implemented in procedures is select and update depends on the requirement.
    We completed our development and moved to UAT and everything is running fine.From past one week we are facing a problem that BPEL processes are hanging when they are invoked both from BPEL console and Frontend. The process neither displaying any output nor throwing any exception.
    After bouncing the BPEL servers everything is coming to normal.I didn't found any error log in both domain.log and OraBPEL~OC4j_BPEL~default_island.log files.
    Our BPEL Environment has 2 BPEL Mid Tiers connected via a loadbalancer
    whether it could be related to cache size or datasource connections ????
    Please suggest what could be the problem...........
    Thanks
    Chandra

    Check the timeouts on the firewalls. Also look at Dead Connection Detection (DCD) on the database server. You will need to turn on your DCD to keep your JDBC connections alive.
    Pete

Maybe you are looking for

  • Aperture not working after 10.6.5 update

    Hi - i cant start Aperture efter the latest 10.6.5 update from Apple. I get this error message: Process: Aperture [754] Path: /Applications/Aperture.app/Contents/MacOS/Aperture Identifier: com.apple.Aperture Version: ??? (???) Build Info: Aperture-12

  • Special characters doesn't show in drop-down list

    I've created a two level drop-down menu using javascript var vComp1 = ["sub1","text1","text2","text3","text4"]; var vComp2 = ["sub2","text1","text2","text3","text4"]; var cRtn = app.popUpMenu(vComp1, vComp2); I't works like i wanted, but int the text

  • Getting error while installing BI publisher desktop 64 bit

    Hi , I'm getting the following error while installing BI publisher desktop 64 bit. "Please use BI Publisher Desktop installer 32 bit" My Machine OS is : Windows 7 , 64 bit. If I go with BI publisher desktop 32 bit, I'm not getting the "BI Publisher"

  • Making a warning message to Error in VA01 transaction

    Hi All, I have a requirement to change warning message to error while creating order with reference to a quotation using VA01 transaction . Message :  'Reference document was only valid until &' Message No: 009 Message Class: V2. Right now standard S

  • HT204053 iTunes Library question

    Organizing my iTunes Library I somehow deleted my 1500+ songs, it's empty! They're still on my iPhone though. So my question is: How do I transfer my music FROM my iPhone TO my MacBook Pro so I can restore my Library the way it was? Only 10% of these