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

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

  • Oracle CEP connecting to a database

    Hello all,
    I am trying to make a simple CEP Application example works for a few days but I just can't make it and I'm getting more and more mad.
    So I have installed Oracle CEP 11.1.1 and configured Eclipse 1.2.1 to develop CEP Application. Then I created a new CEP project on the HelloWorld template.
    I have added the jdbc drivers into the java build path as external jar.
    I also tried to add a data-source in the config.xml
    When I add a database connection into the Eclipse data source explorer it works fine.
    But when I add the code into the constructor of my adapter and deploy the application :
    try {
              DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
                 this.conn = DriverManager.getConnection(CONNEC_STRING, USERNAME, PASS);
              } catch (SQLException e) {
                   e.printStackTrace();
              }I just keep getting a java.lang.NoClassDefFoundError error on the registerDriver instruction. And I really don't understand what's wrong.
    I would be really grateful if anyone could explain me step by step how to configure the drivers and just make a simple select statement into a table.
    Thanks in advance.
    Max

    you need not get the Connection object from DriverManager. You can get it from Datasource by getting the Static resource injection.
    this returns you the javax.sql.Datasource object which can give you Connection.
    Please take a look at
    http://download.oracle.com/docs/cd/E17904_01/doc.1111/e14301/overview.htm#CEPED524

  • PAPI Web Service (PAPI-WS) Example for Oracle BPM Studio

    Here is the location of a step-by-step explanation on how to use PAPI Web Service (PAPI-WS) to create a work item instance and then run the instance inside an activity in a process running on Oracle BPM Studio.
    http://www.4shared.com/file/128256802/f20abc7a/PAPI-WS_for_Oracle_BPM_Studio.html
    Be sure to use the project that is in the zip file for this example.
    If you need an example of how to use PAPI-WS on Oracle BPM Enterprise, go to this thread: PAPI Web Service (PAPI-WS) Example for Oracle BPM Enterprise Standalone
    If you need a step-by-step example of how to use PAPI (the Java API) go to this thread: Creating a new work item instance in a process using PAPI
    Hope this helps,
    Dan

    Hi,
    Is there any sample code showing PAPI-WS with VS 2008? AFAIK, there is a sample using VS 2005 and WSE 3.0, but I'm interested in using VS 2008/WCF.
    Regards,

  • PAPI Web Service (PAPI-WS) Example for Oracle BPM Enterprise Standalone

    Here is the location of a step-by-step explanation on how to use PAPI Web Service (PAPI-WS) to create a work item instance and then run the instance inside an activity in a process running on Oracle BPM Enterprise Standalone.
    http://www.4shared.com/file/128249957/9bd6ef61/PAPI-WS_for_Oracle_BPM_Standalone.html
    Be sure to use the project that is in the zip file for this example.
    To see how to invoke PAPI-WS when using Oracle BPM Studio, go to this thread: PAPI Web Service (PAPI-WS) Example for Oracle BPM Studio
    If you need a step-by-step example of how to use PAPI (the Java API) go to this thread: Creating a new work item instance in a process using PAPI
    Hope this helps,
    Dan

    Dan,
    I tried in both studio and Standalone.
    From Studio :*
    1. The Url for the Webservice is (http://localhost:8585/papiws/PapiWebServiceEndpoint?wsdl). From studio by default port number was 8585.From this studio wsdl URL(http://localhost:8585/papiws/PapiWebServiceEndpoint?wsdl),I did n't see any wsdl text in the browser.
    From Standalone :*
    1. In BPM Admin Center, I have selected *"PAPI Web Services"* check box(Page 5 of your document).
    2. In The BPM Admin Center, I have clicked on *"Start BPM Web Applications"*.
    3. After Stand alone server started *"Launch PAPI WebServices Console"* link was enabled,And I clicked on that link.It opened a browser with URL (http://localhost:8686/papiws/PapiWebService)
    Oracle® BPM PAPI Web Services
    Service Name 'PapiWebService'
    Style: Document Literal Wrapped
    SSO Enabled: false
    WS-Security UsernameToken Profile Authentication Enabled: false
    HTTP Basic Authentication Enabled: true
    Preset Authentication Enabled: false
    MTOM Optimization for attachments Enabled*: false
    Endpoint: http://localhost:8686/papiws/PapiWebServiceEndpoint
    WSDL: http://localhost:8686/papiws/PapiWebServiceEndpoint?wsdl
    I have copied wsdl URL(http://localhost:8686/papiws/PapiWebServiceEndpoint?wsdl) and pasted it into a browser's URL field.I did n't see any wsdl text in the browser,but I see following error
    HTTP Status 404 - Servlet PapiWebServiceServlet is not available
    type Status report
    message Servlet PapiWebServiceServlet is not available
    description The requested resource (Servlet PapiWebServiceServlet is not available) is not available.
    Apache Tomcat/5.5.15
    Edited by: Prabhasankar on Dec 24, 2010 9:10 AM

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

  • Oracle Coherence Examples with Oracle SOA suite 11.1.1.4.0 and JDeveloper.

    Hi,
    I am new to Oracle Coherence. I was looking for examples implementing Oracle Coherence step by step so as to get a basic understanding using JDeveloper but most of the examples available are using Oracle Service Bus and Eclipse.
    Could anyone please help me in providing link with examples using Oracle Coherence with Oracle SOA suite 11.1.1.4.0 and JDeveloper.
    Thanks for the needful.
    Cheers,
    Varun

    Hi Varun,
    Please find the answers to your questions below:
    1) Could you please let me know how to use this system property -Dtangosol.coherence.override in my application so that I can coordinate between the cluster used by my application and the one started for using Coherence Node.
    You need to specify this property in the Java Options of your server or cache node startup script.
    2) I was trying to understand how to use this tangosol-coherence-override.xml but the document is pretty confusing. I am not able to understand that whether I am suppose to use it at server level or at application level.
    I would suggest extract the coherence.jar and you it would be important for you to have a look at the tangosol-coherence.xml and tangosol-coherence-override.xml. This file is used to override any of the properties specified in tangosol-coherence.xml for your cluster configuration for example, clustername, multicast ip and port or WKA for unicast, logging and so on.
    3) Another point is how to coordinate among tangosol-coherence-override.xml, coherence-cache-config.xml and -Dtangosol.coherence.override system property from my application
    Ideally you should specify in the java options of your application startup but you can also sepcify using System.setProperty("property", "value") in you code for specifying the various properties
    4) How to use the cache updating mechanisms from an application?
    I am not clear what do you mean by cache updating mechanisms? If you mean how you can update the cache from application then you can use simple Put, Entry Processor and so on. Refer NamedCache APIs to start with for operations but there many other ways to update the cache from within application or otherwise
    Hope this helps!
    Cheers,
    NJ

