Istool Deploy Error

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
gooseswab
Participant
Posts: 4
Joined: Tue Oct 25, 2011 9:08 am

Istool Deploy Error

Post by gooseswab »

In a Red Hat Linux environment, I am deploying packages using the istool command:

./Clients/istools/cli/istool deploy package -dom ${HOST} -u ${USER} -p ${LANPASSWORD} -lf ${IMPORTFILE} -ds '-repl '${HOST}'/'$TLA''

For some reason, some of the jobs in the package fail to deploy. The error that I'm getting is this:

IIS-ISTOOLS-AI 2012-03-27 13:49:12,382 Info Action=importAsset,User=CN=prod zds,OU=Service Accounts,OU=Chicago,OU=Enterprise Support,DC=ent,DC=ad,DC=ntrs,DC=com,Product=DataStage,Archive=/usr/appl/zds/archive/stage/IOO_POSITIONS3.pkg,Asset=EIS_MSEQ_IOO_POSITIONS,Options={Key=overwrite, Value=true, Key=excludedesigns, Value=false, Key=target, Value=UT02257/EIS, Key=replacereadonly, Value=, Key=nosdo, Value=},Result=Import Result: , Status=Ignored due to error, Resolved references={}, Unresolved references={}, Messages={Unexpected error importing design. See the log in the Web Console for more details.} Package: User:
IIS-ISTOOLS-DEPLOYMENT 2012-03-27 13:49:12,401 Warn Action=Deploy, Status=Warning, User=CN=prod zds,OU=Service Accounts,OU=Chicago,OU=Enterprise Support,DC=ent,DC=ad,DC=ntrs,DC=com, Message=Failed to deploy item EIS/Jobs/Holdings/Source2Warehouse/IOO/EIS_MSEQ_IOO_POSITIONS: Unexpected error importing design. See the log in the Web Console for more details. Package: IOO_POSITIONS3 User: CN=prod zds,OU=Service Accounts,OU=Chicago,OU=Enterprise Support,DC=ent,DC=ad,DC=ntrs,DC=com
IIS-ISTOOLS-DS-AI 2012-03-27 13:49:13,189 Error Package: User:

