Regarding enqueue

Hi,
I have an sid which waiting on an enqueue...
Is it possible to get more details like with which session is this one in an enqueue..
Thanks,
Kr

actually the ctime here is getting on increased...
select * from v$lock where sid like '147';
ADDR KADDR SID TY ID1 ID2 LMODE REQUEST CTIME BLOCK
C000000396542A38 C000000396542A60 1437 TM 7293 0 3 0 50912 2
C000000369281F68 C000000369281F88 1437 TX 7733271 3664863 0 6 50911 0
C000000369281BC0 C000000369281BE0 1437 TO 1350135 1 3 0 51615 2
but when i query the v_sess_io...
there is no change ...
select * from v$sess_io where sid like '147';
SID BLOCK_GETS CONSISTENT_GETS PHYSICAL_READS BLOCK_CHANGES CONSISTENT_CHANGES
147 42197 4313445 101038 46129 4087
SQL> /
SID BLOCK_GETS CONSISTENT_GETS PHYSICAL_READS BLOCK_CHANGES CONSISTENT_CHANGES
147 42197 4313445 101038 46129 4087
SQL> /
SID BLOCK_GETS CONSISTENT_GETS PHYSICAL_READS BLOCK_CHANGES CONSISTENT_CHANGES
147 42197 4313445 101038 46129 4087
.....As far as i understod from the first link
V$LOCKThis view lists the locks currently held by the Oracle Database and outstanding requests for a lock or latch.
Column Datatype Description
ADDR RAW(4 | 8) Address of lock state object
KADDR RAW(4 | 8) Address of lock
SID NUMBER Identifier for session holding or acquiring the lock
the sid shows the one which is currently holding the lock
and 147 is showing and the ctime is getting increased..
but why then in v$sess_io...nothing is happpening...
any inputs on this...?
Thanks,
kr

