APAR status
Closed as program error.
Error description
Running MigrateImport.sh with import_type 1 to 10 will fail if import_type=0 was not run within the same terminal session. This is because import_type=0 sets the needed variable value such as GDS_APP_TYPE for the current terminal session. Here is an example of the error when running the following command: ./MigrateImport.sh --company_code=bby --import_type=4 Uploaded [/opt/appserver/ibm/pim910/src/db/schema/gds/SUPPLY-SIDE/Transor a/v50/data/scripts/triggers/WorkflowScripts.Library] -> [/scripts/triggers/WorkflowScripts.Library] +++++ Loading Workflow Definition The No of workflow nodes found is 1 The No of workflow nodes found is 1 com.ibm.cgd.common.workflow.loader.exception.WorkflowLoaderExcep tion: Generic Error at com.ibm.cgd.common.workflow.loader.impl.WorkflowDefinitionLoader .processWorkflowDefinition(Unknown Source) at com.ibm.cgd.common.workflow.loader.impl.WorkflowDefinitionLoader .loadWorkflowDefinition(Unknown Source) at com.ibm.cgd.common.datamodel.LoadWorkFlow.main(Unknown Source) com.ibm.cgd.common.workflow.loader.exception.WorkflowLoaderExcep tion: Generic Error at com.ibm.cgd.common.workflow.loader.impl.WorkflowDefinitionLoader .loadWorkflowDefinition(Unknown Source) at com.ibm.cgd.common.datamodel.LoadWorkFlow.main(Unknown Source) The No of workflow nodes found is 1 The No of workflow nodes found is 1 Note: /opt/appserver/ibm/pim910/tmp/17507/WPCUpdateandNotifyApproved13 117799089370.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. The No of workflow nodes found is 1 The No of workflow nodes found is 1 The No of workflow nodes found is 1 The No of workflow nodes found is 1 The No of workflow nodes found is 1 The No of workflow nodes found is 1 com.ibm.cgd.common.workflow.loader.exception.WorkflowLoaderExcep tion: Generic Error at com.ibm.cgd.common.workflow.loader.impl.WorkflowDefinitionLoader .processWorkflowDefinition(Unknown Source) at com.ibm.cgd.common.workflow.loader.impl.WorkflowDefinitionLoader .loadWorkflowDefinition(Unknown Source) at com.ibm.cgd.common.datamodel.LoadWorkFlow.main(Unknown Source) com.ibm.cgd.common.workflow.loader.exception.WorkflowLoaderExcep tion: Generic Error at com.ibm.cgd.common.workflow.loader.impl.WorkflowDefinitionLoader .loadWorkflowDefinition(Unknown Source) at com.ibm.cgd.common.datamodel.LoadWorkFlow.main(Unknown Source) The No of workflow nodes found is 1 com.ibm.cgd.common.workflow.loader.exception.WorkflowLoaderExcep tion: Generic Error at com.ibm.cgd.common.workflow.loader.impl.WorkflowDefinitionLoader .processWorkflowDefinition(Unknown Source) at com.ibm.cgd.common.workflow.loader.impl.WorkflowDefinitionLoader .loadWorkflowDefinition(Unknown Source) at com.ibm.cgd.common.datamodel.LoadWorkFlow.main(Unknown Source) com.ibm.cgd.common.workflow.loader.exception.WorkflowLoaderExcep tion: Generic Error at com.ibm.cgd.common.workflow.loader.impl.WorkflowDefinitionLoader .loadWorkflowDefinition(Unknown Source) at com.ibm.cgd.common.datamodel.LoadWorkFlow.main(Unknown Source) The No of workflow nodes found is 1 In order to correct this dependency, the MigrateImport.sh script should be changed to get GDS_APP_TYPE from the gds.properties file, instead of relying on the variable settings of the terminal session.
Local fix
Run import_type=0 before running other import types.
Problem summary
**************************************************************** USERS AFFECTED: All Master Data Management Server for Product Information Management with Global Data Synchronization implementations are affected by this issue **************************************************************** PROBLEM DESCRIPTION: MIGRATEIMPORT.SH FAILED BECAUSE GDS_APP_TYPE WAS NOT SET CORRECTLY **************************************************************** RECOMMENDATION: IBM recommends that customers facing the issue reported by this APAR apply Global Data Synchronization version 1.3.1-IF010 to gain resolution to this problem. ****************************************************************
Problem conclusion
A fix for this problem has been included in Global Data Synchronization version 1.3.1-IF010
Temporary fix
Comments
APAR Information
APAR number
JR40225
Reported component name
WEBSPHERE PROD
Reported component ID
5724I6800
Reported release
521
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-07-28
Closed date
2011-09-06
Last modified date
2011-09-06
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBSPHERE PROD
Fixed component ID
5724I6800
Applicable component levels
R521 PSN
UP
Rate this page:
Average rating
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.