[jboss-jira] [JBoss JIRA] Issue Comment Edited: (AS7-1473) Deleting .deployed occasionaly file is deployed again immediately after undeployment.

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Mon Aug 8 07:51:24 EDT 2011


    [ https://issues.jboss.org/browse/AS7-1473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619338#comment-12619338 ] 

Darran Lofthouse edited comment on AS7-1473 at 8/8/11 7:50 AM:
---------------------------------------------------------------

Trying to run the test in a loop is now returning the following error: -

{noformat}
12:42:06,930 ERROR [org.jboss.as.controller] (pool-2-thread-5) Operation ("add") failed - address: ([
    ("subsystem" => "deployment-scanner"),
    ("scanner" => "zips")
]): org.jboss.msc.service.DuplicateServiceException: Service jboss.server.deployment.scanner.zips.path is already registered
	at org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:154)
	at org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:226)
	at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:560)
	at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:201)
{noformat}

For some reason the removal of the service does not seem complete so the subsequent test fails.

      was (Author: dlofthouse):
    Trying to run the test in a loop is now returning the following error: -

{noquote}
12:42:06,930 ERROR [org.jboss.as.controller] (pool-2-thread-5) Operation ("add") failed - address: ([
    ("subsystem" => "deployment-scanner"),
    ("scanner" => "zips")
]): org.jboss.msc.service.DuplicateServiceException: Service jboss.server.deployment.scanner.zips.path is already registered
	at org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:154)
	at org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:226)
	at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:560)
	at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:201)
{noquote}

For some reason the removal of the service does not seem complete so the subsequent test fails.
  
> Deleting .deployed occasionaly file is deployed again immediately after undeployment.
> -------------------------------------------------------------------------------------
>
>                 Key: AS7-1473
>                 URL: https://issues.jboss.org/browse/AS7-1473
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>            Reporter: Darran Lofthouse
>            Assignee: Darran Lofthouse
>             Fix For: 7.0.1.Final
>
>         Attachments: org.jboss.as.test.surefire.servermodule.ServerInModuleDeploymentTestCase-output.txt
>
>
> Currently investigating the ServerInModuleDeploymentTestCase intermittent failures and this seems to be the common cause of the failure.  The testFilesystemDeployment test undeploys the deployment at the end but for some reason it is deployed again, testExplodedFilesystemDeployment then fails as when it attempts to deploy it actually triggers a redeployment but is only expecting a single JMX notification.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list