-
Sub-task
-
Resolution: Done
-
Critical
-
None
-
None
I believe those started failing with the last MainDeployer changes:
org.jboss.test.hibernate.test.HibernateIntgUnitTestCase.testRedeployment
org.jboss.test.hibernate.test.HibernateIntgUnitTestCase.testCurrentSession
org.jboss.test.security.test.DeepCopySubjectUnitTestCase(tests-security-basic-unit).testSubjectCloning
public class MainDeployer extends ServiceMBeanSupport
@@ -583,8 +584,25 @@
*/
public void redeploy(URL url) throws DeploymentException
{
- undeploy(url);
- deploy(url);
+ String deploymentName = contextMap.get(url);
+ if (deploymentName != null)
+Unknown macro: {+ try+ { + Deployment deployment = delegate.getDeployment(deploymentName); + delegate.addDeployment(deployment); + delegate.process(); + delegate.checkComplete(deployment); + }+ catch (org.jboss.deployers.spi.DeploymentException e)+ { + throw new DeploymentException(e); + }+ }+ else
{ + deploy(url); + }
+