IntelliJ tc server deployment fails

I am fairly new to intelliJ ,

I have two projects  (projectA and projectB) . Each one has a local server(ServerA and ServerB)  defined on the run configuration.

I need to deploy a war built in projectA  deployed to ServerB .

I went to the Edit Run Configuration and went to the deplpyment tab and added this war directly there as an "External Source"

When I try to start the server, The app seems to start up and then IntelliJ ends up throwing in loop

Undeployment process failed. Exception invoking method undeployApplication
There is an application at /client. Starting redeploy...

If I look at the idea log I see

2015-04-29 08:58:25,316    INFO - cserver.deployment.JmxProvider - Exception invoking method undeployApplication
javax.management.RuntimeOperationsException: Exception invoking method undeployApplication
.
Caused by: java.lang.RuntimeException: Undeploy failed. Unable to delete all files on the file system. Check file locks for all files in the web application.
at com.springsource.tcserver.serviceability.deploy.TcContainerDeployer.undeployApplication(TcContainerDeployer.java:522)

Why is it trying to undeploy the war. Is there something else that I need to do to setup this kind of deplpyment

---
Original message URL: https://devnet.jetbrains.com/message/5541280#5541280

Please sign in to leave a comment.