Server: jboss-5.1.0
Java Version: jdk1.6.0_14
Deployment Method: ant v1.7
Error: 08:40:04,260 WARN [ZipEntryContext] IGNORING: Failed to reinitialize context: vfszip:/home/username/jboss-5.1.0.GA/server/default/deploy/deployment.war
java.util.zip.ZipException: error in opening zip file
錯誤,我運行一個螞蟻在我的SRC代碼部署。這一切都是通過我們的服務器上的VI完成的。
我已經搜索了我們的JBOSS設置,但似乎找不到正確的擺脫這個錯誤。想法?
更新:
這是我們的部署方法。
<target name="deploy" depends="war" description="--> The deploy target (initially empty)"> <copy file="scripts/xmlscript.groovy" todir="${jboss.bin.dir}" overwrite="true"/> <copy file="grails-app/views/xmlService/current.xml" todir="${jboss.bin.dir}" overwrite="true"/> <copy file="${war.file}" todir="${jboss.deploy.dir}" overwrite="true"/> </target>
謝謝。
「ant deploy」究竟執行什麼操作?它是在JBoss'deploy'目錄下構建戰爭還是複製WAR? – 2009-12-07 15:45:19
編輯帖子以添加我們的部署方法。 – XanderLynn 2009-12-07 16:24:29