com.ibm.datastage.importer.exception.InvalidReadOnlyStatusException: The read-only status of the asset being imported does not match the existing asset.
at com.ibm.datastage.importer.dsx.NewReposDSXImport.addEObject(NewReposDSXImport.java:

Any thoughts?
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Did the log in the Web Console have any more details?
Choose a job you love, and you will never have to work a day in your life. - Confucius
kandyshandy
Participant
Posts: 597
Joined: Fri Apr 29, 2005 6:19 am
Location: Singapore

Post by kandyshandy »

This happens when you use both dsx & isx import methods. There is a patch for this....JR40557

Check it out.
Kandy
_________________
Try and Try again…You will succeed atlast!!
gooseswab
Participant
Posts: 4
Joined: Tue Oct 25, 2011 9:08 am

Post by gooseswab »

Here is the full error message:
IIS-ISTOOLS-AI 2012-03-19 12:06:29,935 Info Action=importAsset,User=CN=prod zds,OU=Service Accounts,OU=Chicago,OU=Enterprise Support,DC=ent,DC=ad,DC=ntrs,DC=com,Product=DataStage,Archive=/usr/appl/zds/archive/stage/IOO_POSITION.pkg,Asset=EIS_CMN_NDW_POSITION_UPDATE,Options={Key=overwrite, Value=true, Key=excludedesigns, Value=false, Key=target, Value=UT02257/EIS, Key=replacereadonly, Value=, Key=nosdo, Value=},Result=Import Result: , Status=Imported by over writing existing asset, Resolved references={}, Unresolved references={}, Messages={} Package: User:
IIS-ISTOOLS-DS-AI 2012-03-19 12:06:30,479 Error Package: User:

com.ibm.datastage.importer.exception.InvalidReadOnlyStatusException: The read-only status of the asset being imported does not match the existing asset.
at com.ibm.datastage.importer.dsx.NewReposDSXImport.addEObject(NewReposDSXImport.java:296)
at com.ibm.datastage.importer.Importer.importXMI(Importer.java:920)
at com.ibm.datastage.importer.Importer.importXMI(Importer.java:855)
at com.ibm.datastage.importer.service.server.impl.ImportServiceBean.importDesign(ImportServiceBean.java:647)
at com.ibm.datastage.importer.service.server.EJSRemoteStatelessDSImportService_c2b7edb8.importDesign(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:612)
at java.security.AccessController.doPrivileged(AccessController.java:251)
at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:547)
at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1165)
at $Proxy55.importDesign(Unknown Source)
at com.ibm.datastage.importer.service.server._ImportServiceRemote_Stub.importDesign(_ImportServiceRemote_Stub.java:431)
at com.ibm.datastage.importer.service.ejb.EJBImportService.importDesign(EJBImportService.java:313)
at com.ibm.datastage.ai.importer.server.DatastageAssetImporterPojo.importDesign(DatastageAssetImporterPojo.java:496)
at com.ibm.datastage.ai.importer.server.DatastageAssetImporterPojo.importAsset(DatastageAssetImporterPojo.java:300)
at com.ibm.datastage.ai.importer.server.DatastageAssetImporterServiceBean.importAsset(DatastageAssetImporterServiceBean.java:177)
at com.ibm.istools.ai.spi.EJSRemoteStatelessDataStageAssetImporter_b6098063.importAsset(Unknown Source)
at com.ibm.istools.ai.spi._AssetImporterRemote_Stub.importAsset(_AssetImporterRemote_Stub.java:338)
at com.ibm.istools.ai.service.impl.AssetInterchangeServicePOJO.importAsset(AssetInterchangeServicePOJO.java:461)
at com.ibm.istools.ai.service.impl.AssetInterchangeServiceBean.importAsset(AssetInterchangeServiceBean.java:287)
at com.ibm.istools.ai.service.EJSRemoteStatelessISToolsAssetInterchangeService_62ea97f5.importAsset(Unknown Source)
at com.ibm.istools.ai.service._AssetInterchangeServiceRemote_Stub.importAsset(_AssetInterchangeServiceRemote_Stub.java:493)
at com.ibm.istools.ai.service.ejb.EJBAssetInterchangeService.importAsset(EJBAssetInterchangeService.java:303)
at com.ibm.istools.deployment.service.impl.DeploymentDescriptorDefinitionServicePOJO.deployAsset(DeploymentDescriptorDefinitionServicePOJO.java:3705)
at com.ibm.istools.deployment.service.impl.DeploymentDescriptorDefinitionServicePOJO.deployDeploymentPackageImportItem(DeploymentDescriptorDefinitionServicePOJO.java:3116)
at com.ibm.istools.deployment.service.impl.DeploymentDescriptorDefinitionBean.deployDeploymentPackageImportItem(DeploymentDescriptorDefinitionBean.java:470)
at com.ibm.istools.deployment.service.EJSRemoteStatelessISToolsDeploymentService_52b3d7b8.deployDeploymentPackageImportItem(Unknown Source)
at com.ibm.istools.deployment.service._EJSRemoteStatelessISToolsDeploymentService_52b3d7b8_Tie.deployDeploymentPackageImportItem__CORBA_WStringValue__CORBA_WStringValue__commonj_sdo_DataGraph__commonj_sdo_DataGraph__CORBA_WStringValue__CORBA_WStringValue__org_omg_boxedRMI_seq1_octet(_EJSRemoteStatelessISToolsDeploymentService_52b3d7b8_Tie.java:935)
at com.ibm.istools.deployment.service._EJSRemoteStatelessISToolsDeploymentService_52b3d7b8_Tie._invoke(_EJSRemoteStatelessISToolsDeploymentService_52b3d7b8_Tie.java:199)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:622)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:475)
at com.ibm.rmi.iiop.ORB.process(ORB.java:513)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1574)
at com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2841)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2714)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:118)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)

IIS-ISTOOLS-AI 2012-03-19 12:06:30,494 Info Action=importAsset,User=CN=prod zds,OU=Service Accounts,OU=Chicago,OU=Enterprise Support,DC=ent,DC=ad,DC=ntrs,DC=com,Product=DataStage,Archive=/usr/appl/zds/archive/stage/IOO_POSITION.pkg,Asset=EIS_MSEQ_IOO_POSITIONS,Options={Key=overwrite, Value=true, Key=excludedesigns, Value=false, Key=target, Value=UT02257/EIS, Key=replacereadonly, Value=, Key=nosdo, Value=},Result=Import Result: , Status=Ignored due to error, Resolved references={}, Unresolved references={}, Messages={Unexpected error importing design. See the log in the Web Console for more details.} Package: User:
IIS-ISTOOLS-DEPLOYMENT 2012-03-19 12:06:30,498 Warn Action=Deploy, Status=Warning, User=CN=prod zds,OU=Service Accounts,OU=Chicago,OU=Enterprise Support,DC=ent,DC=ad,DC=ntrs,DC=com, Message=Failed to deploy item EIS/Jobs/Holdings/Source2Warehouse/IOO/EIS_MSEQ_IOO_POSITIONS: Unexpected error importing design. See the log in the Web Console for more details. Package: EIS packages/Holdings/Source2Warehouse/IOO_POSITION User: CN=prod zds,OU=Service Accounts,OU=Chicago,OU=Enterprise Support,DC=ent,DC=ad,DC=ntrs,DC=com
IIS-ISTOOLS-DS-AI 2012-03-19 12:06:31,234 Error Package: User:

