모든,제이 보스 전쟁 재배치 설정해 ZipException
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 설정을 검색했지만이 오류를 없애기 위해 올바른 것을 찾지 못하는 것 같습니다. 아이디어?
업데이트 :
다음은 Google 배포 방법입니다.
<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를 복사합니까? –
배포 방법에 추가 할 수정 된 게시물입니다. – XanderLynn