-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ROOT\WEB-INF\classes\com] could not be completely deleted. #36
Comments
@cfmDeveloper I tried to reproduce from my side, but unfortunately couldn't. I will give another try.
|
the problem lies in the webapp deploying the war file after it is uploaded. is there a method to send out a stop call before pushing the war file? Because the webapp isn't stopping it occasionally will have a few class files locked during "undeployment" if Tomcat isn't shutdown first. |
@cfmDeveloper Thanks for the follow-up explanation! That's what I suspected. Right now in web app Maven plugin, it is not supported to stop the target web app before deployment. I've added #37 to add this functionality. Feel free to comment under #37 if you have any suggestions. |
@cfmDeveloper Now you can use configuration element |
Plugin name and version
azure-webapp-maven-plugin 1.0.3
Plugin configuration in your
pom.xml
FTP -> azure webapp
Expected behavior
Undeploy the existing ROOT dir on server
Deploy WAR file
Be happy
Actual behavior
Server is not completing undeploy of ROOT due to locked class files:
D:\home\site\wwwroot\webapps\ROOT] could not be completely deleted. The presence of the remaining files may cause problems
Steps to reproduce the problem
This does not happen every time the project is deployed. Generally, rebuilding the project will get it to deploy correctly and complete the undeploy of ROOT from server before deploying the new ROOT.war
The text was updated successfully, but these errors were encountered: