Wednesday, September 16, 2015

Managing tool kit dependency with IBM BPM

Managing tool kit dependency with IBM BPM
Recently I've imported the Process Application developed in IBM BPM 8.0.1 into IBM BPM 8.5.6 process designer
My intention is to create installation package and get it deployed in process server
While executing command 'BPMCreateOfflinePackage' to create package received below error
wsadmin>$AdminTask BPMCreateOfflinePackage {-containerAcronym MAP2 -containerSnapshotAcronym 16SEP01 -containerTrackAcronym Main -serverName "Process Server Test"}

WASX7015E: Exception running command: "$AdminTask BPMCreateOfflinePackage {-containerAcronym MAP2 -containerSnapshotAcronym 16SEP01 -containerTrackAcronym Main -serverName "Process Server Test"}"; exception information:
java.lang.Exception: java.lang.Exception: Process application snapshot 16SEP01 could not be deployed.  The process application uses a toolkit that depends on a different version of the system toolkit than the one used by the process application.


Then only I noticed the warning triangle symbols against tool kits in process designer


Hovering over the triangle shows options as shown below


Chosen option 'Upgrade Dependency to 8.5.6.0'
Same like I did upgrade dependency for other two tool kits except 'BPM Dojo Charting Tool kit" hence it didn't show that option
Then I gone back to process center view to locate the tool kit


Opened the tool kit in process designer
There I can see this tool kit depends on another System Data and Coaches tool kit as highlighted below and tool kit was shown as read only


How to make the tool kit editable?
Switch back to process center window
Click on tool kit and click on manage
There is a check box with description "Allow user to update tool kit", check that
Switch back to designer window
Hover over the tool kits and choose option upgrade dependency


Dependency has been resolved


Take a new snapshot
Switch back to process center window and open the process app in designer window
When you hover over the triangle next to tool kit "BPM Dojo Charting'
You can see new option Upgrade Dependency to 16sepv01
Here 16sepv01 is the snapshot we took after upgrading the tool kit dependency
Choose that option upgrade dependency to 16sev1
Now you can see the tool kit area is free from that warning triangle


With all the dependencies resolved take new snap shot of the process app
Switch back to process center and activate this snapshot


I'm going to generate the offline package
$AdminTask BPMCreateOfflinePackage {-containerAcronym MAP2 -containerSnapshotAcronym 162 -containerTrackAcronym Main -serverName "Process Server Test"}
Now it got executed successfully


$AdminTask BPMExtractOfflinePackage {-containerAcronym MAP2 -containerSnapshotAcronym 162 -containerTrackAcronym Main -serverName "Process Server Test" -outputFile /IBM/BPM/v85/MAP_16SEP_OfflineDeployment.zip}

12 comments:

  1. Interesting Article. Hoping that you will continue posting an article having a useful information. BPM Suite

    ReplyDelete
  2. Is it possible to install a process app that has the previous system toolkit compared to the process server instead?
    Example:
    Process server: BAW 19.0.0.1
    Process APP with all system toolkits 8.5. Is it possible to install it in process server without updating the system toolkits?

    ReplyDelete
  3. Betvictor Review: $200 Welcome Bonus! - Casino Roll
    Betvictor 손 풀기 게임 Review · The Betvictor Welcome Bonus is a generous $200 Bonus + hit bet 100 FREE Spins 삼성 코엑스 · One of the 삼성 코엑스 biggest promotions 아르고 캡쳐 that sports betting

    ReplyDelete