tomcat error while deploying WAR file

后端 未结 10 529
梦如初夏
梦如初夏 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:38

    I encountered this problem while changing my Tomcat deployment script. It turned out that somebody had been messing around with JAR files in the JDK folder and Tomcat wasn't able to unzip these messed up files.

    Word of obvious advice: pay attention to the JAR file names and determine whether or not they're actually legitimate.

    Hope that helps.

    0 讨论(0)
  • 2020-12-31 13:39

    Did you FTP the file from Windows to Unix in ASCII mode instead of Binary?

    That could be one cause of the file getting corrupted. you might be able to open with ZIP on windows - but try

    jar tvf <filename> on Unix to see if it views content correctly

    0 讨论(0)
  • 2020-12-31 13:40

    It looks like your war-file may be corrupted or have the wrong permissions. .war files are zipfiles - can you open one with zip/winzip/7zip or the like and confirm that it is complete and readable? What are the file permissions?

    0 讨论(0)
  • 2020-12-31 13:42

    I just had this same problem. I need to burn the WAR file to DVD and copy it to the DMZ. Unfortunately, finalizing the disc in Roxio was corrupting the WAR file for some reason. I stopped finalizing the disc and the WAR deployed normally.

    0 讨论(0)
提交回复
热议问题