我正在尝试在我的计算机中安装Tomcat策略代理。我已使用--useResponse
选项自动完成安装。但是安装完成但在日志文件中我找到以下条目
[03/08/2016 11:00:37:168 CET] FileUtils.copyJarFile(): Error occurred while copying jar file: /usr/share/suf-sso/bin/j2ee_agents/tomcat_v6_agent/lib/agent.jar to: /usr/share/suf/tomcat6/lib/agent.jar
java.util.zip.ZipException: invalid entry compressed size (expected 1609 but got 1611 bytes)
at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:248)
at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:177)
at java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:109)
at com.sun.identity.install.tools.util.FileUtils.copyJarFile(FileUtils.java:141)
at com.sun.identity.agents.tools.tomcat.v6.CopyAgentFilesTask.copyAgentJarFiles(CopyAgentFilesTask.java:74)
at com.sun.identity.agents.tools.tomcat.v6.CopyAgentFilesTask.execute(CopyAgentFilesTask.java:55)
at com.sun.identity.install.tools.configurator.TaskRunner.executeTask(TaskRunner.java:105)
at com.sun.identity.install.tools.configurator.TaskRunner.runTasks(TaskRunner.java:72)
at com.sun.identity.install.tools.configurator.InstallDriver.install(InstallDriver.java:95)
at com.sun.identity.install.tools.handler.InstallHandler.handleRequest(InstallHandler.java:75)
at com.sun.identity.install.tools.admin.AdminTool.dispatch(AdminTool.java:232)
at com.sun.identity.install.tools.admin.AdminTool.run(AdminTool.java:135)
at com.sun.identity.install.tools.launch.AdminToolLauncher.launchAdminTool(AdminToolLauncher.java:201)
at com.sun.identity.install.tools.launch.AdminToolLauncher.main(AdminToolLauncher.java:313)
[03/08/2016 11:00:37:169 CET] FileUtils.copyJarFile(): Error occurred while closing output stream for: /usr/share/suf/tomcat6/lib/agent.jar
[03/08/2016 11:00:37:169 CET] CopyAgentFilesTask.copyAgentJarFiles() - Error occured while copying jar files from /usr/share/suf-sso/bin/j2ee_agents/tomcat_v6_agent/lib to /usr/share/suf/tomcat6/lib: invalid entry compressed size (expected 1609 but got 1611 bytes)
它不会将2个jar文件复制到上述位置并抛出一些zip异常。当我手动执行这些步骤时,它不会发生。关于这个的任何想法??