AQ Asynchronous Processes Count

Hi,
Oracle 9i Version 2
aq_tm_processes = 2;
job_queue_processes = 20;
Does anyone know if it is possible to have more than 10 AQ callback procedures running at the same time?
I use a PL/SQL callback procedure (asynchronous) that calls a JAVA stored procedure. The procedure simply inserts a row into a table and then sleeps for two minutes. When I look at the rows inserted into my test table it appears that 10 processes are run simultaneously. I would like to increase this number if possible.
Any ideas or information is appreciated.
Thanks,
Keith

I added a subscriber as you suggested and then registered the pl/sql function.
When I enqueue messages to the queue, the callback procedure is still not
notified that the queue received a message....
Created a subscriber:
DECLARE
subscriber sys.aq$_agent;
BEGIN
subscriber := sys.aq$_agent('derive_sub','derivations.S3068_QUE',NULL);
DBMS_AQADM.ADD_SUBSCRIBER(queue_name => 'S3068_que', subscriber => subscriber);
END;
registered the pl/sql procedure as such:
declare
reginfo1 sys.aq$_reg_info;
reginfolist sys.aq$_reg_info_list;
BEGIN
reginfo1 := sys.aq$_reg_info('derivations.S3068_QUE:derive_sub',dbms_aq.namespace_aq, 'plsql://derivations.notifycb',HEXTORAW('FF'));
reginfolist := sys.aq$_reg_info_list(reginfo1);
sys.dbms_aq.register(reginfolist,1);
END;
enqueued the queue:
DECLARE
enqueue_options dbms_aq.enqueue_options_t;
message_props dbms_aq.message_properties_t;
message_handle RAW(16);
message message_type;
BEGIN
message := message_type('TEST','TESTING');
dbms_aq.enqueue(queue_name => 'S3068_que',
enqueue_options => enqueue_options,
message_properties => message_props,
payload => message,
msgid => message_handle);
Commit;
END;
Any other ideas would be appreciated.
Thanks,
Keith

