<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error when undeploy route in TMC in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-when-undeploy-route-in-TMC/m-p/2549610#M149593</link>
    <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I create and route in Talend Studio 8 and deploy in tmc with a remote engine in windows, but when I undeployed this have and error "undeployment failed".&lt;/P&gt;&lt;P&gt;there is karaf error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2026-05-21T13:21:24,296 | ERROR | pool-23-thread-3 | MicroserviceRunner               | 228 - org.talend.ipaas.engine.dsrunner.dataservice-runner-core - 2.13.14 |  | [ESB] Stop failed / object: {"flowDeployInfo":{"flowId":"6a0f1dd99a0da028f35f9698","flowVersion":"1.2","environmentVersion":"VERSION_1_3","flowExecutionId":"45936201-22b0-4977-a8a3-0d26823adb5b","clusterFlowExecutionId":null,"startTimestamp":1779375702298,"triggerTimestamp":1779375700875,"finishTimestamp":null,"queryTimestamp":1779387665377,"numberOfProcessedRows":null,"numberOfRejectedRows":null,"flowStatus":"STARTING_FLOW_EXECUTION","flowSubStatus":"TASK_INACTIVE","attempts":null,"timeout":null,"containerId":null,"workspaceId":"69b4433d6c268637f0d65324","userId":"lguevara","userType":"HUMAN","misfiredExecutionReason":null,"errorMessage":"MS Health check : server request fails on http://localhost:5072/health with status code 401","errorType":null,"executionType":"MANUAL","executionDestination":"REMOTE_ENGINE","runProfileId":null,"runProfileVersion":null,"remoteEngineId":"d30d1901-7415-41bd-8572-efeba82b4323","remoteEngineClusterName":null,"remoteEngineClusterId":null,"avgDuration":null,"executionPlanName":null,"executionPlanId":null,"abstractPlanId":null,"stepName":null,"stepId":null,"taskArtifactId":null,"artifactName":"jroute_simple_fine","artifactVersion":"0.1.0.20262105025932","artifactType":"MICROSERVICE","jobType":"route","serviceType":null,"runtimeInfo":{"microservicePort":"5072"},"logLevel":null,"parallelExecutionAllowed":false,"deploymentStrategy":null,"javaInfo":{"javaVersion":"17.0.14","javaVendor":"Azul Systems, Inc.","jvmName":"OpenJDK 64-Bit Server VM"},"engineVersion":"2.13.14","engineRunId":"8ac003fb-a4ee-48b9-be5d-8df9b83823a3","groupId":"actions","artifactId":"jroute_simple_fine","version":"0.1.0.20262105025932","mdc":{"accountID":"dd8030e1-5a8d-49fc-b2ee-e7631426f62f","remoteEngineId":"d30d1901-7415-41bd-8572-efeba82b4323","flowExecutionId":"45936201-22b0-4977-a8a3-0d26823adb5b","flowVersion":"1.2","flowID":"6a0f1dd99a0da028f35f9698","userId":"lguevara","workspaceId":"69b4433d6c268637f0d65324","executionDestination":"REMOTE_ENGINE"},"workspaceName":"ESPACIO_DEV","environmentId":"69b4433d6c268637f0d65323","flowArtifactURL":"mvn:actions/jroute_simple_fine/0.1.0.20262105025932/zip","artifactURL":"mvn:actions/jroute_simple_fine/0.1.0.20262105025932/zip","flowName":"jroute_simple_fine","environmentName":"ENTORNO_DEV","runAsUser":null,"lineageEnabled":false,"countOfAttempts":null,"javaExecDir":"C:/Program Files/Zulu/zulu-17/bin","deploymentPhase":"TERMINATING","jvmArgs":null,"rejectedRows":null,"embeddedParams":false,"remoteEngineName":"RE_LOCAL","planExecutionStepId":null,"compatibilityVersion":"8.0.1","lineagePayloadPath":null},"environmentContextId":"ENTORNO_DEV","executionIdentityInfo":{"taskExecutionId":"45936201-22b0-4977-a8a3-0d26823adb5b","taskName":"jroute_simple_fine","taskId":"6a0f1dd99a0da028f35f9698","taskVersion":"1.2"},"deploymentMetadata":{"taskExecutionId":"45936201-22b0-4977-a8a3-0d26823adb5b","flowId":"6a0f1dd99a0da028f35f9698","artifactId":"jroute_simple_fine","artifactType":"MICROSERVICE","jobType":"route","serviceType":null,"httpPort":5072,"metricPath":"jroute_simple_fine","managementServerBasePath":"/","securityUsername":"","securityPassword":"","standaloneMicroservice":true}}
