Tuesday, July 23, 2013

IBM BPM - Monitoring Exports and Imports

I've recently been using some of the IBM BPM scripted commands, including BPMCreateOfflinePackage and BPMExtractOfflinePackage and BPMInstallOfflinePackage.

Whilst doing this, it's always useful to monitor how the corresponding export / import / install processes are going.

Want to know how ?

Watch the logs for messages that include: -

wle_expimp

as per the following example: -

[7/17/13 9:38:50:994 BST] 00000c7e wle_expimp    I   CWLLG0150I: Finished exporting for snapshot FOOBAR_01_JULY_TEST to server PS_Dev with an export result of com.lombardisoftware.expimp.pack.InstallationPackage@8f208f2
[7/17/13 9:38:50:994 BST] 00000c7e wle_expimp    I   CWLLG0151I: FOOBAR_01_JULY_TEST Beginning login to remote server
[7/17/13 9:38:51:216 BST] 00000c7e wle_expimp    I   CWLLG0154I: FOOBAR_01_JULY_TEST Remote login succeeded.
[7/17/13 9:38:51:216 BST] 00000c7e wle_expimp    I   CWLLG0714I: FOOBAR_01_JULY_TEST Sending export.
[7/17/13 9:55:03:525 BST] 0000005d wle_expimp    I   CWLLG0160I: The import has started
[7/17/13 10:00:08:555 BST] 00000dfb wle_expimp    I   CWLLG0160I: The import has started
[7/17/13 10:05:09:898 BST] 00000c83 wle_expimp    I   CWLLG0160I: The import has started
[7/17/13 10:05:52:849 BST] 00000c83 wle_expimp    I   CWLLG0162I: Import Failed
[7/17/13 10:05:52:853 BST] 00000dfb wle_expimp    I   CWLLG0162I: Import Failed
[7/17/13 10:06:37:029 BST] 0000005d wle_expimp    I   CWLLG0162I: Import finished successfully
[7/17/13 10:10:36:208 BST] 00000c7e wle_expimp    I   CWLLG1324I: FOOBAR_01_JULY_TEST Export sent.
[7/17/13 10:10:36:209 BST] 00000c7e wle_expimp    I   CWLLG0156I: FOOBAR_01_JULY_TEST Install succeeded
[7/17/13 10:10:36:209 BST] 00000c7e wle_expimp    I   CWLLG1325I: FOOBAR_01_JULY_TEST The snapshot is being marked as 'INSTALLED'.
[7/17/13 10:10:37:993 BST] 00000c7e wle_expimp    I   CWLLG1326I: FOOBAR_01_JULY_TEST Creating deployment record.
[7/17/13 10:10:38:201 BST] 00000c7e wle_expimp    I   CWLLG1327I: FOOBAR_01_JULY_TEST Deployment record created.
[7/17/13 10:10:38:202 BST] 00000c7e wle_expimp    I   CWLLG0159I: FOOBAR_01_JULY_TEST Install complete.

This is also immensely useful: -


including the trace strings: -

For IBM Business Process Manager Advanced : 

On the AppTarget cluster for the Process Center and the Process Server, set the trace string to ​ *=info: WLE.*=all:com.ibm.bpm.fds.*=all:ProcessApplicationLifecycle=all:
com.ibm.bpm.fds.repo.util.ContributionHelper=off:WLE.wle_expimp=finest 


For IBM Business Process Manager Standard or IBM Business Process Manager Express : 

On the AppTarget cluster for the Process Center and the Process Server, set the trace string to ​ *=info: WLE.*=all:WLE.wle_expimp=finest

One thing about which I'm learning is when imports fail with Error: You are not authorised to change this workspace. As far as I can establish, this is due to the user performing the import ( a non-admin user, of course ) does NOT have read access to a dependent  toolkit.

I'm continuing to learn, so watch this space.

No comments:

Post a Comment