Uing pack command with -managed=true option - Error: The process cannot access the file because anot
I am using Oracle WebLogic Server 12.2.1.3.0 on Windows 10. I'm following the Backup and recovery sections of the Oracle document Administering Oracle Fusion Middleware. I'm specifically looking at the section Recovering a Managed Server.
Step 5 states:
Create a domain template jar file for the Administration Server, using the pack utility on the Administration Server host.
pack.cmd -domain=/domainDir/ -template=//path/template.jar -template_name=mytemplate -template_author=myname -log=/path/template.log -managed=true
When running this pack command I see an error:
Failed to append file to jar ….%DOMAIN_HOME%\servers\bin\servers\AdminServer.lok
The process cannot access the file because another process has locked a portion of the file.