org.talend.ipaas.rt.dsrunner.common.exception.DSRunnerRecoverableException: Undeployment failed for task execution 45936201-22b0-4977-a8a3-0d26823adb5b
	at org.talend.ipaas.rt.dsrunner.impl.microservice.DeploymentHandler.undeploy(DeploymentHandler.java:73) ~[?:?]
	at org.talend.ipaas.rt.dsrunner.impl.microservice.MicroserviceRunner.stopExecution(MicroserviceRunner.java:136) ~[?:?]
	at org.talend.ipaas.rt.dsrunner.impl.DsRunnerDispatcher.stopExecution(DsRunnerDispatcher.java:87) ~[?:?]
	at Proxyf11b5c4d_3d4b_464c_bc36_064da9f258f8.stopExecution(Unknown Source) ~[?:?]
	at org.talend.ipaas.rt.deployment.agent.impl.EsbTaskDeployerImpl.undeployEsbArtifact(EsbTaskDeployerImpl.java:575) ~[?:?]
	at org.talend.ipaas.rt.deployment.agent.impl.EsbTaskDeployerImpl.finalizeESB(EsbTaskDeployerImpl.java:488) ~[?:?]
	at org.talend.ipaas.rt.deployment.agent.impl.EsbTaskDeployerImpl.lambda$processUndeployEventESB$6(EsbTaskDeployerImpl.java:325) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
	at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: org.apache.commons.io.IOExceptionList: 2 exception(s): [org.apache.commons.io.IOIndexedException: IOException #2: Cannot delete file: C:\RE_LOCAL\data\dsrunner\exec\microservices\45936201-22b0-4977-a8a3-0d26823adb5b\jroute_simple_fine, org.apache.commons.io.IOIndexedException: IOException #4: Cannot delete file: C:\RE_LOCAL\data\dsrunner\exec\microservices\45936201-22b0-4977-a8a3-0d26823adb5b\lib]
	at org.apache.commons.io.IOExceptionList.checkEmpty(IOExceptionList.java:50) ~[?:?]
	at org.apache.commons.io.function.IOStream.forAll(IOStream.java:357) ~[?:?]
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:42) ~[?:?]
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:36) ~[?:?]
	at org.apache.commons.io.function.IOConsumer.forAll(IOConsumer.java:82) ~[?:?]
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:381) ~[?:?]
	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1242) ~[?:?]
	at org.talend.ipaas.rt.dsrunner.impl.microservice.DeploymentHandler.undeploy(DeploymentHandler.java:67) ~[?:?]
	... 9 more
Caused by: org.apache.commons.io.IOIndexedException: IOException #2: Cannot delete file: C:\RE_LOCAL\data\dsrunner\exec\microservices\45936201-22b0-4977-a8a3-0d26823adb5b\jroute_simple_fine
	at org.apache.commons.io.function.IOStream.lambda$forAll$11(IOStream.java:352) ~[?:?]
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992) ~[?:?]
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
	at org.apache.commons.io.function.IOStream.forAll(IOStream.java:343) ~[?:?]
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:42) ~[?:?]
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:36) ~[?:?]
	at org.apache.commons.io.function.IOConsumer.forAll(IOConsumer.java:82) ~[?:?]
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:381) ~[?:?]
	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1242) ~[?:?]
	at org.talend.ipaas.rt.dsrunner.impl.microservice.DeploymentHandler.undeploy(DeploymentHandler.java:67) ~[?:?]
	... 9 more
