DM Import issues with RSA Sample deployment models
I have installed the latest version of CLM 3.0x and DM 3.0.1.
I imported some of the sample application planning topologies from the RSA tutorials found below.
http://publib.boulder.ibm.com/infocenter/rsahelp/v8/topic/com.ibm.ccl.soa.deploy.amgro.sample.doc/topics/topo_sample_amgro_abstract.html
It creates a deployment model in RSA named AmgoSystem and a couple of others. When I try to import this model in DM I get several errors and only a partial import works. I looked at my PathMaps in DM and it looks fine, but I'm not certain if I am missing anything or not. I deleted the import definition and retried several times. I imported both the entire workspace and then just the project, neither import worked.
Here is the error below I get during the import.
Are there any issues with RSA deployment models importing into DM?
Details
Number of Resources: 161
Number of Elements: 18558
Number of Resources Deleted: 0
Dangling References: /TopologyDomains/Resources/Application.ear
/TopologyDomains/topologies/examples/integrateddomains/PortalConfigurationExample.topologyv
/TopologyDomains/topologies/examples/integrateddomains/PortalInfrastructureExample.topologyv
/TopologyDomains/topologies/examples/portal/WAS_Portal_configuration.topology
/TopologyDomains/topologies/examples/portal/WAS_Portal_configuration.topologyv
/TopologyDomains/topologies/examples/portal/WAS_Portal_infrastructure.topology
Errors
Exception: 500 (CRITICAL) :index=0, size=0 User: https://ibm-f2b5e33d73a:29443/jts/users/Steve NO REQUEST STRINGorg.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=0, size=0 at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:352) at com.ibm.ccl.soa.deploy.core.util.repository.RepositoryUtil.resolveRepositoryImport(RepositoryUtil.java:116) at com.ibm.ccl.soa.deploy.core.util.TopologyUtil.resolve(TopologyUtil.java:296) at com.ibm.ccl.soa.deploy.core.validator.ValidatorUtils.getAllImportedTopologies(ValidatorUtils.java:4750) at com.ibm.ccl.soa.deploy.core.impl.AllImportedTopologyValueIterator.<init>(AllImportedTopologyValueIterator.java:46) at com.ibm.ccl.soa.deploy.core.impl.TopologyImpl$11.<init>(TopologyImpl.java:790) at com.ibm.ccl.soa.deploy.core.impl.TopologyImpl.findAllUnitLinks(TopologyImpl.java:790) at com.ibm.ccl.soa.deploy.internal.core.TopologyRelationshipAdapter.createInitialMaps(TopologyRelationshipAdapter.java:429) at com.ibm.ccl.soa.deploy.internal.core.TopologyRelationshipAdapter.check(TopologyRelationshipAdapter.java:381) at com.ibm.ccl.soa.deploy.internal.core.TopologyRelationshipAdapter.getMembers(TopologyRelationshipAdapter.java:982) at com.ibm.ccl.soa.deploy.core.impl.BaseComponentUnitImpl.getConstraints(BaseComponentUnitImpl.java:69) at com.ibm.ccl.soa.deploy.core.impl.DeployModelObjectImpl.eIsSet(DeployModelObjectImpl.java:1228) at com.ibm.ccl.soa.deploy.core.impl.UnitImpl.eIsSet(UnitImpl.java:1508) at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObjectImpl.java:1247) at com.ibm.xtools.rmps.core.emf.EmfResourceConverter.secondPassRecurseIntoResource(EmfResourceConverter.java:335) at com.ibm.xtools.rmps.core.emf.EmfResourceConverter.convertResources(EmfResourceConverter.java:173) at com.ibm.xtools.rmps.importer.converter.internal.ImporterConverterService$2.doExecute(ImporterConverterService.java:370) at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150) at com.ibm.xtools.rmps.importer.converter.internal.ImporterConverterService.internalConvert(ImporterConverterService.java:382) at com.ibm.xtools.rmps.importer.converter.internal.ImporterConverterService.convert(ImporterConverterService.java:135) at com.ibm.xtools.rmps.importer.requests.internal.ImportRequest.importModelData(ImportRequest.java:847) at com.ibm.xtools.rmps.importer.requests.internal.ImportRequest.run(ImportRequest.java:348) at com.ibm.xtools.rmps.core.servicemanager.RmpsNorvoServiceCallable.invokeRunnable(RmpsNorvoServiceCallable.java:47) at com.ibm.xtools.rmps.frontservice.servicemanager.internal.RmpsServiceCallable.call(RmpsServiceCallable.java:94) at com.ibm.xtools.rmps.core.servicemanager.RmpsNorvoServiceCallable.call(RmpsNorvoServiceCallable.java:66) at com.ibm.xtools.rmps.frontservice.servicemanager.internal.RmpsServiceCallable.call(RmpsServiceCallable.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:284) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:678) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:703) at java.lang.Thread.run(Thread.java:811)
I imported some of the sample application planning topologies from the RSA tutorials found below.
http://publib.boulder.ibm.com/infocenter/rsahelp/v8/topic/com.ibm.ccl.soa.deploy.amgro.sample.doc/topics/topo_sample_amgro_abstract.html
It creates a deployment model in RSA named AmgoSystem and a couple of others. When I try to import this model in DM I get several errors and only a partial import works. I looked at my PathMaps in DM and it looks fine, but I'm not certain if I am missing anything or not. I deleted the import definition and retried several times. I imported both the entire workspace and then just the project, neither import worked.
Here is the error below I get during the import.
Are there any issues with RSA deployment models importing into DM?
Details
Number of Resources: 161
Number of Elements: 18558
Number of Resources Deleted: 0
Dangling References: /TopologyDomains/Resources/Application.ear
/TopologyDomains/topologies/examples/integrateddomains/PortalConfigurationExample.topologyv
/TopologyDomains/topologies/examples/integrateddomains/PortalInfrastructureExample.topologyv
/TopologyDomains/topologies/examples/portal/WAS_Portal_configuration.topology
/TopologyDomains/topologies/examples/portal/WAS_Portal_configuration.topologyv
/TopologyDomains/topologies/examples/portal/WAS_Portal_infrastructure.topology
Errors
Exception: 500 (CRITICAL) :index=0, size=0 User: https://ibm-f2b5e33d73a:29443/jts/users/Steve NO REQUEST STRINGorg.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=0, size=0 at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:352) at com.ibm.ccl.soa.deploy.core.util.repository.RepositoryUtil.resolveRepositoryImport(RepositoryUtil.java:116) at com.ibm.ccl.soa.deploy.core.util.TopologyUtil.resolve(TopologyUtil.java:296) at com.ibm.ccl.soa.deploy.core.validator.ValidatorUtils.getAllImportedTopologies(ValidatorUtils.java:4750) at com.ibm.ccl.soa.deploy.core.impl.AllImportedTopologyValueIterator.<init>(AllImportedTopologyValueIterator.java:46) at com.ibm.ccl.soa.deploy.core.impl.TopologyImpl$11.<init>(TopologyImpl.java:790) at com.ibm.ccl.soa.deploy.core.impl.TopologyImpl.findAllUnitLinks(TopologyImpl.java:790) at com.ibm.ccl.soa.deploy.internal.core.TopologyRelationshipAdapter.createInitialMaps(TopologyRelationshipAdapter.java:429) at com.ibm.ccl.soa.deploy.internal.core.TopologyRelationshipAdapter.check(TopologyRelationshipAdapter.java:381) at com.ibm.ccl.soa.deploy.internal.core.TopologyRelationshipAdapter.getMembers(TopologyRelationshipAdapter.java:982) at com.ibm.ccl.soa.deploy.core.impl.BaseComponentUnitImpl.getConstraints(BaseComponentUnitImpl.java:69) at com.ibm.ccl.soa.deploy.core.impl.DeployModelObjectImpl.eIsSet(DeployModelObjectImpl.java:1228) at com.ibm.ccl.soa.deploy.core.impl.UnitImpl.eIsSet(UnitImpl.java:1508) at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObjectImpl.java:1247) at com.ibm.xtools.rmps.core.emf.EmfResourceConverter.secondPassRecurseIntoResource(EmfResourceConverter.java:335) at com.ibm.xtools.rmps.core.emf.EmfResourceConverter.convertResources(EmfResourceConverter.java:173) at com.ibm.xtools.rmps.importer.converter.internal.ImporterConverterService$2.doExecute(ImporterConverterService.java:370) at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150) at com.ibm.xtools.rmps.importer.converter.internal.ImporterConverterService.internalConvert(ImporterConverterService.java:382) at com.ibm.xtools.rmps.importer.converter.internal.ImporterConverterService.convert(ImporterConverterService.java:135) at com.ibm.xtools.rmps.importer.requests.internal.ImportRequest.importModelData(ImportRequest.java:847) at com.ibm.xtools.rmps.importer.requests.internal.ImportRequest.run(ImportRequest.java:348) at com.ibm.xtools.rmps.core.servicemanager.RmpsNorvoServiceCallable.invokeRunnable(RmpsNorvoServiceCallable.java:47) at com.ibm.xtools.rmps.frontservice.servicemanager.internal.RmpsServiceCallable.call(RmpsServiceCallable.java:94) at com.ibm.xtools.rmps.core.servicemanager.RmpsNorvoServiceCallable.call(RmpsNorvoServiceCallable.java:66) at com.ibm.xtools.rmps.frontservice.servicemanager.internal.RmpsServiceCallable.call(RmpsServiceCallable.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:284) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:678) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:703) at java.lang.Thread.run(Thread.java:811)
2 answers
Hi Steve,
I do not believe that you are going to be able to import that particular model - it's one that I was testing with last year and I was never able to import it to any version of the DM server. For one thing, it has a ProductIdentifierConstraint, which for some reason foils the import (see related work item https://jazz.net/jazz04/resource/itemName/com.ibm.team.workitem.WorkItem/22348. Even when I removed that particular element, I still had trouble. Unfortunately, deployment models are rather complicated things :)
One deployment model that has been easier to work with is CapacityExamples, if you come across that in the tutorials. Also, when DM 4.0 releases, the sample model that ships with it will include some deployment models.
Hope this helps,
Michelle
I do not believe that you are going to be able to import that particular model - it's one that I was testing with last year and I was never able to import it to any version of the DM server. For one thing, it has a ProductIdentifierConstraint, which for some reason foils the import (see related work item https://jazz.net/jazz04/resource/itemName/com.ibm.team.workitem.WorkItem/22348. Even when I removed that particular element, I still had trouble. Unfortunately, deployment models are rather complicated things :)
One deployment model that has been easier to work with is CapacityExamples, if you come across that in the tutorials. Also, when DM 4.0 releases, the sample model that ships with it will include some deployment models.
Hope this helps,
Michelle
I have installed the latest version of CLM 3.0x and DM 3.0.1.
I imported some of the sample application planning topologies from the RSA tutorials found below.
http://publib.boulder.ibm.com/infocenter/rsahelp/v8/topic/com.ibm.ccl.soa.deploy.amgro.sample.doc/topics/topo_sample_amgro_abstract.html
It creates a deployment model in RSA named AmgoSystem and a couple of others. When I try to import this model in DM I get several errors and only a partial import works. I looked at my PathMaps in DM and it looks fine, but I'm not certain if I am missing anything or not. I deleted the import definition and retried several times. I imported both the entire workspace and then just the project, neither import worked.
Here is the error below I get during the import.
Are there any issues with RSA deployment models importing into DM?
Details
Number of Resources: 161
Number of Elements: 18558
Number of Resources Deleted: 0
Dangling References: /TopologyDomains/Resources/Application.ear
/TopologyDomains/topologies/examples/integrateddomains/PortalConfigurationExample.topologyv
/TopologyDomains/topologies/examples/integrateddomains/PortalInfrastructureExample.topologyv
/TopologyDomains/topologies/examples/portal/WAS_Portal_configuration.topology
/TopologyDomains/topologies/examples/portal/WAS_Portal_configuration.topologyv
/TopologyDomains/topologies/examples/portal/WAS_Portal_infrastructure.topology
Errors
Exception: 500 (CRITICAL) :index=0, size=0 User: https://ibm-f2b5e33d73a:29443/jts/users/Steve NO REQUEST STRINGorg.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=0, size=0 at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:352) at com.ibm.ccl.soa.deploy.core.util.repository.RepositoryUtil.resolveRepositoryImport(RepositoryUtil.java:116) at com.ibm.ccl.soa.deploy.core.util.TopologyUtil.resolve(TopologyUtil.java:296) at com.ibm.ccl.soa.deploy.core.validator.ValidatorUtils.getAllImportedTopologies(ValidatorUtils.java:4750) at com.ibm.ccl.soa.deploy.core.impl.AllImportedTopologyValueIterator.<init>(AllImportedTopologyValueIterator.java:46) at com.ibm.ccl.soa.deploy.core.impl.TopologyImpl$11.<init>(TopologyImpl.java:790) at com.ibm.ccl.soa.deploy.core.impl.TopologyImpl.findAllUnitLinks(TopologyImpl.java:790) at com.ibm.ccl.soa.deploy.internal.core.TopologyRelationshipAdapter.createInitialMaps(TopologyRelationshipAdapter.java:429) at com.ibm.ccl.soa.deploy.internal.core.TopologyRelationshipAdapter.check(TopologyRelationshipAdapter.java:381) at com.ibm.ccl.soa.deploy.internal.core.TopologyRelationshipAdapter.getMembers(TopologyRelationshipAdapter.java:982) at com.ibm.ccl.soa.deploy.core.impl.BaseComponentUnitImpl.getConstraints(BaseComponentUnitImpl.java:69) at com.ibm.ccl.soa.deploy.core.impl.DeployModelObjectImpl.eIsSet(DeployModelObjectImpl.java:1228) at com.ibm.ccl.soa.deploy.core.impl.UnitImpl.eIsSet(UnitImpl.java:1508) at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObjectImpl.java:1247) at com.ibm.xtools.rmps.core.emf.EmfResourceConverter.secondPassRecurseIntoResource(EmfResourceConverter.java:335) at com.ibm.xtools.rmps.core.emf.EmfResourceConverter.convertResources(EmfResourceConverter.java:173) at com.ibm.xtools.rmps.importer.converter.internal.ImporterConverterService$2.doExecute(ImporterConverterService.java:370) at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150) at com.ibm.xtools.rmps.importer.converter.internal.ImporterConverterService.internalConvert(ImporterConverterService.java:382) at com.ibm.xtools.rmps.importer.converter.internal.ImporterConverterService.convert(ImporterConverterService.java:135) at com.ibm.xtools.rmps.importer.requests.internal.ImportRequest.importModelData(ImportRequest.java:847) at com.ibm.xtools.rmps.importer.requests.internal.ImportRequest.run(ImportRequest.java:348) at com.ibm.xtools.rmps.core.servicemanager.RmpsNorvoServiceCallable.invokeRunnable(RmpsNorvoServiceCallable.java:47) at com.ibm.xtools.rmps.frontservice.servicemanager.internal.RmpsServiceCallable.call(RmpsServiceCallable.java:94) at com.ibm.xtools.rmps.core.servicemanager.RmpsNorvoServiceCallable.call(RmpsNorvoServiceCallable.java:66) at com.ibm.xtools.rmps.frontservice.servicemanager.internal.RmpsServiceCallable.call(RmpsServiceCallable.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:284) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:678) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:703) at java.lang.Thread.run(Thread.java:811)