Downloading Bamboo remote agent installer fails with ZipException: invalid entry compressed size.

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

問題

Downloading Bamboo remote agent installer / jar fails with ZipException: invalid entry compressed size.

The following appears in the $BAMBOO_HOME/logs/atlassian-bamboo.log or in the UI after attempting to download the agent installer.

io.atlassian.util.concurrent.LazyReference$InitializationException: java.util.zip.ZipException: invalid entry compressed size (expected 724 but got 726 bytes)
	at io.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:156)
	at io.atlassian.util.concurrent.LazyReference.get(LazyReference.java:116)
	at io.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:95)
	at com.atlassian.bamboo.agent.classserver.AgentInstallerServlet.doGet(AgentInstallerServlet.java:119)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39)

診断

環境

  • Your Bamboo installation was installed via a RPM package.

ソリューション

RPM repackages JAR files (unarchives them and re-archives them) by default which causes a size conflict with what we're expecting. We recommend:

  1. Disabling the JAR repack by adding this to your RPM spec:

    %define __jar_repack %{nil}
  2. Repack your RPM using the new spec.
  3. Reinstall Bamboo using the repacked RPM.

説明

Downloading Bamboo remote agent installer fails with ZipException: invalid entry compressed size.

製品Bamboo
最終更新日: 2018 年 12 月 7 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.