Caused by: java.io.IOException: Cannot delete file: C:\RE_LOCAL\data\dsrunner\exec\microservices\45936201-22b0-4977-a8a3-0d26823adb5b\jroute_simple_fine
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1413) ~[?:?]
	at org.apache.commons.io.FileUtils.lambda$cleanDirectory$0(FileUtils.java:381) ~[?:?]
	at org.apache.commons.io.function.IOStream.lambda$forAll$11(IOStream.java:345) ~[?:?]
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992) ~[?:?]
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
	at org.apache.commons.io.function.IOStream.forAll(IOStream.java:343) ~[?:?]
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:42) ~[?:?]
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:36) ~[?:?]
	at org.apache.commons.io.function.IOConsumer.forAll(IOConsumer.java:82) ~[?:?]
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:381) ~[?:?]
	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1242) ~[?:?]
	at org.talend.ipaas.rt.dsrunner.impl.microservice.DeploymentHandler.undeploy(DeploymentHandler.java:67) ~[?:?]
	... 9 more
Caused by: java.nio.file.FileSystemException: C:\RE_LOCAL\data\dsrunner\exec\microservices\45936201-22b0-4977-a8a3-0d26823adb5b\jroute_simple_fine\error.log: El proceso no tiene acceso al archivo porque estᠳiendo utilizado por otro proceso
	at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92) ~[?:?]
	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[?:?]
	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[?:?]
	at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:275) ~[?:?]
	at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:110) ~[?:?]
	at java.nio.file.Files.deleteIfExists(Files.java:1191) ~[?:?]
	at org.apache.commons.io.file.DeletingPathVisitor.visitFile(DeletingPathVisitor.java:158) ~[?:?]
	at org.apache.commons.io.file.DeletingPathVisitor.visitFile(DeletingPathVisitor.java:37) ~[?:?]
	at java.nio.file.Files.walkFileTree(Files.java:2811) ~[?:?]
	at java.nio.file.Files.walkFileTree(Files.java:2882) ~[?:?]
	at org.apache.commons.io.file.PathUtils.visitFileTree(PathUtils.java:1845) ~[?:?]
	at org.apache.commons.io.file.PathUtils.deleteDirectory(PathUtils.java:597) ~[?:?]
	at org.apache.commons.io.file.PathUtils.delete(PathUtils.java:556) ~[?:?]
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1406) ~[?:?]
	at org.apache.commons.io.FileUtils.lambda$cleanDirectory$0(FileUtils.java:381) ~[?:?]
	at org.apache.commons.io.function.IOStream.lambda$forAll$11(IOStream.java:345) ~[?:?]
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992) ~[?:?]
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
	at org.apache.commons.io.function.IOStream.forAll(IOStream.java:343) ~[?:?]
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:42) ~[?:?]
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:36) ~[?:?]
	at org.apache.commons.io.function.IOConsumer.forAll(IOConsumer.java:82) ~[?:?]
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:381) ~[?:?]
	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1242) ~[?:?]
	at org.talend.ipaas.rt.dsrunner.impl.microservice.DeploymentHandler.undeploy(DeploymentHandler.java:67) ~[?:?]
	... 9 more&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 21 May 2026 18:41:14 GMT</pubDate>
    <dc:creator>lguevara</dc:creator>
    <dc:date>2026-05-21T18:41:14Z</dc:date>
    <item>
      <title>Error when undeploy route in TMC</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-when-undeploy-route-in-TMC/m-p/2549610#M149593</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I create and route in Talend Studio 8 and deploy in tmc with a remote engine in windows, but when I undeployed this have and error "undeployment failed".&lt;/P&gt;&lt;P&gt;there is karaf error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2026-05-21T13:21:24,296 | ERROR | pool-23-thread-3 | MicroserviceRunner               | 228 - org.talend.ipaas.engine.dsrunner.dataservice-runner-core - 2.13.14 |  | [ESB] Stop failed / object: {"flowDeployInfo":{"flowId":"6a0f1dd99a0da028f35f9698","flowVersion":"1.2","environmentVersion":"VERSION_1_3","flowExecutionId":"45936201-22b0-4977-a8a3-0d26823adb5b","clusterFlowExecutionId":null,"startTimestamp":1779375702298,"triggerTimestamp":1779375700875,"finishTimestamp":null,"queryTimestamp":1779387665377,"numberOfProcessedRows":null,"numberOfRejectedRows":null,"flowStatus":"STARTING_FLOW_EXECUTION","flowSubStatus":"TASK_INACTIVE","attempts":null,"timeout":null,"containerId":null,"workspaceId":"69b4433d6c268637f0d65324","userId":"lguevara","userType":"HUMAN","misfiredExecutionReason":null,"errorMessage":"MS Health check : server request fails on http://localhost:5072/health with status code 401","errorType":null,"executionType":"MANUAL","executionDestination":"REMOTE_ENGINE","runProfileId":null,"runProfileVersion":null,"remoteEngineId":"d30d1901-7415-41bd-8572-efeba82b4323","remoteEngineClusterName":null,"remoteEngineClusterId":null,"avgDuration":null,"executionPlanName":null,"executionPlanId":null,"abstractPlanId":null,"stepName":null,"stepId":null,"taskArtifactId":null,"artifactName":"jroute_simple_fine","artifactVersion":"0.1.0.20262105025932","artifactType":"MICROSERVICE","jobType":"route","serviceType":null,"runtimeInfo":{"microservicePort":"5072"},"logLevel":null,"parallelExecutionAllowed":false,"deploymentStrategy":null,"javaInfo":{"javaVersion":"17.0.14","javaVendor":"Azul Systems, Inc.","jvmName":"OpenJDK 64-Bit Server VM"},"engineVersion":"2.13.14","engineRunId":"8ac003fb-a4ee-48b9-be5d-8df9b83823a3","groupId":"actions","artifactId":"jroute_simple_fine","version":"0.1.0.20262105025932","mdc":{"accountID":"dd8030e1-5a8d-49fc-b2ee-e7631426f62f","remoteEngineId":"d30d1901-7415-41bd-8572-efeba82b4323","flowExecutionId":"45936201-22b0-4977-a8a3-0d26823adb5b","flowVersion":"1.2","flowID":"6a0f1dd99a0da028f35f9698","userId":"lguevara","workspaceId":"69b4433d6c268637f0d65324","executionDestination":"REMOTE_ENGINE"},"workspaceName":"ESPACIO_DEV","environmentId":"69b4433d6c268637f0d65323","flowArtifactURL":"mvn:actions/jroute_simple_fine/0.1.0.20262105025932/zip","artifactURL":"mvn:actions/jroute_simple_fine/0.1.0.20262105025932/zip","flowName":"jroute_simple_fine","environmentName":"ENTORNO_DEV","runAsUser":null,"lineageEnabled":false,"countOfAttempts":null,"javaExecDir":"C:/Program Files/Zulu/zulu-17/bin","deploymentPhase":"TERMINATING","jvmArgs":null,"rejectedRows":null,"embeddedParams":false,"remoteEngineName":"RE_LOCAL","planExecutionStepId":null,"compatibilityVersion":"8.0.1","lineagePayloadPath":null},"environmentContextId":"ENTORNO_DEV","executionIdentityInfo":{"taskExecutionId":"45936201-22b0-4977-a8a3-0d26823adb5b","taskName":"jroute_simple_fine","taskId":"6a0f1dd99a0da028f35f9698","taskVersion":"1.2"},"deploymentMetadata":{"taskExecutionId":"45936201-22b0-4977-a8a3-0d26823adb5b","flowId":"6a0f1dd99a0da028f35f9698","artifactId":"jroute_simple_fine","artifactType":"MICROSERVICE","jobType":"route","serviceType":null,"httpPort":5072,"metricPath":"jroute_simple_fine","managementServerBasePath":"/","securityUsername":"","securityPassword":"","standaloneMicroservice":true}}
