Forum Stats

  • 3,838,667 Users
  • 2,262,392 Discussions
  • 7,900,730 Comments

Discussions

CQL Error on deployment of 5 Create a Fraud Detection Application with EDN Adapters

I followed getting started document (chapter 5) 5 Create a Fraud Detection Application with EDN Adapters. When I tried to deploy it, I got the following errors. Anybody can help pinpoint why this is a problem?


Thanks.

<code>

<Dec 24, 2014 6:27:57 AM PST> <Notice> <Deployment> <BEA-2045000> <The application bundle "FraudOEPApplication.FraudCheck" was deployed successfully to file:/scratch/lcadmin/cep12c/user_projects/domains/oep_domain/oepserver/applications/FraudOEPApplication.FraudCheck/FraudOEPApplication.FraudCheck.jar with version 1419431277499>

<Dec 24, 2014 6:27:58 AM PST> <Warning> <CQLServerTrace> <BEA-000000> <Invalid symbolic expression. Probable causes are: "There is no symbol named com", or "Attribute name com is invalid for STREAM or RELATION or VIEW.", or "Types com.oracle.oep.FraudCheckRequest.class and com.oracle.oep.FraudCheckRequest not found when referencing constructor or static method.">

<Dec 24, 2014 6:27:58 AM PST> <Warning> <CQLServerTrace> <BEA-000000> <Invalid call to function or constructor: cast. Probable causes are: "Probable causes are: There is no symbol named com, or Attribute name com is invalid for STREAM or RELATION or VIEW., or Types com.oracle.oep.FraudCheckRequest.class and com.oracle.oep.FraudCheckRequest not found when referencing constructor or static method..", or "Error while handling member access to complex type. Constructor cast of type cast not found.>

<Dec 24, 2014 6:27:58 AM PST> <Warning> <CQLServerTrace> <BEA-000000> <Invalid call to function or constructor: cast. Probable causes are: "Probable causes are: There is no symbol named com, or Attribute name com is invalid for STREAM or RELATION or VIEW., or Types com.oracle.oep.FraudCheckRequest.class and com.oracle.oep.FraudCheckRequest not found when referencing constructor or static method..", or "Error while handling member access to complex type. Constructor cast of type cast not found.", or "Probable causes are: Probable causes are: There is no symbol named com, or Attribute name com is invalid for STREAM or RELATION or VIEW., or Types com.oracle.oep.FraudCheckRequest.class and com.oracle.oep.FraudCheckRequest not found when referencing constructor or static method.., or Error while handling member access to complex type. Constructor cast of type cast not found..>

<Dec 24, 2014 6:27:58 AM PST> <Emergency> <CQLServer> <BEA-000000> <CREATE VIEW FraudView AS

          select S.properties as properties,

            [email protected](S.javaContent,

            com.oracle.oep.FraudCheckRequest.class).getOrderNumber() as orderNumber,

            [email protected](S.javaContent,

            com.oracle.oep.FraudCheckRequest.class).getEmail() as email,

            [email protected](S.javaContent,

            com.oracle.oep.FraudCheckRequest.class).getTotalAmount() as totalAmount

          from ednInputChannel as S

        >

<Dec 24, 2014 6:27:58 AM PST> <Emergency> <CQLServer> <BEA-000000> <CREATE VIEW FraudView AS

          select S.properties as properties,

            >>cast<<@java(S.javaContent,

            com.oracle.oep.FraudCheckRequest.class).getOrderNumber() as orderNumber,

            [email protected](S.javaContent,

            com.oracle.oep.FraudCheckRequest.class).getEmail() as email,

            [email protected](S.javaContent,

            com.oracle.oep.FraudCheckRequest.class).getTotalAmount() as totalAmount

          from ednInputChannel as S

Invalid call to function or constructor: cast. Verify function or constructor for complex type exists, is not ambiguous, and has the correct number of parameters.>

<Dec 24, 2014 6:27:58 AM PST> <Emergency> <CQLServerTrace> <BEA-000000> <oracle.cep.metadata.MetadataException: Invalid call to function or constructor: cast>

<Dec 24, 2014 6:27:58 AM PST> <Error> <CQLProcessor> <BEA-000000> <Failed to create statement [FraudView].

Invalid statement: "select S.properties as properties,

</code>

This discussion has been closed.