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

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

  • 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

  • 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

  • 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

  • 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

  • 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

  • ERROR: ORACLE prepare error: ORA-00936: missing expression

    Hello,
    I am required to run "pass-through" Oracle SQL, to extract data from tables into SAS for processing and manipulation. My code (attached) reads and writes (executes) but with zero records to test first. I cannot get past the Prepare Error.
    The query is very much like other queries that seem to work, but I cannot get past this prepare error. I have no other access to individauls with adequate knowledge of PL SQL, and as a last stop hoped others in the forum could quickly spot the source of errror.
    Thanks very much in advance for any assistance.
    Jeff
    1 ;*';*";*/;quit;run;
    2 OPTIONS PAGENO=MIN;
    3 %LET _CLIENTTASKLABEL=%NRBQUOTE(rx_biplr_v3_2);
    4 %LET _EGTASKLABEL=%NRBQUOTE(rx_biplr_v3_2);
    5 %LET _CLIENTPROJECTNAME=%NRBQUOTE();
    6 %LET _SASPROGRAMFILE=;
    7
    8 ODS _ALL_ CLOSE;
    NOTE: Some of your options or statements may not be supported with the Activex or Java series of devices. Graph defaults for these
    drivers may be different from other SAS/GRAPH device drivers. For further information, please contact Technical Support.
    9 OPTIONS DEV=ACTIVEX;
    10 FILENAME EGHTML TEMP;
    NOTE: Writing HTML(EGHTML) Body file: EGHTML
    11 ODS HTML(ID=EGHTML) FILE=EGHTML ENCODING='utf-8' STYLE=EGDefault
    11 ! STYLESHEET=(URL="file:///C:/Program%20Files/SAS/Shared%20Files/BIClientStyles/EGDefault.css")
    11 ! ATTRIBUTES=("CODEBASE"="http://www2.sas.com/codebase/graph/v91/sasgraph.exe") NOGTITLE NOGFOOTNOTE GPATH=&sasworklocation
    11 ! ;
    12
    13 %gaccessible;
    14 /********************************************************/
    15 * RX_BIPLR_V3.SAS ;
    16 /********************************************************/
    17
    18 dm 'log;clear;out;clear';
    19 options linesize =120;
    20 Option obs=0 NoReplace;
    21
    22 ****************************************************************************************;
    23 *Date Programmer Reviewed By WHAT WAS DONE;
    24 *----- -------------- ------------ -----------------------------------------;
    25 *2005 David Boyd Program creation for test population;
    26 *;
    27 *02/06/2006 Ivon Jones Modified to include total population;
    28 *;
    29 *07/20/2006 Ivon Jones Identified data elements for exclusion;
    30 * or inclusion for consolidation with ;
    31 * Robin's report;
    32 *;
    33 *08/18/2006 Ivon Jones Updated the Specific Therapeutic Classes;
    34 * 10-2009 J Shaf - modified to extract actual or potential Bipolar Dx from UBH and Medical Claims;
    35 ****************************************************************************************;
    36
    37
    38
    39 *%let allclmorgn = ('M','A') ; /* all claims origin code */
    40 %let begdate='01SEP2009'd;
    41 %let enddate='30SEP2009'd;
    42 %let q = %str(%') ;
    43
    44
    45 data _null_ ;
    46 call symput('fdos',put(intnx('month',"&begdate"d,-27,'beginning'), date9.) ) ;
    47 call symput('ldos',put(intnx('month',"&enddate"d,-0,'ending'), date9.) ) ;
    48 run ;
    NOTE: DATA statement used (Total process time):
    real time 0.00 seconds
    2 The SAS System 11:44 Friday, October 30, 2009
    cpu time 0.01 seconds
    49
    50
    51
    52 **************************************************************;
    53 * ??Use the data _null_ step to create a macro variable for the ;
    54 * year and month based on the ldos macro variable in the data ;
    55 * step above?? ;
    56 **************************************************************;
    57
    58
    59 data _null_ ;
    60 if month("&ldos"d) < 10
    61 then call symput('yr_mo',compress(year("&ldos"d) || '0' || month("&ldos"d) ) ) ;
    62 else call symput('yr_mo',compress(year("&ldos"d) || month("&ldos"d) ) ) ;
    63 run ;
    NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column).
    61:39 61:64 62:39 62:57
    NOTE: DATA statement used (Total process time):
    real time 0.00 seconds
    cpu time 0.00 seconds
    64
    65 *%put &biplr_dx;
    66 %put &begdate ;
    '01SEP2009'd
    67 %put &enddate ;
    '30SEP2009'd
    68 %put &fdos ;
    01JUN2007
    69 %put &ldos ;
    30SEP2009
    70 %put &q ;
    71
    72
    73 libname biplr'/home/jshafi01/projects/adhoc/biplr_dprsn/data';
    NOTE: Libref BIPLR was successfully assigned as follows:
    Engine: V9
    Physical Name: /home/jshafi01/projects/adhoc/biplr_dprsn/data
    74 libname rosdwp oracle user="&oracle_user." pass="&oracle_pass." buffsize=32767 path='rosdwp';
    NOTE: Libref ROSDWP was successfully assigned as follows:
    Engine: ORACLE
    Physical Name: rosdwp
    75
    76 data work.biplr_up_v1;
    77 attrib mbr_id length=$26;
    78 set biplr.biplr_ubh_med_v1;
    79 run;
    NOTE: There were 0 observations read from the data set BIPLR.BIPLR_UBH_MED_V1.
    NOTE: The data set WORK.BIPLR_UP_V1 has 0 observations and 1 variables.
    NOTE: DATA statement used (Total process time):
    real time 0.01 seconds
    3 The SAS System 11:44 Friday, October 30, 2009
    cpu time 0.00 seconds
    80
    81 proc contents;
    82 run;
    NOTE: PROCEDURE CONTENTS used (Total process time):
    real time 0.03 seconds
    cpu time 0.03 seconds
    83
    84 proc datasets
    85      library = rosdwp nolist;
    86      delete biplr_up_v1;
    87 quit;
    NOTE: Deleting ROSDWP.BIPLR_UP_V1 (memtype=DATA).
    NOTE: PROCEDURE DATASETS used (Total process time):
    real time 3.74 seconds
    cpu time 0.03 seconds
    88
    89 proc datasets
    90      library=work nolist;
    91      copy out = rosdwp move;
    92      select biplr_up_v1 ;
    93 quit;
    NOTE: Moving WORK.BIPLR_UP_V1 to ROSDWP.BIPLR_UP_V1 (memtype=DATA).
    NOTE: SAS variable labels, formats, and lengths are not written to DBMS tables.
    NOTE: There were 0 observations read from the data set WORK.BIPLR_UP_V1.
    NOTE: The data set ROSDWP.BIPLR_UP_V1 has 0 observations and 1 variables.
    NOTE: PROCEDURE DATASETS used (Total process time):
    real time 0.32 seconds
    cpu time 0.04 seconds
    94
    95
    96
    97 *****************************************************************************;
    98
    99 *execute(commit) by rosdwp
    100 ******************************************************************************;
    101
    102
    103 proc SQL noprint ;
    104 connect to oracle as rosdwp (user="&oracle_user." password="&oracle_pass" buffsize=32767 path='rosdwp'
    104 ! preserve_comments);
    105      execute(alter session set nls_date_format = 'ddmonyyyy') by rosdwp;
    106 CREATE table biplr_rx as
    107 SELECT
    108 mrb_id,
    109 pcp_spc,
    110 rx_date,
    4 The SAS System 11:44 Friday, October 30, 2009
    111 brand,
    112 generic,
    113 ahfs_cd,
    114 ahfs_dsc,
    115 lbl,
    116 strngth,
    117 unt,
    118 spc_tx_cls_cd,
    119 spc_tx_cls_dsc,
    120 gcn,
    121 rx_num,
    122 rx_ingrd,
    123 rx_paid,
    124 rx_cnt,
    125 rx_qty,
    126 rx_day
    127 FROM connection to rosdwp
    128 (SELECT
    129 mid.UNIQ_MBR_ID as mrb_id,
    130 pd.PRVDR_SPCLTY_DESC as pcp_spc,
    131 pcf.LAST_SRVC_DT as rx_date,
    132 dd.BRAND_NAME as brand,
    133 dd.GNRC_NAME as generic,
    134 dd.AHFS_THRPTC_CLS_CD as ahfs_cd,
    135 dd.AHFS_THRPTC_CLS_DESC as ahfs_dsc,
    136 dd.LABEL_NAME as lbl,
    137 dd.STRNGTH_NUM as strngth,
    138 dd.STRNGTH_UNIT_DESC as unt,
    139 dd.SPECF_THRPTC_CLS_CD as spc_tx_cls_cd,
    140 dd.SPECF_THRPTC_CLS_DESC as spc_tx_cls_dsc,
    141 dd.GCN_NUM as gcn,
    142 pcf.PRSCRPTN_NUM as rx_num,
    143 SUM(pcf.INGRDNT_AMT) as rx_ingrd,
    144 SUM(pcf.PD_AMT) as rx_paid,
    145 SUM(pcf.UNIT_SRVC_CNT) as rx_cnt,
    146 SUM(pcf.DSPNSD_QTY) as rx_qty,
    147 SUM(pcf.DAY_SUPLY_CNT) as rx_day
    148 FROM
    149 PHRMCY_CLM_FACT pcf,
    150 MBR_ID_DMNSN mid,
    151 DRUG_DMNSN dd,
    152 PRVDR_DMNSN pd,
    153           biplr_up_v1
    154 WHERE
    155 (
    156 (biplr_up_v1.mbr_id = MBR_ID_DMNSN.UNIQ_MBR_ID) And
    157 (PHRMCY_CLM_FACT.FINL_CLM_KEY = PHRMCY_FINL_CLM_DMNSN.FINL_CLM_KEY) AND
    158 (PHRMCY_CLM_FACT.MBR_KEY = MBR_ID_DMNSN.MBR_KEY) And
    159 (PHRMCY_CLM_FACT.BNFT_KEY = MBR_BNFT_DMNSN.BNFT_KEY) And
    160 (PHRMCY_CLM_FACT.DRUG_KEY = DRUG_DMNSN.DRUG_KEY) And
    161 (PHRMCY_FINL_CLM_DMNSN.CLM_ORGN_CD IN ('M','A')) AND
    162 (PHRMCY_CLM_FACT.LAST_SRVC_DT BETWEEN between &q.&fdos.&q and &q.&ldos.&q)
    163      )
    164 Group By
    165 mid.UNIQ_MBR_ID ,
    166 pd.PRVDR_SPCLTY_DESC ,
    167 pcf.LAST_SRVC_DT ,
    168 dd.BRAND_NAME ,
    5 The SAS System 11:44 Friday, October 30, 2009
    169 dd.GNRC_NAME ,
    170 dd.AHFS_THRPTC_CLS_CD ,
    171 dd.AHFS_THRPTC_CLS_DESC ,
    172 dd.LABEL_NAME ,
    173 dd.STRNGTH_NUM ,
    174 dd.STRNGTH_UNIT_DESC ,
    175 dd.SPECF_THRPTC_CLS_CD ,
    176 dd.SPECF_THRPTC_CLS_DESC ,
    177 dd.GCN_NUM ,
    178 pcf.PRSCRPTN_NUM
    179 );
    ERROR: ORACLE prepare error: ORA-00936: missing expression. SQL statement: SELECT mid.UNIQ_MBR_ID as mrb_id,
    pd.PRVDR_SPCLTY_DESC as pcp_spc, pcf.LAST_SRVC_DT as rx_date, dd.BRAND_NAME as brand, dd.GNRC_NAME as generic,
    dd.AHFS_THRPTC_CLS_CD as ahfs_cd, dd.AHFS_THRPTC_CLS_DESC as ahfs_dsc, dd.LABEL_NAME as lbl, dd.STRNGTH_NUM as
    strngth, dd.STRNGTH_UNIT_DESC as unt, dd.SPECF_THRPTC_CLS_CD as spc_tx_cls_cd, dd.SPECF_THRPTC_CLS_DESC as
    spc_tx_cls_dsc, dd.GCN_NUM as gcn, pcf.PRSCRPTN_NUM as rx_num, SUM(pcf.INGRDNT_AMT) as rx_ingrd, SUM(pcf.PD_AMT)
    as rx_paid, SUM(pcf.UNIT_SRVC_CNT) as rx_cnt, SUM(pcf.DSPNSD_QTY) as rx_qty, SUM(pcf.DAY_SUPLY_CNT) as rx_day
    FROM PHRMCY_CLM_FACT pcf, MBR_ID_DMNSN mid, DRUG_DMNSN dd, PRVDR_DMNSN pd, biplr_up_v1 WHERE (
    (biplr_up_v1.mbr_id = MBR_ID_DMNSN.UNIQ_MBR_ID) And (PHRMCY_CLM_FACT.FINL_CLM_KEY =
    PHRMCY_FINL_CLM_DMNSN.FINL_CLM_KEY) AND (PHRMCY_CLM_FACT.MBR_KEY = MBR_ID_DMNSN.MBR_KEY) And
    (PHRMCY_CLM_FACT.BNFT_KEY = MBR_BNFT_DMNSN.BNFT_KEY) And (PHRMCY_CLM_FACT.DRUG_KEY = DRUG_DMNSN.DRUG_KEY) And
    (PHRMCY_FINL_CLM_DMNSN.CLM_ORGN_CD IN ('M','A')) AND (PHRMCY_CLM_FACT.LAST_SRVC_DT BETWEEN between '01JUN2007'
    and '30SEP2009') ) Group By mid.UNIQ_MBR_ID , pd.PRVDR_SPCLTY_DESC , pcf.LAST_SRVC_DT , dd.BRAND_NAME ,
    dd.GNRC_NAME , dd.AHFS_THRPTC_CLS_CD , dd.AHFS_THRPTC_CLS_DESC , dd.LABEL_NAME , dd.STRNGTH_NUM ,
    dd.STRNGTH_UNIT_DESC , dd.SPECF_THRPTC_CLS_CD , dd.SPECF_THRPTC_CLS_DESC , dd.GCN_NUM , pcf.PRSCRPTN_NUM.
    NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
    180 execute (drop table biplr_up_v1) by rosdwp;
    NOTE: Statement not executed due to NOEXEC option.
    181 disconnect from rosdwp;
    NOTE: Statement not executed due to NOEXEC option.
    182 quit;
    NOTE: The SAS System stopped processing this step because of errors.
    NOTE: PROCEDURE SQL used (Total process time):
    real time 0.14 seconds
    cpu time 0.03 seconds
    183
    184

    Hello Again ,
    Wish Oracle was a bit more informative. Am using a SAS Institute Product called Enterprise Guide. A "hot fix" was installed to address an issue that the product appears unable to save the latest version of edited code changes (hence " BETWEEN between" remaining even after a prior edit). In any case, with the change, am now receiving this error:
    " ERROR: ORACLE prepare error: ORA-00904: "PHRMCY_CLM_FACT"."LAST_SRVC_DT": invalid identifier". (Log file appears below)
    -The error remains, regardless of whether one uses "pass through" code to pass the date range to Oracle (which looks ok from the log output below I believe), or if I hard code the date range into the PL SQL query itself.
    -The Prepare error always appears at end of the inner SELECT.
    -The Prepare error remains, with or without the GROUP BY clause.
    Is there anything else here I am missing? Someone suggested a reserve word - but from other ANSI SQL versions, I do not see that is the case. I have consulted SAS Tech Support and SAS List Serve at University of GA. but nothing definitive from these sources. Have requested facility to be able to run Oracle directly, outside this SAS Institute product - in process.
    Any suggestions are greatly appreciated. Thanks to everyone very much.
    Jeff
    14 /********************************************************/
    15 * RX_BIPLR_V3.SAS ;
    16 /********************************************************/
    17
    18 dm 'log;clear;out;clear';
    19 options linesize =120;
    20 Option obs=0 NoReplace;
    21
    22 ****************************************************************************************;
    23 *Date       Programmer         Reviewed By     WHAT WAS DONE;
    24 *-----      --------------     ------------    -----------------------------------------;
    25 *2005 D. Boyd Program creation for test population;
    26 *;
    27 *02/06/2006 I. Jones Modified to include total population;
    28 *;
    29 *07/20/2006 I. Jones Identified data elements for exclusion;
    30 * or inclusion for consolidation with ;
    31 * Robin's report;
    32 *;
    33 *08/18/2006 I Jones Updated the Specific Therapeutic Classes;
    34 * 10-2009 J Shaf - modified to extract actual or potential Bipolar Dx from UBH and Medical Claims;
    35 ****************************************************************************************;
    36
    37
    38
    39 *%let allclmorgn = ('M','A') ; /* all claims origin code */
    40 %let begdate='01SEP2009'd;
    41 %let enddate='30SEP2009'd;
    42 %let q = %str(%') ;
    43
    44
    45 data null ;
    46 call symput('fdos',put(intnx('month',"&begdate"d,-27,'beginning'), date9.) ) ;
    47 call symput('ldos',put(intnx('month',"&enddate"d,-0,'ending'), date9.) ) ;
    48 run ;
    2 The SAS System 12:46 Monday, November 2, 2009
    NOTE: DATA statement used (Total process time):
    real time 0.00 seconds
    cpu time 0.00 seconds
    49
    50
    51
    52 **************************************************************;
    53 * ??Use the data null step to create a macro variable for the ;
    54 * year and month based on the ldos macro variable in the data ;
    55 * step above?? ;
    56 **************************************************************;
    57
    58
    59 data null ;
    60 if month("&ldos"d) < 10
    61 then call symput('yr_mo',compress(year("&ldos"d) || '0' || month("&ldos"d) ) ) ;
    62 else call symput('yr_mo',compress(year("&ldos"d) || month("&ldos"d) ) ) ;
    63 run ;
    NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column).
    61:39 61:64 62:39 62:57
    NOTE: DATA statement used (Total process time):
    real time 0.00 seconds
    cpu time 0.01 seconds
    64
    65 *%put &biplr_dx;
    66 %put &begdate ;
    '01SEP2009'd
    67 %put &enddate ;
    '30SEP2009'd
    68 %put &fdos ;
    01JUN2007
    69 %put &ldos ;
    30SEP2009
    70 %put &q ;
    71
    72
    73 libname biplr'/home/jshafi01/projects/adhoc/biplr_dprsn/data';
    NOTE: Libref BIPLR was successfully assigned as follows:
    Engine: V9
    Physical Name: /home/jshafi01/projects/adhoc/biplr_dprsn/data
    74 libname rosdwp oracle user="&oracle_user." pass="&oracle_pass." buffsize=32767 path='rosdwp';
    NOTE: Libref ROSDWP was successfully assigned as follows:
    Engine: ORACLE
    Physical Name: rosdwp
    75
    76 data work.biplr_up_v1;
    77 attrib mbr_id length=$26;
    78 set biplr.biplr_ubh_med_v1;
    79 run;
    NOTE: There were 0 observations read from the data set BIPLR.BIPLR_UBH_MED_V1.
    NOTE: The data set WORK.BIPLR_UP_V1 has 0 observations and 1 variables.
    NOTE: DATA statement used (Total process time):
    real time 0.00 seconds
    cpu time 0.01 seconds
    80
    81 proc contents;
    82 run;
    NOTE: PROCEDURE CONTENTS used (Total process time):
    real time 0.02 seconds
    cpu time 0.02 seconds
    83
    84 proc datasets
    85      library = rosdwp nolist;
    86      delete biplr_up_v1;
    87 quit;
    NOTE: Deleting ROSDWP.BIPLR_UP_V1 (memtype=DATA).
    NOTE: PROCEDURE DATASETS used (Total process time):
    real time 0.61 seconds
    cpu time 0.01 seconds
    88
    89 proc datasets
    90      library=work nolist;
    91      copy out = rosdwp move;
    92      select biplr_up_v1 ;
    93 quit;
    NOTE: Moving WORK.BIPLR_UP_V1 to ROSDWP.BIPLR_UP_V1 (memtype=DATA).
    NOTE: SAS variable labels, formats, and lengths are not written to DBMS tables.
    NOTE: There were 0 observations read from the data set WORK.BIPLR_UP_V1.
    NOTE: The data set ROSDWP.BIPLR_UP_V1 has 0 observations and 1 variables.
    NOTE: PROCEDURE DATASETS used (Total process time):
    real time 0.15 seconds
    cpu time 0.04 seconds
    94
    95
    96
    97 *****************************************************************************;
    98
    99 *execute(commit) by rosdwp
    100 ******************************************************************************;
    101
    102
    103 proc SQL noprint ;
    104 connect to oracle as rosdwp (user="&oracle_user." password="&oracle_pass" buffsize=32767 path='rosdwp'
    104 ! preserve_comments);
    105      execute(alter session set nls_date_format = 'ddmonyyyy') by rosdwp;
    106 CREATE table biplr_rx as
    107 SELECT
    108 mrb_id,
    109 uniq_mbr_id,
    110 pcp_spc,
    111 rx_date,
    112 brand,
    113 generic,
    114 ahfs_cd,
    115 ahfs_dsc,
    116 lbl,
    117 strngth,
    118 unt,
    119 spc_tx_cls_cd,
    120 spc_tx_cls_dsc,
    121 gcn,
    122 rx_num,
    123 rx_ingrd,
    124 rx_paid,
    125 rx_cnt,
    126 rx_qty,
    127 rx_day
    128 FROM connection to rosdwp
    129 (SELECT
    130 mid.UNIQ_MBR_ID as uniq_mrb_id,
    131 blpr.mrb_id.mbr_id,
    132 pd.PRVDR_SPCLTY_DESC as pcp_spc,
    133 pcf.LAST_SRVC_DT as rx_date,
    134 dd.BRAND_NAME as brand,
    135 dd.GNRC_NAME as generic,
    136 dd.AHFS_THRPTC_CLS_CD as ahfs_cd,
    137 dd.AHFS_THRPTC_CLS_DESC as ahfs_dsc,
    138 dd.LABEL_NAME as lbl,
    139 dd.STRNGTH_NUM as strngth,
    140 dd.STRNGTH_UNIT_DESC as unt,
    141 dd.SPECF_THRPTC_CLS_CD as spc_tx_cls_cd,
    142 dd.SPECF_THRPTC_CLS_DESC as spc_tx_cls_dsc,
    143 dd.GCN_NUM as gcn,
    144 pcf.PRSCRPTN_NUM as rx_num,
    145 SUM(pcf.INGRDNT_AMT) as rx_ingrd,
    146 SUM(pcf.PD_AMT) as rx_paid,
    147 SUM(pcf.UNIT_SRVC_CNT) as rx_cnt,
    148 SUM(pcf.DSPNSD_QTY) as rx_qty,
    149 SUM(pcf.DAY_SUPLY_CNT) as rx_day
    150 FROM
    151 PHRMCY_CLM_FACT pcf,
    152 MBR_ID_DMNSN mid,
    153 DRUG_DMNSN dd,
    154 PRVDR_DMNSN pd,
    155      BIPLR_UP_V1 blpr
    156 WHERE
    157 (BIPLR_UP_V1.mbr_id = MBR_ID_DMNSN.UNIQ_MBR_ID) And
    158 (PHRMCY_CLM_FACT.FINL_CLM_KEY = PHRMCY_FINL_CLM_DMNSN.FINL_CLM_KEY) AND
    159 (PHRMCY_CLM_FACT.MBR_KEY = MBR_ID_DMNSN.MBR_KEY) And
    160 (PHRMCY_CLM_FACT.BNFT_KEY = MBR_BNFT_DMNSN.BNFT_KEY) And
    161 (PHRMCY_CLM_FACT.DRUG_KEY = DRUG_DMNSN.DRUG_KEY) And
    162 (PHRMCY_FINL_CLM_DMNSN.CLM_ORGN_CD IN ('M','A')) AND
    163 (PHRMCY_CLM_FACT.LAST_SRVC_DT BETWEEN &q.&fdos.&q and &q.&ldos.&q)
    164 );
    ERROR: ORACLE prepare error: ORA-00904: "PHRMCY_CLM_FACT"."LAST_SRVC_DT": invalid identifier. SQL statement: SELECT
    mid.UNIQ_MBR_ID as uniq_mrb_id, blpr.mrb_id.mbr_id, pd.PRVDR_SPCLTY_DESC as pcp_spc, pcf.LAST_SRVC_DT as
    rx_date, dd.BRAND_NAME as brand, dd.GNRC_NAME as generic, dd.AHFS_THRPTC_CLS_CD as ahfs_cd,
    dd.AHFS_THRPTC_CLS_DESC as ahfs_dsc, dd.LABEL_NAME as lbl, dd.STRNGTH_NUM as strngth, dd.STRNGTH_UNIT_DESC as
    unt, dd.SPECF_THRPTC_CLS_CD as spc_tx_cls_cd, dd.SPECF_THRPTC_CLS_DESC as spc_tx_cls_dsc, dd.GCN_NUM as gcn,
    pcf.PRSCRPTN_NUM as rx_num, SUM(pcf.INGRDNT_AMT) as rx_ingrd, SUM(pcf.PD_AMT) as rx_paid, SUM(pcf.UNIT_SRVC_CNT)
    as rx_cnt, SUM(pcf.DSPNSD_QTY) as rx_qty, SUM(pcf.DAY_SUPLY_CNT) as rx_day FROM PHRMCY_CLM_FACT pcf,
    MBR_ID_DMNSN mid, DRUG_DMNSN dd, PRVDR_DMNSN pd, BIPLR_UP_V1 blpr WHERE (BIPLR_UP_V1.mbr_id =
    MBR_ID_DMNSN.UNIQ_MBR_ID) And (PHRMCY_CLM_FACT.FINL_CLM_KEY = PHRMCY_FINL_CLM_DMNSN.FINL_CLM_KEY) AND
    (PHRMCY_CLM_FACT.MBR_KEY = MBR_ID_DMNSN.MBR_KEY) And (PHRMCY_CLM_FACT.BNFT_KEY = MBR_BNFT_DMNSN.BNFT_KEY) And
    (PHRMCY_CLM_FACT.DRUG_KEY = DRUG_DMNSN.DRUG_KEY) And (PHRMCY_FINL_CLM_DMNSN.CLM_ORGN_CD IN ('M','A')) AND
    (PHRMCY_CLM_FACT.LAST_SRVC_DT BETWEEN '01JUN2007' and '30SEP2009').
    NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
    165 execute (drop table biplr_up_v1) by rosdwp;
    NOTE: Statement not executed due to NOEXEC option.
    166 disconnect from rosdwp;
    NOTE: Statement not executed due to NOEXEC option.
    167 quit;
    NOTE: The SAS System stopped processing this step because of errors.
    NOTE: PROCEDURE SQL used (Total process time):
    real time 0.24 seconds
    cpu time 0.02 seconds
    168
    Edited by: user12142482 on Nov 2, 2009 4:02 PM

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

  • Oracle bi error codes u9kp7q94 OBIEE 10g

    Hi All,
    I have created new user in RPD(Online Mode).
    Then i have loged into Answer.It throws error
    "oracle bi error codes u9kp7q94 OBIEE 10g"
    How to fix.
    Thanks
    Gram

    Raj wrote:
    Hi All,
    I have created new user in RPD(Online Mode).
    Then i have loged into Answer.It throws error
    "oracle bi error codes u9kp7q94 OBIEE 10g"
    How to fix.
    Thanks
    GramAre you getting this error on the login screen? or when you are opening a report?

  • Obiee oracle gateway error while updating row count

    Hi ,
    OBIEE server 11.1.1.5 ,oracle server11g installed in linux 64bit,
    while updating row count in Admin tool i am getting the following error
    [NQODBC][SQL_STATE:HY000][nQSError:10058] A general error has occured.
    [nQSError: 43113]Message returned from OBIS.
    [nQSError:43093]An error occured while processing the EXECUTE PHYSICAL statement.
    [nQSError:17003]Oracle gateway error: OCIEnvNIsCreate or OCIEnvInit failed to initialize environment.Please check your Oracle Client installation and make sure the correct version of OCI libraries are in the library path.
    i am able to check the database from sqlplus it is working fine.
    Any suggestion highly appreciated plzzz

    Make sure your connection pool is valid and able to import or execute reports.
    If everything good as above said, in Physical layer database properties-> general tab choose the database version and try it once.
    If not
    Check the doc id 1271486.1
    Or
    To resolve the issue create a softlink (ln -s) in the <OracleBI>/server/Bin folder to link to the 32-bit Oracle Client Driver file.
    The example below shows how to perform a softlink from the 64 bit directory:
    cd /u10/app/orcladmin/oracle/OracleBI/server/Bin
    ln -s $ORACLE_HOME/lib32/libclntsh.so.10.1 libclntsh.so.10.1
    If helps mark

  • Oracle SSO error while trying to access a report

    Hi All,
    I am using Oracle 11g reports and forms.My adf application(using JDeveloper 11.1.1.4) will use oracle reports through url.
    From adf application we form a url for the reports like https://<server>:<port>/reports/rwservlet?server=devstage11g&destype=cache&desformat=pdf&report=spore001…
    we send the userid parameter as a hidden parameter in the request as we do not want the userid information to be visible in the URL. It works fine in one environment. But in another environment when we hit the url it always give a page with a single line saying  "Oracle SSO". When we hit the same url with userid parameter appended to it directly, it works fine.
    Checked the configuration difference, but not able to find any difference in the configuration. Please help me to find why it always gives "Oracle SSO" error.
    Thanks,
    Priya.

    Hi ;
    pelase check below which could be similar error like yours
    Troubleshooting of Runtime Errors of Customer Intelligence Reports [ID 284829.1]
    Regard
    Helios

  • Oracle Internal error while executing sys objects

    Hi,
    I recently restored an oracle 9i database from datafiles I received from client.
    I am consistently getting the following error whenever I try to open a new sqlplus session.
    bash-2.03$ sqlplus $IQ_DBLOGON
    SQL*Plus: Release 9.2.0.6.0 - Production on Thu Mar 27 20:30:09 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-06553: PLS-801: internal error [56319]
    ERROR:
    ORA-06553: PLS-801: internal error [56319]
    Error accessing package DBMS_APPLICATION_INFO
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    SQL>
    After search I found some references to recreate the sys objects by running standard sqls like CATALOG.SQL, CATPPROC.SQL etc. While running these SQLs as well I am getting oracle "Internal Errors".
    I tries re-creating many sys packages and am consistently getting these errors. It looks to me I have problem while accessing procedures in all sys packages. I checked, all the packages are valid and have EXECUTE priviledge to PUBLIC.
    See an example of the error below.
    bash-2.03$ sqlplus /nolog
    SQL*Plus: Release 9.2.0.6.0 - Production on Thu Mar 27 20:37:13 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> connect /as sysdba
    Connected.
    SQL>
    SQL>
    SQL> execute dbms_stats.delete_database_stats;
    BEGIN dbms_stats.delete_database_stats; END;
    ERROR at line 1:
    ORA-06553: PLS-801: internal error [56319]
    SQL>
    Kindly let me know the solution for the problem. Please let me know in case you need any more details.
    Regards,
    Ullhas

    ORA-06553: PLS-801: internal error [56319] usually occurs,when there was a switch between bit sizes (source is 32 bit,target 64 bit and vice versa) . In such a case script utlirp.sql has to be run ($ORACLE_HOME/rdbms/admin).
    Werner

  • 5213: Bad Oracle login error in OCISessionBegin() while running ttcacheuidp

    Hi,
    I am working on Oracle TimesTen Client: Oracle TimesTen 11.2.1.8.0
    I am following this step: http://download.oracle.com/otn_hosted_doc/timesten/1121/quickstart/html/admin/cache_grid_create.html
    I am in the step 4: 4. Associate the Oracle Cache Administration user with the Cache Database
    And I got this error:
    Command> connect "dsn=cachedsh_schema;uid=cacheadm;pwd=cacheadm;oraclepwd=oracle";
    Connection successful: DSN=cachedsh_schema;UID=cacheadm;DataStore=/u03/TimesTenCache/datastore/cachedsh_schema;DatabaseCharacterSet=AL32UTF8;ConnectionCharacterSet=US7ASCII;DRIVER=/u01/app/oracle/product/TimesTen/ttscofield/TimesTen/ttscofield/lib/libtten.so;PermSize=768;TempSize=256;TypeMode=0;OracleNetServiceName=SCOFIELD;
    (Default setting AutoCommit=1)
    Command> call ttcacheuidpwdset ('cacheadm','cacheadm');
    5213: Bad Oracle login error in OCISessionBegin(): ORA-01017: invalid username/password; logon denied rc = -1
    5935: Could not validate Oracle login: uid = CACHEADM, pwd = HIDDEN, OracleNetServiceName = SCOFIELD, TNS_ADMIN = "", ORACLE_HOME= "/u01/app/oracle/product/11.2/db_1"
    The command failed.
    What seems to be the issue?
    I referenced this link: http://download.oracle.com/otn_hosted_doc/timesten/1121/doc/timesten.1121/e13069/proced.htm#TTREF237
    And on the notes it says:
    Notes
    This procedure cannot be called from a Client/Server connection.
    This procedure is available only for IMDB Cache.
    The cache administration user ID and password cannot be set while either the cache agent or the replication agent are running.
    The cache administration user ID cannot be reset while there are ASYNCHRONOUS WRITETHROUGH cache groups or AUTOREFRESH cache groups (with a state that is not equal to OFF) on the database.
    What does: This procedure cannot be called from a Client/Server connection mean?
    Is this the root cause of the problem or I am missing a step?
    Thanks!

    I still get the same error. But I have figured out what is wrong. Just in case other users encounter the same errors, here's what I did:
    I created a tnsnames.ora file in my TIMESTEN_HOME/network/admin that has the connection info to testenv Oracle instance. +(i dont know if this is necessary)+. Then:
    [oracle@testenv ~]$ ttmodinstall -tns_admin option
    TNS_ADMIN for the instance 'testenv' is currently not set.
    Would you like to change TNS_ADMIN for this instance? [ yes ]
    Please enter a value for TNS_ADMIN (q=quit)? [ option ] /u01/app/oracle/product/TimesTen/testenv/TimesTen/testenv/network/admin
    Do you want to restart the daemon using the new configuration? [ yes ]
    Restarting the daemon ...
    TimesTen Daemon stopped.
    TimesTen Daemon startup OK.
    Instance testenv is now configured with TNS_ADMIN=/u01/app/oracle/product/TimesTen/testenv/TimesTen/testenv/network/admin
    [oracle@testenv ~]$ ttversion
    TimesTen Release 11.2.1.8.0 (64 bit Linux/x86_64) (testenv:53388) 2011-02-02T02:20:46Z
    Instance admin: oracle
    Instance home directory: /u01/app/oracle/product/TimesTen/testenv/TimesTen/testenv
    Group owner: oinstall
    Daemon home directory: /u01/app/oracle/product/TimesTen/testenv/TimesTen/testenv/info
    PL/SQL enabled.
    [oracle@testenv ~]$ ttisql "dsn=cachedsh_schema;uid=cacheadm;pwd=cacheadm;oraclepwd=cacheadm"
    Copyright (c) 1996-2011, Oracle. All rights reserved.
    Type ? or "help" for help, type "exit" to quit ttIsql.
    connect "dsn=cachedsh_schema;uid=cacheadm;pwd=cacheadm;oraclepwd=cacheadm";
    Connection successful: DSN=cachedsh_schema;UID=cacheadm;DataStore=/u03/TimesTenCache/datastore/cachedsh_schema;DatabaseCharacterSet=AL32UTF8;ConnectionCharacterSet=US7ASCII;DRIVER=/u01/app/oracle/product/TimesTen/testenv/TimesTen/testenv/lib/libtten.so;PermSize=768;TempSize=256;TypeMode=0;OracleNetServiceName=SCOFIELD;
    (Default setting AutoCommit=1)
    Command> call ttgridcreate ('cachedshgrid');
    Command> call ttgridinfo;
    < CACHEDSHGRID, CACHEADM, Linux x86-64, 64-bit, 11, 2, 1 >
    1 row found.
    Command> call ttgridnameset ('cachedshgrid');
    Command>
    Thanks!

