"Application role not found." errors originating from the HWFSynthesizer (Doc ID 2261539.1)

Last updated on MAY 02, 2017

Applies to:

Oracle Business Process Management Suite - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

The following errors may be regularly occuring in your log files:

Cannot get application roles from application identified by "{0}".
An error occurred while getting application roles from application identified by "soa-infra".
The underlying APIs threw an exception. Check the error stack and fix the cause of the error. Contact Oracle Support Services if error is not fixable.
 ORABPEL-10513

Cannot get application roles from application identified by "{0}".
An error occurred while getting application roles from application identified by "soa-infra".
The underlying APIs threw an exception. Check the error stack and fix the cause of the error. Contact Oracle Support Services if error is not fixable.

at oracle.tip.pc.services.identity.jps.JpsProvider$1.run(JpsProvider.java:1039)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.tip.pc.services.identity.jps.JpsProvider.lookupAppRole(JpsProvider.java:1032)
at oracle.tip.pc.services.identity.jps.AuthorizationServiceImpl.lookupAppRole(AuthorizationServiceImpl.java:388)
at oracle.tip.pc.services.identity.jps.IdentityServiceImpl.lookupAppRole(IdentityServiceImpl.java:226)
at oracle.bpel.services.workflow.task.impl.WorkflowUtil.getDisplayName(WorkflowUtil.java:4364)
at oracle.bpm.hwfanalytics.synthesizer.HWFSynthesizer.setValuesForAssignee(HWFSynthesizer.java:1691)
at oracle.bpm.hwfanalytics.synthesizer.HWFSynthesizer.updateSynAssignmentForNewAssignee(HWFSynthesizer.java:1636)
at oracle.bpm.hwfanalytics.synthesizer.HWFSynthesizer.insertTaskAssigneesToAssignmentDO(HWFSynthesizer.java:2051)
at oracle.bpm.hwfanalytics.synthesizer.HWFSynthesizer.synthesizeInitiateEvent(HWFSynthesizer.java:232)
at oracle.bpm.hwfanalytics.synthesizer.HWFSynthesizer.synthesize(HWFSynthesizer.java:93)
at oracle.bpm.hwfanalytics.ejb.HWFSynthesizerBean.synthesize(HWFSynthesizerBean.java:68)
at oracle.bpm.hwfanalytics.ejb.HWFSynthesizer_7p581e_IHWFSynthesizerLocalImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33)
at oracle.bpm.hwfanalytics.ejb.HWFSynthesizer_7p581e_IHWFSynthesizerLocalImpl.synthesize(Unknown Source)
at oracle.bpm.metrics.action.AbstractSynthesizerAction.processMeasurementEvent(AbstractSynthesizerAction.java:77)
at oracle.bpm.metrics.action.AbstractMeasurementAction.processEvent(AbstractMeasurementAction.java:151)
at oracle.bpm.metrics.action.AbstractMeasurementAction.processMessage(AbstractMeasurementAction.java:108)
at oracle.bpm.analytics.beam.action.BeamActionMDB.onMessage(BeamActionMDB.java:112)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:451)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:375)
at weblogic.ejb.container.internal.TokenBasedJMSMessagePoller.processOneMessage(TokenBasedJMSMessagePoller.java:283)
at weblogic.ejb.container.internal.TokenBasedJMSMessagePoller.run(TokenBasedJMSMessagePoller.java:121)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:548)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
Caused by: ORABPEL-10510

Application role not found.
Application role "GenericBpmProject.BPM_SEP_SCR" could not be found for application identified by "soa-infra"
Check if the application role exists in the repository associated with the application. Check the error stack and fix the cause of the error. Contact Oracle Support Services if error is not fixable.

at oracle.tip.pc.services.identity.jps.JpsProvider$9.run(JpsProvider.java:2622)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.tip.pc.services.identity.jps.JpsProvider.lookupAppRoleEntry(JpsProvider.java:2617)
at oracle.tip.pc.services.identity.jps.JpsProvider.access$000(JpsProvider.java:235)
at oracle.tip.pc.services.identity.jps.JpsProvider$1.run(JpsProvider.java:1035)
... 25 more


In some situations SOA/BPM is looking for roles in the wrong application. In the above stack trace it shows it's looking under soa-infra when it should be using the OracleBPMProcessRolesApp which is why the lookup fails.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms