Fuego.papi.exception.TaskFailedException: Task '0' in activity

Hi,
getting below exception in engine log in oracle 10g version. what could be the problem ?
fuego.papi.exception.TaskFailedException: Task '0' in activity '/SystemCheck#Default-1.0/Interactive[BANKApproval]' for instance '/SystemCheck#Default-1.0/1059/0' could not be successfully executed. The task failed while executing method 'bankApproval'.
at fuego.papi.exception.TaskFailedException.create(TaskFailedException.java:57)
at fuego.server.AbstractProcessBean.createTaskFailedException(AbstractProcessBean.java:3594)
at fuego.fengine.FEngineProcessBean.createTaskFailedException(FEngineProcessBean.java:398)
at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:3207)
at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
at fuego.lang.JavaObject.invoke(JavaObject.java:227)
at fuego.component.Message.process(Message.java:585)
at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
at fuego.component.CustomExecution.next(CustomExecution.java:176)
at fuego.papi.impl.rmi.RMIExecution.next(RMIExecution.java:111)
at fuego.papi.impl.ProcessInstanceOperation.runActivity(ProcessInstanceOperation.java:723)
at fuego.papi.impl.ProcessServiceSessionImpl.activityExecute(ProcessServiceSessionImpl.java:1564)
at fuego.papi.impl.ProcessServiceSessionImpl.activityExecute(ProcessServiceSessionImpl.java:1503)
at fuego.papi.impl.ProcessServiceSessionImpl.activityExecute(ProcessServiceSessionImpl.java:1524)
at fuego.papi.impl.ProcessServiceSessionImpl.runActivity(ProcessServiceSessionImpl.java:1497)
at com.lol.fuego.impl.service.workflow.ProcessHandlerImpl.executeActivity(ProcessHandlerImpl.java:300)
at com.lolgroup.dogs.delegate.FuegoProcess.executeActivity(FuegoProcess.java:199)
at com.lolgroup.dogs.delegate.WorkFlowAction.actionRelease(WorkFlowAction.java:32)
at com.lolgroup.dogs.delegate.InputAction.action(InputAction.java:158)
at com.lolgroup.dogs.delegate.ProcessFactoryImpl.process(ProcessFactoryImpl.java:163)
at com.lolgroup.dogs.delegate.FrameworkManager.doLocalExecute(FrameworkManager.java:45)
at com.lolgroup.dogs.delegate.FrameworkManager.executeAction(FrameworkManager.java:29)
at com.lol.aml.cadd.workflow.service.impl.AbstractWorkflowServiceImpl.releaseInstance(AbstractWorkflowServiceImpl.java:1746)
at com.lol.aml.cadd.webapp.workflow.WorkflowSubmitService.processWorkItemPackageForCoreCADDSubmit(WorkflowSubmitService.java:465)
at com.lol.aml.cadd.webapp.workflow.WorkflowSubmitController.onSubmit(WorkflowSubmitController.java:1202)
at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:267)
at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:250)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:819)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:754)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:399)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:364)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:77)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: fuego.lang.ComponentExecutionException: The method 'CIL_bankApproval' from class 'goahead.SystemCheck.Default_1_0.Instance' could not be successfully executed.
at fuego.component.ExecutionThreadContext.invokeMethod(ExecutionThreadContext.java:519)
at fuego.component.ExecutionThreadContext.invokeMethod(ExecutionThreadContext.java:273)
at fuego.fengine.FEEngineExecutionContext.invokeMethodAsCil(FEEngineExecutionContext.java:219)
at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1284)
at fuego.server.execution.TaskExecution.invoke(TaskExecution.java:401)
at fuego.server.execution.InteractiveNormalCilExecution.invoke(InteractiveNormalCilExecution.java:425)
at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:513)
at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:697)
at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:657)
at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:154)
at fuego.server.execution.microactivity.InteractiveMicroActivity.executeNormalCil(InteractiveMicroActivity.java:501)
at fuego.server.execution.microactivity.InteractiveMicroActivity.executeItem(InteractiveMicroActivity.java:454)
at fuego.server.execution.microactivity.InteractiveMicroActivity.execute(InteractiveMicroActivity.java:104)
at fuego.server.AbstractProcessBean$46.execute(AbstractProcessBean.java:3198)
at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
Edited by: Brijesh Kumar Singh on Apr 25, 2012 10:01 PM

Hi
Is there any more stack below what you posted? sometimes there is more information that explains why the method could not be executed - maybe an underlying java error?
Regards
Kevin

