JSR88: Starting a stopped module not possible

Description

The method
org.codehaus.cargo.container.spi.deployer.AbstractJsr88Deployer.findTargetModule(DeploymentManager, Deployable)
gets the list of modules using JSR88 API deploymentManager.getRunningModules(...).
When starting an application that is already deployed, but currently stopped, the method start(Deployable deployable) fails.
Fix the problem by using deploymentManager.getAvailableModules(...).

Status

Assignee

Savas Ali Tokmen

Reporter

Sebastian Paul

Components

Fix versions

Priority

Minor