Thursday, 28 February 2013

Running BPD instances not visible in Process Designer but OK in browser based Process Inspector - also unable to terminate.

When using the REST API (/bpmrest-ui) to start a BPD instance, it does not appear in PD but can be seen in the browser based Process Inspector.
In addition, instances cannot be terminated via the browser based Process Inspector and when an attempt is made to do so, the following message appears in SystemOut.log



E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet BPMInspectorRestFacade in application IBM_BPM_ProcessAdmin_PSSIT001.AppTarget. Exception created : javax.servlet.ServletException: javax.servlet.ServletException: com.ibm.processinspector.rest.ProcessAdminRestException: com.ibm.processinspector.rest.ProcessAdminRestException: {"status":"error","Data":{"status":"error","exceptionType":"com.ibm.bpm.wle.api.NotAuthorizedActionException","errorNumber":"CWTBG0549E","errorMessage":"CWTBG0549E: You are not authorized to perform the 'abort' action.","errorMessageParameters":["abort"],"responses":null}}

This problem occurs because the started instance has it's TIP flag set as T (true) in the LSW_BPD_INSTANCE table.
As an experiment you can change this flag manually and you'll notice the instance now appears as expected in PD and can also be terminated as expected in the browser based PI.

This is a know bug in 7.5.* and 8.0.0.0. The APAR details are here.
V8 - http://www-01.ibm.com/support/docview.wss?uid=swg1JR44597
V7 - http://www-01.ibm.com/support/docview.wss?uid=swg1JR43362

I applied 7.5.1.0-WS-BPM-IFJR43362 to my V7.5.1 environment and it appeared to work well except (oddly) for one particular snapshot. I haven't had a chance to investigate further.

No comments:

Post a Comment