JBoss5: Cannot deploy due to java.util.zip.ZipException: error in opening zip file

前端 未结 25 2644
情书的邮戳
情书的邮戳 2020-12-03 06:15

I have a web client and a EJB project, which I created with Eclipse 3.4. When I want to deploy it on Jboss 5.0.1, I receive the error below. I searched a lot but I wasn\'t a

25条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-03 06:17

    Had the same problem, using JBoss 4.4.2 and building my app with maven-war-plugin (specifyng as outputDirectory the JBoss deploy dir). It seems that JBoss tries to reload a partially copied war, because its ScannerThread activates while maven is still building the war. I partially resolved increasing the scan time from 5000 msec (the default) to 15 secs. This does not solve the problem, but at least it happens less frequently!

       
      15000
    

提交回复
热议问题