Similar Messages

  • Fuego.papi.exception.SharedParentInstanceBusyException

    The process has a split-join. Instance in one branch is in join. The interactive activity in another branch cannot be executed. In the Javadoc / PAPI, no enough information about this exception.
    I use BPM standalone 10.3.1 and studio 10.3.0
    Exception in thread "main" fuego.papi.exception.SharedParentInstanceBusyException: Task '0' in activity '/TestPAPI3Process#Default-1.0/Interactive[departmentmanager3]' cannot be executed over instance '/TestPAPI3Process#Default-1.0/9211/2'.
    Another instance copy is executing a task over shared instance.
         at fuego.server.execution.CheckInteractiveExecution.checkShareParentState(CheckInteractiveExecution.java:234)
         at fuego.server.execution.CheckInteractiveExecution.check(CheckInteractiveExecution.java:111)
         at fuego.server.execution.microactivity.InteractiveMicroActivity.checkInteractiveExecution(InteractiveMicroActivity.java:471)
         at fuego.server.execution.microactivity.InteractiveMicroActivity.executeItem(InteractiveMicroActivity.java:443)
         at fuego.server.execution.microactivity.InteractiveMicroActivity.execute(InteractiveMicroActivity.java:104)
         at fuego.server.AbstractProcessBean$48.execute(AbstractProcessBean.java:3198)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:3202)
         at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
         at fuego.lang.JavaObject.invoke(JavaObject.java:227)
         at fuego.component.Message.process(Message.java:585)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
         at fuego.component.CustomExecution.next(CustomExecution.java:176)
         at fuego.papi.impl.rmi.RMIExecution.next(RMIExecution.java:109)
         at fuego.papi.impl.ProcessInstanceOperation.prepareExternalActivity(ProcessInstanceOperation.java:697)
         at fuego.papi.impl.ProcessServiceSessionImpl.activityPrepare(ProcessServiceSessionImpl.java:1423)
         at fuego.papi.impl.ProcessServiceSessionImpl.activityPrepare(ProcessServiceSessionImpl.java:1417)
         at testpapiprocessjava.departmentmanager3.managerPrepareCommit(departmentmanager3.java:53)
         at testpapiprocessjava.departmentmanager3.main(departmentmanager3.java:29)
    Process exited with exit code 1.

    Sorrry - I don't think I was clear. Leave the checkbox checked so that it does generates copies (leave it like it was when you first added the Split activity).
    I could easily be wrong (frequently am) but I ran into a similar problem when I'd changed it from the original setting (make it unchecked) and suspected you might have collided into the same bug I did.
    Dan

  • OBPM : fuego.papi.exception.NoPermissionException

    Scenario:
    2.     Logged in as A
    3.     Create a new Instance (X) -
    4.     Logged out as Sales Agent.
    5.     Logged in as Another user B to whom OBPM assigned automatically.
    6.     Selected X in B's worklist.
    7.     Assigned back to A.
    8.     Technical Info: fuego.papi.exception.NoPermissionException
    10.     Stacktrace:
    ERROR [[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] webservice.impl.CreditAssessmentTaskMgmtServiceImpl - OperationException while prepareActivityInstance : ReviewCreditAssessmentRequest , /SDSE/CRDACreditAssessmentApplicationProcess#Default-1.0/5847/0
    com.bea.albpm.papiwebservice.OperationException: Instance '/SDSE/CRDACreditAssessmentApplicationProcess#Default-1.0/5847/0', in activity '/SDSE/CRDACreditAssessmentApplicationProcess#Default-1.0/Interactive[ReviewCreditAssessmentRequest]' is assigned to participant 'ELMER', or he/she is executing it. It may be that your execution of '/SDSE/CRDACreditAssessmentApplicationProcess#Default-1.0/Interactive[ReviewCreditAssessmentRequest]' expired. Check with your administrator for more details if this is not the case.
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2010-10-12 18:48:54,267 DEBUG [[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.datasou
    rce.DataSourceUtils - Returning JDBC Connection to DataSource
    2010-10-12 18:48:54,267 DEBUG [[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] transaction.
    jta.WebLogicJtaTransactionManager - Initiating transaction rollback
    2010-10-12 18:48:54,302 DEBUG [[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] webservice.service.CreditAssessmentServiceSOAPHandler - SOAP Fault Message: <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header/><S:Body><ns2:Fault xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope"><faultcode>ns2:Server</faultcode><faultstring>OperationException kicking Off Work flow Instance for credit Assessment Request Id : 2152</faultstring><detail><ns4:PolicyException xmlns:ns2="http://xmlschema.tmi.telus.com/xsd/Customer/Customer/CreditAssessmentRequestTypes_v1" xmlns:ns3="http://xmlschema.tmi.telus.com/xsd/Enterprise/BaseTypes/types/ping_v1" xmlns:ns4="http://xmlschema.tmi.telus.com/xsd/common/exceptions/Exceptions_v1_0" xmlns:ns5="http://xmlschema.tmi.telus.com/srv/CMO/OrderMgmt/CreditAssessmentServiceRequestResponse_v1"><ns4:messageId>fuego.papi.exception.NoPermissionException</ns4:messageId>
    <ns4:errorCode>CreditAssessmentSvcExceptionCodes.OBPM_EXCEPTION</ns4:errorCode>
    <ns4:errorMessage>fuego.papi.exception.NoPermissionException Technical Info: Instance '/SDSE/CRDACreditAssessmentApplicationProcess#Default-1.0/5847/0', in activity
    '/SDSE/CRDACreditAssessmentApplicationProcess#Default-1.0/Interactive[ReviewCreditAssessmentRequest]' iis assigned to participant 'ELMER', or he/she is executing it.
    It may be that your execution of '/SDSE/CRDACreditAssessmentApplicationProcess#Default-1.0/Interactive[ReviewCreditAssessmentRequest]' expired. Check with your administrator for more details if this is not the case.
    Technical Info: fuego.papi.exception.NoPermissionException: Instance '/SDSE/CRDACreditAssessmentApplicationProcess#Default-1.0/5847/0', in activity
    '/SDSE/CRDACreditAssessmentApplicationProcess#Default-1.0/Interactive[ReviewCreditAssessmentRequest]' is assigned to participant 'ELMER', or he/she is executing it.
    It may be that your execution of '/SDSE/CRDACreditAssessmentApplicationProcess#Default-1.0/Interactive[ReviewCreditAssessmentRequest]' expired. Check with your administrator for more details if this is not the case.
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl_1030_WLStub.runTask(Unknown Source)
    at fuego.papi.impl.j2ee.EJBProcessControlInterfaceWrapper.runTask(EJBProcessControlInterfaceWrapper.java:2201)
    at sun.reflect.GeneratedMethodAccessor1052.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at fuego.papi.impl.AbstractProcessControlHandler.invokeInternal(AbstractProcessControlHandler.java:72)
    at fuego.papi.impl.j2ee.EJBProcessControlHandler.doInvoke(EJBProcessControlHandler.java:116)
    at fuego.papi.impl.j2ee.EJBProcessControlHandler.invoke(EJBProcessControlHandler.java:70)
    What could be the reason for it?
    I got this info from website
    http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/papi_javadocs/fuego/papi/exception/NoPermissionException.html#ACTIVITY_NOT_ABORTABLE
    is that possible to catch this exception and display to user what is the reason and code ?
    like SELECTED_BY_OTHER ,LIMIT_RUN_INSTANCES ,etc.. I would like to show the code to the user.

    X is a new instance created by A and assigned to ELMER(B).
    This instance is never created and associated before.
    When B(Elmer) tries to assign back to A.It thorws error.This happends when I call prepareActivityInstance : m_papiWebService.activityPrepare( activityPrepare );
    Then why should I unassign ?
    how we find out that instance is assigned to somebody?
    how we unassign that instance?
    This happends when I call prepareActivityInstance : m_papiWebService.activityPrepare( activityPrepare );
    impl.CreditAssessmentTaskMgmtServiceImpl - Enter prepareActivityInstance
    2010-10-14 18:29:05,052 DEBUG [[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] webservice.impl.CreditAssessmentTaskMgmtServiceImpl - Enter prepareActivityInstance
    2010-10-14 18:29:05,052 DEBUG [[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] webservice.impl.CreditAssessmentTaskMgmtServiceImpl - Calling papiWebService: activityPrepare....ReviewCreditAssessmentRequest && /SDSE/CRDACreditAssessmentApplicationProcess#Default-1.0/5855/0
    2010-10-14 18:29:05,052 DEBUG [[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] webservice.impl.CreditAssessmentTaskMgmtServiceImpl - Calling papiWebService: activityPrepare....ReviewCreditAssessmentRequest && /SDSE/CRDACreditAssessmentApplicationProcess#Default-1.0/5855/0
    2010-10-14 18:29:05,054 DEBUG [[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] impl.papi.PAPIWebServiceSOAPHandler - enter PAPIWebServiceSOAPHandler.handleRequest
    2010-10-14 18:29:05,054 DEBUG [[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] impl.papi.PAPIWebServiceSOAPHandler - enter PAPIWebServiceSOAPHandler.handleRequest
    2010-10-14 18:29:05,054 DEBUG [[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] framework.ws.RpcClientHandler - handleRequest(): class com.telus.credit.taskmgmt.webservice.impl.papi.PAPIWebServiceSOAPHandler
    2010-10-14 18:29:05,054 DEBUG [[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] framework.ws.RpcClientHandler - handleRequest(): class com.telus.credit.taskmgmt.webservice.impl.papi.PAPIWebServiceSOAPHandler
    2010-10-14 18:29:05,054 DEBUG [[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] impl.papi.PAPIWebServiceSOAPHandler - PAPIWebServiceSOAPHandler.soapHeadersToAttach
    2010-10-14 18:29:05,054 DEBUG [[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] impl.papi.PAPIWebServiceSOAPHandler - PAPIWebServiceSOAPHandler.soapHeadersToAttach
    2010-10-14 18:29:05,054 DEBUG [[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] impl.papi.PAPIWebServiceSOAPHandler - Exit PAPIWebServiceSOAPHandler.handleRequest
    2010-10-14 18:29:05,054 DEBUG [[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] impl.papi.PAPIWebServiceSOAPHandler - Exit PAPIWebServiceSOAPHandler.handleRequest
    2010-10-14 18:29:06,633 ERROR [[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] webservice.impl.CreditAssessmentTaskMgmtServiceImpl - OperationException while prepareActivityInstance : ReviewCreditAssessmentRequest , /SDSE/CRDACreditAssessmentApplicationProcess#Default-1.0/5855/0
    com.bea.albpm.papiwebservice.OperationException: Instance '/SDSE/CRDACreditAssessmentApplicationProcess#Default-1.0/5855/0', in activity '/SDSE/CRDACreditAssessmentApplicationProcess#Default-1.0/Interactive[ReviewCreditAssessmentRequest]' is assigned to participant 'ELMER', or he/she is executing it. It may be that your execution of '/SDSE/CRDACreditAssessmentApplicationProcess#Default-1.0/Interactive[ReviewCreditAssessmentRequest]' expired. Check with your administrator for more details if this is not the case.
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeConstructor(ReflectionUtils.java:66)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeConstructor(ReflectionUtils.java:66)
    at com.bea.staxb.runtime.internal.CtorArgsMultiIntermediary.constructFinalValue(CtorArgsMultiIntermediary.java:81)
    at com.bea.staxb.runtime.internal.CtorArgsMultiIntermediary.getFinalValue(CtorArgsMultiIntermediary.java:60)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:140)
    at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshal(AttributeUnmarshaller.java:39)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:189)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalType(UnmarshalResult.java:227)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalElement(UnmarshalResult.java:242)
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshalElement(UnmarshallerImpl.java:166)
    at weblogic.wsee.bind.runtime.internal.LiteralDeserializerContext.unmarshalElement(LiteralDeserializerContext.java:89)
    at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.internalDeserializeElement(BaseDeserializerContext.java:182)
    at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.deserializeElement(BaseDeserializerContext.java:117)
    at weblogic.wsee.codec.soap11.SoapCodec.createExceptionFromFault(SoapCodec.java:624)
    at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(SoapCodec.java:306)
    at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeFault(CodecHandler.java:118)
    at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.java:103)
    at weblogic.wsee.ws.dispatch.client.CodecHandler.handleFault(CodecHandler.java:91)
    at weblogic.wsee.handler.HandlerIterator.handleFault(HandlerIterator.java:309)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:269)
    at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(ClientDispatcher.java:213)
    at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:150)
    at weblogic.wsee.ws.WsStub.invoke(WsStub.java:87)
    at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:339)
    at weblogic.wsee.jaxrpc.StubImpl.invoke(StubImpl.java:257)
    at $Proxy319.activityPrepare(Unknown Source)
    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 org.springframework.remoting.rmi.RmiClientInterceptorUtils.invokeRemoteMethod(RmiClientInterceptorUtils.java:108)
    at org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor.doInvoke(JaxRpcPortClientInterceptor.java:617)
    at org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor.doInvoke(JaxRpcPortClientInterceptor.java:584)
    at org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor.invoke(JaxRpcPortClientInterceptor.java:562)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy135.activityPrepare(Unknown Source)
    at com.telus.credit.taskmgmt.webservice.impl.CreditAssessmentTaskMgmtServiceImpl.prepareActivityInstance(CreditAssessmentTaskMgmtServiceImpl.java:655)
    at com.telus.credit.assessment.service.activityactions.WorkflowDrivenAction.prepareActivity(WorkflowDrivenAction.java:132)
    at com.telus.credit.assessment.service.activityactions.WorkflowDrivenAction.executeAction(WorkflowDrivenAction.java:104)
    at com.telus.credit.assessment.webservice.impl.CreditAssessmentServiceImpl.performCreditAssessmentRequestActivities(CreditAssessmentServiceImpl.java:676)
    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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy280.performCreditAssessmentRequestActivities(Unknown Source)
    at com.telus.credit.assessment.webservice.service.CreditAssessmentServicePortImpl.performCreditAssessmentRequestActivities(CreditAssessmentServicePortImpl.java:138)
    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 weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:92)
    at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:74)
    at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:151)
    at com.sun.xml.ws.server.sei.EndpointMethodHandlerImpl.invoke(EndpointMethodHandlerImpl.java:265)
    at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:100)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
    at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:373)
    at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:524)
    at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:255)
    at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:140)
    at weblogic.wsee.jaxws.WLSServletAdapter.handle(WLSServletAdapter.java:208)
    at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:310)
    at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:223)
    at weblogic.wsee.jaxws.JAXWSServlet.doPost(JAXWSServlet.java:124)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

  • BatchOperationException fuego.papi.exception.InstancesException:

    Hi,
    I want to abort the instances using PAPI filter code inside the BPM object method.
    I need's to abort the instances which is in another process and assigned to another participant.
    I am able to get the instances into instances array. After that I want to abort the instances but getting the below exception.
    BatchOperationException fuego.papi.exception.InstancesException: The batch operation could not be executed for all selected instances.
    Internal Exceptions:
    Below is my code :
    instances = processService.getInstancesByFilter(filter : instFilter);
    for (Fuego.Papi.Instance instance : instances){
    if(!instance.aborted)
    instance.unselect();
    instance.abort();
    processService.disconnectFrom();
    Thank you.

    A couple of observations:
    1) I don't think you need to bother with the select/unselect. This has to do with Workspace functionality.
    2) There are many reasons an instance may not be abortable. To test this, try adding a simple condition, checking that the process instance is running and at a known location, like sitting in an interactive. The engine may not be able to process an abort, if the instance is locked or in use by some other process. So you'll need to enhance your logic to check for these conditions and retry again later for instances you can't abort the first time.
    3) Make sure interactive activities have the abortable flag set. If you're using ProcessService by logging in with someones credentials, be sure the person has permissions to abort the instance.
    4) Keep in mind that your not writing code in a standalone app. Your process is running in an engine that needs to consider various things like process contention, permissions and multi-tasking. Creating a simple loop to abort instances may work better if you break it down a bit more into single atomic operations. To do this you would involve split-n logic to handle the abort of an individual instance. If the engine can't abort the instance, the automatic will error out and the engine will retry the abort again later on.
    HTH,
    Mark

  • Fuego.papi.exception.InstanceSelectDisableException

    Hi,
    We are experimenting in our production environment the issue describe below, after this issue, the instance does not work anymore.
    Thanks in advance.
    Instance '/SolicitudDeCredito#Default-8.0/2831/0' could not be selected in activity 'EntrevistarCompletarSolicitud'. Details:
    La instancia '/SolicitudDeCredito#Default-8.0/2831/0' no se puede seleccionar ni cancelar su selección.
    Detalle:La instancia está en una actividad automática o en otro tipo de actividad que no permite esta operación.
    fuego.papi.exception.InstanceSelectDisableException: La instancia '/SolicitudDeCredito#Default-8.0/2831/0' no se puede seleccionar ni cancelar su selección.
    Detalle:La instancia está en una actividad automática o en otro tipo de actividad que no permite esta operación.
         at fuego.server.execution.Select.unSelectInstaceByConditions(Select.java:327)
         at fuego.server.execution.Select.reassignInstanceToParticipant(Select.java:80)
         at fuego.server.AbstractProcessBean$73.execute(AbstractProcessBean.java:4431)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.DefaultEngineExecution.executeWithoutComponentImmediate(DefaultEngineExecution.java:199)
         at fuego.server.execution.EngineExecution.executeWithoutComponentImmediate(EngineExecution.java:95)
         at fuego.server.AbstractProcessBean.reassignInstanceToParticipant(AbstractProcessBean.java:4442)
         at fuego.server.AbstractProcessBean.instancesReassignTo(AbstractProcessBean.java:2173)
         at fuego.ejbengine.EJBProcessControlAdapter.instancesReassignTo(EJBProcessControlAdapter.java:892)
         at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl.instancesReassignTo(EJBProcessControl_1zamnl_EOImpl.java:3311)
         at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl_1030_WLStub.instancesReassignTo(Unknown Source)
         at fuego.papi.impl.j2ee.EJBProcessControlInterfaceWrapper.instancesReassignTo(EJBProcessControlInterfaceWrapper.java:1713)
         at sun.reflect.GeneratedMethodAccessor3100.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at fuego.papi.impl.AbstractProcessControlHandler.invokeInternal(AbstractProcessControlHandler.java:72)
         at fuego.papi.impl.j2ee.EJBProcessControlHandler.doInvoke(EJBProcessControlHandler.java:116)
         at fuego.papi.impl.j2ee.EJBProcessControlHandler.invoke(EJBProcessControlHandler.java:70)
         at $Proxy168.instancesReassignTo(Unknown Source)
         at fuego.papi.impl.ProcessInstanceOperation$7.execute(ProcessInstanceOperation.java:1370)
         at fuego.papi.impl.ProcessInstanceOperation.executeBatchOperation(ProcessInstanceOperation.java:1188)
         at fuego.papi.impl.ProcessInstanceOperation.instancesReassign(ProcessInstanceOperation.java:499)
         at fuego.papi.impl.ProcessServiceSessionImpl.instancesReassign(ProcessServiceSessionImpl.java:1108)
         at fuego.workspace.model.common.PapiBean.assign(PapiBean.java:2744)
         at fuego.workspace.model.view.AssignDialogBean.assign(AssignDialogBean.java:158)
         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.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
         at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
         at com.bea.opencontrols.XPControl.invokeEventMethod(XPControl.java:546)
         at com.bea.opencontrols.form.ActiveButtonRenderer.broadcastAjaxEvent(ActiveButtonRenderer.java:34)
         at com.bea.opencontrols.form.ActiveButton.broadcastAjaxEvent(ActiveButton.java:32)
         at com.bea.opencontrols.faces.JSFUtility.broadcastAjaxEvent(JSFUtility.java:252)
         at com.bea.opencontrols.XPControl.broadcast(XPControl.java:806)
         at com.bea.opencontrols.XPCommand.broadcast(XPCommand.java:185)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
         at fuego.workspace.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:132)
         at fuego.workspace.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:60)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64)
         at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
         at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Hi,
    Adding to it.
    This problem arises when the instance is accessed by a user who is not the current owner of the instance(As Brijesh said.)
    Even if you restart the workspace the problem will arise again as the instance is assigned to the same user.
    Only one user can work on a particular instance at one given moment of time.
    As to solve this problem, the user can reassign the instance to the another user who wants to access it.
    Hope it helps...
    -- ricky

  • Fuego.papi.exception.NoPermissionException how to catch it?

    Good night, i'm having the following problem
    **The Participant A logs into the workspace and hei have and activity in the workspace waiting to be executed but he has not clicked on the activity.*
    ** The participant B have the same rol than participant A so when he logs in, he has the same activity waiting to be exceuted and the link where he can click,*
    At this point they are both logged in and then participant A clicks on the activity to initiate the execution, then comes participant B and click at the same activity to execute it but he gets a red screen and this exception:
    La instancia '/AnálisisDeCréditoPreliminar#Default-1.0/8/0' de la actividad '/AnálisisDeCréditoPreliminar#Default-1.0/Interactive[RecibirRecaudos]' está asignada al participante 'pedro', o dicho participante la está ejecutando. Es posible que haya caducado su ejecución de '/AnálisisDeCréditoPreliminar#Default-1.0/Interactive[RecibirRecaudos]'. Si no es el caso, consulte cualquier otro detalle con el administrador.
    fuego.papi.exception.NoPermissionException*: La instancia '/AnálisisDeCréditoPreliminar#Default-1.0/8/0' de la actividad '/AnálisisDeCréditoPreliminar#Default-1.0/Interactive[RecibirRecaudos]' está asignada al participante 'pedro', o dicho participante la está ejecutando. Es posible que haya caducado su ejecución de '/AnálisisDeCréditoPreliminar#Default-1.0/Interactive[RecibirRecaudos]'. Si no es el caso, consulte cualquier otro detalle con el administrador.
    at fuego.server.execution.CheckInteractiveExecution.checkSelectedInstance(CheckInteractiveExecution.java:211)
    at fuego.server.execution.CheckInteractiveExecution.check(CheckInteractiveExecution.java:108)
    at fuego.server.execution.microactivity.InteractiveMicroActivity.checkInteractiveExecution(InteractiveMicroActivity.java:471)
    at fuego.server.execution.microactivity.InteractiveMicroActivity.executeItem(InteractiveMicroActivity.java:443)
    at fuego.server.execution.microactivity.InteractiveMicroActivity.execute(InteractiveMicroActivity.java:104)
    at fuego.server.AbstractProcessBean$48.execute(AbstractProcessBean.java:3184)
    at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
    at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
    at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
    at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
    at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
    at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
    at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:3188)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
    at fuego.lang.JavaObject.invoke(JavaObject.java:227)
    at fuego.component.Message.process(Message.java:585)
    at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
    at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
    at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
    at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
    at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
    at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
    at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
    at fuego.component.CustomExecution.next(CustomExecution.java:176)
    at fuego.papi.impl.rmi.RMIExecution.next(RMIExecution.java:109)
    at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:177)
    at fuego.web.execution.impl.WebInteractiveExecution.process(WebInteractiveExecution.java:54)
    at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:223)
    at fuego.web.papi.TaskExecutor.runInstanceTask(TaskExecutor.java:490)
    at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:98)
    at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:117)
    at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:229)
    at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:220)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:83)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at sun.reflect.GeneratedMethodAccessor203.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
    at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64)
    at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    at sun.reflect.GeneratedMethodAccessor168.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
    at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
    at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    at sun.reflect.GeneratedMethodAccessor168.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Unknown Source)
    the question is is there any way to capture the exception and show the participant a friendly message and not a red screen error?? i would appreciate any help you could give me

    Hi Carlos,
    Not as far as I know, it's just the way it works. If user B refreshes the workspace the instance shouldn't be there for selection.
    An alternative would be to assign the instance directly to a user before it arrives in the interactive so that it doesn't appear in the other user's inbox.
    Cheers

  • Getting fuego.web.exception.WapiInstancesException

    Using Oracle BPM 10.3 MP2, WL Version Build # 100486
    There are 2 participants userA and userB with same roles, but with only change as - userA has Category set to 5 and userB has Category set to 9
    An instance instanceX is assigned to userA, In workspace we see both Participant and Task Participant as - userA.,
    now when userB is trying to unassign / reassign that particular instance instanceX , we are getting exception in workspace as below:
    [<W> 0917 06:12:24.106] Main (<0> [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'): Error workspace-1284780669877
    [     (cont)     ] Main: Could not perform the operation over the instance/s.
    [     (cont)     ] Main: Caused by: The batch operation could not be executed for all selected instances.
    [     (cont)     ] Main: Internal Exceptions:
    [     (cont)     ] Main: >> /InstanceX#Default-1.0/1718154/0:
    [     (cont)     ] Main: [no message code]
    [     (cont)     ] Main: fuego.web.exception.WapiInstancesException: Could not perform the operation over the instance/s.
    [     (cont)     ] Main: at fuego.workspace.model.common.PapiBean.unselectInstances(PapiBean.java:1247)
    [     (cont)     ] Main: at fuego.workspace.model.view.InstanceOperationType$7.execute(InstanceOperationType.java:98)
    [     (cont)     ] Main: at fuego.workspace.model.view.ViewTableInstanceBean.doUnSelect(ViewTableInstanceBean.java:1043)
    [     (cont)     ] Main: at fuego.workspace.model.view.TreeMenuNodeType$6.doIt(TreeMenuNodeType.java:52)
    [     (cont)     ] Main: at fuego.workspace.model.view.ViewTableInstanceBean.doSelectActionNode(ViewTableInstanceBean.java:288)
    [     (cont)     ] Main: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [     (cont)     ] Main: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [     (cont)     ] Main: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [     (cont)     ] Main: at java.lang.reflect.Method.invoke(Method.java:597)
    [     (cont)     ] Main: at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
    [     (cont)     ] Main: at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
    [     (cont)     ] Main: at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
    [     (cont)     ] Main: at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
    [     (cont)     ] Main: at com.bea.opencontrols.XPControl.invokeEventMethod(XPControl.java:546)
    [     (cont)     ] Main: at com.bea.opencontrols.menu.TreeMenuRenderer.broadcastAjaxEvent(TreeMenuRenderer.java:52)
    [     (cont)     ] Main: at com.bea.opencontrols.menu.TreeMenu.broadcastAjaxEvent(TreeMenu.java:108)
    [     (cont)     ] Main: at com.bea.opencontrols.faces.JSFUtility.broadcastAjaxEvent(JSFUtility.java:252)
    [     (cont)     ] Main: at com.bea.opencontrols.XPControl.broadcast(XPControl.java:806)
    [     (cont)     ] Main: at com.bea.opencontrols.data.XPDataHierarchy.broadcast(XPDataHierarchy.java:113)
    [     (cont)     ] Main: at com.bea.opencontrols.data.XPDataHierarchy.broadcast(XPDataHierarchy.java:107)
    [     (cont)     ] Main: at com.bea.opencontrols.data.XPDataList.broadcast(XPDataList.java:608)
    [     (cont)     ] Main: at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
    [     (cont)     ] Main: at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
    [     (cont)     ] Main: at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
    [     (cont)     ] Main: at fuego.workspace.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:132)
    [     (cont)     ] Main: at fuego.workspace.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:60)
    [     (cont)     ] Main: at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    [     (cont)     ] Main: at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    [     (cont)     ] Main: at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    [     (cont)     ] Main: at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    [     (cont)     ] Main: at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    [     (cont)     ] Main: at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    [     (cont)     ] Main: at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64)
    [     (cont)     ] Main: at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    [     (cont)     ] Main: at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    [     (cont)     ] Main: at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
    [     (cont)     ] Main: at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    [     (cont)     ] Main: at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    [     (cont)     ] Main: at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
    [     (cont)     ] Main: at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    [     (cont)     ] Main: at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    [     (cont)     ] Main: at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
    [     (cont)     ] Main: at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    [     (cont)     ] Main: at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    [     (cont)     ] Main: at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    [     (cont)     ] Main: at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    [     (cont)     ] Main: Caused by: fuego.papi.exception.InstancesException: The batch operation could not be executed for all selected instances.
    [     (cont)     ] Main: Internal Exceptions:
    [     (cont)     ] Main: >> /InstanceX#Default-1.0/1718154/0:
    [     (cont)     ] Main: [no message code]
    [     (cont)     ] Main: at fuego.papi.impl.OperationResult.getExceptionObject(OperationResult.java:161)
    [     (cont)     ] Main: at fuego.papi.impl.OperationResult.getException(OperationResult.java:76)
    [     (cont)     ] Main: at fuego.papi.impl.ProcessInstanceOperation.executeBatchOperation(ProcessInstanceOperation.java:1205)
    [     (cont)     ] Main: at fuego.papi.impl.ProcessInstanceOperation.instancesUnselect(ProcessInstanceOperation.java:650)
    [     (cont)     ] Main: at fuego.papi.impl.ProcessServiceSessionImpl.instancesUnselect(ProcessServiceSessionImpl.java:1348)
    [     (cont)     ] Main: at fuego.workspace.model.common.PapiBean.unselectInstances(PapiBean.java:1244)
    [     (cont)     ] Main: ... 45 more
    [     (cont)     ] Main:
    Any Suggestions ?
    Edited by: Sreekant on Sep 17, 2010 4:46 PM

    Hi,
    i have got and resolve this kind of exception for my application.
    what are the scenerios you are gettting this?
    Check you Studio/Enterprise version , jsp page  and the code just before to move interactive activity
    Or
    if you can provide to me i will inform you .
    Thanks,
    Brijesh Kumar Singh

  • Abort an instance using ProcessService (Fuego.Papi.ProcessService)

    Hi Folks,
    I want to abort a process instance using ProcessService (Fuego.Papi.ProcessService)
    This is how i am trying to do the same:
    +if (ivBPMObject1.bpmObject1Option != "TRUE") {+
    ProcessService.connectTo(url : Fuego.Server.directoryURL, user : "pavan",
    password : "");
    +// ivInstance2Id is the InstanceId of the other split branch which is alive and which needs to be suspended+
    lvInstance = ProcessService.getInstance(instance : ivInstance2Id.id);
    +// abort+
    lvInstance.abort();
    ProcessService.disconnectFrom();
    +}+
    I get the following exception in the line lvInstance.abort() :.
    The batch operation could not be executed for all selected instances.
    Internal Exceptions:
    +>> /MainProcess#Default-1.0/1/2:+
    Instance '/MainProcess#Default-1.0/1/0' could not be locked because participant 'Server' is currently locking it
    I am running this from the Embedded Workspace of Oracle BPM Studio and I dont see any participant 'Server' in the directory.
    How can i suspend/abort this instance?
    Is there a way that my user/participant 'pavan' can be given rights/privelege to take 'Server's instances?
    I tried using 'Server' as user but i dont know the credentials for 'Server' - so that attempt too failed :(.
    can anyone please help me out?
    Regards,
    user8702013

    Thank you Ariel,
    Yes, I have two 'approvals' happening in parallel - in two branches of a split. when one approval comes 'unapproved', there is no point continuing with the other - i have to abort it.
    But if i set the setting to 'generate independent copies', how will i get the 'instanceId' of the second branch when only the first branch has reached the 'join'? (i had thus made the 'shared' to be true).
    My requirement is that i have two branches in a split. these two split branches call two different approval subprocess which go into user interaction tasks. but when one one approval is rejected (and reaches the join), i want to abort the other instance (atleast of the called subprocess) so that the redundant approval user task of the second branch can be avoided.
    I have been struggling with this for the past couple of days :(
    I am trying to see if i can get the 'instances' of the subprocess in question and find the instance to be killed (aborted) by checking the parents (the parent should be my process). i am getting problems there too. am stranded...
    Regards,
    user8702013

  • Adding/deleting attachments using Fuego.Papi in OBPM10g

    Hi,
    I am seeking a resolution to the below issue. It will be really great if somebody can help me on this.
    The scenario is as follows.
    - Using global creation activity to fetch all eligible instances for a particular process using Fuego.Papi api.
    - The aim is to show and add attachments to the instances if required by the user.
    - Need to do this through a presentation, if needed jsp also.
    Problem statement
    - Is there any facility in the Fuego.Papi api to achieve this?
    - Is there any connection between Fuego.Papi api and Fuego.Lib api? As instance variable are directly not accessible via Fuego.Papi.Instance object. Is there any way to typecast Fuego.Papi.Instance to Fuego.Lib.ProcessInstance?
    - Is it possible to show the attachments individually in presentation or jsp is a must?
    Since there is a change in api from 5.7 to 10g, I am finding it difficult to solve it.
    Thanks in advance to all.
    Soubhagya

    Hector -
    Looking at you sequence, it appears that you have calling a subsequence that is removing steps from the caller's sequence. TestStand does not support editing sequences while they are running and we do not test this either. 
    When you execute a sequence in TestStand, the engine creates a runtime copy of the sequence that relies on some of the information stored in the edittime copy of the sequence. TestStand expects that the number of steps in both of these copies of the sequence to be the same. When they are not, it is possible to get an execution into a bad state. At the moment, your sequence is likely working because you are updating only the runtime copy and most of the references back to the edittime copy appear to be holding up. If you had in some way updated the edittime copy, I suspect that you would have seen a crash. Also, we actually reuse runtime copy of sequences within an execution, so the next time you called the sequence, you might find that the steps have already been removed.
    If you somehow want to build a sequence in a sequence file prior to calling it, that would be supported. You just have to ensure that the file is not being used in another execution, i.e parallel or batch model.
    Scott Richardson
    National Instruments

  • Fuego.papi.ProcessNotAvailableException

    Hi guys,
    I use the ALBPM 5.7 enterprise and I want to use PAPI.
    So, I got this code from my friend. He said that this code is correct.
    But it's not working now.
    I don't know what's wrong.
    "/Process" is started on the workspace portal and its version is really 2.0.
    "mih" user has the right authority to start the process.
    This code can make a session but after then the error appears.
    Thanks.
    my source code==========================================================
    package com.bpm.ucity;
    import java.util.Properties;
    import fuego.papi.Arguments;
    import fuego.papi.InstanceInfo;
    import fuego.papi.ProcessService;
    import fuego.papi.ProcessServiceSession;
    public class StartProcess {
         public StartProcess() {
              // TODO Auto-generated constructor stub
         * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              String strProcessID          = "/Process";
              String strUserName          = "mih";
              String strPassword          = "1";
              ProcessService procServ = null;
              ProcessServiceSession procServSession = null;
              InstanceInfo instInfo = null;
              try {
                   Properties prop      = new Properties();
                   prop.setProperty(ProcessService.DIRECTORY_ID, "default");
                   prop.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "C:/bea/albpm5.7/j2eewl/conf/directory.properties");
                   prop.setProperty(ProcessService.WORKING_FOLDER, "C:/tmp");
                   prop.setProperty("java.naming.factory.initial","weblogic.jndi.WLInitialContextFactory");
                   prop.setProperty("java.naming.provider.url","t3://localhost:7001");     
                   procServ = ProcessService.create(prop);
                   // create session
                   procServSession = procServ.createSession(strUserName, strPassword, "localhost");
                   System.out.println ("procServSession => [" + procServSession + "]" );
                   // create process instance
                   Arguments arguments = Arguments.create();
                   System.out.println ("Arguments1111111111111111=======" + arguments);
                   System.out.println ("Here I am!!!!!!" );          
                   instInfo = procServSession.createProcessInstance(strProcessID, arguments);
                   System.out.println ("instInfo => [" + instInfo + "]" );
                   String strInstanceID = instInfo.getId();
                   System.out.println ("strInstanceID => [" + strInstanceID + "]" );
              } catch (Exception e) {
                   e.printStackTrace();
              } finally {
                   procServSession.close();
    error=================================================================
    procServSession => [abstract class fuego.papi.ProcessServiceSesion]
    Arguments1111111111111111=======fuego.papi.Arguments@8ceeea
    Here I am!!!!!!
    fuego.papi.ProcessNotAvailableException: cannot use process '/Process#Default-2.0'
    at fuego.papi.impl.ProcessServiceImpl.createProcess(ProcessServiceImpl.java:1756)
    at fuego.papi.impl.ProcessServiceImpl.access$2500(ProcessServiceImpl.java:142)
    at fuego.papi.impl.ProcessServiceImpl$SessionProcessLoader.load(ProcessServiceImpl.java:3822)
    at fuego.papi.impl.ProcessManager.get(ProcessManager.java:631)
    at fuego.papi.impl.ProcessServiceImpl.getProcess(ProcessServiceImpl.java:1138)
    at fuego.papi.impl.ProcessServiceNESessionImpl.getProcess(ProcessServiceNESessionImpl.java:1069)
    at fuego.papi.impl.ProcessServiceNESessionImpl.checkBeginPermissions(ProcessServiceNESessionImpl.java:2434)
    at fuego.papi.impl.ProcessServiceNESessionImpl.createProcessInstance(ProcessServiceNESessionImpl.java:1441)
    at fuego.papi.impl.ProcessServiceNESessionImpl.createProcessInstance(ProcessServiceNESessionImpl.java:1434)
    at com.bpm.ucity.StartProcess.main(StartProcess.java:55)
    Caused by: fuego.papi.impl.EngineNotAvailableException: cannot find 'BEA_WL_Engine' EJB in 'engines/BEA_WL_Engine'
    reason: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: check java.naming.factory.initial
    project EAR application program to be setted up and to be started
    at fuego.papi.impl.EngineNotAvailableException.cannotFindEJB(EngineNotAvailableException.java:83)
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl.getEngineHome(J2EEEngineAccessImpl.java:286)
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl.getSecureEngineInterface(J2EEEngineAccessImpl.java:348)
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl.createSecureEngine(J2EEEngineAccessImpl.java:158)
    at fuego.papi.impl.ProcessServiceImpl.createSecureEngine(ProcessServiceImpl.java:1280)
    at fuego.papi.impl.ProcessServiceNESessionImpl$2.run(ProcessServiceNESessionImpl.java:2140)
    at fuego.papi.impl.ProcessServiceImpl.executeEngineOp(ProcessServiceImpl.java:1578)
    at fuego.papi.impl.ProcessServiceNESessionImpl.getSecureEngine(ProcessServiceNESessionImpl.java:2148)
    at fuego.papi.impl.ProcessServiceImpl.createProcess(ProcessServiceImpl.java:1709)
    ... 9 more
    Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as a
    n applet parameter, or in an application resource file: java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl.getEngineHome(J2EEEngineAccessImpl.java:276)
    ... 16 more
    서버 동기화 정보에 대한 JMS Topic 연결이 일시적으로 중단되었습니다. 자세한 정보:주제 연결 팩토리 'XATopicConnectionFacto
    ry'을(를) 찾는 동안 오류가 발생했습니다.
    세부 사항:
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet pa
    rameter, or in an application resource file: java.naming.factory.initial
    원인: Need to specify class name in environment or system property, or as an applet parameter, or in an application reso
    urce file: java.naming.factory.initial
    fuego.papi.impl.j2ee.JMSTopicLookUpException: 주제 연결 팩토리 'XATopicConnectionFactory'을(를) 찾는 동안 오류가 발생했습니다.
    Detail:
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet pa
    rameter, or in an application resource file: java.naming.factory.initial
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl$TopicSubscriberImpl.lookupTopic(J2EEEngineAccessImpl.java:649)
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl$TopicSubscriberImpl.run(J2EEEngineAccessImpl.java:540)
    Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as a
    n applet parameter, or in an application resource file: java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl$TopicSubscriberImpl.lookupTopic(J2EEEngineAccessImpl.java:640)
    ... 1 more
    서버 동기화 정보에 대한 JMS Topic 연결이 일시적으로 중단되었습니다. 자세한 정보:주제 연결 팩토리 'XATopicConnectionFacto
    ry'을(를) 찾는 동안 오류가 발생했습니다.
    세부 사항:
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet pa
    rameter, or in an application resource file: java.naming.factory.initial
    원인: Need to specify class name in environment or system property, or as an applet parameter, or in an application reso
    urce file: java.naming.factory.initial
    fuego.papi.impl.j2ee.JMSTopicLookUpException: 주제 연결 팩토리 'XATopicConnectionFactory'을(를) 찾는 동안 오류가 발생했
    습니다.
    Detail:
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet pa
    rameter, or in an application resource file: java.naming.factory.initial
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl$TopicSubscriberImpl.lookupTopic(J2EEEngineAccessImpl.java:649)
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl$TopicSubscriberImpl.run(J2EEEngineAccessImpl.java:540)
    Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as a
    n applet parameter, or in an application resource file: java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl$TopicSubscriberImpl.lookupTopic(J2EEEngineAccessImpl.java:640)
    ... 1 more

    Hi Ariel,
    You are right. I've got an error in my code using some wrong codes.
    I change my code like this.
    ================================================================
    package com.bpm.ucity;
    import java.util.Properties;
    import fuego.papi.Arguments;
    import fuego.papi.InstanceInfo;
    import fuego.papi.ProcessService;
    import fuego.papi.ProcessServiceSession;
    public class StartProcess {
         public StartProcess() {
              // TODO Auto-generated constructor stub
         * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              String strProcessID          = "/Process";
              String strUserName          = "mih";
              String strPassword          = "1";
    //changed this part     
         Properties systemProperties = System.getProperties();
         systemProperties.setProperty ("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory");
         systemProperties.setProperty("java.naming.provider.url", "t3://localhost:7001");
              ProcessService procServ = null;
              ProcessServiceSession procServSession = null;
              InstanceInfo instInfo = null;
              try {     
                   Properties prop      = new Properties();
                   prop.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "C:/bea/albpm5.7/j2eewl/conf/directory.properties");
                   procServ = ProcessService.create(prop);
                   // create session
                   procServSession = procServ.createSession(strUserName, strPassword, "localhost");
                   System.out.println ("procServSession => [" + procServSession + "]" );
                   // create process instance
                   Arguments arguments = Arguments.create();
                   instInfo = procServSession.createProcessInstance(strProcessID, arguments);
                   System.out.println ("instInfo => [" + instInfo + "]" );
                   String strInstanceID = instInfo.getId();
                   System.out.println ("strInstanceID => [" + strInstanceID + "]" );
              } catch (Exception e) {
                   e.printStackTrace();
              } finally {
                   procServSession.close();
    ================================================================
    and I put weblogic.jar path into the classpath.
    After that, I can get a new process instance, but I've got some errors up to now.
    I think the error is not caused by the code.
    How do you think about it?
    error====================================================
    JMS Topic 엔진에 가입하는 동안 오류가 발생했습니다. reason:'While trying to lookup 'java:comp.UserTransaction' didn't find subcontext 'java:comp'. Resolved ''
    cause by: While trying to lookup 'java:comp.UserTransaction' didn't find subcontext 'java:comp'. Resolved ''
    javax.naming.NameNotFoundException: While trying to lookup 'java:comp.UserTransaction' didn't find subcontext 'java:comp'. Resolved '' [Root exception is javax.naming.NameNotFoundException: While trying to lookup 'java:comp.UserTransaction' didn't find subcontext 'java:comp'. Resolved '']; remaining name 'java:comp/UserTransaction'
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:215)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:338)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
         at weblogic.jndi.internal.ServerNamingNode_923_WLStub.lookup(Unknown Source)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:379)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:367)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at fuego.connector.impl.UserTransactionProvider.createForServlets(UserTransactionProvider.java:50)
         at fuego.papi.impl.j2ee.J2EEEngineAccessImpl.createTopicSubcriber(J2EEEngineAccessImpl.java:381)
         at fuego.papi.impl.j2ee.J2EEEngineAccessImpl.<init>(J2EEEngineAccessImpl.java:80)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at fuego.prefs.engine.EngineType.createObject(EngineType.java:218)
         at fuego.prefs.engine.EngineType.createEngineAccess(EngineType.java:211)
         at fuego.papi.impl.EngineAccess.getEngineAccess(EngineAccess.java:176)
         at fuego.papi.impl.EngineAccess.getEngineAccess(EngineAccess.java:96)
         at fuego.papi.impl.ProcessServiceImpl.getEngineAccess(ProcessServiceImpl.java:983)
         at fuego.papi.impl.ProcessServiceImpl.createSecureEngine(ProcessServiceImpl.java:1280)
         at fuego.papi.impl.ProcessServiceNESessionImpl$2.run(ProcessServiceNESessionImpl.java:2140)
         at fuego.papi.impl.ProcessServiceImpl.executeEngineOp(ProcessServiceImpl.java:1578)
         at fuego.papi.impl.ProcessServiceNESessionImpl.getSecureEngine(ProcessServiceNESessionImpl.java:2148)
         at fuego.papi.impl.ProcessServiceImpl.createProcessControl(ProcessServiceImpl.java:1266)
         at fuego.papi.impl.ProcessServiceNESessionImpl$1.run(ProcessServiceNESessionImpl.java:1104)
         at fuego.papi.impl.ProcessServiceImpl.executeEngineOp(ProcessServiceImpl.java:1578)
         at fuego.papi.impl.ProcessServiceNESessionImpl.getProcessControl(ProcessServiceNESessionImpl.java:1109)
         at fuego.papi.impl.InstanceCache.getInstancesByFilter(InstanceCache.java:496)
         at fuego.papi.impl.InstanceCache.getInstancesByFilter(InstanceCache.java:247)
         at fuego.papi.impl.ProcessServiceImpl.getInstancesByFilter(ProcessServiceImpl.java:1087)
         at fuego.papi.impl.ProcessServiceNESessionImpl.getInstancesByFilter(ProcessServiceNESessionImpl.java:755)
         at fuego.papi.impl.ProcessServiceNESessionImpl.getSortedInstancesByFilter(ProcessServiceNESessionImpl.java:2293)
         at fuego.papi.impl.ProcessServiceNESessionImpl.getInstancesByView(ProcessServiceNESessionImpl.java:810)
         at com.bpm.ucity.Inbox.main(Inbox.java:44)
    Caused by: javax.naming.NameNotFoundException: While trying to lookup 'java:comp.UserTransaction' didn't find subcontext 'java:comp'. Resolved ''
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:171)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
         at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:553)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:443)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:439)
         at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:61)
         at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:983)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

  • Fuego Papi Client

    I have some problems when I used fuegopapi-client.jar, when I use this library in BPM Studio run without errors and retrieve all instance from
    a process that I choose in the presentation, but when I run in BPM enterprise throw an exception the process name_process#default1.0 don't exists but the
    process exists. Please help with this problems.
    //this code retrieve all processId of the process in the BPM proyect(this code run without errors)
    Properties configuration = Properties();
    configuration.setProperty(ModComponentes.Fuego2.Papi.ProcessService.DIRECTORY_ID, "default");
    configuration.setProperty(ModComponentes.Fuego2.Papi.ProcessService.DIRECTORY_PROPERTIES_FILE, "directory.xml");
    ModComponentes.Fuego2.Papi.ProcessService procesoService = ModComponentes.Fuego2.Papi.ProcessService.create(configuration);
    ModComponentes.Fuego2.Papi.ProcessServiceSession procesoServiceSession =
                                            procesoService.createSession(this.sfcParticipant.name, "123456", null);
    ModComponentes.Fuego2.Papi.Process[] ext = (ModComponentes.Fuego2.Papi.Process[])procesoServiceSession.processesGet(false);
    foreach(item in ext){     
         this.sfcEstadoCredito.sProcesos[item.id] = item.name;
         this.sfcEstadoCredito.sProcesoId = item.id;                    
    procesoServiceSession.close();
    procesoService.close();
    //this code retrieve all instance from a process( only run in studio but when i run in enterprise throw an exception)
    Properties configuration = Properties();
    configuration.setProperty(ModComponentes.Fuego2.Papi.ProcessService.DIRECTORY_ID, "default");
    //Oracle BPM Studio
    //configuration.setProperty(ModComponentes.Fuego2.Papi.ProcessService.PROJECT_PATH, "D://Final//Proyecto");
    // Oracle BPM Enterprise
    configuration.setProperty(ModComponentes.Fuego2.Papi.ProcessService.DIRECTORY_PROPERTIES_FILE, "directory.xml");
    ModComponentes.Fuego2.Papi.ProcessService procesoService = ModComponentes.Fuego2.Papi.ProcessService.create(configuration);
    //Oracle BPM Studio
    // ModComponentes.Fuego2.Papi.ProcessServiceSession procesoServiceSession = procesoService.createSession(Fuego.Lib.Participant.name, Fuego.Lib.Participant.name, null);
    //Oracle BPM Enterprise
    ModComponentes.Fuego2.Papi.ProcessServiceSession procesoServiceSession =
                                                 procesoService.createSession(Fuego.Lib.Participant.name, "123456", null);
    ModComponentes.Fuego2.Papi.Filter filtro = procesoService.createFilter();
    filtro.searchScope.participantScope = ModComponentes.ParticipantScope.ALL;
    filtro.searchScope.statusScope = ModComponentes.StatusScope.ALL;
    filtro.addAttribute(ModComponentes.Fuego.Papi.VarDefinition.getDefaultVarDefinition(ModComponentes.Fuego.Papi.VarDefinition.CREATION_TIME_ID),
         ModComponentes.Comparison.GREATER_OR_EQUALS, this.sfcEstadoCredito.dFechaInicio);
    filtro.addAttribute(ModComponentes.Fuego.Papi.VarDefinition.getDefaultVarDefinition(ModComponentes.Fuego.Papi.VarDefinition.CREATION_TIME_ID),
         ModComponentes.Comparison.LESS_OR_EQUALS, this.sfcEstadoCredito.dFechaFin);
    filtro.matchAll = true;
    ModComponentes.Fuego2.Papi.InstanceInfo[] instanciaByFilter;
    instanciaByFilter = ((ModComponentes.Fuego2.Papi.InstanceInfo[])
                             procesoServiceSession.processesGetInstancesByFilter(ProcessIdSet.create.add(this.sfsProcessId), filtro));
    procesoServiceSession.close();
    procesoService.close();
    //**********************************************************************//

    Hi,
    Please incorporate the following code, hope this help you.
    Properties configuration = new Properties();
    configuration.setProperty(ProcessService.DIRECTORY_ID, "default");
    // Change the path of the directory.xml file accordindly
    configuration.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "c://bea//albpm6.0//enterprise//conf//directory.xml");
    configuration.setProperty(ProcessService.WORKING_FOLDER, "/tmp");
    Bibhu

  • Import fuego.papi.ws.ProcessService;

    import fuego.papi.ws.ProcessService;
    import fuego.papi.ProcessService;
    What's the different between the above two sentences?
    I cannot find the fuego.papi.ws.client in the JDev11g. Where is it? Is it replaced by fuego.papi.ws.ProcessService;

    Hi YE,
    Guessing you've probably already discovered this, but in Oracle BPM 10g you'll find the fuegopapi-client.jar for your two import statements in the Enterprise (not Studio) directory <OracleBPMEnterpriseHomeDir>\client\papi\lib.
    In Oracle BPM 10g, you only need to import either "fuego.papi.ws.ProcessService" (the PAPI-WS API) or "fuego.papi.ProcessService" (the PAPI API). The difference between the two is that PAPI is the API that uses Java while PAPI-WS is the API that uses a web service as its underlying implementation. You won't need both of these, since PAPI and PAPI-WS now have about the same functionality in Oracle BPM 10g.
    In earlier releases you'd instead need to import "fuego.papi.ws.client" when accessing the PAPI-WS API only if you were accessing it from a Java application. While it was great having a web service API, the problem with PAPI-WS in earlier releases is that it only provide a subset of the capabilities that PAPI had. Using PAPI-WS, I could only create instances in a process, get the values of variables of a particular instance, send a notification message to a particular instance, run Global activities in a process, return a list of instances for a specific view and finally run an instance in a specific activity.
    This all sounds great, but the fact that PAPI-WS was a subset of PAPI used to be a problem.
    Hope this helps,
    Dan

  • Hi Experts , I am currently facing problems while running restricted version copy .. The log says 0 location products copied and that the process has has timed out. the error message is /SAPAPO/MVM_INT_SVC_CO_VER_LCW reported exception in task DP00014, th

    Hi Experts , I am currently facing problems while running restricted version copy in sap apo .. The log says 0 location products copied and that the process has timed out. the error message is " /SAPAPO/MVM_INT_SVC_CO_VER_LCW reported exception in task DP00014 " , then ending in time limit exceeded. could anyone explain why this happens. please note even if the log says 0 location products copied , in reality they have have been partially copied.
    Regards
    Jerel

    Hi, thank you for your replies, I found out few things about my servlet, and its portability
    and i have few questions, although i marked this topic as answered i guess its ok to post
    I am using javax.servlet.context.tempdir to store my files in that servletcontext temporary directory. But i dont know how to give hyperlink
    of the modified files to the user for them to download the modified files.
    What i am using to get the tempdir i will paste
    File baseurl = (File)this.getServletContext().getAttribute("javax.servlet.context.tempdir");
    System.out.println(baseurl);
    baseurl = new File(baseurl.getAbsolutePath()+File.separator+"temp"+File.separator+"files");
    baseurl.mkdirs();so i am storing my files in that temp/files folder and the servlet processes them and modifies them, then how to present them as
    links to the user for download ?
    and as the servlet is multithreaded by nature, if my servlet gets 2 different requests with same file names, i guess one of them will be overwritten
    And i want to create unique directory for each request made to the servlet , so file names dont clash.
    one another thing is that i want my servlet to be executed by my <form action> only, I dont want the user to simply type url and trigger the servlet
    Reply A.S.A.P. please..
    Thanks and regards,
    Mihir Pandya

  • Error Message: There was an error opening this document. Acrobat cannot open this file because a task is still active in Acrobat.

    I've tried Command Q to close;  Tried Adobe Reader Tool Bar but closing is grayed out;  I'ved held the power button for hard close, but everytime I try to open a .pdf I get this message: 
    There was an error opening this document. Acrobat cannot open this file because a task is still active in Acrobat.
    I'm not extremely technical, but I can follow directions if someone can help!
    Thanks

    Looks like it got stuck.
    You can switch to another program or the Finder (click on desktop) and Apple menu > Force Quit > Adobe
    You can press and hold the power button, it's a emergency force shutdown which you can boot normally and it should be fine.

  • Windows 8.1 Pro OEM ISO and Paper License it's possible to active?

    My client have  Windows 8.1 Pro OEM iso and paper license it's possible to active license.
    Md. Ramin Hossain

    Hi,
    I think that this is possible, after installing you can try to change key in PC Settings or in case when this will be not possible you can use slmgr.vbs.
    To change product key: slmgr /ipk xxxx-xxxx-xxxx-xxxx-xxxx
    To activate slmgr /ato
    More: http://technet.microsoft.com/en-us/library/dn502540.aspx
    Br,
    Heiki

Maybe you are looking for