Petals BC MAIL

Error while uninstalling a Mail SU

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Resolution: Duplicate
  • Affects Version/s: 3.2
  • Fix Version/s: None
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    The SU was uninstalled from the "installed" directory.

    0 2012/02/13 14:51:17,176 GMT+0100 SEVERE [Petals.JBI-Management.DeploymentService] : The service assembly 'sa-Mail-ReportMailService-provide' can not be removed from repository
    java.io.IOException: Unable to delete file: D:\Petals-4\petals-esb-4.0\repository\service-assemblies\sa-Mail-ReportMailService-provide-02-13-2012-024958244\install\su-Mail-ReportMa
    ilService-provide\MailService.wsdl
    at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1390)
    at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044)
    at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:977)
    at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1381)
    at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044)
    at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:977)
    at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1381)
    at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044)
    at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:977)
    at org.ow2.petals.system.repository.RepositoryServiceImpl.removePackage(RepositoryServiceImpl.java:676)
    at org.ow2.petals.system.repository.RepositoryServiceImpl.removeServiceAssembly(RepositoryServiceImpl.java:410)
    at org.objectweb.fractal.julia.generated.C36dc48a8_0.removeServiceAssembly(INTERCEPTOR[RepositoryService])
    at org.objectweb.fractal.julia.generated.Cd51ee9d3_0.removeServiceAssembly(INTERFACE[RepositoryService])
    at org.ow2.petals.jbi.management.task.deployment.undeploy.RemoveSADirectoryTask.execute(RemoveSADirectoryTask.java:62)
    at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
    at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.undeploy(DeploymentServiceImpl.java:640)
    at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.forceUndeploy(DeploymentServiceImpl.java:234)
    at org.objectweb.fractal.julia.generated.C9ae71627_0.forceUndeploy(INTERCEPTOR[DeploymentService])
    at org.objectweb.fractal.julia.generated.C59d5ff32_0.forceUndeploy(INTERFACE[DeploymentService])
    at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performUndeploySA(AutoLoaderServiceImpl.java:508)
    at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.uninstall(AutoLoaderServiceImpl.java:211)
    at org.ow2.petals.jbi.management.autoload.InstalledDirectoryScanner.run(InstalledDirectoryScanner.java:71)
    at java.util.TimerThread.mainLoop(Unknown Source)
    at java.util.TimerThread.run(Unknown Source)

    There must be an input stream which is not closed correctly and prevents the file from being deleted.

    Show
    The SU was uninstalled from the "installed" directory.
    0 2012/02/13 14:51:17,176 GMT+0100 SEVERE [Petals.JBI-Management.DeploymentService] : The service assembly 'sa-Mail-ReportMailService-provide' can not be removed from repository java.io.IOException: Unable to delete file: D:\Petals-4\petals-esb-4.0\repository\service-assemblies\sa-Mail-ReportMailService-provide-02-13-2012-024958244\install\su-Mail-ReportMa ilService-provide\MailService.wsdl at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1390) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:977) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1381) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:977) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1381) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:977) at org.ow2.petals.system.repository.RepositoryServiceImpl.removePackage(RepositoryServiceImpl.java:676) at org.ow2.petals.system.repository.RepositoryServiceImpl.removeServiceAssembly(RepositoryServiceImpl.java:410) at org.objectweb.fractal.julia.generated.C36dc48a8_0.removeServiceAssembly(INTERCEPTOR[RepositoryService]) at org.objectweb.fractal.julia.generated.Cd51ee9d3_0.removeServiceAssembly(INTERFACE[RepositoryService]) at org.ow2.petals.jbi.management.task.deployment.undeploy.RemoveSADirectoryTask.execute(RemoveSADirectoryTask.java:62) at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78) at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.undeploy(DeploymentServiceImpl.java:640) at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.forceUndeploy(DeploymentServiceImpl.java:234) at org.objectweb.fractal.julia.generated.C9ae71627_0.forceUndeploy(INTERCEPTOR[DeploymentService]) at org.objectweb.fractal.julia.generated.C59d5ff32_0.forceUndeploy(INTERFACE[DeploymentService]) at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performUndeploySA(AutoLoaderServiceImpl.java:508) at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.uninstall(AutoLoaderServiceImpl.java:211) at org.ow2.petals.jbi.management.autoload.InstalledDirectoryScanner.run(InstalledDirectoryScanner.java:71) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source)
    There must be an input stream which is not closed correctly and prevents the file from being deleted.
  • Environment:
    Windows 7

Issue Links

Activity

Victor NOËL made changes - Mon, 5 Oct 2015 - 12:00:39 +0200
Field Original Value New Value
Resolution Duplicate [ 3 ]
Status New [ 10000 ] Resolved [ 10004 ]
Assignee Mathieu Carrolle [ mcarrolle ] Victor NOËL [ vnoel ]
Victor NOËL made changes - Mon, 5 Oct 2015 - 12:00:50 +0200
Link This issue depends on PETALSESBCONT-17 [ PETALSESBCONT-17 ]

People

Dates

  • Created:
    Mon, 13 Feb 2012 - 14:53:19 +0100
    Updated:
    Mon, 5 Oct 2015 - 12:00:50 +0200
    Resolved:
    Mon, 5 Oct 2015 - 12:00:39 +0200