Failure to Undeploy Composites if SCA-INF/LIB Contains JAR Files On Windows: Error during undeployment: java.lang.RuntimeException: Failed to delete (Doc ID 1167868.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle SOA Platform - Version 11.1.1.3.0 and later
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)

Symptoms

When trying to undeploy a composite via the EM Console, the following error occurs if there are any jar files in the SCA-INF/lib folder.

Error during undeployment: java.lang.RuntimeException: Failed to delete
C:\FMW\domains\soa_domain\deployed-composites\Project1_rev1.0\sca_Project1_rev1.0\soa_1ed69adc-3630-4f92-9b87-0210eb7ddfd2\SCA-INF\lib\com.jar: Failed to
delete
C:\FMW\domains\soa_domain\deployed-composites\Project1_rev1.0\sca_Project1_rev1.0\soa_1ed69adc-3630-4f92-9b87-0210eb7ddfd2\SCA-INF\lib\com.jar


The problem only happens on Windows platform.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms