Skip to Main Content

Intelligent Advisor

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OPA Interview Portlet on Liferay

AjaySolleti(Delloitte)Jul 12 2014 — edited Jul 15 2014

Is there any specific updates that needs to be made to OPA Interview Portlet war file in order for it to work properly in Liferay?

I'm using Liferay CE with OPA 10.4.5 portlet. I've made updates to the redirect value in web.xml

OPA help suggests that Liferay is not supported as per Oracle Policy Automation Developer's Guide but I can see liferay-portlet.xml in the war file. I'd assume it is supported. I even added the plugin from examples as mentioned in the guide.

Working:

     OPA vanilla portlet (including the social screening example) gets deployed in Liferay

     The portlet can be added to the site

     Can choose from available rulebases and languages

     Summary screen is displayed listing all goals

     Clicking on goal links to investigate navigates to the first interview form

Problem:

     After populating the data in the first form and clicking on submit, the generic error message screen is displayed

     The error is also cached in the portlet and doesn't allow the user to "restart" the interview without bouncing the server or using another browsers (maybe cache issue)

The logs indicate that the error is due to "Null Pointer Exception" when the engine is trying the process the current state of the goal.

Is this a problem with the way Liferay processes and sends the information to OPA? What workarounds are available?

Ajay

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 12 2014
Added on Jul 12 2014
2 comments
1,183 views