[jboss-jira] [JBoss JIRA] Commented: (JBAS-6513) redeploy regression
Dimitris Andreadis (JIRA)
jira-events at lists.jboss.org
Tue Feb 17 04:02:53 EST 2009
[ https://jira.jboss.org/jira/browse/JBAS-6513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12452894#action_12452894 ]
Dimitris Andreadis commented on JBAS-6513:
------------------------------------------
http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.0.x-testSuite-sun15/1293/testReport/
> redeploy regression
> -------------------
>
> Key: JBAS-6513
> URL: https://jira.jboss.org/jira/browse/JBAS-6513
> Project: JBoss Application Server
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: Deployers, Test Suite
> Reporter: Dimitris Andreadis
> Assignee: Ales Justin
> Priority: Critical
> Fix For: JBossAS-5.0.1.GA
>
>
> 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)
> + {
> + 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);
> + }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list