Business Process Rule file is not added to an existingenterpriseafter running the MigrateRules script.

Business Process Rule file is not added to an existingenterpriseafter running the MigrateRules script.

book

Article ID: KB0086899

calendar_today

Updated On:

Products Versions
TIBCO MDM -
Not Applicable -

Description

Description:
The business process rule file is not added to an existing enterprise (located at MQ_HOME/common/<enterprise>/rules directory) after running the MigrateRules script.
Symptoms:
No errors are shown on the command prompt window after the script was executed. The message says "MIGRATE_RULES is queued on AsyncCall queue" and it appears that the MigrateRules script ran successfully. However, the following errors are displayed in elink.log .

2016-04-22 15:05:01,561 [TIBCO EMS Session Dispatcher (116)] DEBUG com.tibco.mdm.admin.AdminCommandManager - *** Migration failed for.. [MIGRATE_RULES, /opt/MDM83/mdm/8.3/bin/migration/addNewRules.xml, /opt/MDM83/mdm/8.3/bin/migration/orglist.txt]
2016-04-22 15:05:01,562 [TIBCO EMS Session Dispatcher (116)] DEBUG com.tibco.mdm._UserTextFormatter - Missing resource for code = Exception uccured while laoding org list
2016-04-22 15:05:01,567 [TIBCO EMS Session Dispatcher (116)] ERROR com.tibco.mdm.admin.AdminCommandManager -
<MqException: BEGIN>
Code: Exception uccured while laoding org list: java.lang.NumberFormatException: For input string: &quot;&quot;
ID: 0A6131B6_8AE1B1365405C02601543F5C68C40A26
DATETIME: Fri Apr 22 15:05:01 EDT 2016
EXCEPTIONMESSAGE: java.lang.NumberFormatException: For input string: &quot;&quot;
STACKTRACE: java.lang.NumberFormatException: For input string: &quot;&quot;
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Long.parseLong(Long.java:453)
    at java.lang.Long.parseLong(Long.java:483)
    at com.tibco.mdm.util.datamigration.MigrateRules.buildOrgList(MigrateRules.java:397)
    at com.tibco.mdm.util.datamigration.MigrateRules.execute(MigrateRules.java:128)
    at com.tibco.mdm.admin.AdminCommandManager.processCommand(AdminCommandManager.java:68)
    at com.tibco.mdm.admin.AsyncAdminCommand.execute(AsyncAdminCommand.java:45)
    at com.tibco.mdm.admin.AsyncAdminCommand.onAsyncCall(AsyncAdminCommand.java:33)
    at com.tibco.mdm.integration.messaging.AsyncCallMessageListener.onMessage(AsyncCallMessageListener.java:56)
    at com.tibco.mdm.integration.messaging.message.MqNativeMessageListener.onMessage(MqNativeMessageListener.java:98)
    at com.tibco.tibjms.TibjmsxSessionImp._submit(TibjmsxSessionImp.java:4506)
    at com.tibco.tibjms.TibjmsxSessionImp._dispatchAsyncMessage(TibjmsxSessionImp.java:2445)
    at com.tibco.tibjms.TibjmsxSessionImp$Dispatcher.run(TibjmsxSessionImp.java:3932)

<MqException: END>



Cause:
There are extra blank lines in orglist.txt that causes the issue.

Issue/Introduction

Business Process Rule file is not added to an existingenterpriseafter running the MigrateRules script.

Resolution

Removing the blank lines in orglist.txt .

See the attached (Filename: orglist_notworking.txt and orglist_working.txt) for reference.

Additional Information

Customization of Business Processes Section in MDM Customization Guide.

Attachments

Business Process Rule file is not added to an existingenterpriseafter running the MigrateRules script. get_app
Business Process Rule file is not added to an existingenterpriseafter running the MigrateRules script. get_app