com.ibm.datastage.importer.exception.InvalidReadOnlyStatusException: The read-only status of the asset being imported does not match the existing asset.
at com.ibm.datastage.importer.dsx.NewReposDSXImport.addEObject(NewReposDSXImport.java:296)
at com.ibm.datastage.importer.Importer.importXMI(Importer.java:920)
at com.ibm.datastage.importer.Importer.importXMI(Importer.java:855)
at com.ibm.datastage.importer.service.server.impl.ImportServiceBean.importDesign(ImportServiceBean.java:647)
at com.ibm.datastage.importer.service.server.EJSRemoteStatelessDSImportService_c2b7edb8.importDesign(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:612)
at java.security.AccessController.doPrivileged(AccessController.java:251)
at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:547)
at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1165)
at $Proxy55.importDesign(Unknown Source)
at com.ibm.datastage.importer.service.server._ImportServiceRemote_Stub.importDesign(_ImportServiceRemote_Stub.java:431)
at com.ibm.datastage.importer.service.ejb.EJBImportService.importDesign(EJBImportService.java:313)
at com.ibm.datastage.ai.importer.server.DatastageAssetImporterPojo.importDesign(DatastageAssetImporterPojo.java:496)
at com.ibm.datastage.ai.importer.server.DatastageAssetImporterPojo.importAsset(DatastageAssetImporterPojo.java:300)
at com.ibm.datastage.ai.importer.server.DatastageAssetImporterServiceBean.importAsset(DatastageAssetImporterServiceBean.java:177)
at com.ibm.istools.ai.spi.EJSRemoteStatelessDataStageAssetImporter_b6098063.importAsset(Unknown Source)
at com.ibm.istools.ai.spi._AssetImporterRemote_Stub.importAsset(_AssetImporterRemote_Stub.java:338)
at com.ibm.istools.ai.service.impl.AssetInterchangeServicePOJO.importAsset(AssetInterchangeServicePOJO.java:461)
at com.ibm.istools.ai.service.impl.AssetInterchangeServiceBean.importAsset(AssetInterchangeServiceBean.java:287)
at com.ibm.istools.ai.service.EJSRemoteStatelessISToolsAssetInterchangeService_62ea97f5.importAsset(Unknown Source)
at com.ibm.istools.ai.service._AssetInterchangeServiceRemote_Stub.importAsset(_AssetInterchangeServiceRemote_Stub.java:493)
at com.ibm.istools.ai.service.ejb.EJBAssetInterchangeService.importAsset(EJBAssetInterchangeService.java:303)
at com.ibm.istools.deployment.service.impl.DeploymentDescriptorDefinitionServicePOJO.deployAsset(DeploymentDescriptorDefinitionServicePOJO.java:3705)
at com.ibm.istools.deployment.service.impl.DeploymentDescriptorDefinitionServicePOJO.deployDeploymentPackageImportItem(DeploymentDescriptorDefinitionServicePOJO.java:3116)
at com.ibm.istools.deployment.service.impl.DeploymentDescriptorDefinitionBean.deployDeploymentPackageImportItem(DeploymentDescriptorDefinitionBean.java:470)
at com.ibm.istools.deployment.service.EJSRemoteStatelessISToolsDeploymentService_52b3d7b8.deployDeploymentPackageImportItem(Unknown Source)
at com.ibm.istools.deployment.service._EJSRemoteStatelessISToolsDeploymentService_52b3d7b8_Tie.deployDeploymentPackageImportItem__CORBA_WStringValue__CORBA_WStringValue__commonj_sdo_DataGraph__commonj_sdo_DataGraph__CORBA_WStringValue__CORBA_WStringValue__org_omg_boxedRMI_seq1_octet(_EJSRemoteStatelessISToolsDeploymentService_52b3d7b8_Tie.java:935)
at com.ibm.istools.deployment.service._EJSRemoteStatelessISToolsDeploymentService_52b3d7b8_Tie._invoke(_EJSRemoteStatelessISToolsDeploymentService_52b3d7b8_Tie.java:199)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:622)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:475)
at com.ibm.rmi.iiop.ORB.process(ORB.java:513)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1574)
at com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2841)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2714)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:118)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)
gooseswab
Participant
Posts: 4
Joined: Tue Oct 25, 2011 9:08 am

Post by gooseswab »

kandyshandy wrote:This happens when you use both dsx & isx import methods. There is a patch for this....JR40557
Not sure if this is the exact problem, but I will try to install the patch.
ulab
Participant
Posts: 56
Joined: Mon Mar 16, 2009 4:58 am
Location: bangalore
Contact:

Istool Deploy Error

Post by ulab »

if the exported .isx job code has some issues, exported taken while the job is in use or the job has some locks, this issue happens, I just took a fresh export and it deployed fine in my project
Ulab----------------------------------------------------
help, it helps you today or Tomorrow
Post Reply