UserInitiateProcessCleanupAction Failed with Java.lang.RuntimeException (Doc ID 1585038.1)

Last updated on AUGUST 03, 2016

Applies to:

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

Symptoms

As per in http://docs.oracle.com/cd/E28280_01/admin.1111/e10226/bpmn_config.htm#CBDEEJII , the BPMN Engine parameter called 'UserInitiateProcessCleanup' has been configured in Enterprise Manager(EM) for stale initiator processes cleanup.

However, when starting the job it fails with following exception error message:

Initiate Process instances
{oracle.bpm.bpmn.engine.instancemanagement.instanceRemoval}, setting
retryCount to {1}
java.lang.RuntimeException: Caller doesn't have enough permission to call this method.
at
oracle.soa.management.internal.ejb.impl.BaseSOABeanImpl.checkSecurityRole(BaseSOABeanImpl.java:55)
at
oracle.soa.management.internal.ejb.impl.FacadeFinderBeanImpl.getCompositeInstances(FacadeFinderBeanImpl.java:913)
at
oracle.soa.management.internal.ejb.impl.FacadeFinderBeanImpl.getCompositeInstances(FacadeFinderBeanImpl.java:905)
com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at
com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at
oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl.getCompositeInstances(Unknown Source)
at
oracle.soa.management.internal.ejb.EJBLocatorImpl.getCompositeInstances(EJBLocatorImpl.java:435)
at
oracle.bpm.bpmn.engine.instancemanagement.impl.UserInitiateProcessCleanup.getCompositeInstance(UserInitiateProcessCleanup.java:270)
at
oracle.bpm.bpmn.engine.instancemanagement.impl.UserInitiateProcessCleanup.startAbortingInstances(UserInitiateProcessCleanup.java:231)
at
oracle.bpm.bpmn.engine.instancemanagement.impl.UserInitiateProcessCleanup.doRemoveInstances(UserInitiateProcessCleanup.java:118)
at
oracle.bpm.bpmn.engine.instancemanagement.ejb.UserInitiateProcessCleanupServiceBean.doRemoveInstances(UserInitiateProcessCleanupServiceBean.java:217)
at
oracle.bpm.bpmn.engine.instancemanagement.ejb.UserInitiateProcessCleanupServiceBean.handleTimeout(UserInitiateProcessCleanupServiceBean.java:107)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke

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