Similar Messages

  • How to find out the process count for a database during a particular window

    Hi Team,
    I want to find out the maximum process count reached for a database for an interval. Say between 1:00 to 2:00 AM IST. Please help
    Database version:11.2.0.2
    OS:AIX 6.1

    Check DBA_HIST_RESOURCE_LIMIT. Your information will be there.
    Simialr information is available in DBA_HIST_SYSSTAT.
    Look for stat name logons cumulative/logons current - Total number of logons since the instance started/Total number of current logons
    You can joing dba_hist_snapshot with snap_id and give begin_interval_time and end_interval_time to know historic process utilization.
    Regards,
    Sreejith

  • Fault in initializing asynchronous process

    Hi Guys,
    As many posts and articles suggest, asynchronous process is better because of its flexibility. I am very happy with it until I encounter the following problem.
    We do the fault handling on all of our processes, using both the catch and fault policy framework. For asynchronous process, we use a separate invoke to return the fault. Recently, we noticed a problem. For some reasons, every Sunday when the production BPEL server restarts, there are always a few BPEL process turned retired and off. We've already raised a service request for this on metalink. But this causes another very serious issue:
    The calling BPEL instance sends a request to initiate the asynchronous process . As it is turned off and retired by accident, the initialization fails. However, as it's asynchronous, the calling process is not notified, which means there is no fault raised on the calling process. This causes a lot of trouble because we are not notified with the problem. This has never been a problem because we did not have process turned off and retired before.
    This can be easily verified by a simple test case. Create a synchronous process A and an asynchronous process B. Let A invoke B. Then turn off and retire B. A instance can still be executed successfully without saying the problem calling B. If B is a synchronous process, A will always report a fault in such situation.
    Of course, the domain log file records this ORABPEL-02106 problem. but we don't want to check log file all the time and want to be notified when it happens. Is there a way to catch such exception/fault in the calling process?
    Thanks in advance!!!
    Steven
    Edited by: sw12345 on Jul 26, 2010 9:41 AM

    HI Sridhar,
    Thanks for you advice. I think I will do the following:
    1. I will still keep all process as asynchronous with the deliveryPersistPolicy as default.
    2. I will add a cron job to scan the server whenever it restarts to detect any default version of BPEL process with a retire or off status. If there are, I'll correct them.
    3. I will implement the program to re-submit the failed invoke. But I cannot make it an alert program because I cannot get detail fault through IInvokeHandle (Please correct me if I am wrong).
    By the way the defect of the "ClassCastException" is fixed in 10.1.3.5, I guess that can upgrade that too :-)
    Thanks,
    Steven

  • Fault Handling in Asynchronous process

    Hi,
    I want to know how to throw fault from an Asynchronous process to the calling process. In a synchronous process we generally throw faults using fault message in 'process' port type. But Im not sure how to throw a fault from Asynchrnous process to the calling process that can be caught in the catch block of the calling process.
    Can some one update me with the feasibility of this.
    Thanks,

    Hi,
    Look inside the Oracle® BPEL Process Manager Developer's Guide at http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/faults.htm#BABIBAFC
    8.8.2 Returning a Fault in an Asynchronous Interaction
    In an asynchronous interaction, the client does not wait for a reply. The reply activity is not used to return a fault. Instead, the BPEL process returns a fault using a callback operation on the same port type that normally receives the requested information, with an invoke activity.
    Example
        <portType name="BPELFaultHandling">
            <operation name="initiate">
                <input message="client:BPELFaultHandlingRequestMessage"/>
            </operation>
        </portType>
        <portType name="BPELFaultHandlingCallback">
            <operation name="onResult">
                <input message="client:BPELFaultHandlingResponseMessage"/>
            </operation>
            <operation name="onError">
                <input message="client:BPELFaultHandlingErrorMessage"/>
            </operation>
        </portType>On the caller side you have to use one invoke followed by a pick activity waiting for onResult or onError callback.
    Best Regards,
    Harald Reinmueller

  • How to invoke an other BPM asynchronous process from the BPM process

    Do anyone know how to invoke other asynchronous process from the BPM process without using the Web Service URL?

    Try using a Service task implemented as a Process Call. Then you select the process you want to call, set the associations or transformation and deploy it to test.
    I hope it works for you.
    isabelbernely

  • IDOC_ADAPTER.ATTRIBUTE_BE_NOT_SUPP Only asynchronous processing supported

    Hello Expert,
    Error while send IDOC
    " IDOC_ADAPTER.ATTRIBUTE_BE_NOT_SUPP Only asynchronous processing
    supported for IDOC Adapter" is returned.
    Please suggest
    Thulasi

    Hi,
    Make sure that you have mentioned the Recever message interface as Async mode
    Here it is saying that IDOC suports only Async that means some where else u have mentioned as Sync interface
    Regards
    Seshagiri

  • Re : what is diffrent Between  Synchronies and   Asynchronies  process

    Hi ,
          what is diffrent between Synchronies and   Asynchronies  process in  session Method and call Transcation method  pls give one Example...
    Thanks
    Arief .S

    Synchronus data processing is that in which the program calling the update task waits for the update work process to finish the update before it continues processing.
    In Asynchronus update the callng program does not wait for update work process to finish the update and continues as normal.
    A BDC done with sessions is always synchronus.
    A BDC with call transaction is by default asynchronus
    unless you define it explicitly as
    call transaction 'XXXX' ...... update 'S'.
    ( If you donot define update option it is defaulted to "A" ).
    The update method is of importance when one transaction locks data which may be required by a subsequent transaction . The subsequent transaction will fail if data is locked from previous one. An example would be you are creating sales order for same material in succession ( with asynchronus update ). Quite likely that some of transactions would fail due to material locked.
    For large volume of data Call Transaction will be faster but you have no restart capability here. Suppose from 1000 transactions 100 fails . You will have to run the BDC program again exclusing the ones which wrere successful. However with session method you have the option to process the error transactions again in SM35 . So if you are sure that errors will not occur use call transaction else use session method.

  • Asynchronous processing options.

    On a CF9 system which of the various Asynchronous options would the group-think consider the easiest and best to implement for the following purpose.
    I have a file on one server that does some initial processing.  When done sucessfully it posts a received file to another server.  I want it to NOT wait for a response from that server.  Rather I just want the request to finish and return an initial response to the client that contacted the first server.
    Here is the code where The file is posted to an internal server.
    <cftry>
         <!--- Submit POST request to the internal server with to deliver the XML file --->
         <cfhttp url="http://#application.internalServer#/pur-loader/ws/ppur_int_v0.cfc" method="post" multipart="yes" timeout="0">
              <cfhttpparam name="incomingFile" type="file" file="#cffile.serverDirectory & '/' & cffile.serverFile#">
              <cfhttpparam name="method" type="url" value="receiveData">
         </cfhttp>
         <cfcatch type="any">
              <cflog application="yes" file="PPUR" type="error" text="HTTP Request to the Internal Web service failed.">
              <cfrethrow>
         </cfcatch>
    </cftry>
    I thought the timeout=0 was a very old method to generate an Asynchronous process.  But, apparently I am wrong or this is no longer true.  As this code does not work.  The <cfhttp...> tag is waiting for a response and is timing out from the request time out not the http timeout, do to the interal process is going to take serverl minutes or more.
    Would a <cfthread...> work well here?  My concern in the number of threads that can be spawned.  The initial template may be accessed upwards of 60 times in a relatively short time.  Would creating 60ish long running threads with the <cfthread...> be of concern?
    Would a gateway improve that situation in any way?
    Are there other Asynchronous options I am overlooking?

    your problem could be timeout="0"...i dont think it is a good idea to use zero...and <cfhttpparam is missing some pounds around variables...

  • Couldn't get Asynchronous process instance

    Hi,
    i am calling one Asynchronouse process from my queue listener process. The listener is calling the asynchronous process.But could see Async process instance in the instanceses tab of BPELConsole.
    can any one please help me in this ...
    when i invoked the Asynch process directly some times got invoked and could see the flow. But some times getting tryAgain link.. while trying again getting the same page again and again.
    what is the reasone where am not correct in asynch process ?
    Regards,
    Bogi.

    Did you set the loglevel to debug and verified the logfile?

  • Handling Faults in asynchronous process SOA11G

    I could implement RuntimeFault.wsdl in synchronous process, but I cannot to do the smae in asynchronous process.
    What is the difference in implementing it.
    I want to handle wsdl (partner link) fault in during invoke activity. But when I add this
    <wsdl:fault name="ImportOrderStatusFault" message="ns1:RuntimeFaultMessage"/>
    in my bpel process wsdl I get error, wsdl not expected.
    Also, when I use bpel:remoteFault, bpel:bindingFault or catchAll ,and use reply activity to client, I get error in reply activity.
    Also, in asynchronous process, i cannot use throw activity. Now, if source system invokes my bpel asynchronous process, and there is WSDL Fault in Partner Link. Would source know that there is an exception ?
    Thanks

    in your async process you have something like
        <portType name="getEmployee">
            <operation name="initiate">
                <input message="client:EmployeeRequestMessage"/>
            </operation>
        </portType>
        <portType name="getEmployeeCallback">
            <operation name="onResult">
                <input message="client:EmployeeResponseMessage"/>
            </operation>
           <operation name="onError">
             <input message="client:yourErrorMessage"/>
           </operation>
        </portType>in your bpel you catch the error and in the catch handler you do the invoke back just like you do the callback in your normal flow, only this time you call onError instead of onResult
    Or if you don't want the use a seperate callback (onError) you could still use the onResult in the catch handler, but before the invoke you need to construct the message you want to reply and assign that to lets say the outputVariable (if this is the one used by the callback in the error catch handler)

  • Return data in Asynchronous Process

    Hi gurus of BMP. I have this requirement:
    In a BPM Asynchronous Process (no BPEL process), I need to return some data and then continue the process. I did that in BPEL and it was just fine, but in BPM I don't know how to do it. I'm using JDeveloper 11.1.1.5, no Feature Pack.
    Please, anybody can tell me if this is possible?? Can provide me any link or docs for this requeriment?
    Regards and thanks in advance.
    PS: This have nothing to do with this post but, can also anybody help me with the thread below? I will appreciate any help:
    Start Event Signal is not getting call

    Hi Daniel, thanks a lot for your quick answer. I'm afraid that I considered and tested it but I see no results after the invocation, I mean, no data is displayed in the EM when I call the service. If you already tried your suggestion please tell me how you did it.
    Thanks again for your answer.

  • Asynchronous Processing of Workflow in Final Step Pro's and Cons?

    Hi,
    I was wondering if anybody has experience with "Asynchronous Processing of Workflow in Final Step".
    in our workflow process we have decided to use Decision type 4:  item based desicion for partial document.
    currently we are working on SRM Server 731 and I cannot find this in customization. I suspect I need to enable business function : SRM_APF_IMPR_1.
    can any body confirm this?
    But does anybody have some experience using this functionality, and provide some experience in the Pro's and Con's.
    on the link i found on SAP website limited information is available: :
    http://help.sap.com/saphelp_srm701/helpdata/en/c9/e6c2d976564cfe83ba850890d6f946/frameset.htm
    Hope anybody can provide some insight.
    thanks Sing

    Hi Sing,
    SAP says, that asynchronous processing should be faster for the large shopping carts (Last approver should not wait to long). But actually I have not determined big difference.
    If you activate this switch - do not fordet to activate following entry in SWE2.
    Regards
    Konstantin

  • Synchronous to Asynchronous Process

    We need some desing help. We need a Synchronous(webService) to Asynchronous(Idoc to SAP) process, but not have the Synchronous thread wait for the Asynchronous process to complete. The Synchronous process needs to hand off the message to a Asynchronous process and immediately response back to the Synchronous client. The Synchronous reply is basically an acknowledgment.
    Appreciate can anyone have design idea?

    Hi,
    if you only want to close the sync step from the webservice call there is a simple idea that could help.
    When receiving the webservice call add a transformation step in the BPM (in the sync-async bridge BPM as second step). In this step add a mapping from the webservice outbound message to the response. Fill in whatever you need, e.g. constants. If I understand right, you only want to close the sync call.
    >With the mapping in the transform step you will fill a container element for the response which you can use in the close s/a bridge step to send the response.
    Regards
    Dirk

  • DISK,VM,NETWORk,PROCESS COUNTER INFO

    Hi,
    1. For VM I am using the cpu_vminfo_t to collect the VM counters? The value
    that I get for pages page in is 4605 (pages page in /lbolt_time). The values for pages paged out is 3881 again divided by lbolt time. Are these
    values correct? What is the command to verify these values?
    2. For Disk I am collecting the counters reads and writes , kilobytes read, kilobytes written from kstat_io_t. Is this the right structure to be used to collect the values? I am getting the disk reads as 213344 and disk writes as 0. Kilobytes read and written per sec are 0. I am using iostat
    to check these values. But the values do not match. So please suggest me
    if I am using the right structure to get the counter values.
    3. For networks which is the structure to be used to get the packets in, packets out, bytes in, bytes out, routes, socket open. etc.
    4. Again for process which is the structute to be used to get all the process counters?
    Any help or ideas on this is welcome.
    Thanks in advance,
    Charulatha.

    Forums > Forum: Kernel
    DISK,VM,NETWORk,PROCESS COUNTER INFO
    Hi,
    1. For VM I am using the cpu_vminfo_t to collect the VM counters? The value that I get for pages page in is 4605 (pages page in /lbolt_time). The values for pages paged out is 3881 again divided by lbolt time. Are these values correct? What is the command to verify these values?
    2. For Disk I am collecting the counters reads and writes , kilobytes read, kilobytes written from kstat_io_t. Is this the right structure to be used to collect the values? I am getting the disk reads as 213344 and disk writes as 0. Kilobytes read and written per sec are 0. I am using iostat to check these values. But the values do not match. So please suggest me if I am using the right structure to get the counter values.
    3. For networks which is the structure to be used to get the packets in, packets out, bytes in, bytes out, routes, socket open. etc.
    4. Again for process which is the structute to be used to get all the process counters?
    Any help or ideas on this is welcome.
    Thanks in advance,
    Charulatha.

  • ALE/IDOC Configuration needs to do Asynchronous processing

    Hi,
    I have generated the partner profile for sending and recieving system and has created a synchronous process.
    I need to do asynchronous process so what should I do?
    So when I am trying to DISTRIBUTE the model view it giving me the error.
    If any one can answer i appreciate them.
    Thank you,
    Mili.

    Hi Mili,
    Please add manually message type <b>SYNCH</b> for partner profile (WE20) LS <b>SNX125LS</b> then try again to distribute the model view.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

Maybe you are looking for