we try to use your "Launch pad" plugin to start new FileNet workflows => whenever I click on the link "Launch new workflows (Standard)", we get the following error stack trace => my user has sufficient access rights in the object store where the ".pep" files are stored:
Error: The requester has insufficient access rights to perform the requested operation.
com.filenet.api.exception.EngineRuntimeException: FNRCE0001E: E_ACCESS_DENIED: The requester has insufficient access rights to perform the requested operation. errorStack={
at com.filenet.engine.retrieve.IndependentClassRetriever.postLoadSecurity(IndependentClassRetriever.java:1412) at com.filenet.engine.retrieve.RetrieverClassBase.loadNonScalarProperties(RetrieverClassBase.java:629) at com.filenet.engine.retrieve.IndependentClassRetriever.loadNonScalarProperties(IndependentClassRetriever.java:1320) at com.filenet.engine.retrieve.IndependentClassRetriever.loadObject(IndependentClassRetriever.java:1141)
at com.filenet.engine.retrieve.IndependentClassRetriever.getObjectEnumeration(IndependentClassRetriever.java:1226) at com.filenet.engine.retrieve.WithContentClassRetriever.getObjectEnumeration(WithContentClassRetriever.java:161) at com.filenet.engine.retrieve.IndependentClassRetriever.getObject(IndependentClassRetriever.java:615) at com.filenet.engine.retrieve.IndependentClassRetriever.getObject(IndependentClassRetriever.java:338) at com.filenet.engine.jca.impl.RequestBrokerImpl.getObjects(RequestBrokerImpl.java:742) at com.filenet.engine.jca.impl.RequestBrokerImpl.getObjects(RequestBrokerImpl.java:644) at com.filenet.engine.ejb.EngineCoreBean._getObjects(EngineCoreBean.java:208) at com.filenet.engine.ejb.EngineCoreBean.getObjects(EngineCoreBean.java:175) at sun.reflect.GeneratedMethodAccessor334.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:233) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:268) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211) at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:167) at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:84) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650) at org.jboss.ejb.Container.invoke(Container.java:1092) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436) at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103) at $Proxy170.getObjects(Unknown Source) at com.filenet.engine.ejb.EngineBean.getObjects(EngineBean.java:415) at sun.reflect.GeneratedMethodAccessor333.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.invocation.Invocation.performCall(Invocation.java:386) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:233) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:268) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211) at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:167) at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:84) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650) at org.jboss.ejb.Container.invoke(Container.java:1092) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436) at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103) at $Proxy178.getObjects(Unknown Source) at com.filenet.apiimpl.transport.ejb.EnginePortLocal.getObjects(EnginePortLocal.java:92) at com.filenet.apiimpl.wsi.ServiceSessionNst$2.run(ServiceSessionNst.java:1198) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at com.filenet.apiimpl.authentication.util.J2EEAuthnUtil.runAs(J2EEAuthnUtil.java:533) at com.filenet.apiimpl.authentication.util.J2EEAuthnUtilJB.runAs(J2EEAuthnUtilJB.java:280) at com.filenet.apiimpl.util.J2EEUtilJB.doAs(J2EEUtilJB.java:103) at com.filenet.apiimpl.wsi.ServiceSessionNst.sMakeInternalEJBCall(ServiceSessionNst.java:1077) at com.filenet.apiimpl.wsi.ServiceSessionNst.sHandleIncomingRequest(ServiceSessionNst.java:997) at com.filenet.engine.wsi.ListenerNst.service(ListenerNst.java:163) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74) at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451) at java.lang.Thread.run(Thread.java:662) } at com.filenet.apiimpl.wsi.serialization.core.ExceptionSerialization.deserialize(ExceptionSerialization.java:196) at com.filenet.apiimpl.wsi.serialization.DeserializerContext.deserializeObject(DeserializerContext.java:475) at com.filenet.apiimpl.wsi.serialization.operation.GetObjectsResponseSerialization.deserialize(GetObjectsResponseSerialization.java:182) at com.filenet.apiimpl.wsi.ServiceSessionNst.cReqRespPath(ServiceSessionNst.java:188) at com.filenet.apiimpl.wsi.ServiceSessionNst.getObjects(ServiceSessionNst.java:104) at com.filenet.apiimpl.util.SessionHandle.getObjects(SessionHandle.java:381) at com.filenet.apiimpl.core.Session.callGetObjects(Session.java:122) at com.filenet.apiimpl.core.Session.executeGetObject(Session.java:327) at com.filenet.apiimpl.core.Session.getProperty(Session.java:450) at com.filenet.apiimpl.property.PropertyImpl.fetchValue(PropertyImpl.java:355) at com.filenet.apiimpl.property.PropertyImpl.getObjectValue(PropertyImpl.java:295) at com.filenet.apiimpl.property.PropertyImpl.getObjectValue(PropertyImpl.java:276) at com.filenet.apiimpl.property.PropertyImpl.getIndependentObjectSetValue(PropertyImpl.java:589) at com.filenet.apiimpl.property.PropertiesImpl.getIndependentObjectSetValue(PropertiesImpl.java:1191) at com.filenet.apiimpl.core.ObjectStoreImpl.get_WorkflowDefinitions(ObjectStoreImpl.java:465) at com.wewebu.ow.server.ecmimpl.fncm5.OwFNCM5Network.getWorkflowDescriptions(OwFNCM5Network.java:1784) at com.wewebu.ow.server.ecmimpl.fncm5.bpm.OwFNBPM5Repository.getDefaultWorkflowDescriptions(OwFNBPM5Repository.java:717) at com.wewebu.ow.server.ecmimpl.fncm5.bpm.OwFNBPM5Repository.getLaunchableWorkflowDescriptions(OwFNBPM5Repository.java:611) at com.wewebu.ow.server.plug.owbpm.plug.OwBPMNewWorkflowExtension.onClickEvent(OwBPMNewWorkflowExtension.java:82) at com.wewebu.ow.server.plug.ownew.OwNewExtensionsToolView.invoke(OwNewExtensionsToolView.java:60) at com.wewebu.ow.server.dmsdialogs.views.OwToolView$OwToolClickTarget.onClick(OwToolView.java:147) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.wewebu.ow.server.ui.OwAppContext.handleRequest(OwAppContext.java:1315) at com.wewebu.ow.server.app.OwMainAppContext.handleRequest(OwMainAppContext.java:642) at com.wewebu.ow.server.ui.OwWebApplication.handleRequest(OwWebApplication.java:352)
Yes, we are using four object stores => does this matter? I double checked the access rights, my user has full access to the object store where the WFs are stored.
That's a problem in the retrieve Workflow (=WF) definition process, all object stores are scanned for existing WF definitions and it could happen that such an access denied exception is thrown.
This problem was already encountered and will be fixed with in version 3.2.0.2, which will be available next month.