Hi,
I just created test application and then tried to run/deploy the application in xCP designer 2.2 (already configured XMS and registered the environment. Also validated using xms tools). In final stage, xCP designer is throwing errors like below
[ERROR] No ready environment present in the catalog, specify environment name for required environment
[ERROR] java.lang.Exception
[ERROR] at com.emc.xms.commands.ApplicationDeploymentCommand.validateModuleStatusAndFetchEnvironmentForDeployment(ApplicationDeploymentCommand.java:1006)
[ERROR] at com.emc.xms.commands.ApplicationDeploymentCommand.loadEnvironment(ApplicationDeploymentCommand.java:704)
[ERROR] at com.emc.xms.commands.ApplicationDeploymentCommand.deploy(ApplicationDeploymentCommand.java:287)
[ERROR] at com.emc.xms.commands.ApplicationDeploymentCommand.execute(ApplicationDeploymentCommand.java:247)
[ERROR] at com.emc.xms.execution.impl.ExecutionService$CommandExecutionTask.run(ExecutionService.java:338)
[ERROR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[ERROR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[ERROR] at java.lang.Thread.run(Thread.java:662)
[ERROR] Error
[ERROR] No ready environment present in the catalog, specify environment name for required environment
[ERROR] com.documentum.xms.api.ExecutionException: No ready environment present in the catalog, specify environment name for required environment
[ERROR] at com.emc.xms.commands.ApplicationDeploymentCommand.validateModuleStatusAndFetchEnvironmentForDeployment(ApplicationDeploymentCommand.java:1007)
[ERROR] at com.emc.xms.commands.ApplicationDeploymentCommand.loadEnvironment(ApplicationDeploymentCommand.java:704)
[ERROR] at com.emc.xms.commands.ApplicationDeploymentCommand.deploy(ApplicationDeploymentCommand.java:287)
[ERROR] at com.emc.xms.commands.ApplicationDeploymentCommand.execute(ApplicationDeploymentCommand.java:247)
[ERROR] at com.emc.xms.execution.impl.ExecutionService$CommandExecutionTask.run(ExecutionService.java:338)
[ERROR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[ERROR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[ERROR] at java.lang.Thread.run(Thread.java:662)
[INFO] CommandRequest ID is com.emc.xms.execution.CommandRequest@34eeb783
[ERROR] Error during execution command [namespace: management, resource: application, operation: deploy-application] : No ready environment present in the catalog, specify environment name for required environment
[INFO] Command execution process has finished.
[INFO] xms client finished running app deployment
[INFO] Project 'Test' deployed
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:15.352s
[INFO] Finished at: Tue Feb 17 10:25:58 GST 2015
[INFO] Final Memory: 16M/217M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.emc.xcp.builder:xcp-deploy:1.0.11:run (xcp-deploy) on project Test: Deploy project 'Test' failed -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException