Oracle Event Processing 12c: java errors when deploying a new OEP project

Sometimes when you create a new OEP project in JDeveloper 12c and you deploy it for the first time, you might get a list of java errors. They might look a bit like this:


Exception in thread "SpringOsgiExtenderThread-118" org.springframework.beans.Fat
alBeanException: Error in context lifecycle initialization; nested exception is
com.bea.wlevs.ede.api.ConfigurationException:
Invalid statement: "select S.properties as properties,
>>cast<<@java(S.javaContent, com.oracle.oep.FraudCheckRequest.class).getOrde
rNumber() as orderNumber,
cast@java(S.javaContent, com.oracle.oep.FraudCheckRequest.class).getEmail()
as email,
cast@java(S.javaContent, com.oracle.oep.FraudCheckRequest.class).getTotalAmo
unt() as totalAmount
from ednInputChannel as S"
Description: Invalid call to function or constructor: cast
Cause: Probable causes are: Probable causes are: There is no symbol named com, o
r Attribute name com is invalid for STREAM or RELATION or VIEW., or Types com.or
acle.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 cau
ses are: Probable causes are: There is no symbol named com, or Attribute name co
m is invalid for STREAM or RELATION or VIEW., or Types com.oracle.oep.FraudCheck
Request.class and com.oracle.oep.FraudCheckRequest not found when referencing co
nstructor or static method.., or Error while handling member access to complex t
ype. Constructor cast of type cast not found...
Action: Verify function or constructor for complex type exists, is not ambiguous
, and has the correct number of parameters.
at com.bea.wlevs.spring.ApplicationContextLifecycle.onApplicationEvent(A
pplicationContextLifecycle.java:146)
at org.springframework.context.event.SimpleApplicationEventMulticaster.m
ulticastEvent(SimpleApplicationEventMulticaster.java:97)
at org.springframework.context.support.AbstractApplicationContext.publis
hEvent(AbstractApplicationContext.java:324)
at org.springframework.context.support.AbstractApplicationContext.finish
Refresh(AbstractApplicationContext.java:929)
at org.springframework.osgi.context.support.AbstractOsgiBundleApplicatio
nContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp
plicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCus
tomTCCL(PrivilegedUtils.java:85)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp
plicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.ja
va:320)
at org.springframework.osgi.extender.internal.dependencies.startup.Depen
dencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterAp
plicationContextExecutor.java:136)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.bea.wlevs.ede.api.ConfigurationException:
Invalid statement: "select S.properties as properties,
>>cast<<@java(S.javaContent, com.oracle.oep.FraudCheckRequest.class).getOrde
rNumber() as orderNumber,
cast@java(S.javaContent, com.oracle.oep.FraudCheckRequest.class).getEmail()
as email,
cast@java(S.javaContent, com.oracle.oep.FraudCheckRequest.class).getTotalAmo
unt() as totalAmount
from ednInputChannel as S"
Description: Invalid call to function or constructor: cast
Cause: Probable causes are: Probable causes are: There is no symbol named com, o
r Attribute name com is invalid for STREAM or RELATION or VIEW., or Types com.or
acle.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 cau
ses are: Probable causes are: There is no symbol named com, or Attribute name co
m is invalid for STREAM or RELATION or VIEW., or Types com.oracle.oep.FraudCheck
Request.class and com.oracle.oep.FraudCheckRequest not found when referencing co
nstructor or static method.., or Error while handling member access to complex t
ype. Constructor cast of type cast not found...
Action: Verify function or constructor for complex type exists, is not ambiguous
, and has the correct number of parameters.
at com.oracle.cep.processor.cql.impl.CQLProcessorImpl.prepare(CQLProcess
orImpl.java:1141)
at com.oracle.cep.processor.cql.impl.CQLProcessorImpl.afterConfiguration
Active(CQLProcessorImpl.java:2788)
at com.bea.wlevs.spring.ActivationBeanPostProcessor.postProcessAfterCont
extInitialization(ActivationBeanPostProcessor.java:20)
at com.bea.wlevs.spring.DeferredBeanPostProcessor.afterConfigurationActi
ve(DeferredBeanPostProcessor.java:27)
at com.bea.wlevs.spring.ApplicationContextLifecycle.onApplicationEvent(A
pplicationContextLifecycle.java:113)
... 9 more