Similar Messages

  • Regarding ENQUEUE DEQUEUE

    hey guys,
    I want to make record level lock for the user entered in the screen Simultaneously.
    I have change button and Tablecontrol in screen.
    when user enter VBELN and Other values and execute, the retrieved values from
    internal table will be popupated in table control at next screen 9100.
    I want to lock other user whom tries to make change in this screen or <b>(when he clicks change button in screen)</b>
    i did below logic and its not working for me..could you pls help me out.
    MAIN PROGRAM******************************************************
    SELECT-OPTIONS:S_WADAT   FOR LIKP-WADAT_IST.       
    SELECT-OPTIONS:S_KUNAG   FOR LIKP-KUNAG.          
    SELECT-OPTIONS:S_KUNNR   FOR LIKP-KUNNR.           
    SELECT-OPTIONS:S_LGORT   FOR LIPS-LGORT            
                             MATCHCODE OBJECT ZMLG.
    SELECT-OPTIONS:S_VGBEL   FOR LIPS-VGBEL.          
    SELECT-OPTIONS:S_VBELN   FOR LIKP-VBELN.        
    SELECT-OPTIONS:S_POSNR   FOR LIPS-POSNR.           
    SELECT-OPTIONS:S_ZBUNK   FOR ZSDTB_LOT-ZBUNKTU.  
    <b>START-OF-SELECTION.</b>
      CLEAR:FLG_CHG,                                   
            FLG_UPD.                                 
      FLG_SAV = C_ON.                               
      <b>PERFORM SEL_DATA.</b> <i>"Fetches data and put into internal table IT_DATA.</i>
      CLEAR W_LINE.
      DESCRIBE TABLE IT_DATA LINES W_LINE.         
      IF W_LINE = 0.                                  
         MESSAGE ID 'ZPP' TYPE 'S' NUMBER '011'.
      ELSE.
       <b>  CALL SCREEN '9100'.   </b>
      ENDIF.
    PERFORM DEQ_TBL.          
    FORM SEL_DATA.
    STORED VALUES INTERNAL TABLE IT_DATA.
    ENDFORM.
    *WHEN USER CLICK CHANGE BUTTON in APPLICATION BAR>
    MODULE USER_COMMAND_9100 INPUT.
      CASE OK_CODE.                   
        WHEN 'CSCG'.           "Change button                         
         IF FLG_CHG = C_ON.
         CLEAR:FLG_CHG,FLG_SAV.
         LOOP AT IT_DATA INTO WA_DATA.
         AT END OF VBELN.
          <b> PERFORM ENQ_TBL USING WA_DATA.
           IF FLG_ERR = C_ON.
            EXIT.
            ENDIF.</b> 
        ENDAT.
         ENDLOOP.
        IF FLG_ERR = C_ON.
         <b>MESSAGE ....<.INFORMATION ERROR VBELN LOCKED></b>    ENDIF.
         IF FLG_UPD = C_ON.                       
            PERFORM INSERT_TBL.                  
         ENDIF.
        ELSE.
             FLG_CHG = C_ON.
        ENDIF.
        WHEN 'SAVE'.                    
          IF FLG_UPD = C_ON.                           
             PERFORM INSERT_TBL.                        
          ENDIF.
      ENDCASE.
    ENDMODULE.          
    <b>FORM ENQ_TBL  USING    I_VBELN.
      CLEAR FLG_ERR.
      CALL FUNCTION 'ENQUEUE_EZSDTB_LOT'
        EXPORTING
          MODE_ZSDTB_LOT       = 'E'
          MANDT                = SY-MANDT
          VBELN                = I_VBELN
        EXCEPTIONS
          FOREIGN_LOCK         = 1
          SYSTEM_FAILURE       = 2
          OTHERS               = 3
    IF SY-SUBRC <> 0.
        FLG_ERR = C_ON.
    ENDIF.</b>ENDFORM.                    " ENQ_TBL

    hi, please descript more details on where the problem is.
    Specially the symptom of your problem.
    if you want to keep the exclusive access on thoes record, other application should also call 'ENQUEUE_EZSDTB_LOT' to try to get the access authority.
    if no, your lock won't be effective.
    And if the other application will be runned by a same user account in the SAP sever, you also should check the 'lock mode' of the lock object.
    It is cumulative or not.
    It's important, because Exclusive locks can be requested by the same transaction more than once and handled successively, but an exclusive but not cumulative lock can only be requested once by a given transaction. All other lock requests are rejected.
    Hope it will be helpful
    thanks

  • Create lock object with fun command

    Hallo,
    Is it possible to create a lock object with the fun command? I tried to use:
    FUN ( ENQUEUE _<lockobject> , <interface> ).
    When I fill the importing parameters, execute the script and afterwards refresh the interace than the import parameters are empty. Is there a way to create a lock object with the fun command or at least with inline abap?
    regards,
    Wolfgang

    Hi Wolfgang,
    in general your way of including the FUN command was correct.
    The loss of import parameter values must have been caused by some other reason, not related to the invoke of enqueue. Maybe try it again.
    If, for any reason, using FUN is not possible, it's always an alternative to use ABAP. .... ENDABAP. with correct ABAP coding inbetween (e.g. CALL FUNCTION ...).
    Nevertheless regarding enqueue you need to consider, that the lock you set by running eCATT test scripts in this way, will last (only) as long as the session in which the function was called is active. Means, it lasts as long as you do not close the SECATT transaction (/n or similar) and not use commands like RESCON in your test script. Check your locks with transaction sm12.
    Be aware, that interfering with an applications lock handling and strategy might also harm running transactions or the data processed by this transactions. Usually there is no need to call the enqueue modules from a test.
    Best Regards
    Jens

  • How to Enqueue an XML message

    I need to enqueue xml files.How can I do this?(I need to use the JMS interfaces)
    I am able to create a topic connection and session.I am unable to figure out how to create a ObjectPayload with the xml mesage in it.
    I have created the necessary queue by running the following scripts:
    CREATE TYPE queue_message_type AS XMLType ;
    EXEC DBMS_AQADM.CREATE_QUEUE_TABLE (queue_table => 'multi_message_xml_table', queue_payload_type => 'SYS.XMLTYPE',     multiple_consumers => TRUE);
    EXEC DBMS_AQADM.CREATE_QUEUE (queue_name => 'multi_xml_queue', queue_table => 'multi_message_xml_table');
    EXEC DBMS_AQADM.START_QUEUE (queue_name => 'multi_xml_queue');
    Thanks,
    Mahima

    Just to follow up with some other information.
    I created an AQ queue with AQ$_JMS_MESSAGE as payload type. Only, JDeveloper doen't recognize this queue when trying to create an AQ adapter in an ESB or BPEL project. It says it only supports RAW or OBJECT payload types. This seems like a bug; also see: ESB 10.1.3.1 Not Connecting to AQ QUEUE with error
    So I changed the payload type to SYS.XMLType and it works fine.
    The PL/SQL trigger I use to enqueue messages is:
    CREATE OR REPLACE TRIGGER JMSUSER.AIT_TEST AFTER INSERT ON JMSUSER.TEST_AQ_TABEL FOR each row
    declare
    msg SYS.XMLType;
    queue_options DBMS_AQ.ENQUEUE_OPTIONS_T;
    msg_props DBMS_AQ.MESSAGE_PROPERTIES_T;
    msg_id RAW(16);
    Begin
    msg := SYS.XMLType.createXML('<?xml version="1.0"?>' || '<id xmlns="http://www.approach-alliance.com">' || :new.ID || '</id>');
    DBMS_AQ.ENQUEUE(
    queue_name => 'TESTXML_QUEUE',
    enqueue_options => queue_options,
    message_properties => msg_props,
    payload => msg,
    msgid => msg_id);
    end ;
    I can then create an AQ adapter in the ESB and transform and/or route the XML content as desired.
    Regards,
    Ronald

  • Regarding workflow suspension(entry in table SWP_SUSPEN)

    Hi Experts,
    I have a workflow whose one of the workitem goes into enqueue error during it's processing when user tries to perform some parallel activity , now when user stops the parallel activity & come back to his inbox, it allows him to process the workitem properly. (That is workitem is successfully processed.....status is  completed). But after this workitem execution, the workflow hangs / gets suspended. Step histroy of this workitem shows there was an error when processing this workitem (Enqueue error) even though finally  user was able to continuue & process the workitem successfully & status is completed too. It creates an entry in table SWP_SUSPEN With workflow Workitem ID & workitem id of the workitem under this workflow & error type as "0001" i.e:- Enqueue error callback to workflow)  & status of the workflow as "1" ...i.e: - "In Process  " & not in error.
    I also analyzed that once the entry in the table SWP_SUSPEN is removed or gets deleted, the workflow continues from the point where it stucked.
    So what i wanted to know is, what this entry in SWP_SUSPEN means by indicating "Error type" as 0001 & Status as "1" . & how this entry gets deleted, i thought there is some background JOB RSSWERRE that does this but when i checked i found RSSWERRE only checks for items in SWP_SUSPEN with workflow statuses as "02" i.e:- In error. where as my workflow has status "1" in SWP_SUSPEN under status field (as mentioned above)which means "In Process"  I also found that this entry is getting deleted after sometime, so there must be some background job that is doing it, so i wanted to know what is that background Job if not RSSWERRE.
    Regards,
    Chetan.

    Hi,
    This is what i got from one of the Notes:
    ou use parallel processing where you have a fork with 2 branches (1
    Branch necessary for completion). In one branch is a dialog activity
    step and in the other is a 'Wait for Event' step. While the dialog
    step is being executed by a user the Wait for Event step receives its
    event and continues along the branch and completes the fork (Remember
    only 1 branch needed for completion). Once the end of fork is reached
    the dialog work item should be set to status Logically Deleted but
    this does not occur due to the lock/enqueue on the work item while the
    user is executing it. Since a callback is essential for a workflow to
    continue running, this callback is suspended (stored in the SWP_SUSPEN
    table). These callbacks are started again via the RSWWERRE report. If
    you have not scheduled report RSWWERRE then the work items will remain
    in table SWP_SUSPEN and the work items will not receive their callback
    and will therefor will not continue.
    If there are examples of work items hanging then check table SWP_SUSPEN to
    see if the callback work item ID is there. If it is then make sure you have
    the RSWWERRE job running in order to redeliver it. If RSWWERRE is running
    and the entry is not being delivered then please check for notes using the
    search term "RSWWERRE" and "SWP_SUSPEN". If there is no entry in
    SWP_SUSPEN, then check the workflow definition to see if the work item is
    asynchronous i.e. needs a terminating event as in Example 1 above. Check
    the event queue via transaction SWEQADM to see if the terminating event is
    being buffered there. If it is then it should automatically be redelivered
    so do a notes search in relation to the event queue.
    Regards
    Gautam
    Edited by: gautam maini on Aug 3, 2011 4:16 PM

  • Regarding Performance tunning...

    HI Experts,
    can you suggest me, how exactly performance is checked.
    what is the measure we considered for performance check.
    what are ideals status of the performance check for a certain program.
    that is, how much should be database use, abap use and the system
    use in the program.
    i checked my program in t-code SE30, and it is showing almost
    above 90% use of database and very less use of abap and
    almost no use of system.
    so please tell me exactly how much it should be...
    Thanks in advance.
    Regard,
    vijay chavan

    Hi
    these are the ways of checking performance of a report
    Tools for Performance Analysis
    Run time analysis transaction SE30
    SQL Trace transaction ST05
    Extended Program Check (SLIN)
    Code Inspector ( SCI)
    <b>Run time analysis transaction SE30</b> :This transaction gives all the analysis of an ABAP program with respect to the database and the non-database processing.
    <b>SQL Trace transaction ST05</b>: The trace list has many lines that are not related to the SELECT statement in the ABAP program. This is because the execution of any ABAP program requires additional administrative SQL calls. To restrict the list output, use the filter introducing the trace list.
    The trace list contains different SQL statements simultaneously related to the one SELECT statement in the ABAP program. This is because the R/3 Database Interface - a sophisticated component of the R/3 Application Server - maps every Open SQL statement to one or a series of physical database calls and brings it to execution. This mapping, crucial to R/3s performance, depends on the particular call and database system. For example, the SELECT-ENDSELECT loop on a particular database table of the ABAP program would be mapped to a sequence PREPARE-OPEN-FETCH of physical calls in an Oracle environment.
    The WHERE clause in the trace list's SQL statement is different from the WHERE clause in the ABAP statement. This is because in an R/3 system, a client is a self-contained unit with separate master records and its own set of table data (in commercial, organizational, and technical terms). With ABAP, every Open SQL statement automatically executes within the correct client environment. For this reason, a condition with the actual client code is added to every WHERE clause if a client field is a component of the searched table.
    To see a statement's execution plan, just position the cursor on the PREPARE statement and choose Explain SQL. A detailed explanation of the execution plan depends on the database system in use.
    <b>Extended Program Check</b>
    This can be called in through transaction SE38 or through transaction SLIN. This indicates possible problems that may cause performance problems.
    <b>Code Inspector (SCI)</b>
    You can call the Code Inspector from the ABAP Editor (SE38), the Function Builder (SE37), the Class Builder (SE24), or as a separate transaction (SCI).
    The Code Inspector indicates possible problems. However, note that, especially with performance issues: There is no rule without exception. If a program passes an inspection, it does not necessarily mean that this program will have no performance problems.
    <b>Run time analysis transaction SE30</b>
    <b>steps</b>
    In Transaction SE30, fill in the transaction name or the program name which needs to be analyzed for performance tuning.
    For our case, let this be “ZABAP_PERF_TUNING”
    Run time analysis transaction SE30
    After giving the required inputs to the program, execute it. After the final output list has been displayed, PRESS the “BACK” button.
    On the original SE30 screen, now click on “ANALYZE” button.
    The percentage across each of the areas ABAP/ Database/System shows the percentage of total time used for those areas and load on these areas while running the program . The lesser the database load faster the program runs.
    <b>SQL Trace – ST05</b>
    <b>steps</b>
    <u>Starting the Trace:</u>
    To analyze a trace file, do the following:
    Choose the menu path Test &#61614; Performance Trace in the ABAP Workbench or go to Transaction ST05. The initial screen of the test tool appears. In the lower part of the screen, the status of the Performance Trace is displayed. This provides you with information as to whether any of the Performance Traces are switched on and the users for which they are enabled. It also tells you which user has switched the trace on.
    Using the selection buttons provided, set which trace functions you wish to have switched on (SWL trace, enqueue trace, RFC trace, table buffer trace).
    If you want to switch on the trace under your user name, choose Trace on. If you want to pass on values for one or several filter criteria, choose Trace with Filter. Typical filter criteria are: the name of the user, transaction name, process name, and program name.
    Now run the program to be analyzed.
    Stopping the Trace:
    To deactivate the trace:
    Choose Test &#61614;Performance Trace in the ABAP Workbench. The initial screen of the test tool appears. It contains a status line displaying the traces that are active, the users for whom they are active, and the user who activated them.
    Select the trace functions that you want to switch off.
    Choose Deactivate Trace. If you started the trace yourself, you can now switch it off immediately. If the performance trace was started by a different user, a confirmation prompt appears before deactivation-
    <u>Analyzing a Sample trace data:</u>
    PREPARE: Prepares the OPEN statement for use and determines the access method.
    OPEN: Opens the cursor and specifies the selection result by filling the selection fields with concrete values.
    FETCH: Moves the cursor through the dataset created by the OPEN operation. The array size displayed beside the fetch data means that the system can transfer a maximum package size of 392 records at one time into the buffered area.
    <b>Reward if useful</b>

  • Doubt: Problem in enqueing using DBMS_AQ.enqueue procedure

    Hello All,
    I have one issue with Oracle AQ. One of our implementation requires us to extract data from the tables and enqueue the extracted data into an Oracle AQ.
    I will try to explain my problem as briefly as possible:
    1. We have created a queue of type CLOB using the following procedure
    begin
    dbms_aqadm.create_queue_table('BOD36_3PLB2B_TABLE', 'IKN_CLOB'); -- IKN_CLOB—This is CLOB custom type that we have created to have CLOB data.
    dbms_aqadm.create_queue('BOD36_3PLB2B_Q', 'BOD36_3PLB2B_TABLE');
    dbms_aqadm.start_queue('BOD36_3PLB2B_Q');
    end;
    The queue creation was successful.
    2. Then we have developed a package to extract data from the database into a VARRAY and then using the varray as the payload.
    3. In the package we are calling the following code to enqueue data into the database with the VARRAY as the payload
    dbms_aq.enqueue(queue_name => ikn_qname,
    enqueue_options => lt_enqueue_options,
    message_properties => lt_message_properties,
    payload => p_SHOWPL_ARR_OUT, ---> p_SHOWPL_ARR_OUT it is the varray to which we are putting the data to enqueue
    msgid => messageid);
    4. When I compile the package, I get the error: PLS-00306: wrong number or types of arguments in call to 'ENQUEUE'.
    If you have faced similar issues and have any pointers to the above, then please help!! I am not sure where i have gone wrong.
    Please help !!!!!
    Thanks in advance and thanks for your patience.
    Regards,
    Dibya

    The package has another function enqueue_array. Maybe that will help you. Check it out from the Oracle docs.
    Ben

  • Enqueue/Dequeue

    Hi,
    There are 2 reports accessing 1 table. I am facing the runtime error with description - "The database system detected a deadlock and avoided it by rolling back your transaction.u201D
    Have come across implementing the ENQUEUE and DEQUEUE concept on the table. Please clarify the below queries:
    1.Is the above error occuring beacuse the two reports are accessing the table at the same time?
    2.Implementing EN/DEQUEUE will solve the problem?
    3.If first report is writing the data to table at 12pm(after locking the table), and the second report trying to access the table at 12:10pm to write the data, will this wait in some queue and write the data after the first report releases the table lock?
    Regards,
    Rajkamal

    Hello Raj,
    You should understand the difference between Database Locks & SAP locks.
    The database system detected a deadlock and avoided it by rolling back your transaction
    1.Is the above error occuring beacuse the two reports are accessing the table at the same time?
    Initial look at the statement suggests that this is because of Database Lock collision. You need to check if both the programs were trying to write (INSERT/UPDATE/MODIFY/DELETE) the same data to the DB table.
    2. Implementing EN/DEQUEUE will solve the problem?
    It should. But make sure you don't lock the entire table, try to lock only the individual records which are being processed(This is a good coding practice, of course you can override it depending on your requirement).
    3.If first report is writing the data to table at 12pm(after locking the table), and the second report trying to access the table at 12:10pm to write the data, will this wait in some queue and write the data after the first report releases the table lock?
    No, afiak there is no such queue. Alternatively you can put the lock in a iteration(viz., DO loop, WHILE loop) & check when the locks are released.
    Hope i'm clear.
    BR,
    Suhas

  • Enqueue: Elem.lock 0 contains unpermitted lock mode . lock object EZBEV_BO

    Hello Guru's,
    we have a unusual problem in the syslog of our ERP System.
    Enqueue: Elem.lock 0 contains unpermitted lock mode . lock object EZBEV_BO
    We can't found any note or forum entry to solve this.
    We checked SAP Notes: 1324099, 891372, 606425, 447242, 1260601 and searched in the forum, but nothing helpful found.
    System Data:
    ERP 6.0 / NW7.01 with EHP4
    SAP Kernel :  701_REL
    created on  :  Jan 18 2010 21:47:07
    Kernel Patch number : 77
    Source ID  :  0.077
    DBSL Patch No. : 075
    Database
    ORACLE 10.2.0.2
    Operating System
    AIX 5.3
    Can someone help?
    regards
    Chris

    developer error

  • Lock Object: Enqueue and Dequeue

    Hi
    Im using VB.Net, SAP .Net to do data entry, updates to
    SAP R/3.
    Now, I need to lock the data during user changes on
    particular documents.
    What I done is I created a lock object in SE11. Then
    it produce 2 functions which are the ENQUEUE and
    DEQUEUE.
    Since the data reading from Non-SAP, I check for Allow
    RFC and my lock mode is Exclusive and Cumulative.
    After that, I also created a remote-enabled RFCs to be
    call from VB.Net. These RFCs is calling the ENQUEUE
    and DEQUEUE.
    When I tested in SAP itself, the locking data is
    working perfectly. I checked in SM12, it does shows
    the locking entry.
    But when I try in VB.Net and call the function
    modules, it does not shows any entry in SM12. It is
    like nothing happen at all.
    After that, I do little test. Firstly I lock the data
    from SAP then I run VB.Net, and it does shows the
    message who is currently locking the data.
    Anybody could help me on this?
    Thank you.
    Regards.

    See the following extract from documentation. Check if your lock object definition is satisfying all of them.
    <i>Reference Fields for RFC-Enabled Lock Objects
    The type of an RFC-enabled function module must be completely defined. The parameters of the generated function module therefore have the following reference fields for RFC-enabled lock objects:
    Parameters               Reference fields
    X_<field name>           DDENQ_LIKE-XPARFLAG
    _WAIT                    DDENQ_LIKE-WAITFLAG
    _SCOPE                   DDENQ_LIKE-SCOPE
    _SYNCHRON                DDENQ_LIKE-SYNCHRON
    </i>
    Here is the link to the documentation
    http://help.sap.com/saphelp_46c/helpdata/en/4f/991f82446d11d189700000e8322d00/frameset.htm
    Srinivas

  • Problem in enqueueing to a remote OC4j queue

    Hello,
    I am trying to enqueue messages to a remote queue by using the JMS adapter.
    I have installed the SOA suite on my local machine(we are doing a POC). I have installed the Basic installation here.
    The JMS queue is on another machie. I am able to configure the JMS adapter successfully.
    I have added the following entries to the oc4j-ra.xml file :
    <connector-factory location="eis/RemoteOC4JJMS/Queue" connector-name="Jms Adapter">
              <config-property name="connectionFactoryLocation" value="jms/QueueConnectionFactory" />
              <config-property name="factoryProperties" value="java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactory;java.naming.provider.url=ormi://172.18.12.162; java.naming.security.principal=oc4jadmin;java.naming.security.credentials=welcome1" />
              <config-property name="acknowledgeMode" value="AUTO_ACKNOWLEDGE" />
              <config-property name="isTopic" value="false" />
              <config-property name="isTransacted" value="false" />
              <config-property name="username" value="oc4jadmin" />
              <config-property name="password" value="welcome1" />
         </connector-factory>
    I have modified this file at the location :
    C:\product\10.1.3.1\OracleAS_2\j2ee\home\connectors\JmsAdapter\JmsAdapter\META-INF
    Also i have added the following entry to the CLASSPATH :
    C:\product\10.1.3.1\OracleAS_2\j2ee\home\connectors\JmsAdapter\JmsAdapter\META-INF\application-client.xml;
    I am using "eis/RemoteOC4JJMS/Queue"(as specified in the connection factory details) in the JNDI property of the JMS adapter.
    I get the following error :
    The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12141
    ERRJMS_CONN_FAC_NOT_FOUND.
    Unable to instantiate connection factory. JMS adapter was unable to look up the connection factor jms/QueueConnectionFactory neither through JNDI nor instantiate it as a Java class
    Please examine the log file to determine the problem.
    [Caused by: META-INF/application-client.xml not found (see J2EE spec, application-client chapter for requirements and format of the file)]
    Please let me know where do i place the application-client.xml file.
    Regards,
    Nilay Sundarkar

    hello,
    Now it gives me the following exception :
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:Server</faultcode><faultstring>oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventRejectionException: An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/POC_POC3_JMS/POC3_JMSWrite.wsdl [ Produce_Message_ptt::Produce_Message(Employee) ] - WSIF JCA Execute of operation 'Produce_Message' failed due to: Adapter Framework unable to create outbound JCA connection.
    esb:///ESB_Projects/POC_POC3_JMS/POC3_JMSWrite.wsdl [ Produce_Message_ptt::Produce_Message(Employee) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12529
    ManagedConnectionFactory problem.
    Could not instantiate ManagedConnectionFactory oracle.tip.adapter.jms.JmsManagedConnectionFactory due to:
         Missing class: oracle.tip.adapter.jms.JmsManagedConnectionFactory
         Dependent class: oracle.tip.adapter.fw.wsdl.WSDLUtils
         Loader: oracle.bpel.common:10.1.3
         Code-Source: /C:/product/10.1.3.1/OracleAS_2/bpel/lib/orabpel.jar
         Configuration: &lt;code-source&gt; in /C:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml
    This load was initiated at esb-rt.web.provider-war:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    Please make sure the corresponding JCA Resource Adapter has been deployed.
    ; nested exception is:
         ORABPEL-12511
    Adapter Framework unable to create outbound JCA connection.
    esb:///ESB_Projects/POC_POC3_JMS/POC3_JMSWrite.wsdl [ Produce_Message_ptt::Produce_Message(Employee) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12529
    ManagedConnectionFactory problem.
    Could not instantiate ManagedConnectionFactory oracle.tip.adapter.jms.JmsManagedConnectionFactory due to:
         Missing class: oracle.tip.adapter.jms.JmsManagedConnectionFactory
         Dependent class: oracle.tip.adapter.fw.wsdl.WSDLUtils
         Loader: oracle.bpel.common:10.1.3
         Code-Source: /C:/product/10.1.3.1/OracleAS_2/bpel/lib/orabpel.jar
         Configuration: &lt;code-source&gt; in /C:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml
    This load was initiated at esb-rt.web.provider-war:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    Please make sure the corresponding JCA Resource Adapter has been deployed.
    Please examine the log file for any reasons. Enable DEBUG logging in the BPEL Console.
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:623)
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:726)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(Unknown Source)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
         at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source)
         at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(Unknown Source)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(Unknown Source)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: ORABPEL-12511
    Adapter Framework unable to create outbound JCA connection.
    esb:///ESB_Projects/POC_POC3_JMS/POC3_JMSWrite.wsdl [ Produce_Message_ptt::Produce_Message(Employee) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12529
    ManagedConnectionFactory problem.
    Could not instantiate ManagedConnectionFactory oracle.tip.adapter.jms.JmsManagedConnectionFactory due to:
         Missing class: oracle.tip.adapter.jms.JmsManagedConnectionFactory
         Dependent class: oracle.tip.adapter.fw.wsdl.WSDLUtils
         Loader: oracle.bpel.common:10.1.3
         Code-Source: /C:/product/10.1.3.1/OracleAS_2/bpel/lib/orabpel.jar
         Configuration: &lt;code-source&gt; in /C:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml
    This load was initiated at esb-rt.web.provider-war:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    Please make sure the corresponding JCA Resource Adapter has been deployed.
    Please examine the log file for any reasons. Enable DEBUG logging in the BPEL Console.
         at oracle.tip.adapter.fw.wsif.jca.WSIFPort_JCA$JCAConnectionPool.createJCAConnectionFactory(WSIFPort_JCA.java:1585)
         at oracle.tip.adapter.fw.wsif.jca.WSIFPort_JCA$JCAConnectionPool.newPoolObject(WSIFPort_JCA.java:1439)
         at oracle.tip.adapter.fw.common.ObjectPool.checkOut(ObjectPool.java:125)
         at oracle.tip.adapter.fw.wsif.jca.WSIFPort_JCA$JCAConnectionPool.checkOut(WSIFPort_JCA.java:1656)
         at oracle.tip.adapter.fw.wsif.jca.WSIFPort_JCA.obtainJCAConnection(WSIFPort_JCA.java:984)
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:327)
         ... 40 more
    Caused by: ORABPEL-12529
    ManagedConnectionFactory problem.
    Could not instantiate ManagedConnectionFactory oracle.tip.adapter.jms.JmsManagedConnectionFactory due to:
         Missing class: oracle.tip.adapter.jms.JmsManagedConnectionFactory
         Dependent class: oracle.tip.adapter.fw.wsdl.WSDLUtils
         Loader: oracle.bpel.common:10.1.3
         Code-Source: /C:/product/10.1.3.1/OracleAS_2/bpel/lib/orabpel.jar
         Configuration: &lt;code-source&gt; in /C:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml
    This load was initiated at esb-rt.web.provider-war:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    Please make sure the corresponding JCA Resource Adapter has been deployed.
         at oracle.tip.adapter.fw.wsdl.WSDLUtils.setupManagedConnectionFactory(WSDLUtils.java:461)
         at oracle.tip.adapter.fw.wsif.jca.WSIFPort_JCA$JCAConnectionPool.createJCAConnectionFactory(WSIFPort_JCA.java:1517)
         ... 45 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: oracle.tip.adapter.jms.JmsManagedConnectionFactory
         Dependent class: oracle.tip.adapter.fw.wsdl.WSDLUtils
         Loader: oracle.bpel.common:10.1.3
         Code-Source: /C:/product/10.1.3.1/OracleAS_2/bpel/lib/orabpel.jar
         Configuration: &lt;code-source&gt; in /C:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml
    This load was initiated at esb-rt.web.provider-war:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2078)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1679)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.tip.adapter.fw.wsdl.WSDLUtils.setupManagedConnectionFactory(WSDLUtils.java:454)
         ... 46 more
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(Unknown Source)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
         at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source)
         at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(Unknown Source)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(Unknown Source)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/POC_POC3_JMS/POC3_JMSWrite.wsdl [ Produce_Message_ptt::Produce_Message(Employee) ] - WSIF JCA Execute of operation 'Produce_Message' failed due to: Adapter Framework unable to create outbound JCA connection.
    esb:///ESB_Projects/POC_POC3_JMS/POC3_JMSWrite.wsdl [ Produce_Message_ptt::Produce_Message(Employee) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12529
    ManagedConnectionFactory problem.
    Could not instantiate ManagedConnectionFactory oracle.tip.adapter.jms.JmsManagedConnectionFactory due to:
         Missing class: oracle.tip.adapter.jms.JmsManagedConnectionFactory
         Dependent class: oracle.tip.adapter.fw.wsdl.WSDLUtils
         Loader: oracle.bpel.common:10.1.3
         Code-Source: /C:/product/10.1.3.1/OracleAS_2/bpel/lib/orabpel.jar
         Configuration: &lt;code-source&gt; in /C:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml
    This load was initiated at esb-rt.web.provider-war:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    Please make sure the corresponding JCA Resource Adapter has been deployed.
    ; nested exception is:
         ORABPEL-12511
    Adapter Framework unable to create outbound JCA connection.
    esb:///ESB_Projects/POC_POC3_JMS/POC3_JMSWrite.wsdl [ Produce_Message_ptt::Produce_Message(Employee) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12529
    ManagedConnectionFactory problem.
    Could not instantiate ManagedConnectionFactory oracle.tip.adapter.jms.JmsManagedConnectionFactory due to:
         Missing class: oracle.tip.adapter.jms.JmsManagedConnectionFactory
         Dependent class: oracle.tip.adapter.fw.wsdl.WSDLUtils
         Loader: oracle.bpel.common:10.1.3
         Code-Source: /C:/product/10.1.3.1/OracleAS_2/bpel/lib/orabpel.jar
         Configuration: &lt;code-source&gt; in /C:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml
    This load was initiated at esb-rt.web.provider-war:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    Please make sure the corresponding JCA Resource Adapter has been deployed.
    Please examine the log file for any reasons. Enable DEBUG logging in the BPEL Console.
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:623)
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:726)
         ... 39 more
    Caused by: ORABPEL-12511
    Adapter Framework unable to create outbound JCA connection.
    esb:///ESB_Projects/POC_POC3_JMS/POC3_JMSWrite.wsdl [ Produce_Message_ptt::Produce_Message(Employee) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12529
    ManagedConnectionFactory problem.
    Could not instantiate ManagedConnectionFactory oracle.tip.adapter.jms.JmsManagedConnectionFactory due to:
         Missing class: oracle.tip.adapter.jms.JmsManagedConnectionFactory
         Dependent class: oracle.tip.adapter.fw.wsdl.WSDLUtils
         Loader: oracle.bpel.common:10.1.3
         Code-Source: /C:/product/10.1.3.1/OracleAS_2/bpel/lib/orabpel.jar
         Configuration: &lt;code-source&gt; in /C:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml
    This load was initiated at esb-rt.web.provider-war:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    Please make sure the corresponding JCA Resource Adapter has been deployed.
    Please examine the log file for any reasons. Enable DEBUG logging in the BPEL Console.
         at oracle.tip.adapter.fw.wsif.jca.WSIFPort_JCA$JCAConnectionPool.createJCAConnectionFactory(WSIFPort_JCA.java:1585)
         at oracle.tip.adapter.fw.wsif.jca.WSIFPort_JCA$JCAConnectionPool.newPoolObject(WSIFPort_JCA.java:1439)
         at oracle.tip.adapter.fw.common.ObjectPool.checkOut(ObjectPool.java:125)
         at oracle.tip.adapter.fw.wsif.jca.WSIFPort_JCA$JCAConnectionPool.checkOut(WSIFPort_JCA.java:1656)
         at oracle.tip.adapter.fw.wsif.jca.WSIFPort_JCA.obtainJCAConnection(WSIFPort_JCA.java:984)
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:327)
         ... 40 more
    Caused by: ORABPEL-12529
    ManagedConnectionFactory problem.
    Could not instantiate ManagedConnectionFactory oracle.tip.adapter.jms.JmsManagedConnectionFactory due to:
         Missing class: oracle.tip.adapter.jms.JmsManagedConnectionFactory
         Dependent class: oracle.tip.adapter.fw.wsdl.WSDLUtils
         Loader: oracle.bpel.common:10.1.3
         Code-Source: /C:/product/10.1.3.1/OracleAS_2/bpel/lib/orabpel.jar
         Configuration: &lt;code-source&gt; in /C:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml
    This load was initiated at esb-rt.web.provider-war:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    Please make sure the corresponding JCA Resource Adapter has been deployed.
         at oracle.tip.adapter.fw.wsdl.WSDLUtils.setupManagedConnectionFactory(WSDLUtils.java:461)
         at oracle.tip.adapter.fw.wsif.jca.WSIFPort_JCA$JCAConnectionPool.createJCAConnectionFactory(WSIFPort_JCA.java:1517)
         ... 45 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: oracle.tip.adapter.jms.JmsManagedConnectionFactory
         Dependent class: oracle.tip.adapter.fw.wsdl.WSDLUtils
         Loader: oracle.bpel.common:10.1.3
         Code-Source: /C:/product/10.1.3.1/OracleAS_2/bpel/lib/orabpel.jar
         Configuration: &lt;code-source&gt; in /C:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml
    This load was initiated at esb-rt.web.provider-war:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2078)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1679)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.tip.adapter.fw.wsdl.WSDLUtils.setupManagedConnectionFactory(WSDLUtils.java:454)
         ... 46 more
    </faultstring><faultactor></faultactor></env:Fault></env:Body></env:Envelope>
    Any idea with this????

  • Problem with AS2 Enqueue utility

    Iam using the AS2 enqueue utility on 11.1.1.6.0 PS5 patch set.
    I am trying to simulate a message posted from a third party partner to my host partner.
    Below are the properties i used.
    user=Correct Username
    password=Pwd
    url=jdbc:oracle:thin:@host:port/SID
    ####### Payload Details #######
    replyToMsgID =
    from=ABC
    to=Host
    #eventName=SampleEvent
    doctypeName=ABC_ShipStatus_DocType
    doctypeRevision=1.0
    payload=/tmp/naveen/b2b/test.dat
    the issue is , in the reports section, the message i push through utility is coming but with incorrect partner values.
    i.e. My sender and reciever values are both coming as 'Host'.Hence my message is failing as it is not able to find the right TPA.
    Below is the snippet of my report
    Doctype TPA Sender Receiver
    ABC_ShipStatus_DocType Host Host
    But Iam expecting this
    Doctype TPA Sender Receiver
    ABC_ShipStatus_DocType ABC_ShipStatus ABC Host
    Also, Iam having the AS2 Signing in my realworld TPA. Will the simulation through Utility require any signing to complete the message?

    There is nothing like AS2 enqueue utility. What you are using is AQ (Advanced Queue) enqueue utility which is used to push outbound messages to B2B to simulate back-end -
    http://docs.oracle.com/cd/E23943_01/user.1111/e10229/enq_deq.htm#BGECCIBG
    You should set up another domain to mock the TP.
    Regards,
    Anuj

  • Regarding Event and Its subscription in SOA Suite11g

    Hi All,
    I am trying with some of the tutorials of SOA Suite 11g for EDN. I have a doubt regarding even handling in the following scenario:
    Events are used for 'fire and forget' scenario and is a solution that does not depend on the underlying messaging technology. I have a composite subscribed to
    an event, assume that for some reason the composite is not available when the event is raised. Then
    - What will happen to the raised event? Will it be lost or will the event stored in any queue? If its stored, where this will be stored?
    - And how should i take care of this composite unavailability scenario? As my requirement is doing set of activities when the event is raised, if the composite is unavailable for some
    reason then the raised event will not be handled then its an issue with functional flow.
    Please let me know about this.
    Thanks
    Siva

    I was trying the same scenario, raising the event from UI but no subscribed composite exists. When i see the EDN log it was shown like below.
    NewCustomer is the event and has payload of CustomerId. The log shows the entries for both enqueuing the event and Dequeued event.
    Seems to be event will not be stored if no subscribers exist or may be any other settings required. Not sure though, any insights?
    Enqueing event: /oracle/apps/examples/model/entity/events/edl/CustomerEO::NewCustomer from R
    Body: <business-event xmlns:ns="/oracle/apps/examples/model/entity/events/edl/CustomerEO" xmlns="http://oracle.com/fabric/businessEvent">
    <name>ns:NewCustomer</name>
    <id>64232479-0501-4989-8be2-42930a96a1e4</id>
    <content>
    <NewCustomerInfo xmlns="/oracle/apps/examples/model/entity/events/schema/CustomerEO">
    <CustomerId>
    <newValue value="2345"/>
    </CustomerId>
    </NewCustomerInfo>
    </content>
    </business-event>
    Subject name:
    Enqueing complete
    Starting EDN Agent for Event from Queue
    Dequeued event: /oracle/apps/examples/model/entity/events/edl/CustomerEO::NewCustomer
    Subject name:
    Body: <business-event xmlns:ns="/oracle/apps/examples/model/entity/events/edl/CustomerEO" xmlns="http://oracle.com/fabric/businessEvent">
    <name>ns:NewCustomer</name>
    <id>64232479-0501-4989-8be2-42930a96a1e4</id>
    <content>
    <NewCustomerInfo xmlns="/oracle/apps/examples/model/entity/events/schema/CustomerEO">
    <CustomerId>
    <newValue value="2345"/>
    </CustomerId>
    </NewCustomerInfo>
    </content>
    </business-event>

  • AQ Adapter Not Returning Fault Message even if the Enqueue is disabled

    Hi....
    i am using Oracle SOA 10.1.3.5 and we are trying to catch the error/fault returned by the AQ Adapter...
    to create the scenario i have disabled the Enqueue on the Adapter and put the message...but the we are not receiving the fault message (the control is not going to CatchAll Block defined for the scope...)
    the message we are getting is witht eh fault tag and not a exception....
    i also tried to add the pick activity after invoke...but can someone provide any link to configure the pick for fault callback...
    <fault>
    -<exception class="com.collaxa.cube.ws.WebServiceException">
    EJB Transaction Error.
    EJB exception happened while invoking the partner.
    Please verify partner service.
    -<stack>
    <f>com.collaxa.cube.ws.WSIFInvocationHandler.invoke#647
    </f>
    <f>com.collaxa.cube.ws.WSInvocationManager.invoke2#538
    </f>
    <f>com.collaxa.cube.ws.WSInvocationManager.invoke#286
    </f>
    <f>com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke#832
    </f>
    <f>com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements#413
    </f>
    <f>com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform#200
    </f>
    <f>com.collaxa.cube.engine.CubeEngine.performActivity#4330
    </f>
    <f>com.collaxa.cube.engine.CubeEngine.handleWorkItem#1837
    </f>
    <f>com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal#77
    </f>
    <f>com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage#240
    </f>
    <f>com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory#345
    </f>
    <f>com.collaxa.cube.engine.CubeEngine.endRequest#6464
    </f>
    <f>com.collaxa.cube.engine.CubeEngine.handleWorkItem#1908
    </f>
    <f>com.collaxa.cube.engine.ejb.impl.CubeEngineBean.handleWorkItem#415
    </f>
    <f>sun.reflect.NativeMethodAccessorImpl.invoke0
    </f>
    <f>sun.reflect.NativeMethodAccessorImpl.invoke#39
    </f>
    <f>...
    </f>
    </stack>
    </exception>
    -<root class="org.collaxa.thirdparty.apache.wsif.WSIFException">
    file:/u01/oracle/product/10.1.3.1/OracleAS/bpel/domains/default/tmp/.bpel_InterfaceCustomerToBillingEBF_1.0_9da16e94dedd6d829b47b8d4b4a5ab53.tmp/EnqueueCreatePortalAccountMessage.wsdl [ Produce_Message_ptt::Produce_Message(CreateCustomerPartyEBM) ] - WSIF JCA Execute of operation 'Produce_Message' failed due to: ERRJMS_PROVIDER_ERR.
    Could not produce message due to JMS provider error.
    ; nested exception is:
         ORABPEL-12165
    ERRJMS_PROVIDER_ERR.
    Could not produce message due to JMS provider error.
    Please examine the log file to determine the problem.
    -<stack>
    <f>oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation#644
    </f>
    <f>oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation#739
    </f>
    <f>com.collaxa.cube.ws.WSIFInvocationHandler.invoke#474
    </f>
    <f>com.collaxa.cube.ws.WSInvocationManager.invoke2#538
    </f>
    <f>com.collaxa.cube.ws.WSInvocationManager.invoke#286
    </f>
    <f>com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke#832
    </f>
    <f>com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements#413
    </f>
    <f>com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform#200
    </f>
    <f>com.collaxa.cube.engine.CubeEngine.performActivity#4330
    </f>
    <f>com.collaxa.cube.engine.CubeEngine.handleWorkItem#1837
    </f>
    <f>com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal#77
    </f>
    <f>com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage#240
    </f>
    <f>com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory#345
    </f>
    <f>com.collaxa.cube.engine.CubeEngine.endRequest#6464
    </f>
    <f>com.collaxa.cube.engine.CubeEngine.handleWorkItem#1908
    </f>
    <f>com.collaxa.cube.engine.ejb.impl.CubeEngineBean.handleWorkItem#415
    </f>
    <f>...
    </f>
    </stack>
    </root>
    </fault
    regards
    \Sanju03

    I have found problem. My application name in iStudio was different from adapter. Once they are same it is ok
    Regards Robert

  • Oracle 11gR2 AQ Enqueue from Java - Exception : Unsupported Feature

    Hi all,
    Can anyone please explain the following error message?
    It would appear that OracleConnection.enqueue( queueName, enqopts, mesg ) doesn't work in this configuration....
    Is this expected or am I doing something silly? (And if so, what am I doing that is silly?)
    (Or is this yet another unexpected face-palm due to Standard Edition?)
    Many thanks,
    Regards,
    Rhodry Maelwaedd
    [Output]
    SQL>
    Connected to Oracle Database 11g Release 11.2.0.1.0
    Connected as SYS
    BANNER
    Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE     11.2.0.1.0     Production
    TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    User created
    Grant succeeded
    Connected to Oracle Database 11g Release 11.2.0.1.0
    Connected as aq
    PL/SQL procedure successfully completed
    PL/SQL procedure successfully completed
    PL/SQL procedure successfully completed
    Java created
    Procedure created
    OracleConnection obtained
    AQMessage properties constructed
    AQMessage constructed
    java.sql.SQLException: Unsupported feature
         at oracle.jdbc.driver.PhysicalConnection.doEnqueue(PhysicalConnection.java:9650)
         at oracle.jdbc.driver.PhysicalConnection.enqueue(PhysicalConnection.java:9548)
         at TestClient.enqueueAQMessage(JAVA_TEST:19)
    PL/SQL procedure successfully completed
    [Test]
    CONNECT SYS/************ AS SYSDBA;
    SELECT *
    FROM V$VERSION;
    CREATE USER aq IDENTIFIED BY aq DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE temp;
    GRANT CONNECT, RESOURCE, AQ_ADMINISTRATOR_ROLE, JAVA_ADMIN, JAVAUSERPRIV, JAVASYSPRIV, JAVADEBUGPRIV TO aq;
    CONNECT aq/aq@***************i;
    SET SERVEROUTPUT ON;
    EXEC DBMS_AQADM.CREATE_QUEUE_TABLE( queue_table => 'INBOUND_QT', queue_payload_type => 'RAW', sort_list => 'PRIORITY, ENQ_TIME' );
    EXEC DBMS_AQADM.CREATE_QUEUE( queue_name => 'INBOUND_Q', queue_table => 'INBOUND_QT' );
    EXEC DBMS_AQADM.START_QUEUE( queue_name => 'INBOUND_Q' );
    create or replace and compile java source named java_test as
    import java.sql.*;
    import oracle.jdbc.*;
    import oracle.jdbc.aq.*;
    public class TestClient
    public static void enqueueAQMessage( java.lang.String queueName, oracle.sql.RAW payload ) throws SQLException
    try
    OracleConnection conn = ( OracleConnection ) DriverManager.getConnection("jdbc:default:connection:");
    System.out.println( "OracleConnection obtained" );
    AQMessageProperties msgprop = AQFactory.createAQMessageProperties();
    System.out.println( "AQMessage properties constructed" );
    AQMessage mesg = AQFactory.createAQMessage( msgprop );
    mesg.setPayload( payload );
    System.out.println( "AQMessage constructed" );
    AQEnqueueOptions enqopts = new AQEnqueueOptions();
    conn.enqueue( queueName, enqopts, mesg );
    System.out.println( "AQMessage enqueued" );
    conn.commit();
    System.out.println( "Session committed" );
    conn.close();
    System.out.println( "OracleConnection closed" );
    catch( Exception e )
    e.printStackTrace();
    create or replace procedure test_java_enqueue_message(p_queuename varchar2, p_body raw) is
    language java name 'TestClient.enqueueAQMessage( java.lang.String, oracle.sql.RAW )';
    begin
    dbms_java.set_output(100000);
    test_java_enqueue_message(p_queuename => 'AQ.INBOUND_Q',
    p_body => utl_raw.cast_to_raw( 'Hello World' ) );
    end;
    /

    Hi all,
    By the way, I do understand that this ability isn't supported in the server-side driver ...( although I am kind of curious as to why )...
    If I change the Connection URL to use the jdbc:oracle:thin driver it does work... (can't get the oci driver to work though).
    Ah well, regards to all...
    Rhodry

Maybe you are looking for