Scheduler in Oracle CEP ?

Hi,
is there a pattern for scheduler available in CQL?
Our requirement is to fire an action at a specific time (day and time) which is supplied from input.
If such a pattern not supported by CQL then any alternative way to achieve this in Oracle CEP ?
Thanks and Regards,
S. Aich
Edited by: 873396 on Jul 21, 2011 5:47 AM

You could use quartz (http://www.quartz-scheduler.org/) to schedule tasks in this way. I'm not sure CQL is the right tool for this.
andy

Similar Messages

  • 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

  • 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);     
    }

  • 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 and JDBC Adapter

    I am using Oracle CEP 10g on WIndows.
    I wrote the following code on CEP:
    OracleDataSource ods = new OracleDataSource();
    ods.setURL("jdbc:oracle:thin:scott/[email protected]:1521/orcl");
    Connection conn = ods.getConnection();
    // Check for the existence of a previous customerID
    String selectStmt     = "SELECT * from STEPS " +
         "WHERE (streamID='" +
         this.customerId +
         "') and (assetid='" +
         this.eventName +
    Statement stmt  = conn.createStatement();
    //System.out.println("-- calling SELECT");
    //System.out.println(selectStmt);
    ResultSet rs    = stmt.executeQuery(selectStmt);This works great, except it is exceedingling slow. I am sending about 20,000 messages to this code.
    I think the problem is that I open the connection everytime I perform a select (and later an insert statement).
    The server instance goes away after the message has been processed, and I can not save the connection.
    Would using an adapter in config.xml prevent this openig a new connection every time a message invokes this code ?
    If so, I have never done JDBC with an adapter and I dont understand how to use an adapter to use a WHERE clause to select on variables, since in the example I have seen so far, it places "SELECT 1 from DUAL" into the config.xml and does not explain how to get mix have the SELECT statement interact with code variables or better yet how to get your code to get a connection handle.
    Could someone please post an exaqmple of how to use an adapter with JDBC, and possibly how to get your code to access a connection handle from the config.xml ?
    Thanks

    Hi,
    From note : 831162,
    <i>Oracle JDBC Driver (classes12.zip / classes12.jar) Deadlocks
    Q: I have deployed the Oracle classes12.zip / classes12.jar JDBC driver as per the instructions in the XI Configuration Guide.
    Unfortunately, I frequently notice hanging database connections. A thread dump taken according to the instructions in note 710154 shows one or more blocking JDBC Sender/Reciver threads and optionally that the JVM has detected a deadlock.
    A: <b>The Oracle classes12.zip / classes12.jar driver is compatible with JDK 1.2 and 1.3 only, but not with JDK 1.4. Upgrade to a current version of the driver (ojdbc14.jar). For details, refer to note 941317.</b>
    Make sure that you remove classes12.zip / classes12.jar from aii_af_jmsproviderlib.sda prior to adding the new driver as per the instructions in the answer to question #1 above as you will get a class name collision otherwise (all JARs from aii_af_jmsproviderlib.sda are loaded into the same class loader and the driver class name of both driver versions is the same).
    Before deploying the updated driver, ensure that the new version is still compatible with your Oracle database server release. For details, refer to the release notes provided by Oracle.</i>
    Regards,
    Bhavesh

  • 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 to stop and start oracle CEP server?

    I want to start and stop oracle CEP server without using eclipse IDE.How can I do it?

    first you need know where the domain is, and then go to the server's directory, run startwlevs.sh or stopwlevs.sh.
    for example, assuming you use helloworld sample, you are at $FMW_HOME/ocep_11.1/samples/domains/helloworld_domain, and then go to the defaultserver directory to run the startwlevs.sh script

  • Exposing Oracle CEP as WebService

    Can you explain a step by step process to expose an Oracle CEP application through web services?
    I was using the steps mentioned into the following link -
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14301/webservconfig.htm - Step 14.3
    I have followed the steps but while deploying the Oracle CEP server was throwing error stating - 'bea-jaxws.xml' is not found.
    If you know some way to make 'bea-jaxws.xml' recognizable by the server please let me know.

    You need to
    1) configure glashfish webservice at server's config.xml:
    <glassfish-ws>
    <name>JAXWS</name>
    <http-service-name>JettyServer</http-service-name>
    </glassfish-ws>
    2) configure a bea-jaxws.xml at META-INF
    <endpoints>
    <endpoint>
    <name>EchoService</name>
    <implementation-class>
    sample.echoservice.EchoService
    </implementation-class>
    <url-pattern>/echo</url-pattern>
    <wsdl-location>
    /META-INF/wsdl/echoservice.wsdl
    </wsdl-location>
    <service-name>
    {http://example.cep.oracle.com}EchoService
    </service-name>
    <port-name>
    {http://example.cep.oracle.com}EchoPort
    </port-name>
    </endpoint>
    </endpoints>
    3) state the webservice configuration location at META-INF/MANIFEST.MF
    BEA-JAXWS-Descriptor: META-INF/bea-jaxws.xml
    4) implement the webservice like below:
    import javax.jws.WebMethod;
    import javax.jws.WebResult;
    import javax.jws.WebParam;
    import javax.jws.WebService;
    import javax.jws.soap.SOAPBinding;
    @WebService(name="SimplePortType", serviceName="EchoService",
    portName="EchoPort",
    targetNamespace="http://example.cep.oracle.com")
    @SOAPBinding(style=SOAPBinding.Style.DOCUMENT,
    use=SOAPBinding.Use.LITERAL,
    parameterStyle=SOAPBinding.ParameterStyle.BARE)
    public class EchoService{
    @WebMethod()
    @WebResult(name="echoWorldResponse", targetNamespace="http://example.cep.oracle.com", partName="parameters")
    public String echoWorld(String message) {
    System.out.println("echo:" + message);
    return "echo:" + message;
    Note that only SOAPBinding.ParameterStyle.BARE is supported in OCEP for now.
    Let me know if you still have question.
    Junger

  • 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

  • Getting error while configuring Oracle CEP server in Eclipse

    Hi,
    While Configuring OCEP Server in eclipse, and specifying the Oracle Middleware Home Directory as "C:/Oracle/Middleware/user_projects/domains/ocep_domain/defaultserver"; I am getting the below error:
    The location "C:/Oracle/Middleware/user_projects/domains/ocep_domain/defaultserver" contains the BEA home definition file "C:/Oracle/Middleware/user_projects/domains/ocep_domain/defaultserver/registry.xml," but that file does not contain an Oracle CEP component entry with an "InstallDir" attribute.
    I tried re-installing OCEP server, but still the problem persists. Please help me on this.
    Regards,
    Swati
    Edited by: 999706 on Apr 30, 2013 1:08 AM

    Hi Swati,
    Please make sure you installed:
    1) Eclipse Indigo SR2 for Linux: http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR2/eclipse-jee-indigo-SR2-linux-gtk.tar.gz
    2) Plugin in from the installation, the path like: Oracle/Middleware/ocep_11.1/eclipse-update-site/cep-tools=11.1.1.20130109-2314/. Note the plugin download site is not updated. So you can't use the install Plugin via URL
    I assume you are using PS6. For other version, please check the document accordingly.
    Thanks
    Junger

  • 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).

  • 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

  • How to create scheduler sql oracle developer

    Hi
    how to create How to create scheduler sql oracle developer?

    Hi
    finally i refer below link its usefull
    ORACLE-BASE - SQL Developer 3.1 Scheduler (DBMS_SCHEDULER) Support

  • Oracle CEP and Telecom Industry

    Hi Guys......
    i wnated to know how do we leverage the power of CEP wrt the telecom industry.....if u have any idea or any business case study please direct it to me......i wnated to prepare some POC's using the Oracle CEP for the Telecom Industry....to show....
    regards
    \Sanju03

    There are a no. of CEP usecases that are relevant to telecom industries:
    a) Call record processing
    b) Detecting fraud
    c) Using GPS location of users to upsell products by pushing mobile coupons
    d) Management of telecom data centers.
    There are some more that I may have missed. I will be very interested in your thoughts on these.

