tomcat error while deploying WAR file

后端 未结 10 670
梦如初夏
梦如初夏 2020-12-31 12:41

Please help me with the below exceptions that I obtain while trying to deploy a WAR file on Tomcat server.

07:46:50,076  WARN HostConfig:606 - Exception whil         


        
10条回答
  •  一向
    一向 (楼主)
    2020-12-31 13:33

    I see this problem when auto-deploy is set to true and I am uploading the war file over a slow connection to a Linux server. For some reason, Tomcat attempts to deploy the WAR before it has finished uploading to the server. Turning off auto-deploy and doing it manually, or ftping the file to a directory on the server other then webapps and then moving it into webapps fixes the problem.

    Seems to be a problem with Tomcat not waiting until the file is finished being uploaded before trying to expand it.

提交回复
热议问题