Business Events missed by ESB

Hi
I am on SOA 10.1.3.3 and Oracle applications 11.5.10.2. We have an esb processs listening to an event on WF_DEFERRED queue on EBS. ESB is using Oracle Apps Adapter service.
We are generating custom events based on business conditions in Oracle apps. What we have seen is even though the custom events are getting raised and processed by Oracle workflow, ESB doesnt catch it and there is no instance seen on ESB console. This doesnt happen all the time. Most of the time this service works for few times it either skips events or sometimes stops working completely (doesnt catch any event). One of the workadround that we have seen is to restart SOA suite.
If anyone has seen similar behavior, please let me know
Thanks
mehul

Hi.
I would suggest you to look for any suspicious messages in logs:
SOA_HOME\j2ee\oc4j_name\log\oc4j_name_default_group_1\oc4j
SOA_HOME\opmn\logs
Denis

Similar Messages

  • APPS Adapter (ESB) error while reading standard business event

    Hi,
    I tested the sample services on TEST (myhost:7780) to consume the standard business event (oracle.apps.ar.hz.PartySite.create). Following exceptions are logged in j2ee log files (Section-1). The business event message is also rejected (see section-2).
    Does anyone in this forum ever faced this issue OR any idea to address this issue more correctly.
    If you want I can provide the sample service deatail in email.
    J2ee Logs (Section-1)
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-09-28T19:15:08.676-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="WARNING"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>myhost</HOST_ID>
    <HOST_NWADDR>212.112.194.34</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>80</THREAD_ID>
    <USER_ID>oracle</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>212.112.194.34:69270:1191017705321:68</UNIQUE_ID><SEQ>7043</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Caught PCRetriableResourceException, reject/retry the message</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[ORABPEL-12600
    Generic error.
    java.lang.NullPointerException
    at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.processMessage(ESBListenerImpl.java:368)
    at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.onMessage(ESBListenerImpl.java:295)
    at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:293)
    at oracle.tip.adapter.apps.AppsMessageEndpointImpl.onMessage(AppsMessageEndpointImpl.java:89)
    at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.doRaise(AQActivationSpecDequeuer.java:375)
    at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.raiseInboundInteraction(AQActivationSpecDequeuer.java:314)
    at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.raise(AQActivationSpecDequeuer.java:246)
    at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.run(AQActivationSpecDequeuer.java:225)
    at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
    at java.lang.Thread.run(Thread.java:595)
    Please create a Service Request with Oracle Support.
    at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.processMessage(ESBListenerImpl.java:388)
    at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.onMessage(ESBListenerImpl.java:295)
    at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:293)
    at oracle.tip.adapter.apps.AppsMessageEndpointImpl.onMessage(AppsMessageEndpointImpl.java:89)
    at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.doRaise(AQActivationSpecDequeuer.java:375)
    at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.raiseInboundInteraction(AQActivationSpecDequeuer.java:314)
    at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.raise(AQActivationSpecDequeuer.java:246)
    at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.run(AQActivationSpecDequeuer.java:225)
    at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
    at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.processMessage(ESBListenerImpl.java:368)
    ... 12 more
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-09-28T19:15:08.677-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>myhost</HOST_ID>
    <HOST_NWADDR>212.112.194.34</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>80</THREAD_ID>
    <USER_ID>oracle</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>212.112.194.34:69270:1191017705321:68</UNIQUE_ID><SEQ>7043</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Exception in onMessage. Rejecting the message now</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[java.lang.NullPointerException
    at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.recordException(ESBListenerImpl.java:324)
    at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.onMessage(ESBListenerImpl.java:299)
    at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:293)
    at oracle.tip.adapter.apps.AppsMessageEndpointImpl.onMessage(AppsMessageEndpointImpl.java:89)
    at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.doRaise(AQActivationSpecDequeuer.java:375)
    at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.raiseInboundInteraction(AQActivationSpecDequeuer.java:314)
    at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.raise(AQActivationSpecDequeuer.java:246)
    at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.run(AQActivationSpecDequeuer.java:225)
    at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
    at java.lang.Thread.run(Thread.java:595)
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    Reject Message Section-2
    <WF_EVENT_T xmlns="http://xmlns.oracle.com/xdb/APPS">
    <PRIORITY xmlns="">50</PRIORITY>
    <SEND_DATE xmlns="">2007-09-28T19:13:22.000-04:00</SEND_DATE>
    <RECEIVE_DATE xmlns="">2007-09-28T19:15:08.000-04:00</RECEIVE_DATE>
    <CORRELATION_ID xmlns=""></CORRELATION_ID>
    <PARAMETER_LIST xmlns="">
    <PARAMETER_LIST_ITEM>
    <NAME>USER_ID</NAME>
    <VALUE>1395</VALUE>
    </PARAMETER_LIST_ITEM>
    <PARAMETER_LIST_ITEM>
    <NAME>RESP_ID</NAME>
    <VALUE>50360</VALUE>
    </PARAMETER_LIST_ITEM>
    <PARAMETER_LIST_ITEM>
    <NAME>RESP_APPL_ID</NAME>
    <VALUE>660</VALUE>
    </PARAMETER_LIST_ITEM>
    <PARAMETER_LIST_ITEM>
    <NAME>SECURITY_GROUP_ID</NAME>
    <VALUE>0</VALUE>
    </PARAMETER_LIST_ITEM>
    <PARAMETER_LIST_ITEM>
    <NAME>ORG_ID</NAME>
    <VALUE>103</VALUE>
    </PARAMETER_LIST_ITEM>
    <PARAMETER_LIST_ITEM>
    <NAME>PARTY_SITE_ID</NAME>
    <VALUE>217048</VALUE>
    </PARAMETER_LIST_ITEM>
    </PARAMETER_LIST>
    <EVENT_NAME xmlns="">oracle.apps.ar.hz.PartySite.create</EVENT_NAME>
    <EVENT_KEY xmlns="">oracle.apps.ar.hz.PartySite.create112538</EVENT_KEY>
    <EVENT_DATA xmlns=""></EVENT_DATA>
    <FROM_AGENT xmlns="">
    <NAME>WF_BPEL_QAGENT</NAME>
    <SYSTEM>ECSTST2.ARROW.COM</SYSTEM>
    </FROM_AGENT>
    <TO_AGENT xmlns=""/>
    <ERROR_SUBSCRIPTION xmlns="">okUY5xyheOjgMCOCKYkzaQ==</ERROR_SUBSCRIPTION>
    <ERROR_MESSAGE xmlns=""></ERROR_MESSAGE>
    <ERROR_STACK xmlns=""></ERROR_STACK>
    </WF_EVENT_T>
    Thanks in Advance.
    --KB                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi
    I've recently had issues with the Apps Adapter for event listening when i upgraded to 10.1.3.3
    There have been problems with the way the namespace is derived. I applied patch 6267726 and now it works great!
    When I create a new listener for an event, a new xsd is created, specific to the name of the adapter process in EBS and henceforth the payload has that specific namespace attached. For example:
    http://xmlns.oracle.com/xdb/APPS/ListenForOrganizationCreate
    Events then get raised that reflect that namespace. XSL transformations then need to reflect that namespace in your routing rules.
    It may be that the XSLT mappings are expecting a different namespace than you are receiving..
    Give the patch a try if you are on 10.1.3.3 and then try and rebuild a process from scratch to see if it works.
    Chris

  • Missing iView for Business Events in MSS 1.31

    Hi,
    We made an upgrade from ERP 4.7 to ECC 6.0, and we can't find the iView "Business Events". Do you know if this service still valid in the version 1.31 of MSS?. In the previous version the tecnical name of the service was com.sap.pct.hcm.eeprofileeventdetails.
    Thanks in advance.
    Kind regards,
    Carlos.

    Hi Carlos
    I think this is now part of the SAP Learning Solution - at least delivered iviews in MSS require
    Learning Solution infotypes to be populated
    The equivalent in ERP2005 would be
    com.sap.pct.erp.mss.personneldev_trainingactivities
    Best wishes
    Stuart

  • Unable to configure Oracle Applications Adapter to capture Business Event

    Hi All,
    I am new to SOA and BPEL so please bare that in mind when reading and responding to this post.
    I am attempting to trigger BPEL from an EBS business event as per the SOA gateway developers guide.
    I am working on EBIZ R12.1.2, 11g weblogic, Jdev 11g release 1
    Step 1. I have enabled the business event oracle.apps.per.api.employee.create_employee and created a subscription from the integration repository which I can see from the business events subscription window.
    Step 2. I have created a new SOA project in JDev with an empty composite and added a BPEL process and called it createOrsResource.
    Step 3. Following this I opened the BPEL process and added in an applications adapter and set this up to interact with the WSDL that I got from going through the adapter configuration wizard (i.e. selected the business event detailed above).
    I then tried to compile and got the following error:
    Error: Load of wsdl "createEmployeeEvent.wsdl with Message part element undefined in wsdl [file:/D:/jdev_home/mywork/IntegrationApplication/integrationExample/createEmployeeEvent.wsdl] part name = WF_EVENT_T     type = {http://xmlns.oracle.com/xdb/APPS/createEmployeeEvent}WF_EVENT_T" failed
    This is obviously something to do with the business event message type that materialized when I selected the business event in the Adapter Config Wizard.
    I went back into the Apps Adapter and checked the config, when I clicked next .. next .. next etc... through the wizard just before hit the schema definition page I got the following error:
    null file is either missing or is corrupt.
    This schema defines the stricture of wf event. Wizard would not be able
    to edit the service
    Also when I tried to add an assign activity using the WF_EVENT_T as an input to another variable I got the following WF_EVENT_T node in the left mapping window:
    Exception: Unable to parse schema APPS_WF_EVENT_T_createEmployeeEvent.xsd
    Can anyone point me in the right direction???
    Keith

    Tapas123 wrote:
    Hi Osama,
    Database is working perfectly fine in my machine. Please let me know the procedure to fix the client issue , if you know.
    Thanks.It is not - else you would not have posted this thread. Home version architecture differs significantly from Professional version and higher, especially in the area of User Access Control. It is tough enough to try and solve issues on certified/supported OS versions/hardware, let alone on uncertified/unsupported ones ;-)
    http://en.wikipedia.org/wiki/Windows_7_editions
    http://docs.oracle.com/cd/E11882_01/install.112/e24187/pre_install.htm#CIHIAGFG
    Pl use a supported OS version
    HTH
    Srini

  • Business Event not triggering the SOA BPEL Process with OA Adapter

    Hello Gurus,
    I am working on Business event "oracle.apps.per.api.employee.create_employee" and the event is getting triggered when creating an employee from EBS.
    The message has come till WF_BPEL_QTAB(I could seeit) and in "READY" status.We have a SOA BPEL Process that is subscribed to the event "oracle.apps.per.api.employee.create_employee" using OA Adapter.
    The issue is that the SOA BPEL process is not getting triggered and it is not dequeing the message from WF_BPEL_Q.
    Please let me know if I have missed any steps on SOA BPEL side.
    Note: Agent Listener is up and running.
    Thanks,
    Sunil

    Ofcourse, I subscribed to the business event using BPEL. Ideally the instances should be created and I should be able to receive the standard payload.
    Yes the JNDIs are correct. We have other business events working in the same fashion and we are using same JNDI.

  • Training & Event Management - ERROR while creating a Business Event

    Dear All,
    My issue is - i have created my Business event groups n event types. when i right click on BET (or PV10) and create With/WIthout resources i am unable to save. i.e. i am unable to create a Business Event. when i click on save the screen doesnt get saved and the business event is not created under BET.
    But the icon pops at the Location. i have created few Locations via OOLC too
    Is there any setting iam missing?? Request your help to get this resolved.
    Thanks
    Priya R

    Hello Experts,
    Can you help me in creating a job in HR.
    I am trying to create job through Expert Mode, but I am
    getting an error as “object type C info type 1000 cannot maintained via basic transactions”
      Waiting for your valuable reply…

  • Migrating a New Subscription in the Business Event

    We have created a new subscription for an existing business event. We need to migrate the subscription to the test and other instances.
    Download Subscription :-_
    *$AFJVAPRG oracle.apps.fnd.wf.WFXLoad -d <apps> <apps_pwd> <machine_name:port_no:SID> thin US <Custom_File_Name>.wfx*
    SUBSCRIPTIONS <Business_Event_Name>
    download commands extracts the subscription successfully
    Upload Subscription :-_
    *$AFJVAPRG oracle.apps.fnd.wf.WFXLoad -u apps apps <machine_name:port_no:SID> thin US <Custom_File_Name>.wfx*
    The upload command says the subscription is loaded into database successfully. But when inspected from the Work Flow Administrator , the upload is failed to upload the new subscriptions.
    Can anybody tell me if I'm missing something here.
    Thanks

    Below are the information you requested.
    1> Customization Level for Business Event = Limit
    2> Customization Level for Subscription = User
    3> The new subscription was downloading along with the existing subscriptions. I was deleting all other and keeping only the new subscription in the download file.
    Output of the download :-_
    Oracle Workflow XML Loader 2.6.4.0.0
    Connecting to [email protected]:1560:MDEVC -- UTF8
    Connected to mdcora09.na.ops.local:1563:MDEVC
    Download completed successfully.
    Output of the force upload :-_
    Oracle Workflow XML Loader 2.6.4.0.0
    Connecting to [email protected]:1560:MDEVC -- UTF8
    Connected to mdcora09.na.ops.local:1563:MDEVC
    Loaded 1 object to the database...
    Upload completed successfully.
    The FORCE UPLOAD Command worked fine. Now I'm able to see the new subscription. I observed the PHASE is the primary Key here.
    Can you tell me whats the issue with ?
    Thanks

  • Apps/Business events/getting Event name in workflow?

    Hello,
    I've created a new workflow that is supposed to receive an event (specifically oracle.apps.gml.po.receipt), and I've subscribed that workflow that business event.
    Within the workflow itself, I am trying to determine what the event is that spawned the workflow. I had thought a call to wf_engine.getitemattrtext for EVENT_NAME would do it, but that's apparently not set yet, or something's broken. Within the workflow, I have an EVENT_NAME and EVENT_KEY attributes, but neither of them are populated.
    The workflow is being started, and processing ok...that is, the p_itemkey (containing the event key) seems to be populated.
    I'm on 11.5.9, OWF.G.
    Does anyone know what I might be missing?
    Thanks,
    Gordon

    To verify - is the Event Name property set to the EVENT_NAME attribute in the Event Details tab for the activity node in the WF Builder?

  • Short Dumps in standard HR Business Event Group/Event creation transactions

    Dear All,
    I m getting short dumps whlile executing standard HR transactions for Creation of Business Event Groups and Business Event Types. Attaching the Short Dump text herewith. Can anyone plz. help...
      An exception occurred that is explained in detail below.
      The exception, which is assigned to class 'CX_SY_DYNAMIC_OSQL_SEMANTICS', was
       not caught in
      procedure "RH_BASE_READ_INFTY_NNNN" "(FUNCTION)", nor was it propagated by a
       RAISING clause.
      Since the caller of the procedure could not have anticipated that the
      exception would occur, the current program is terminated.
      The reason for the exception is:
      Eine Open SQL-Klausel wurde dynamisch angegeben. Der darin auftretende
      Feldname "SUBTY" kommt in keiner der Datenbanktabellen aus der
      FROM-Klausel vor.
    Thanks and Regards,
    Sudipto.

    Hi,
    Check whether the OSS note 207515 is suitable for the below situation.
    Summary
    Symptom
    A dump occurs in program SAPLRHDB: DBIF_NTAB_TABLE_NOT_FOUND
    Additional key words
    RH_BASE_READ_INFTY_NNNN, LRHDBU16
    Cause and prerequisites
    The system wants to access table HRPnnnn  particularly by means of an entry in the infotype check table T777D. This access can be processed in various places, including in the profile generator. Here, a termination occurs if the 'ent' table/structure in the dictionary is no longer available. This generally affcts customer-specific infotypes. These have been created and possibly deleted again. However, the entry in table T777D is not available. You can also import the entry into another system with a transport of the table. If the HRP table/structure is then missing, a termination may also occur in this case.
    Solution
    You must check on an individual basis which infotype the termination refers to. If it is a customer-specific infotype, the customer is responsible for removing the cause of the termination. If the table entry is a 'remnant', the entry can simply be deleted.
    If the termination refers to an SAP structure, you should consult SAP before carrying out any further activities.
    Source code corrections
    Header Data
    Release Status: Released for Customer
    Released on: 23.03.2000  23:00:00
    Priority: Recommendations/additional info
    Category: Customizing
    Primary Component: PA-BC Basis
    Releases
    Release Independant
    Satya

  • Inbound  using Business Events

    Hi All,
    We have to develop an inbound interface using business event to get better asynchronous mode of process between the middleware and Ebusiness Suit. The previous design was using a stored procedure by passing input parameter as table type (We had header line and details information in 3 different table type). Now instead of calling stored procedure middleware(ESB) will trigger business event by passing the input parameter. Please let me know how can I achieve this.
    My main concern is if ESB is able to populate data via business event how can we process in our side.
    I am ok even if we can get the data as xml also,, Please tell me how to achieve.
    Please help.
    Thanks,

    Ayyapan wrote:
    Hi,
    I have to use business events to send concurrent program status.Could anyone help me out ?
    Sytem : R12
    linux env.
    Thanks.Please see "Business Events Region" in (System Administrator responsibility > Concurrent > Program > Define) window.
    Concurrent programs can be integrated with the Business Event System in Oracle Workflow. Business events can be raised at key points of the life cycle of a request to run a concurrent program. Users can subscribe to the business events and create their own business processes interacting with the concurrent programs.
    http://docs.oracle.com/cd/E18727_01/doc.121/e12893/T174296T174301.htm
    http://docs.oracle.com/cd/E18727_01/doc.121/e12897/T302934T458252.htm
    Thanks,
    Hussein

  • Issues With ADF-BC Business Events.

    Hi All,
    I was just trying out how ADF-BC business events works, so tried to create a small application based on scott.EMP table.
    In the EmpEO entity, created and published a new business event for employee creation.
    However, when I run the AM Tester to see how it works, I faced the 'Business Event Connection Configuration Invalid' error.
    The detailed log is as follows:
    [53] executeQueryForCollection ViewObject:EmpVO1, RowSet:EmpVO1
    [54] EmpVO1>#q computed SQLStmtBufLen: 204, actual=177, storing=207
    [55] SELECT EmpEO.EMPNO, EmpEO.ENAME, EmpEO.JOB, EmpEO.MGR, EmpEO.HIREDATE, EmpEO.SAL, EmpEO.COMM, EmpEO.DEPTNO FROM EMP EmpEO
    [56] ViewObject: [model.EmpVO]AppModule.EmpVO1 Created new QUERY statement
    [57] Bind params for ViewObject: [model.EmpVO]AppModule.EmpVO1
    [58] DBTransactionImpl.mDefaultSparseArrayThreshold is 20
    [59] **** refreshControl() for BindingContainer :AppModule_EmpVO1_0PageDef
    [60] *** DCDataControl.sync() called from :DCBindingContainer.refresh
    [61] **** refreshControl() for BindingContainer :AppModule_EmpVO1_0PageDef
    [62] *** DCDataControl.sync() called from :DCBindingContainer.refresh
    [63] INFO: No app def in BindingContext for: adfFacesContext
    [64] INFO: mDCRefMap lookup failed. Does the cpx have a dataControlUsages 'dc' entry? adfFacesContext
    [65] INFO: No app def in BindingContext for: adfFacesContext
    [66] INFO: mDCRefMap lookup failed. Does the cpx have a dataControlUsages 'dc' entry? adfFacesContext
    [67] DBG: beforeActionPerformed :javax_swing_JToolBara1_16
    [68] OracleSQLBuilder: SAVEPOINT 'BO_SP'
    [69] OracleSQLBuilder Executing, Lock 2 DML on: EMP (Insert)
    [70] INSERT buf EmpEO>#i SQLStmtBufLen: 210, actual=43
    [71] INSERT INTO EMP(EMPNO,ENAME) VALUES (:1,:2)
    [72] Insert binding param 1: 9116
    [73] Insert binding param 2: lk
    [74] Attempting to queue business event: model.EmpEO.EmpCreate
    [75] Successfully queued business event: EmpCreate
    [76] Attempting to raise business event: {http://model/events/edl/EmpEO}EmpCreate
    INFO: Looking for BusinessEventConnectionFactory
    INFO: Looking for EDN-DB JNDI configuration to create SAQRemoteBusinessEventConnectionFactory.
    *INFO: Unable to create SAQRemoteBusinessEventConnectionFactory: [jdbc/EDNSource or jdbc/EDNDataSource] undefined.*
    INFO: Looking for EDN-JMS JNDI configuration to create JMSRemoteBusinessEventConnectionFactory.
    *INFO: Unable to create JMSRemoteBusinessEventConnectionFactory: [java:comp/UserTransaction] undefined.*
    *INFO: Unable to create JMSRemoteBusinessEventConnectionFactory: [jms/fabric/EDNConnectionFactory] undefined.*
    INFO: Failed to get ConnectionFactory instance.
    [77] Batch Warning:Business Event Connection Configuration Invalid
    [78] * * * BindingContainer caching EXCEPTION:oracle.jbo.JboException
    [79] java.lang.NullPointerException
         at oracle.jbo.server.EventInvocation.raiseEvent(EventInvocation.java:513)
         at oracle.jbo.server.EntityImpl.raiseEvents(EntityImpl.java:7724)
         at oracle.jbo.server.EntityImpl.afterCommit(EntityImpl.java:7329)
         at oracle.jbo.server.DBTransactionImpl.doAfterCommit(DBTransactionImpl.java:2285)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2176)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2369)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1608)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    [80] DCBindingContainer.reportException :oracle.jbo.JboException
    [81] oracle.jbo.JboException: Business Event Connection Configuration Invalid     
    at oracle.jbo.server.EventInvocation.raiseEvent(EventInvocation.java:521)
         at oracle.jbo.server.EntityImpl.raiseEvents(EntityImpl.java:7724)
         at oracle.jbo.server.EntityImpl.afterCommit(EntityImpl.java:7329)
         at oracle.jbo.server.DBTransactionImpl.doAfterCommit(DBTransactionImpl.java:2285)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.lang.NullPointerException
         at oracle.jbo.server.EventInvocation.raiseEvent(EventInvocation.java:513)
         ... 40 more
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.jbo.server.EventInvocation.raiseEvent(EventInvocation.java:513)
         at oracle.jbo.server.EntityImpl.raiseEvents(EntityImpl.java:7724)
         at oracle.jbo.server.EntityImpl.afterCommit(EntityImpl.java:7329)
         at oracle.jbo.server.DBTransactionImpl.doAfterCommit(DBTransactionImpl.java:2285)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2176)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2369)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1608)
         at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1416)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    And when I tried to create a new employee from a JSF page, I get the following error:
    Target URL -- http://127.0.0.1:7101/BusinessEventsApplication-ViewController-context-root/faces/CreateEmployee.jspx
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: oracle/fabric/blocks/event/BusinessEventConnectionFactory
    java.lang.NoClassDefFoundError: oracle/fabric/blocks/event/BusinessEventConnectionFactory
         at oracle.jbo.server.EventInvocation.raiseEvent(EventInvocation.java:513)
         at oracle.jbo.server.EntityImpl.raiseEvents(EntityImpl.java:7724)
         at oracle.jbo.server.EntityImpl.afterCommit(EntityImpl.java:7329)
         at oracle.jbo.server.DBTransactionImpl.doAfterCommit(DBTransactionImpl.java:2285)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2176)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2369)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1608)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: java.lang.ClassNotFoundException: oracle.fabric.blocks.event.BusinessEventConnectionFactory
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         ... 65 more
    Could you please tell me what I am missing, as I cant find any documentation which says anything about these errors. I tried added 'SOA Runtime' library to both model and UI project but still it did not work out.

    This is the configuration of the global data source I created earlier when BE worked:
    EDNSource
    JNDI Name: jdbc/EDNSource
    URL: jdbc:oracle:thin:@localhost:1521:orcl
    Driver Class Name: oracle.jdbc.xa.client.OracleXADataSource
    user= DEV_SOAINFRA
    EDNDataSource
    JNDI Name: jdbc/EDNDataSource
    URL: jdbc:oracle:thin:@localhost:1521:orcl
    Driver Class Name: oracle.jdbc.xa.client.OracleXADataSource
    user= DEV_SOAINFRA
    So now to test local data sources, I deleted the above to data sources and created the following data source (non-XA) having configuration listed below:
    EDNSource
    JNDI Name: jdbc/EDNSource
    URL: jdbc:oracle:thin:@localhost:1521:orcl
    Driver Class Name: oracle.jdbc.OracleDriver
    user= DEV_SOAINFRA
    This is what happens when I raise the business event with EDNSource data source using non-XA data source with class 'oracle.jdbc.OracleDriver'
    Target URL -- http://127.0.0.1:7101/BusinessEventsApplication-ViewController-context-root/faces/CreateEmployee.jspx
    <JmsBusinessEventBusMessages> <warnUsingOldDatasoureNames> Couldn't find the required datasources, but found them via the old names. Please update your datasource configurations.
    <JmsBusinessEventBusMessages> <warnUsingGlobalDatasourecForLocal> Local Tx Datasource not found, using XA datasource. Please update your configuration.
    Looks like ENDSource is old name of the driver and the new name is EDNDataSource, so created a new data source with name EDNDataSource (after deleting previous data source EDNSource) with the following configuration:
    EDNDataSource
    JNDI Name: jdbc/EDNDataSource
    URL: jdbc:oracle:thin:@localhost:1521:orcl
    Driver Class Name: oracle.jdbc.OracleDriver
    user= DEV_SOAINFRA
    Target URL -- http://127.0.0.1:7101/BusinessEventsApplication-ViewController-context-root/faces/CreateEmployee.jspx
    <JmsBusinessEventBusMessages> <warnUsingGlobalDatasourecForLocal> Local Tx Datasource not found, using XA datasource. Please update your configuration.
    The warning still comes. Luckily, its just a warning and not an error. ;)

  • Business Events Data Not Dequeuing

    Hi ,
    We would like to capture a few business events in oracle BOM and PO that are of interest to us. In order to do this,
    we deploy oracle SOA composite with BEPL in the Oracle Fusion Middleware Control. The oracle SOA composite is configured for a particular outbound business event. It should listens on a specific queue WF_BPEL_Q or WF_BPEL_QTAB and de-queues the messages from that Oracle Queue or Oracle AQ Table. In jDeveloper 11g we created a SOA project with oracle applications adapter partner link and a BPEL Process with a receive acvity.
    Specifically we are trying to capture the business outbound event oracle.apps.bom.component.modified just to get the event data in this receive.
    Partner link configuration: We added the database connection to the oracle EBS instance. Tested it and we
    succeded. Chose ANY_SCHEMA in partner link configuration.
    We ensured that the JNDI Name here( eis/Apps/Apps ) match the JNDI name provided in the weblogic-->Deployments--
    OracleAppsAdapter -->Configuration --> Outbound Connection Pools. For this outbound resource pool, Connection factory interface was javax.resource.cci.ConnectionFactory. Property name xADataSourceName was mapped to JNDI name of the configured JDBC datasource in the weblogic. When we created the connection pool. We tested and it worked fine. This data source had the connection pool configured to the oracle applications schema with APPS user.
    After adding the partner link with the above configuration, we added a receive. We deployed this configuration to the middleware. We went to the oracle EBS modified a BOM component and we expected to having running BPEL instances against the deloyed composite. However, the problem is we are not having any running instance for the composite.
    We found that there are entries in the view AQ$WF_BPEL_QTAB with an ENQ_TIME and ENQ_TIMESTAMP but with no DEQ_TIME or DEQ_TIMESTAMP. The ENQ_TIMESTAMP corresponds to the time we modified BOM in oracle BOM forms/Designer and MSG_STATE is READY
    The data is being written in WF_BPEL_QTAB for the BOM changes but not getting dequeued by oracle applications adapter/composites deployed in soa server.
    Please help me it quite urgent.
    Is there anything we are missing on EBS side to be activited for the events to be dequeued
    Any Help is appreciated.
    Abhinav
    Edited by: Abhinav on Jul 6, 2012 10:08 AM

    Hi
    I am able to dequeue the data using manual event testing button. BPEL instance are being created now.
    But now no records are being inserted in WF_BPEL_QTAB if i change any Oracle BOM component using Oracle EBS which was working till yesterday.
    In morning there were more than 100 records in WF_BPEL_QTAB as i have tested so many time changing bom component. I used this script
    DECLARE
    *     po dbms_aqadm.aq$_purge_options_t;*
    BEGIN
    po.block := FALSE;
    DBMS_AQADM.PURGE_QUEUE_TABLE(
    queue_table     => 'WF_BPEL_QTAB',
    purge_condition => NULL,
    purge_options   => po);
    END;
    after that Records are not gettingin WF_BPEL_QTAB when BOM Changes in Oracle EBS
    Problem Description
    we need to listen to the outbound business events of Oracle EBS for BOM/PO modules .
    we have created a subscription for the oracle.apps.bom.component.modified by using Oracle Apps Adapter in SOA Suite.
    1.
    When we are testing oracle.apps.bom.component.modified from(Business Events--Events ---TestBusiness Events) by giving
    dummy event key , send date, and xml payload and then click on Rainse in Java.
    Then a two records are being created in WF_BPEL_QTAB table and are getting polled by Oracle Apps adapter and two BPEL Instances
    are being created in SOA Suite showing the dummy payload which we entered while doing Business Event testing sigle time only.
    No record is being created in WF_BPEL_QTAB of oracle EBS if we hit Raise in PL/SQL. tab while doing manual event testing.
    2.
    If we open Oracle BOM form(Responsibilty-Bills of Material -Bills -Bills of Material SV1) and change the component and save it.
    No record entry/data is being created in WF_BPEL_QTAB of Oracle EBS .
    Why there is no record entry being created when we change any component from Oracle BOM Form.
    Edited by: Abhinav on Jul 6, 2012 2:38 PM

  • Create Business Event

    Hi all,
      I wanted to add a Subtype in the Overview screen of the Create Business Event without resources screen. Is there any standard table where we can maintain the list of subtypes to be displayed in the overview screen.
    I tried to debug but in vain.
    Thanks in advance,
    Arunsri

    Hi Priya,
      Thanks for your timely reply. I tried that earlier but it is not reflecting in the  overview screen.
    Could you please let me know what i am missing?
    E     Create Course     260     **     E     1001     A026                INSE
    Thanks,
    Sri

  • Business Events : Oracle Advanced Product Catalog - Version: 11.5

    Hi
    We are using EBS R11.5.10.2
    I am not able to see any events related to Oracle Advanced Product Catalog when I try to search in Business Events.
    Events I am looking to find
    oracle.apps.ego.item.postItemCreate
    oracle.apps.ego.item.postItemUpdate
    Please let me know if we need to install any patch and what is missing ?
    Thanks,
    Rahul

    Hi Rahul,
    If you cannot find those business events then you need to apply a patch -- Product Data Is Not Synchronized From E-Business Suite To Siebel CRM On-Demand [ID 549035.1]
    I could not find any patch number for those events in MOS website for Oracle Apps 11i -- There are patches for R12 but it is not applicable.
    Please log a SR and Oracle support should provide you with the correct patch you need to apply.
    Thanks,
    Hussein

  • Notification Business Events

    Hi,
    I remember reading in the documentation that the Business Event System has a set of pre-defined events that correspond to Notification events like send, respond, cancel etc.
    (Unfortunately I am not able to locate the exact document in which I had seen this listing).
    The problem is that I am not able to find any notification related events in the business event list of my workflow installation.
    I have installed WF 2.6.2 from ias902int(egration)cd into a 9.0.1.3.0 infrastructure db.
    Notification Business Events would have been an extremely useful feature to have...Could anyone please tell me why I am not able to find these events? Am I doing something wrong or do they not exist in this version?
    TIA,
    regards,
    Libin

    Hi Raja,
    Thank you for your response. I was able to find the listing in the workflow guide.
    But I am not able to find these events in my installation.
    I have used wfver.sql to double check that the version is indeed 2.6.2. There were no errors raised during installation and so far the schema appears to be fully functional.It is just that these particular events are missing.
    Would you know how I could get these events inside the installation(any patch/upgrade etc)?
    thanks and regards,
    Libin
    =============
    This is a listing of events already present:
    oracle.apps.wf.event.agent.create
    oracle.apps.wf.event.agent.delete
    oracle.apps.wf.event.agent.update
    oracle.apps.wf.event.all.sync
    oracle.apps.wf.event.any
    oracle.apps.wf.event.event.create
    oracle.apps.wf.event.event.delete
    oracle.apps.wf.event.event.update
    oracle.apps.wf.event.group.all
    oracle.apps.wf.event.group.create
    oracle.apps.wf.event.group.delete
    oracle.apps.wf.event.group.update
    oracle.apps.wf.event.subscription.create
    oracle.apps.wf.event.subscription.delete
    oracle.apps.wf.event.subscription.update
    oracle.apps.wf.event.system.create
    oracle.apps.wf.event.system.delete
    oracle.apps.wf.event.system.signup
    oracle.apps.wf.event.system.update
    oracle.apps.wf.event.test.ack
    oracle.apps.wf.event.test.ping
    oracle.apps.wf.event.unexpected
    oracle.apps.wf.event.wf.ack
    oracle.apps.wf.event.wf.send
    demo.oracle.wf.b2b.po.ack
    demo.oracle.wf.b2b.po.asn
    demo.oracle.wf.b2b.po.create
    demo.oracle.wf.b2b.po.invoice
    oracle.apps.wf.public.user.change
    oracle.apps.wf.app.user.change
    oracle.apps.fnd.user.created
    oracle.apps.fnd.security.user.assignment.change
    oracle.apps.wf.callback.delay

Maybe you are looking for

  • Do I need to remove the older version of firefox before installing a new version? If so, then how much do I remove, and how?

    I have an older version of Firefox and adobe on a Sony VAIO. I keep getting pop-ups telling me to upgrade, and also frequent failures when I try to use the browser. I try to upgrade. I go thru the download step, then try the run step and get a messag

  • How to send mail using transaction SBWP in HTML format?

    Dear All,    When a mail is sent through SBWP transaction in HTML format, it is finally displayed in text format with html tags, instead of being displayed in html format. how to retain its HTML format? Please suggest some solution. Thanks in advance

  • Concurrency question

    interface messageInterface{    getMessage( message ) class B implements messageInterface{    private int A;    private int B;    public synchronized it(parmA, parB){       A=parmA;       B=parmB;       sendMessage();   // get message from server    p

  • IPad backup to time capsule via 3G network

    Is it possible to back up iPad data whilst on the road?

  • Checking filed data in structure

    Hi all,       I have been a structure name in which some of the fields i need to pull out and mapthem. but i need to check whether the data is available in those fields or not for the HR. can any one tell me how to check data in a structure. John.