[英]Unable to unzip the WAR file inside Tomcat 6 server
I uploaded the WAR file to the Tomcat 6 server in /var/lib/tomcat6/webapps
. 我将WAR文件上传到/var/lib/tomcat6/webapps
的Tomcat 6服务器。 Usually Tomcat 6 server unzips the WAR file. 通常,Tomcat 6服务器将WAR文件解压缩。 I alreay uploaded 2 WAR files which automatically unzipped by Tomcat 6 server. 我上传了2个WAR文件,这些文件由Tomcat 6服务器自动解压缩。 When I uploaded the 3rd WAR file it didn't unzip automatically. 当我上传第三个WAR文件时,它没有自动解压缩。 I have the web app connected to the database. 我已将Web应用程序连接到数据库。
Precisely Tomcat does not simply unzip the WAR. 准确地说,Tomcat并不只是将WAR 解压缩 。 It makes various operations needed to deploy the webapp starting from the WAR. 它从WAR开始进行部署 Web应用所需的各种操作。
There must be some problem inside the WAR. WAR内部一定有问题。 Eg a corrupted JAR in WEB-INF/lib
. 例如WEB-INF/lib
损坏的JAR。
Try 尝试
webapps
folder (overwriting the previous copy) 再次在webapps
文件夹中复制WAR(覆盖以前的副本)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.