- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
OPA Interview Portlet on Liferay
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.
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
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?