Maybe you are looking for

  • How do I make my hp 4280 printer discoverable for my Mac Notebook to find?

    I am a new Mac user and I have a Mac Pro desktop and a Mac notebook and would like to make my HP 4280 a wireless printer. how do I do that? thanks bob

  • Note: Mac OS X 10.5 Leopard & Adobe Creative Suite CS2

    Hello, here is an important note for Apple & Adobe business users who are using the Adobe Creative Suite CS2 package for their daily workflow. http://www.adobe.com/go/leopardfaq <--- quote from Adobe ---> Question: Will older versions of Adobe creati

  • How to use enter key instead of save button in tabular form?

    Hello, is there a way to save data entered into a tabular form by clicken enter instead of "submit/save" button? We got it working for normal forms but not for tab. forms Regards Friedrich

  • Can't understand what is my problem...

    Hi, I'm trying to call a jar thru a jsp page. The jsp is now recognizing the class I use in the jar, but I get an exception that I really don't know how to deal with. please help... : The server encountered an internal error () that prevented it from

  • IMac 2010 27" shuts down after boot

    iMac was running fine and then I went to it and thought it went to sleep, but it was actually off. Odd. I reboot, it boots up (Lion) and everything is fine, and then a few minutes later, it shuts off. Try to boot agian, get the chime, and it shuts of