org.talend.ipaas.rt.dsrunner.common.exception.DSRunnerRecoverableException: Undeployment failed for task execution 45936201-22b0-4977-a8a3-0d26823adb5b
	at org.talend.ipaas.rt.dsrunner.impl.microservice.DeploymentHandler.undeploy(DeploymentHandler.java:73) ~[?:?]
	at org.talend.ipaas.rt.dsrunner.impl.microservice.MicroserviceRunner.stopExecution(MicroserviceRunner.java:136) ~[?:?]
	at org.talend.ipaas.rt.dsrunner.impl.DsRunnerDispatcher.stopExecution(DsRunnerDispatcher.java:87) ~[?:?]
	at Proxyf11b5c4d_3d4b_464c_bc36_064da9f258f8.stopExecution(Unknown Source) ~[?:?]
	at org.talend.ipaas.rt.deployment.agent.impl.EsbTaskDeployerImpl.undeployEsbArtifact(EsbTaskDeployerImpl.java:575) ~[?:?]
	at org.talend.ipaas.rt.deployment.agent.impl.EsbTaskDeployerImpl.finalizeESB(EsbTaskDeployerImpl.java:488) ~[?:?]
	at org.talend.ipaas.rt.deployment.agent.impl.EsbTaskDeployerImpl.lambda$processUndeployEventESB$6(EsbTaskDeployerImpl.java:325) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
	at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: org.apache.commons.io.IOExceptionList: 2 exception(s): [org.apache.commons.io.IOIndexedException: IOException #2: Cannot delete file: C:\RE_LOCAL\data\dsrunner\exec\microservices\45936201-22b0-4977-a8a3-0d26823adb5b\jroute_simple_fine, org.apache.commons.io.IOIndexedException: IOException #4: Cannot delete file: C:\RE_LOCAL\data\dsrunner\exec\microservices\45936201-22b0-4977-a8a3-0d26823adb5b\lib]
	at org.apache.commons.io.IOExceptionList.checkEmpty(IOExceptionList.java:50) ~[?:?]
	at org.apache.commons.io.function.IOStream.forAll(IOStream.java:357) ~[?:?]
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:42) ~[?:?]
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:36) ~[?:?]
	at org.apache.commons.io.function.IOConsumer.forAll(IOConsumer.java:82) ~[?:?]
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:381) ~[?:?]
	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1242) ~[?:?]
	at org.talend.ipaas.rt.dsrunner.impl.microservice.DeploymentHandler.undeploy(DeploymentHandler.java:67) ~[?:?]
	... 9 more