The solution to this is very simple.
Go back to JDeveloper, right-click on the project name and select Rebuild. Afterwards deploy again and the errors will be gone.

This has something to do with the java files not registering correctly in the project. Rebuilding the project will force those java files to be included correctly.

Cedar wins Silver – Fusion Partner of the Year 2014/15

If you follow any number of those in the Partner community on LinkedIn you’ll have seen many of us asking that you vote for us in the UKOUG’s annual Partner of the Year competition. All of the partners are really grateful for your votes as winning an award selected by end-users carries significant prestige.

I’m delighted that the company which I now work for – Cedar Consulting – were awarded 2nd place (Silver) for Fusion Partner of (more...)

Living The Nightmare


Last week was excellent, The OTN Nordic Tour (still need to blog), rushing back for UKOUG Partner Awards where Certus won gold for Training & Fusion, a weekend with friends at the Dive Show and finally a quick visit to see my sister, her family and my daughter.

Monday I was travelling from Gloucester to Guildford and the trains were manic, first trains off peak on the Monday of half term, what was I thinking? (more...)

SOA Suite 12c: Bulk Fault Recovery

In earlier versions of the Enterprise Manager it was already possible to recover faulted instances of webservices. Like for instance when a service that the instance depends on is down, the instance will throw a fault and stop processing. When the underlying service is up again, you could go back to the faulted instance and use recovery to have it continue from the step it faulted on.

Now with the introduction of 12c the Error (more...)

SOA Suite 12c with JDK8: access denied

After installing the JDeveloper 12c Quickstart with built-in Integrated Weblogic Server, I ran into a problem when deploying my SOA 12c applications to this server.
During deployment the following error showed up in the log:

access denied ("oracle.fabric.permission.CompositePermission" "default" "read")

After a little bit of research I found out that this error is related to the version of my JDK. When installing JDeveloper I used the most recent version of the Java (more...)

Oracle recognizes Cedar Consulting for Expertise in Oracle HCM Cloud

Oracle HCM Cloud Specialisation (white bkgnd - small)We are delighted to announce that Cedar Consulting has achieved OPN Specialized status for Oracle HCM Cloud.

To achieve this a number of our consultants had to pass a set of exams on Oracle HCM Cloud and as a business we had to have a certain amount of clients. This means that we can proudly display this logo on relevant collateral.

Graham, one of Cedar’s Directors, said:Graham (normal)

“This Specialized status, which follows extensive investment in our Oracle (more...)

The Benefits of Integrating a Google Search Appliance with an Oracle WebCenter or Liferay Portal

This month, the Fishbowl team presented two webinars on integrating a Google Search Appliance with a WebCenter or Liferay Portal. Our new product, the GSA Portal Search Suite, makes integration simple and also allows for customization to create a seamless, secure search experience. It brings a powerful, Google-like search experience directly to your portal.

The first webinar, “The Benefits of Google Search for your Oracle WebCenter or Liferay Portal”, focused on the Google Search Appliance (more...)

Resetting Forgotten Passwords with @ForgeRock #OpenAM

Implementing the “Resetting Forgotten Passwords” functionality as described in the OpenAM Developer’s Guide requires some additional custom code.

It’s pretty straight forward to implement this functionality and can be done in 4 steps (per the Developer’s Guide):

  1. Configure the Email Service
  2. Perform an HTTP Post with the user’s id
  3. OpenAM looks up email address (based on user id) and sends an email with a link to reset the password
  4. Intercept the HTTP GET request to (more...)

What’s coming in Taleo 14B

The release notes are out, and the other night I attended a webinar showing the highlights of the Taleo Enterprise Edition 14B release (provisionally due on November 24th). It was a really worthwhile hour and the presenter – who I believe was Fabrice De Carne – was very engaging. Here’s what caught my eye:

Talent Acquisition:

Evaluation Management

  • The ability to mark some questions as requiring responses (shown with a star) to ensure that you don’t (more...)

