Oracle CEP 10.3 Event Sink Issue

Hi,
I am use Oracle CEP 10g R3 for filtering RFID events from a ALE Processor. I have written the CEP query "INSERT INTO JMSEvent
               SELECT epcTAG,deviceID,timestamp FROM JMSEvent RETAIN 100 EVENTS WITH UNIQUE epcTAG GROUP BY epcTAG,
               deviceID, timestamp having count(*) >= 0 "
The message onEvent() gets fired mupltiple times for the implemented class of EvenSink. Do I need to enable the Cache or make any necessay changes in the config side to make the query execute only once. Please let me know.
Thanks in advance,
Arijit De

I think it should be out end of this month (June '10).

Similar Messages

  • Basic questions about Oracle CEP

    Hi there,
    We are considering different alternatives for handling some business rules for our educational platform and I am not sure Oracle CEP would be a viable option (I have read a few things on the internet about it), let me elaborate:
    We have users being trained on different devices/clients (Mobile, Websites, Offline training), all these clients are sending data to our LRS system (TinCan API). We have about 20 million new events every month (we call them Statements, according to TinCan API terminology).
    We are looking for a solution where we could:
    Handle up to 2.000 events per second (peak usage);
    Be able to restore from disasters (is replaying all events the ONLY option? It would take ages to reply the last, say, 2 years of events);
    The Derives we want to get come from different Detections, examples:
    Has this particular user achieved a set of pre-defined goals (ordering does not matter )? --> So issue him BADGE A;
    Has this particular user finished training 1 in the last 180 days and training 2 in the last 30 (now)? --> So issue him BADGE B;
    Does that user already have BADGE A and BADGE B and have finished training 1? --> So issue him BADGE C;
    Analyze only events which are now facts, in other words, events which are already in the DB, or that we can ensure will go to the DB, otherwise we can have fake BADGES;
    Allow the business user (the one responsible for the educational platform) to create (with little to no IT assistance) new rules and publish them into production easily. Because we add new training every week and so, we need this to be reflect in the CEP platform. Also, we could change the rules for issuing BADGES for 2015, for example.
    The architecture from 1 mile high is something like this:
    Where should we “plug” Oracle CEP? Of course, the more decoupled, the better.
    Any help would be really appreciated.
    Cheers

    Oracle Event Processing (OEP, formerly Oracle Complex Event Processing (CEP))  is a stand-alone server. It would go between your service bus (Tin Can) and the database. You might consider implementing the business rules engine with OEP. There was support added for that in OEP 12c.

  • How can I access the Oracle CEP from the a simple java code

    I want to access the current values in coherence cache and show those in a screen. So for that I want to create a java class which can access the Coherence cache of the CEP application and get the current values in the Cache.
    Do anyone had any sample code for this, or any idea how to do this.

    As mentioned, you can use Spring to pass a reference to your cache to an event bean as shown below.
    Once you have a reference to the cache you can use whatever Coherence APIs you need.
    For example: get an object based on the key, perform an invoke, or a query to get the values that you want to display.
    Here's some sample code:
    IN EPN
    <wlevs:caching-system id="CoherenceCachingSystem" provider="coherence" />
    <wlevs:cache id="TransactionCache" caching-system="CoherenceCachingSystem"
              value-type="TransactionAmount" key-class="com.oracle.poc.event.TransactionAmountKey">                                   
    </wlevs:cache>
    <wlevs:event-bean id="TransactionCacheQuery" class="com.oracle.cep.eventbeans.TransactionCacheQuery">
         <wlevs:listener ref="P1TotalChannel" />
         <wlevs:instance-property name="transactionCache" ref="TransactionCache" />
    </wlevs:event-bean>
    EVENT BEAN:
    import com.tangosol.net.NamedCache;
    import com.tangosol.util.aggregator.DoubleSum;
    import com.tangosol.util.filter.EqualsFilter;
    public class TransactionCacheQuery implements StreamSource, StreamSink {
         private StreamSender streamSender_;
         @SuppressWarnings("unchecked")
         private Map transactionCache;     
         @SuppressWarnings("unchecked")
         public void setTransactionCache(Map transactionCache) {
              this.transactionCache = transactionCache;
         public void setEventSender(StreamSender sender) {
              streamSender_ = sender;
         public void onInsertEvent(Object event) throws EventRejectedException {
              if (event != null){
                   if (event instanceof MyEvent){
                        MyEvent my = (MyEvent)event ;
                        NamedCache cache = (NamedCache)transactionCache ;
                        Object totalAmount = cache.aggregate(
                                  new EqualsFilter("getACCT_NUMBER", my.getACCT_NUMBER()),
                                  new DoubleSum("getAmount"));
                        double transactionsTotal = 0.00 ;
                        if (totalAmount instanceof Double){
                             transactionsTotal = ((Double)totalAmount).doubleValue();
                        my.setTransactionsTotal(transactionsTotal);
                        // send new event to the processor
                        streamSender_.sendInsertEvent(my);     
    }

  • Incorreect event-key in oracle.apps.inv.lotCreate Event PL/SQL Rule Functio

    Hi,
    I have created event subscription as PL/SQL function for oracle.apps.inv.lotCreate Event.
    In this PL/SQL function, i am calling "getEventKey" method on WF_EVENT_T object obtained.
    However, value returned by this "getEventKey" method is incorrect. According to Oracle Inventory User Guide, event-key should be
    Organization_id-Item_id-Lot_number. However i am getting some six digit number which is neither Organization_id nor Item_id nor Lot_number.
    I am using Oracle E-Business suite Release 12.
    Please let me know if anyone has faced similar problems? what was cause of such problem?
    Any pointers regarding the issue will be highly appreciated.
    Let me know if you require more information.
    Thanks,
    Rohit

    Hi Steve,
    The test subscription is raising from the workflow administrator responsiibility but when I update the item attribute controls then the subscription is not raising and checked with the forms trace, there is no event is recorded in the trace. I am using 11.5.10 cu 2 version and suspecting still some setting might be missing for the inventory events.
    I wrote the following code for my initial testing to test the event subscription raising on the item update.
    CREATE OR REPLACE PACKAGE BODY APPS.schl_event_item_update_elt
    AS
    FUNCTION schl_item_attrib_update (p_subscription_guid IN raw,
    p_event IN OUT wf_event_t
    RETURN VARCHAR2
    IS
    l_key VARCHAR2 (240);
    l_key_stat VARCHAR2 (50);
    l_status_rec VARCHAR2 (50);
    l_org_id VARCHAR2 (240);
    BEGIN
    l_key := p_event.geteventkey ();
    INSERT INTO schl.schl_item_attrib_update
    VALUES (l_key);
    RETURN 'SUCCESS';
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    INSERT INTO schl.schl_item_attrib_update
    VALUES ('error');
    END;
    END;
    I would highly appreciate your thoghts on this.
    Thanks,
    Srini C

  • What should be configured as channel in Oracle CEP HTTP adapter for remote publishing?

    Hi,
    Below is the adapter configuration that I have for Oracle CEP HTTP adapter for remote publishing. What exactly should be configured in <channel> here? In the oracle documentation example, it only says /channel2 as an example.
    Below is the HTTP adapter configuration file that I have created.
    <?xml version="1.0" encoding="UTF-8"?>
    <wlevs:config xmlns:wlevs="http://www.bea.com/ns/wlevs/config/application">
        <http-pub-sub-adapter>
            <name>HttpPostAdapter</name>
            <server-url>http://localhost:8080/RESTfulWS/rest/UserInfoService/post/jsonstream</server-url>
            <channel>/RESTfulWS</channel>
            <event-type>com.wipro.event.ResultEvent1</event-type>
        </http-pub-sub-adapter>
    </wlevs:config>
    '/RESTfulWS' in my above configuration is the context-root of my rest service.But this is not working so I would like someone to help me understand this configuration.
    Many thanks.
    Regards
    Sowmya

    Hi, Sowmya,
    From your configuration
    Is the http://localhost:8080/RESTfulWS/rest/UserInfoService/post/jsonstream httppubsub server? I don't think the oep http pub adapter can publish event to rest service.
    For http pub adapter, you can take a look at fx sample, it publishes events to a embedded http pub/sub server of oep.
    Thanks,
    Gala

  • Oracle CEP error

    I am using ORalce WebLogic, ORacle CEP on WIndows
    I am also using the Eclipse 3.3.2 (Europa) version for ORacle CEP specifid in the Oracle CEP directions
    I also installe the ORacle CEP plu-in into Eclipse.
    I created a HelloWorld application, and ran it, it worked perfectly
    I then make minor chages to the HellowWOrld.context.xml file and Config.xml file to include JMS output according to the Oracle directions.
    The following is the HelloWorld.context.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:osgi="http://www.springframework.org/schema/osgi"
         xmlns:wlevs="http://www.bea.com/ns/wlevs/spring"
         xsi:schemaLocation="
      http://www.springframework.org/schema/beans
      http://www.springframework.org/schema/beans/spring-beans.xsd
      http://www.springframework.org/schema/osgi
      http://www.springframework.org/schema/osgi/spring-osgi.xsd
      http://www.bea.com/ns/wlevs/spring
      http://www.bea.com/ns/wlevs/spring/spring-wlevs.xsd">
         <wlevs:event-type-repository>
            <wlevs:event-type type-name="HelloWorldEvent">
                <wlevs:class>com.bea.wlevs.event.example.helloworld.HelloWorldEvent</wlevs:class>
            </wlevs:event-type>
        </wlevs:event-type-repository>
         <wlevs:adapter id="helloworldAdapter" class="com.bea.wlevs.adapter.example.helloworld.HelloWorldAdapter" >
            <wlevs:instance-property name="message" value="HelloWorld - the current time is:"/>
        </wlevs:adapter>
         <wlevs:adapter id="jmsOutbound" provider="jms-outbound"/>
         <wlevs:processor id="helloworldProcessor" />
         <wlevs:stream id="helloworldInstream">
              <wlevs:listener ref="helloworldProcessor" />
              <wlevs:source ref="helloworldAdapter" />
         </wlevs:stream>
         <wlevs:stream id="helloworldOutstream" advertise="true">
              <wlevs:listener ref="jmsOutbound" />
              <wlevs:source ref="helloworldProcessor" />
         </wlevs:stream>
    </beans>The following is the config.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <n1:config xmlns:n1="http://www.bea.com/ns/wlevs/config/application"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <processor>
              <name>helloworldProcessor</name>
              <rules>
                   <rule id="helloworldRule"><![CDATA[ select * from HelloWorldEvent retain 1 event ]]></rule>
              </rules>
         </processor>
         <jms-adapter>
              <name>jmsOutbound</name>
              <event-type>HelloWorldEvent</event-type>
              <jndi-provider-url>
                   t3://127.0.0.1:7001
              </jndi-provider-url>
              <destination-jndi-name>QueueOut</destination-jndi-name>
              <user>weblogic</user>
              <password>password</password>
              <delivery-mode>nonpersistent</delivery-mode>
         </jms-adapter>
         <stream>
              <name>helloworldOutstream</name>
              <max-size>10000</max-size>
              <max-threads>2</max-threads>
         </stream>
    </n1:config>
    </n1:config>The following is the resulting error:
    <May 15, 2009 4:02:09 AM EDT> <Notice> <evs4j> <BEA-2049007> <The cluster protocol is disabled>
    <May 15, 2009 4:02:12 AM EDT> <Notice> <Server> <BEA-2046000> <Server STARTED>
    <May 15, 2009 4:02:13 AM EDT> <Notice> <Server> <BEA-2045000> <The application bundle "HelloWorldJMS" was deployed successfully to file [C:\bea\user_projects\domains\CEP_DOM\defaultserver\applications\HelloWorldJMS\HelloWorldJMS.jar]>
    <May 15, 2009 4:02:13 AM EDT> <Notice> <Server> <BEA-2045000> <The application bundle "HelloWorldJMS" was deployed successfully to file:/C:/bea/user_projects/domains/CEP_DOM/defaultserver/applications/HelloWorldJMS/HelloWorldJMS.jar>
    <May 15, 2009 4:02:14 AM EDT> <Error> <org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext> <BEA-000000> <Post refresh error
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jmsOutbound': Post-processing of the FactoryBean's object failed; nested exception is java.lang.IllegalArgumentException: Error processing service annotation for [jmsOutbound] in bundle [HelloWorldJMS]
         at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:142)The EPN viewer displays correctly, with the helloworldAdapter, helloworldProcessor, and jmsOutboud objects all display in blue with their proper icons, and are properly connected.
    I changed none of the java code from the helloworkd source. The bean its refering to is the jmsOUtbound, and apparently so is the service annotation.
    Can anyone tell me how to resolve this problem ?
    I don't really see how this sould be a problem, as I was following the instructions explicitly.
    Thanks, Gideon
    Edited by: user10747262 on May 18, 2009 7:58 AM

    I had the wrong xml file in my post, I just edited it with the correct one. Does any one see what the problem is ?
    Thanks

  • SPATIAL : External fault handler failed: oracle.cep.execution.ExecException

    Hi,
    I am using a cartesian context with this content :
    <spatial:context id="Lambert1NORD" anyinteract-tolerance="0.01" cartesian="true"  srid="41013" tolerance="0.01"/>
    I want to detect if a point is anyinteracting a rectangle. Here are my two queries :
            <![CDATA[
                istream(
                select a.*, [email protected]D(a.x, a.y) as geometry ,[email protected]1NORD( 613000.0d, 146000.0d,618000.0d, 148000.0d) as rectangle
                from inputchannel[now] as a
                where a.x is not null and a.y is not null
            ]]>
        </view>
        <query id="QueryInput"><![CDATA[
               istream(
                select i.nom, i.refSource, i.dateCurrentPos, i.x, i.y, 0d as distance
                from ViewVehicule[now] as i
                WHERE ANYINTERACT@Lambert1NORD(i.geometry, i.rectangle, 5.0d)=true
                ]]></query>
    It seems to give my the first answer, but after I receive a big stack  with this :
    ontext for "ApplicationFormation1.Project3" was started successfully>
    VÚhicule: Acquisition Radar(S4) - CDG / ENV 7 : 04/09/2014 17:09:37 [0,000000]--
    > X=614373,500000 Y=146004,500000
    <Sep 4, 2014 5:05:38 PM CEST> <Warning> <CQLServerTrace> <BEA-000000> <External
    fault handler failed: oracle.cep.execution.ExecException: >
    <Sep 4, 2014 5:05:38 PM CEST> <Warning> <CQLServerTrace> <BEA-000000> <
    oracle.cep.execution.ExecException:
            at oracle.cep.execution.operators.Select.run(Select.java:468)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1080)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1062)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1140)
            at oracle.cep.execution.queues.DirectInteropQueue.runOperator(DirectInte
    ropQueue.java:573)
            at oracle.cep.execution.queues.DirectInteropQueue.enqueue(DirectInteropQ
    ueue.java:457)
            at oracle.cep.execution.queues.DirectInteropQueue.enqueue(DirectInteropQ
    ueue.java:84)
            at oracle.cep.execution.operators.RangeWindow.run(RangeWindow.java:537)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1080)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1062)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1140)
            at oracle.cep.execution.queues.DirectInteropQueue.runOperator(DirectInte
    ropQueue.java:573)
            at oracle.cep.execution.queues.DirectInteropQueue.enqueue(DirectInteropQ
    ueue.java:457)
            at oracle.cep.execution.queues.DirectInteropQueue.enqueue(DirectInteropQ
    ueue.java:84)
            at oracle.cep.execution.operators.ViewStrmSrc.run(ViewStrmSrc.java:341)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1080)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1062)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1140)
            at oracle.cep.execution.queues.DirectInteropQueue.runOperator(DirectInte
    ropQueue.java:573)
            at oracle.cep.execution.queues.DirectInteropQueue.enqueue(DirectInteropQ
    ueue.java:457)
            at oracle.cep.execution.queues.DirectInteropQueue.enqueue(DirectInteropQ
    ueue.java:84)
            at oracle.cep.execution.operators.IStream.run(IStream.java:304)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1080)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1062)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1140)
            at oracle.cep.execution.queues.DirectInteropQueue.runOperator(DirectInte
    ropQueue.java:573)
            at oracle.cep.execution.queues.DirectInteropQueue.enqueue(DirectInteropQ
    ueue.java:457)
            at oracle.cep.execution.queues.DirectInteropQueue.enqueue(DirectInteropQ
    ueue.java:84)
            at oracle.cep.execution.operators.Project.run(Project.java:459)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1080)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1062)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1140)
            at oracle.cep.execution.queues.DirectInteropQueue.runOperator(DirectInte
    ropQueue.java:573)
            at oracle.cep.execution.queues.DirectInteropQueue.enqueue(DirectInteropQ
    ueue.java:457)
            at oracle.cep.execution.queues.DirectInteropQueue.enqueue(DirectInteropQ
    ueue.java:84)
            at oracle.cep.execution.operators.Select.run(Select.java:553)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1080)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1062)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1140)
            at oracle.cep.execution.queues.DirectInteropQueue.runOperator(DirectInte
    ropQueue.java:573)
            at oracle.cep.execution.queues.DirectInteropQueue.enqueue(DirectInteropQ
    ueue.java:457)
            at oracle.cep.execution.queues.DirectInteropQueue.enqueue(DirectInteropQ
    ueue.java:84)
            at oracle.cep.execution.operators.RangeWindow.run(RangeWindow.java:537)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1080)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1062)
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1140)
            at oracle.cep.execution.queues.DirectInteropQueue.runOperator(DirectInte
    ropQueue.java:573)
            at oracle.cep.execution.queues.DirectInteropQueue.enqueue(DirectInteropQ
    ueue.java:457)
            at oracle.cep.execution.queues.DirectInteropQueue.enqueue(DirectInteropQ
    ueue.java:84)
            at oracle.cep.execution.operators.StreamSource.run(StreamSource.java:903
            at oracle.cep.execution.operators.ExecOpt.run(ExecOpt.java:1216)
            at oracle.cep.execution.ExecManager.runOperator(ExecManager.java:357)
            at oracle.cep.execution.operators.ExecOptTask.run(ExecOptTask.java:82)
            at oracle.cep.interfaces.input.QueueSource.putNext(QueueSource.java:423)
            at oracle.cep.interfaces.input.QueueSource.putNext(QueueSource.java:320)
            at oracle.cep.interfaces.input.QueueSource.putNext(QueueSource.java:267)
            at oracle.cep.execution.ExecManager.insertBase(ExecManager.java:1282)
            at oracle.cep.execution.ExecManager.insertFastBase(ExecManager.java:1392
            at oracle.cep.execution.ExecManager.insertFast(ExecManager.java:1335)
            at oracle.cep.server.CEPServer.executeDMLBase(CEPServer.java:327)
            at oracle.cep.server.CEPServer.executeDML(CEPServer.java:233)
            at oracle.cep.jdbc.CEPPreparedStatement.executeDMLBase(CEPPreparedStatem
    ent.java:978)
            at oracle.cep.jdbc.CEPPreparedStatement.executeDML(CEPPreparedStatement.
    java:919)
            at com.oracle.cep.processor.cql.impl.CQLEventReceiver.executeDMLBase(CQL
    EventReceiver.java:562)
            at com.oracle.cep.processor.cql.impl.CQLEventReceiver.sendToEngine(CQLEv
    entReceiver.java:523)
            at com.oracle.cep.processor.cql.impl.CQLEventReceiver.onInsertEvent(CQLE
    ventReceiver.java:259)
            at com.bea.wlevs.processor.impl.EventSenderImpl.sendInsertEventToListene
    r(EventSenderImpl.java:583)
            at com.bea.wlevs.processor.impl.EventSenderImpl.sendInsertEvent(EventSen
    derImpl.java:291)
            at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(Ab
    stractSendEventInterceptor.java:84)
            at com.bea.wlevs.eventstore.recplay.RecordPlaySendEventInterceptor.sendI
    nsertEvent(RecordPlaySendEventInterceptor.java:160)
            at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(Ab
    stractSendEventInterceptor.java:84)
            at com.bea.wlevs.eventinspector.EventInspectInterceptor.sendInsertEvent(
    EventInspectInterceptor.java:131)
            at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(Ab
    stractSendEventInterceptor.java:84)
            at com.bea.wlevs.monitor.internal.MonitorSendEventInterceptor.sendInsert
    Event(MonitorSendEventInterceptor.java:476)
            at com.bea.wlevs.channel.impl.ChannelImpl.onInsertEvent(ChannelImpl.java
    :459)
            at com.bea.wlevs.processor.impl.EventSenderImpl.sendInsertEventToListene
    r(EventSenderImpl.java:583)
            at com.bea.wlevs.processor.impl.EventSenderImpl.sendInsertEvent(EventSen
    derImpl.java:291)
            at com.bea.wlevs.ede.impl.EventSourceEventSenderImpl.sendInsertEvent(Eve
    ntSourceEventSenderImpl.java:85)
            at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(Ab
    stractSendEventInterceptor.java:84)
            at com.bea.wlevs.eventstore.recplay.RecordPlaySendEventInterceptor.sendI
    nsertEvent(RecordPlaySendEventInterceptor.java:160)
            at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(Ab
    stractSendEventInterceptor.java:84)
            at com.bea.wlevs.eventinspector.EventInspectInterceptor.sendInsertEvent(
    EventInspectInterceptor.java:131)
            at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(Ab
    stractSendEventInterceptor.java:84)
            at com.bea.wlevs.monitor.internal.MonitorSendEventInterceptor.sendInsert
    Event(MonitorSendEventInterceptor.java:476)
            at fr.adp.oep.formation3.DatabaseAdapter.readDatabase(DatabaseAdapter.ja
    va:164)
            at fr.adp.oep.formation3.DatabaseAdapter.run(DatabaseAdapter.java:90)
            at fr.adp.oep.formation3.DatabaseAdapter$$FastClassByCGLIB$$7b8987bf.inv
    oke(<generated>)
            at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
            at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocatio
    n.invokeJoinpoint(Cglib2AopProxy.java:689)
            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
    ReflectiveMethodInvocation.java:150)
            at com.bea.wlevs.ede.impl.EventManagerAccessorProxy.invoke(EventManagerA
    ccessorProxy.java:30)
            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
    ReflectiveMethodInvocation.java:172)
            at com.bea.wlevs.ede.impl.EventBeanProxy.invoke(EventBeanProxy.java:38)
            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
    ReflectiveMethodInvocation.java:172)
            at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterc
    eptor.intercept(Cglib2AopProxy.java:622)
            at fr.adp.oep.formation3.DatabaseAdapter$$EnhancerByCGLIB$$553045ce.run(
    <generated>)
            at com.bea.wlevs.spring.RunnableBeanPostProcessor$RunnableWrapper.run(Ru
    nnableBeanPostProcessor.java:117)
            at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(Com
    monjWorkManagerImpl.java:204)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:548)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
    What is wrong with this ?
    Olivier

    Hi Olivier,
    Could you send us the application that is easy to reproduce the failure? You can send the mail to [email protected]
    It looks like the error happened at the CQL. But it is not a syntax error.
    Thanks
    Junger

  • SignalGeneration Example in Oracle CEP

    Hi,
    In the signalgeneration example shipped with Oracle CEP 10.3, I would like to understand the purpose of each file and the sequence in which each file is called.
    As you know, following are the java files present:
    samples\source\applications\signalgeneration\src\com\bea\wlevs\example\server\ --> SampleSocketServer.java (I assume this is the first file that get called when load generator is run)
    samples\source\applications\signalgeneration\src\com\bea\wlevs\example\algotrading\adapter\ --> FileAdapter.java, FileAdapterFactory.java, SocketAdapter.java & SocketAdapterFactory.java
    samples\source\applications\signalgeneration\src\com\bea\wlevs\example\algotrading\event\ --> MarketEvent.java, SymbolEvent.java, VWAPEvent.java
    samples\source\applications\signalgeneration\src\com\bea\wlevs\example\algotrading\bean\ --> AlgoTradingBean.java
    Is it that the methods in the above .java files calling methods in other .java files by passing some parameters or the data from each stage (modeled using.java) is being pushed to the next stage in the EPN automatically by virtue of configuration done in EPN assembly file?
    Please lay the information clearly for me as this is crucial for us to start a PoC with bigger scope.
    Appreciate your response!
    Regards,
    CC

    Hi,
    Yes, the EPN file essentially assembles a event processing network (EPN), where each upstream stage pushes events to its downstream stages.
    You can setup this relationship by using the <source> and <listener> tags and attributes in the EPN.
    Then in the Java code you will notice that listeners implement StreamSink (or RelationSink if needs updates), which get called back on their onEvent() method. Event sources implement StreamSource, and use the sendEvent() method to push events.
    This setup allows us to monitor and manage the event dispatching in a way to optimize the flow.
    It also allows the developer to isolate the Java code from the EPN assembly itself.
    Hope this helps,
    Alex

  • Oracle CEP and Esper Software

    Hi, I found a that EsperTech says that Esper open source software is the CEP engine in Oracle Event Processing (see: http://www.espertech.com/partners/partners.php) is it true ? which is the difference between Esper and Oracle CEP ?

    Just wanted to add a few additional points. OCEP is a platform for building event-driven applications that encompasses a number of things; including clustering, high-availability, distributed cache integration, monitoring, management, logging, database access, and more. A part of the platform is the event processing engine. Previously, OCEP did embed an event processing engine that was based on Esper, although a lot of custom hardening, performance, and feature enhancements were done. The Esper technology has now been replaced by Oracle's own event processing engine, although the legacy Esper engine is still supported for backward compatibility. The event processing language supported by the new engine is called CQL (Continuous Query Language).
    Hope that helps.
    Seth

  • Oracle CEP JDBC Data Cartridge

    Hello,
    I'm trying to implement Oracle CEP JDBC Data Cartridge
    according to :
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e12048/datacartjdbc.htm#CIHCEFBH
    The problem is that it fails on deployment with following error :
    <Exception thrown from prepare method com.oracle.cep.cartridge.jdbc.JdbcCartridgeContext.checkCartridgeContextConfig.
    java.lang.AssertionError: java.lang.ClassNotFoundException: weblogic.jdbc.wrapper.PoolConnection
    I've added file that contains this class to classpath (com.bea.core.datasource6_1.10.0.0.jar) ,
    but get the same error .
    Any help would be appreciated .
    Regards,
    Dmitry

    Hello Wei Xiong,
    I have the same error when I trying to configure Oracle CQL Processor Table Source according to :
    http://docs.oracle.com/cd/E23943_01/dev.1111/e14301/processorcql.htm#CIHCCADG
    I've configured table source and had the same error on deployment :
    <The application context "check_entrance" could not be started: org.springframework.beans.FatalBeanException: Error in context lifecycle initialization; nested exception is com.bea.wlevs.ede.api.StatementException: Could not start rule [DBEventQuery] due to error: java.lang.ClassNotFoundException: weblogic.jdbc.wrapper.PoolConnection
    org.springframework.beans.FatalBeanException: Error in context lifecycle initialization; nested exception is com.bea.wlevs.ede.api.StatementException: Could not start rule [DBEventQuery] due to error: java.lang.ClassNotFoundException: weblogic.jdbc.wrapper.PoolConnection
         at com.bea.wlevs.spring.ApplicationContextLifecycle.onApplicationEvent(ApplicationContextLifecycle.java:145)
    It's look like a same issue.
    I've added zip file of my Eclipse project and config.xml of my CEP domain to e-mail.
    Thank you !
    Regards,
    Dmitry

  • Support of Eclipse Plugin for Oracle CEP tools IDEs

    I am having issue with Eclipse plugin to update the Oracle CEP tools.
    Here is the details about error in one of the environment:
    Cannot complete the install because one or more required items could not be found.
      Software being installed: Oracle CEP Tools 11.1.1.20111115-1500 (com.bea.wlevs.eclipse.tools.feature.feature.group 11.1.1.20111115-1500)
      Missing requirement: Oracle CEP Tools 11.1.1.20111115-1500 (com.bea.wlevs.eclipse.tools.feature.feature.group 11.1.1.20111115-1500) requires 'org.eclipse.jdt.feature.group [3.6.0,3.7.0)' but it could not be found
    In another environment , I am getting the error Eclipse could not connect to "http://download.oracle.com/technology/software/cep-ide/11/"
    Does oracle provide the latest Eclipse IDE Plug-in or not ?
    Any help would be helpful.
    Thanks,
    Srini

    http://download.oracle.com/docs/cd/E17904_01/doc.1111/e14476/install.htm#CHDIDGBI

  • Application of Oracle CEP that you had did

    I am a newbie of the Oracle CEP,and have no idea of how to use the Oracle CEP to develop an application.I want to know what project had the net friends has did,if possibility,could you share the experience with me?Thank you for your reading,and thank you for you sharing .
    Edited by: 924668 on 2012-3-31 上午1:28

    Have you installed OCEP and setup the plugin in eclipse ? http://www.oracle.com/technetwork/middleware/complex-event-processing/documentation/index.html I hope this link will help you with getting started.

  • Error while running the sample program in Oracle CEP

    Hi I am New to CEP. I have installed Oracle CEP 11g. I am trying to run the example available in sample folder. I am getting the below error.
    Exception in thread "Main Thread" java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.wlevs.Server.main(Server.java:185)
    Caused by: java.lang.IllegalArgumentException: Bundle <file:/D:/bea/modules/com.bea.core.apache.commons.logging.api_1.1.0.jar> has no known start level label
         at com.bea.backplane.launcher.Launcher.getStartLevelLabelFromJarLabel(Launcher.java:1663)
         at com.bea.backplane.launcher.Launcher.updateStartLevelViaJarLabel(Launcher.java:1714)
         at com.bea.backplane.launcher.Launcher.adjustStartLevel(Launcher.java:1625)
         at com.bea.backplane.launcher.Launcher.prepareConfig(Launcher.java:1169)
         at com.bea.backplane.launcher.Launcher.run(Launcher.java:539)
         at com.bea.backplane.launcher.Launcher.main(Launcher.java:149)
         ... 5 more
    Please let me know the reason for getting the error.

    I'm gussing you installed OCEP in an existing ORACLE_HOME. You should create a new home otherwise the modules may conflict with other products.
    andy

  • Incorreect event-key in oracle.apps.inv.lotCreate Event subscription

    Hi,
    I have created event subscription as PL/SQL function for oracle.apps.inv.lotCreate Event.
    In this PL/SQL function, i am calling "getEventKey" method on WF_EVENT_T object obtained.
    However, value returned by this "getEventKey" method is incorrect. According to Oracle Inventory User Guide, event-key should be
    Organization_id-Item_id-Lot_number. However i am getting some six digit number which is neither Organization_id nor Item_id nor Lot_number.
    I am using Oracle E-Business suite Release 12.
    Please let me know if anyone has faced similar problems? what was cause of such problem?
    Let me know if you require more information.
    Thanks,
    Rohit

    Hi Steve,
    The test subscription is raising from the workflow administrator responsiibility but when I update the item attribute controls then the subscription is not raising and checked with the forms trace, there is no event is recorded in the trace. I am using 11.5.10 cu 2 version and suspecting still some setting might be missing for the inventory events.
    I wrote the following code for my initial testing to test the event subscription raising on the item update.
    CREATE OR REPLACE PACKAGE BODY APPS.schl_event_item_update_elt
    AS
    FUNCTION schl_item_attrib_update (p_subscription_guid IN raw,
    p_event IN OUT wf_event_t
    RETURN VARCHAR2
    IS
    l_key VARCHAR2 (240);
    l_key_stat VARCHAR2 (50);
    l_status_rec VARCHAR2 (50);
    l_org_id VARCHAR2 (240);
    BEGIN
    l_key := p_event.geteventkey ();
    INSERT INTO schl.schl_item_attrib_update
    VALUES (l_key);
    RETURN 'SUCCESS';
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    INSERT INTO schl.schl_item_attrib_update
    VALUES ('error');
    END;
    END;
    I would highly appreciate your thoghts on this.
    Thanks,
    Srini C

  • Why iCal cancel of event edits issue is still not fixed after over 2 years?

    Why iCal "cancel of event edits" issue is still not fixed after over 2 years?
    I have been in the software engineering industry for over 14 years, but I have never seen a large corporation being so slow at addressing major issues like these.
    What would it take for Apple to start working on this issue?

    Yup. This is fully ridiculous that you can't cancel your updates once you start. I love the tool but this is on pretty significant issue.
    Sometimes I accidentally move a mtg or make some edit while viewing and you can't back you!!
    If you feel the same way, you should post a note here:
    http://www.apple.com/feedback/ical.html
    Message was edited by: SteveMc10123

Maybe you are looking for