Maybe you are looking for

  • How to get Payment Advice details using REGUH  REGUP tables

    Hi, How to fetch payment Advice details in REGUH  REGUP tables by passing Header details of Payment document (BEKNR, BUKRS and GJAHR) ? My observation: E.g. for Payment document 1500000135 i am getting following records from REGUH table MANDT     LAU

  • I deleted a software and now I can't uninstall it

    I got my Mac last year at Best Buy and they gave me a free trial code on a software called, Trend Micro. It basically helps you prevent from getting a virus on your Mac and all of that dangerous stuff. A couple of months ago while I was cleaning out

  • Stock Transfer for Items manged by Batches

    Hi All, I am doing a StockTransfer from one warehouse to another using the StockTransfer object, but when an item is a batch item then it doesn’t work, it does not do the StockTransfer nor does it throws error. It just gives the message as ("Failed t

  • Telstra Velocity/NBN Super Fast Broadband Add On Error

    Have recently moved to a new address with Velocity enabled and the broadband was enabled on Friday. I want to enable the Super Fast Speed Boost and the option is there in my account, however when I go to add it I get an error "Sorry, there is an erro

  • Eye Candy: How to remove it from within Lion?

    hey guys, i'm starting to get the hang of the Terminal and in the future i'd prefer to use that over the GUI. it seems like the GUI uses up a lot of RAM and CPU cycles so i was wondering if there was a way i could 'reduce' it to something like how Wi