Are Cloud Applications Ready?


When new trends hit the IT world it takes a while for them to become a reality and even longer to become mainstream. I remember when Business Intelligence became a popular term, the first few years were ‘what is Business Intelligence?’ and 'why do you need Business Intelligence? rather than how to? The when SOA was first talked about, each presentation would start off with and ‘what is SOA?’. More recently the question had been what (more...)

The Applications Previously Known as Fusion


When Oracle first mentioned Fusion I thought it was just going to be a project name, called something different on release. Oracle announced that they were going to take the best of the functionality from each of the applications they owned, their own original E business suite, PeopleSoft, J.D. Edwards, and Siebel and the 'fusion', built
 
would give the . And they would build using modern technology and open standards and next generation suite (more...)

Uber won’t want drivers in the future

I'm an Uber user, its a great service outside of cities with decent public transport.  But I have been thinking about where they will justify the $17bn valuation and give people a return on that $1.2bn investment.  At the same time I've been following the autonomous car pieces with interest and I think there is a pretty clear way this can end, especially as Uber have already said they are going

Fusion Middleware 12c – Embracing the power of Maven

I recently started to build a small project in JDeveloper 12c to learn how to make use of Custom Activities in an Adaptive Case Management project. The results of this  project will be posted in my next blog. When I started the project, I wanted to do it the Maven way (since JDeveloper 12c has built-in Maven support).

Being able to deploy a case as a Maven artefact requires a little initial setup. The bulk (more...)

My OOW14 – As A partner


This was my first OOW with Certus Solutions who I joined just 3 weeks before. Certus really 'get' the value of being an ACE in the Oracle World and support all that I do, in return I want them to have the benefits.

Certus are Oracle Cloud Application experts and one of my first objectives is to help move us into PaaS for extensions where additional functionality can be added.

One of the reasons I talked to (more...)

My OOW14 – Headlines


I think we can agree the main message was Cloud, but there were lots of other messages:

A good general overview is from Tim Hall blog

Hardware - engineered systems are selling and being improved all the time. R&D is working on improving performance in all components.

ZDNet blog has good coverage here

Database - last year there was a lot about 12c and many people have already adopted this. There was a lot (more...)

My OOW14 – Speaking


As well as the EOUC 12 short talks on 12c that I hosted (and spoke in at the last moment) I had 2 other speaking sessions and a customer lunch.
 
I was included in the AppAdvantage Lunch – the only partner present not sponsoring but I was there in my capacity as guest author on their blog and joined in the discussion raising the topic of importance of dialogue between business and IT.  


Rick & (more...)

My OOW14 – Final Random Thoughts


To finish off with a few random thoughts from Oracle Open World 2014:


The web apps for OOW14 were pretty good. The main exception being that you couldn't schedule overlapping sessions. I know it is important to reserve seats for just 1 session at the time but it would be great if you could add reserves to your schedule or have private meetings overlap.

Umm the mobile app was really disappointing. It didn't show (more...)

My OOW14 – EOUC 12 Short talks on 12c


In my OOW14 Objectives post I talked about the planned 12 Short Talks on 12c
session I was hosting for the EOUC. As I said usergroups have their own dedicated content on the Sunday of OOW, and the EOUC had a stream with presenters as voted by the various EMEA user groups.

The idea of the session was 12 presentations all about the 12c database and was proposed by Ralf Koelling from the DOAG and I volunteered (more...)

My OOW14 – User Groups at OOW


First I have to say well done Oracle, the User Group Pavilion at Oracle Open World has found the right home, please keep it there next year.

User groups are all about community and having them next to OTN, Oracle's own community, they were easy to find, prominent and proved excellent for conversations about user groups around the world.

I have for many years attended the IOUC meetings on behalf of UKOUG but this year (more...)

My OOW14 – ACE Director Briefings

 
Seat belts were fastened for 2 days of information overload and even more importantly the opportunity to ask questions of the people who make Oracle products what they are.

I find ACE directors in two camps on how they think about these days, some and I guess the split is about 50/50, moan about how little there is in their area. I am in the other camp who think the event is about expanding (more...)