BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
Expand all | Collapse all

Process center server does not contain sufficient capabilities... error while activating a snapshot

  • 1.  Process center server does not contain sufficient capabilities... error while activating a snapshot

    Posted Mon January 11, 2021 09:22 AM
    Hi All,

    We exported an application snapshot from our Process Center and imported it in the customer's Process Center. After successfully importing it, we tried to activate the snapshot, but we get this error:

    When we create a new snapshot on the client's Process Center and try to activate it, we get the same error. After restarting the entire WebSphere environment, we get the same error.

    There are sufficient disk space (100GB+) on the database server.

    What's wrong? Why can't BAW activate the snapshot? What means "sufficient capabilities"? How to solve this?

    Thx,


    ------------------------------
    Laszlo
    ------------------------------


  • 2.  RE: Process center server does not contain sufficient capabilities... error while activating a snapshot

    Posted Mon January 11, 2021 01:01 PM
    I'm a little confused about "activating" the PA on the Process Center as this isn't typically something you need to do on the PC as every application on the PC is Active unless you deactivate it. This might be what is causing the problem. What problem are you trying to solve by "Activating" it?

    I would check the version of the source PC compared to the target one. While, in general, BAW checks the meta data on the export to ensure you are importing into the same version (or a later one), I've seen where fix packs or iFixes don't update the meta data. I've not seen it result in this specific 

    Another though is if you are leveraging capabilities in BAW that might require additional installs. I'm not a person who actually maintains these things but I'm thinking here of, for example. Case Management capabilities, or pieces of the solution created in IID. I don't know if the base install creates all the correct items to allow those to work.

    Sorry I don't have anything better for you than guesses.

    ------------------------------
    Andrew Paier
    ------------------------------



  • 3.  RE: Process center server does not contain sufficient capabilities... error while activating a snapshot

    Posted Mon January 11, 2021 01:14 PM
    Hi Andrew,

    Thanks for your answer! We wanted to activate a snapshot because client wanted to check different versions of a solution in parallel.
    The application do not use AIS, nor Case management, so no idea what kind of capabilities are missing (thanks IBM for the unusable error message...)

    For the client's Process Center it is not a big problem, but I'm, afraid: what will we do, when the same thing will happen when we want to deploy and activate the app on a test or production environment...

    Anyway, thanks!

    ------------------------------
    Laszlo
    ------------------------------



  • 4.  RE: Process center server does not contain sufficient capabilities... error while activating a snapshot

    Posted Mon January 11, 2021 01:41 PM
    Unless you have done something to specifically prevent it, in the Process Center all snapshots are available to run. They may not have a shortcut in the portal (because would make the UI unusable in the real world) but you can use either the Process Designer or ReST API to launch a BPD or service on a specific snapshot.

    I think the error should really be "This is already activated so we are not activating it", but likely no one has written the story for the engineers to actually handle the use case, and it is triggering some other error condition.

    ------------------------------
    Andrew Paier
    ------------------------------



  • 5.  RE: Process center server does not contain sufficient capabilities... error while activating a snapshot

    Posted Mon January 11, 2021 01:49 PM
    Well, you're right, but the customer start processes on the Process Portal only, and the processes in (named) snapshots are displayed only when the snapshot is activated. That's why we wanted to activate snapshots (and because the Activate menu item is there...).

    When the snapshot is activated, there is no Activate menu item, so we cannot activate it more times.

    Anyway, until we do not get usable error message, we can't solve this problem...

    ------------------------------
    Laszlo
    ------------------------------



  • 6.  RE: Process center server does not contain sufficient capabilities... error while activating a snapshot

    Posted Mon January 11, 2021 05:13 PM
    Hi Laszlo,

    Are both PCs at the exact same version including fix patches?

    Do you see what error messages output in SystemOut.logs when this happened?

    Regards,
    Thong

    ------------------------------
    Thong Huynh
    Sydney NSW
    ------------------------------



  • 7.  RE: Process center server does not contain sufficient capabilities... error while activating a snapshot

    Posted Tue January 12, 2021 03:28 AM
    Hi Thong,

    The version of the source and destination is the same: BPMPC 8.6.1.19003 20191209-051043.
    The only difference is that the source environment is single-node, but the destination environment has two nodes.

    The SysOut.log contains the same error message like the dialog:

    [2021.01.12. 9:15:01:977 CET] 0000016e ObjectManagem E The process application snapshot 210111B could not be activated. The Workflow server does not contain sufficient capabilities to run the process application. : Process center server does not contain sufficient capabilities to run the Process Application
    com.ibm.bpm.pal.PALException: Process center server does not contain sufficient capabilities to run the Process Application
    at com.ibm.bpm.pal.action.BaseActionsImpl.validateAdvancedTransitionOnCurrentServer(BaseActionsImpl.java:776)
    at com.ibm.bpm.pal.action.BaseActionsImpl.executeAction(BaseActionsImpl.java:370)
    at com.ibm.bpm.pal.action.SnapshotActionsImpl.activate(SnapshotActionsImpl.java:115)
    at com.lombardisoftware.repository.server.ObjectManagementServiceImpl.activate(ObjectManagementServiceImpl.java:3374)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
    at com.lombardisoftware.gwtcommon.server.RemoteServiceServletExtension.processCall(RemoteServiceServletExtension.java:56)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
    at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1233)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
    ...

    ------------------------------
    Laszlo
    ------------------------------



  • 8.  RE: Process center server does not contain sufficient capabilities... error while activating a snapshot

    Posted Tue January 12, 2021 05:19 PM
    Hi Laszlo,

    Cool. So version is the same. What about the edition, advanced vs standard? Are both of them either all standard or advanced? Reason I'm asking this is according to the documentation here (https://www.ibm.com/support/knowledgecenter/vi/SSFPJS_8.5.7/com.ibm.wbpm.admin.doc/topics/t_installingsnapshots.html), the snapshot you're trying to install contains 'capabilities' that are not supported by the destination PC. These capabilities maybe related to advanced features such as the following:

    Your snapshot may contain Advanced Integration Services and the destination PC is not advanced?
    "The target process server must support the business process management capability that the snapshot uses. For example, if the snapshot contains Advanced Integration services (for example, Service Component Architecture modules and dependent libraries), you can install it only on a process server that is configured for IBM® Business Process Manager Advanced. In this example situation, if you try to install the snapshot on a IBM BPM Standard server or a IBM BPM Expressserver, you get a message or exception indicating that the server does not contain sufficient capabilities to run the process application."

    Your snapshot might have a business monitor model?
    If you are installing (deploying) a monitor model or IBM Business Process Manager Advanced content with a process application snapshot, the user or group to which you belong must be assigned the Deployer administrative security role. For information, see Authorizing access to administrative roles and "Deployer role" in the Administrative roles topic. Both of these topics are in the WebSphere® Application Server documentation.

    Regards,
    Thong

    ------------------------------
    Thong Huynh
    Sydney NSW
    ------------------------------



  • 9.  RE: Process center server does not contain sufficient capabilities... error while activating a snapshot

    Posted Wed January 13, 2021 09:39 AM
    Hi Thong,

    It seems that there is a difference between the source and destination Process Centers: the source Process Center is Advanced, but the destination is only Standard.

    After checking which toolkits can we activate and which not, we see, that simple toolkits are activeable, but in either we added a jar file as Server File, and this toolkit (and any other toolkits or apps which use this toolkit direct or indirect) isn't activeable. No other specialities in this toolkit, just scripts using the included jar's class.

    Is it possible that jar files are not usable in Standard version, or when we create a toolkit with Advanced version and it contains jar file, it isn't activeable on a Standard version?

    Thx,

    ------------------------------
    Laszlo
    ------------------------------



  • 10.  RE: Process center server does not contain sufficient capabilities... error while activating a snapshot

    Posted Wed January 13, 2021 10:12 AM
    It is not only possible, but definitely the case. I mentioned above in the thread that if you were using capabilities beyond what the Process Designer provides, you need to have additional binaries installed. I believe that "Advanced Toolkits" are generated using IID and requires an Advanced install for deployment.

    However if all that is in that toolkit is java code, you can use a completely standard Java development environment (IntelliJ, Eclipse, emacs...) and create a jar file that you pull in a server side file and invoke from a service using the integration widgets. This is how many of the toolkits from our company are generated and does not require an Advanced install. I think the IID toolkit, even if all you put in it is java code creates a bundle that requires an Advanced install to deploy.

    I thought that BAW licenses granted permissions to all the parts of the stack, so if your customer is using BAW, you might check on their licensing, and assuming what I state is true you can have them reinstall with Advanced. Alternatively if you really don't require all the capabilities of Advanced for your code, simply create a standard toolkit with the java you need.

    ------------------------------
    Andrew Paier
    ------------------------------



  • 11.  RE: Process center server does not contain sufficient capabilities... error while activating a snapshot

    Posted Wed January 13, 2021 10:29 AM
    Hi Andrew,

    Yes, I understand what you wrote before and now, but we use only capabilities what Process Designer gives. We do not use IID and AIS, and we don't have IID toolkit. We did exactly what you write: we have a simple toolkit with simple java classes in a jar as a Server File and several simple services containing simple script using that java classes. That's why we don't understand why can't we activate...

    Anyway, it seems that when the customer has Standard environment, we should develop in a Standard environment and we can use our Advanced developer environment only if the customer has Advanced environment too.


    ------------------------------
    Laszlo
    ------------------------------



  • 12.  RE: Process center server does not contain sufficient capabilities... error while activating a snapshot

    Posted Thu January 14, 2021 03:50 PM
    I'm not convinced this is tied to that as the underlying problem.  If you were having problems importing, then that would make sense. Or if it was failing when attempting to execute that would point to a problem with Advances / Standard cross over. But all the server we use in our Lab are Advanced, and we've created any number of Toolkits for customers that they use with no problems.

    Have you tried activating other snapshots on PA that don't use this TK. As I said, activating snapshots on Process Center is not very common, so it seems more likely you are having a problem with the base case than it being something specifically in this, if there truly are no Advanced components in the solution.

    ------------------------------
    Andrew Paier
    ------------------------------