Caused by: org.apache.commons.io.IOIndexedException: IOException #2: Cannot delete file: C:\RE_LOCAL\data\dsrunner\exec\microservices\45936201-22b0-4977-a8a3-0d26823adb5b\jroute_simple_fine
	at org.apache.commons.io.function.IOStream.lambda$forAll$11(IOStream.java:352) ~[?:?]
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992) ~[?:?]
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
	at org.apache.commons.io.function.IOStream.forAll(IOStream.java:343) ~[?:?]
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:42) ~[?:?]
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:36) ~[?:?]
	at org.apache.commons.io.function.IOConsumer.forAll(IOConsumer.java:82) ~[?:?]
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:381) ~[?:?]
	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1242) ~[?:?]
	at org.talend.ipaas.rt.dsrunner.impl.microservice.DeploymentHandler.undeploy(DeploymentHandler.java:67) ~[?:?]
	... 9 more
Caused by: java.io.IOException: Cannot delete file: C:\RE_LOCAL\data\dsrunner\exec\microservices\45936201-22b0-4977-a8a3-0d26823adb5b\jroute_simple_fine
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1413) ~[?:?]
	at org.apache.commons.io.FileUtils.lambda$cleanDirectory$0(FileUtils.java:381) ~[?:?]
	at org.apache.commons.io.function.IOStream.lambda$forAll$11(IOStream.java:345) ~[?:?]
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992) ~[?:?]
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
	at org.apache.commons.io.function.IOStream.forAll(IOStream.java:343) ~[?:?]
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:42) ~[?:?]
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:36) ~[?:?]
	at org.apache.commons.io.function.IOConsumer.forAll(IOConsumer.java:82) ~[?:?]
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:381) ~[?:?]
	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1242) ~[?:?]
	at org.talend.ipaas.rt.dsrunner.impl.microservice.DeploymentHandler.undeploy(DeploymentHandler.java:67) ~[?:?]
	... 9 more