Maybe you are looking for

  • Garageband custom "user-loops" files missing

    I'm using Garageband '09 (Version 5.1 (398) and I am having trouble locating my custom "user loops" files. I know that custom made apple loops are saved in Library/Audio/Apple Loops/User Loops I have about 100 loops saved in the folder, but in Garage

  • Approval process monitor status turn to "Initiated" instead of "Pending", so awe is not routed

    When I submit a transaction, after successful submission in approval process monitor the status has turn "Initiated" instead of "Pending". That's why it's showing "Not Routed" for the next approving person. So that worklist is not populated. Please s

  • Is there a way to map videos in a 3D environment?

    Sorry, this is kinda hard to explain.  Is it possible to have the area in which you put clips be a 3D environment.  For example, could I put several clips around eachother in the shape of a sphere and scroll the camera around the sphere?  If this is

  • Converting.pictclippingfile in powerpoint to a format viewable on a windows

    My daughter is doing a presentation for school in powerpoint. She took pictures from iphoto that were jpegs and put them into a presentation. Her teacher only has a windows machine and it wouldn't read the pictures in powerpoint. When I looked at the

  • Problem with previously installed trial Photoshop

    Hi! I downloaded a trial Photoshop with my private Adobe ID, then a few days later my company got me a Creative Cloud Membership for teams on my work Adobe ID. Removed the trial first, then downloaded a new Photoshop using my company Adobe ID. Photos