Class Tomcat4xRemoteDeployer
- java.lang.Object
-
- org.codehaus.cargo.util.log.LoggedObject
-
- org.codehaus.cargo.container.spi.deployer.AbstractDeployer
-
- org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer
-
- org.codehaus.cargo.container.tomcat.internal.AbstractTomcatRemoteDeployer
-
- org.codehaus.cargo.container.tomcat.Tomcat4xRemoteDeployer
-
public class Tomcat4xRemoteDeployer extends AbstractTomcatRemoteDeployer
A special Tomcat 4.x manager-based deployer to perform deployment to a remote container.
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatRemoteDeployer
container
-
Fields inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer
managerContext
-
-
Constructor Summary
Constructors Constructor Description Tomcat4xRemoteDeployer(RemoteContainer container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
performUndeploy(Deployable deployable)
Performs undeployment of deployable.-
Methods inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatRemoteDeployer
getConfiguration, getType
-
Methods inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer
createManager, deploy, getPath, getTomcatManager, getVersion, list, redeploy, redeploy, start, stop, undeploy
-
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
deploy, deploy, redeploy, start, stop, undeploy
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger, setLogger
-
-
-
-
Constructor Detail
-
Tomcat4xRemoteDeployer
public Tomcat4xRemoteDeployer(RemoteContainer container)
-
-
Method Detail
-
performUndeploy
protected void performUndeploy(Deployable deployable) throws TomcatManagerException, IOException
Performs undeployment of deployable.Note: This is done differently by the different versions of Tomcat which is why we're using an Abstract method here.
This is a special implementation of undeploy command for Tomcat 4.x due the http://issues.apache.org/bugzilla/show_bug.cgi?id=28851 issue. The issue has been fixed in Tomcat 5.x and performUndeploy implementation for Tomcat 5.x differs from Tomcat 4.x.
- Specified by:
performUndeploy
in classAbstractTomcatManagerDeployer
- Parameters:
deployable
- theDeployable
to undeploy- Throws:
TomcatManagerException
- If TomcatManagerException error occured perfoming the commandIOException
- If I/O error occured getting the path of deployable
-
-