The port offset should not be applied more than once in the same local configuration

Description

In stop implementation of org.codehaus.cargo.container.jboss.JBoss71xInstalledLocalContainer the applyPortOffset method of the local configuration may be executed twice in case of a ContainerException (see org.codehaus.cargo.container.jboss.JBoss71xInstalledLocalContainer.waitForCompletion(boolean)).

The method applyPortOffset should prevent that the offset is applied more than once.

Check the attached patch for a solution.

Status

Assignee

Marc Brugger

Reporter

Marc Brugger

Components

Fix versions

Affects versions

1.4.6

Priority

Major