Caused by: java.nio.file.FileSystemException: C:\RE_LOCAL\data\dsrunner\exec\microservices\45936201-22b0-4977-a8a3-0d26823adb5b\jroute_simple_fine\error.log: El proceso no tiene acceso al archivo porque estᠳiendo utilizado por otro proceso
	at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92) ~[?:?]
	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[?:?]
	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[?:?]
	at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:275) ~[?:?]
	at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:110) ~[?:?]
	at java.nio.file.Files.deleteIfExists(Files.java:1191) ~[?:?]
	at org.apache.commons.io.file.DeletingPathVisitor.visitFile(DeletingPathVisitor.java:158) ~[?:?]
	at org.apache.commons.io.file.DeletingPathVisitor.visitFile(DeletingPathVisitor.java:37) ~[?:?]
	at java.nio.file.Files.walkFileTree(Files.java:2811) ~[?:?]
	at java.nio.file.Files.walkFileTree(Files.java:2882) ~[?:?]
	at org.apache.commons.io.file.PathUtils.visitFileTree(PathUtils.java:1845) ~[?:?]
	at org.apache.commons.io.file.PathUtils.deleteDirectory(PathUtils.java:597) ~[?:?]
	at org.apache.commons.io.file.PathUtils.delete(PathUtils.java:556) ~[?:?]
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1406) ~[?:?]
	at org.apache.commons.io.FileUtils.lambda$cleanDirectory$0(FileUtils.java:381) ~[?:?]
	at org.apache.commons.io.function.IOStream.lambda$forAll$11(IOStream.java:345) ~[?:?]
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992) ~[?:?]
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
	at org.apache.commons.io.function.IOStream.forAll(IOStream.java:343) ~[?:?]
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:42) ~[?:?]
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:36) ~[?:?]
	at org.apache.commons.io.function.IOConsumer.forAll(IOConsumer.java:82) ~[?:?]
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:381) ~[?:?]
	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1242) ~[?:?]
	at org.talend.ipaas.rt.dsrunner.impl.microservice.DeploymentHandler.undeploy(DeploymentHandler.java:67) ~[?:?]
	... 9 more&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2026 18:41:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-when-undeploy-route-in-TMC/m-p/2549610#M149593</guid>
      <dc:creator>lguevara</dc:creator>
      <dc:date>2026-05-21T18:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error when undeploy route in TMC</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-when-undeploy-route-in-TMC/m-p/2549682#M149594</link>
      <description>&lt;P&gt;Hello lguevara,&lt;BR /&gt;&lt;BR /&gt;Thank you for reaching out to the &lt;STRONG&gt;Qlik community&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;You can see a Windows error below in the logs:- &lt;STRONG&gt;error.log: file is being used by another process.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Talend cannot delete the microservice folder during undeploy. This means &lt;STRONG&gt;the microservice process (Java) or another process is still holding the file/lock&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;Also, a Health check failed: &lt;STRONG&gt;/health → 401.&lt;/STRONG&gt; It means your microservice is &lt;STRONG&gt;still running or misconfigured (auth required)&lt;/STRONG&gt;, so stop fails.&lt;BR /&gt;&lt;BR /&gt;To deal with this issue, you will need to kill the leftover process. Delete the folder manually and then restart the Remote Engine.&lt;BR /&gt;&lt;BR /&gt;Also, Fix health check (401):-&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;&lt;A href="https://sslinsights.com/how-to-fix-401-unauthorized-access-error/" target="_blank"&gt;401 = authentication issue&lt;/A&gt;&lt;/LI&gt;
 &lt;LI&gt;Check:
  &lt;UL&gt;
   &lt;LI&gt;application.properties (security enabled?)&lt;/LI&gt;
   &lt;LI&gt;management.endpoints.web.exposure.include=*&lt;/LI&gt;
   &lt;LI&gt;disable auth for /health OR configure credentials in TMC&lt;/LI&gt;
  &lt;/UL&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Below are the Official docs that give you more information about the same:-&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;Troubleshoot Remote Engine&lt;BR /&gt;&lt;A href="https://help.qlik.com/talend/en-US/studio-user-guide/8.0/troubleshooting-remote-engine-executions" target="_blank"&gt;https://help.qlik.com/talend/en-US/studio-user-guide/8.0/troubleshooting-remote-engine-executions&lt;/A&gt;&lt;/LI&gt;
 &lt;LI&gt;Microservices on Remote Engine&lt;BR /&gt;&lt;A href="https://help.qlik.com/talend/en-US/remote-engine-user-guide-windows/Cloud/microservices" target="_blank"&gt;https://help.qlik.com/talend/en-US/remote-engine-user-guide-windows/Cloud/microservices&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 22 May 2026 12:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-when-undeploy-route-in-TMC/m-p/2549682#M149594</guid>
      <dc:creator>Rahul_Kale</dc:creator>
      <dc:date>2026-05-22T12:32:07Z</dc:date>
    </item>
  </channel>
</rss>

